Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class ResourceLocation.
Location information about a resource.
Generated from protobuf message google.cloud.audit.ResourceLocation
Namespace
Google \ Cloud \ AuditMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ current_locations
array
The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
↳ original_locations
array
The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
getCurrentLocations
The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
setCurrentLocations
The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
var
string[]
$this
getOriginalLocations
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
setOriginalLocations
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
var
string[]
$this