Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Resourceviews_ZoneViews_Resource Class Reference

The "zoneViews" collection of methods. More...

Inheritance diagram for Google_Service_Resourceviews_ZoneViews_Resource:
Google_Service_Resource

Public Member Functions

 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.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "zoneViews" collection of methods.

Typical usage is: $resourceviewsService = new Google_Service_Resourceviews(...); $zoneViews = $resourceviewsService->zoneViews;

Member Function Documentation

◆ addResources()

Google_Service_Resourceviews_ZoneViews_Resource::addResources ( $project,
$zone,
$resourceView,
Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody,
$optParams = array() )

Add resources to the view.

(zoneViews.addResources)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
Google_ZoneViewsAddResourcesRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_Operation

◆ 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
Google_Exception

◆ delete()

Google_Service_Resourceviews_ZoneViews_Resource::delete ( $project,
$zone,
$resourceView,
$optParams = array() )

Delete a resource view.

(zoneViews.delete)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_Operation

◆ get()

Google_Service_Resourceviews_ZoneViews_Resource::get ( $project,
$zone,
$resourceView,
$optParams = array() )

Get the information of a zonal resource view.

(zoneViews.get)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_ResourceView

◆ 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$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
array$optParamsOptional parameters.

@opt_param string resourceName The name of the resource if user wants to get the service information of the resource.

Return values
Google_Service_Resourceviews_ZoneViewsGetServiceResponse

◆ insert()

Google_Service_Resourceviews_ZoneViews_Resource::insert ( $project,
$zone,
Google_Service_Resourceviews_ResourceView $postBody,
$optParams = array() )

Create a resource view.

(zoneViews.insert)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
Google_ResourceView$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_Operation

◆ listResources()

Google_Service_Resourceviews_ZoneViews_Resource::listResources ( $project,
$zone,
$resourceView,
$optParams = array() )

List the resources of the resource view.

(zoneViews.listResources)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
array$optParamsOptional 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
Google_Service_Resourceviews_ZoneViewsListResourcesResponse

◆ listZoneViews()

Google_Service_Resourceviews_ZoneViews_Resource::listZoneViews ( $project,
$zone,
$optParams = array() )

List resource views.

(zoneViews.listZoneViews)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
array$optParamsOptional 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
Google_Service_Resourceviews_ZoneViewsList

◆ removeResources()

Google_Service_Resourceviews_ZoneViews_Resource::removeResources ( $project,
$zone,
$resourceView,
Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody,
$optParams = array() )

Remove resources from the view.

(zoneViews.removeResources)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
Google_ZoneViewsRemoveResourcesRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_Operation

◆ setService()

Google_Service_Resourceviews_ZoneViews_Resource::setService ( $project,
$zone,
$resourceView,
Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody,
$optParams = array() )

Update the service information of a resource view or a resource.

(zoneViews.setService)

Parameters
string$projectThe project name of the resource view.
string$zoneThe zone name of the resource view.
string$resourceViewThe name of the resource view.
Google_ZoneViewsSetServiceRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Resourceviews_Operation

The documentation for this class was generated from the following file: