The "zoneViews" collection of methods.
More...
|
| addResources ($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams=array()) |
| Add resources to the view.
|
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($project, $zone, $resourceView, $optParams=array()) |
| Delete a resource view.
|
|
| get ($project, $zone, $resourceView, $optParams=array()) |
| Get the information of a zonal resource view.
|
|
| getService ($project, $zone, $resourceView, $optParams=array()) |
| Get the service information of a resource view or a resource.
|
|
| insert ($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams=array()) |
| Create a resource view.
|
|
| listResources ($project, $zone, $resourceView, $optParams=array()) |
| List the resources of the resource view.
|
|
| listZoneViews ($project, $zone, $optParams=array()) |
| List resource views.
|
|
| removeResources ($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams=array()) |
| Remove resources from the view.
|
|
| setService ($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams=array()) |
| Update the service information of a resource view or a resource.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "zoneViews" collection of methods.
Typical usage is: $resourceviewsService = new Google_Service_Resourceviews(...); $zoneViews = $resourceviewsService->zoneViews;
◆ addResources()
Add resources to the view.
(zoneViews.addResources)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
Google_ZoneViewsAddResourcesRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Resourceviews_ZoneViews_Resource::delete |
( |
| $project, |
|
|
| $zone, |
|
|
| $resourceView, |
|
|
| $optParams = array() ) |
Delete a resource view.
(zoneViews.delete)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Resourceviews_ZoneViews_Resource::get |
( |
| $project, |
|
|
| $zone, |
|
|
| $resourceView, |
|
|
| $optParams = array() ) |
Get the information of a zonal resource view.
(zoneViews.get)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
array | $optParams | Optional parameters. |
- Return values
-
◆ getService()
Google_Service_Resourceviews_ZoneViews_Resource::getService |
( |
| $project, |
|
|
| $zone, |
|
|
| $resourceView, |
|
|
| $optParams = array() ) |
Get the service information of a resource view or a resource.
(zoneViews.getService)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
array | $optParams | Optional parameters. |
@opt_param string resourceName The name of the resource if user wants to get the service information of the resource.
- Return values
-
◆ insert()
Create a resource view.
(zoneViews.insert)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
Google_ResourceView | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listResources()
Google_Service_Resourceviews_ZoneViews_Resource::listResources |
( |
| $project, |
|
|
| $zone, |
|
|
| $resourceView, |
|
|
| $optParams = array() ) |
List the resources of the resource view.
(zoneViews.listResources)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
array | $optParams | Optional parameters. |
@opt_param string listState The state of the instance to list. By default, it lists all instances. @opt_param string format The requested format of the return value. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default format is NONE, which results in no JSON in the response. @opt_param int maxResults Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000) @opt_param string pageToken Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request. @opt_param string serviceName The service name to return in the response. It is optional and if it is not set, all the service end points will be returned.
- Return values
-
◆ listZoneViews()
Google_Service_Resourceviews_ZoneViews_Resource::listZoneViews |
( |
| $project, |
|
|
| $zone, |
|
|
| $optParams = array() ) |
List resource views.
(zoneViews.listZoneViews)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
array | $optParams | Optional parameters. |
@opt_param string pageToken Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request. @opt_param int maxResults Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
- Return values
-
◆ removeResources()
Remove resources from the view.
(zoneViews.removeResources)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
Google_ZoneViewsRemoveResourcesRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ setService()
Update the service information of a resource view or a resource.
(zoneViews.setService)
- Parameters
-
string | $project | The project name of the resource view. |
string | $zone | The zone name of the resource view. |
string | $resourceView | The name of the resource view. |
Google_ZoneViewsSetServiceRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Resourceviews.php