Reference documentation and code samples for the Google Cloud Maintenance Api V1 Client class Resource.
Resource contains information about the resource affected by maintenance.
Generated from protobuf message google.cloud.maintenance.api.v1.ResourceMaintenance.Resource
Namespace
Google \ Cloud \ Maintenance \ Api \ V1 \ ResourceMaintenanceMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_name
string
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
↳ location
string
Output only. The location of the resource. Format: us-central1
↳ type
string
Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
getResourceName
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
string
setResourceName
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
var
string
$this
getLocation
Output only. The location of the resource.
Format: us-central1
string
setLocation
Output only. The location of the resource.
Format: us-central1
var
string
$this
getType
Output only. The type of the resource.
Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
string
setType
Output only. The type of the resource.
Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
var
string
$this

