class Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
Describes provisioned dataplane resources.
Attributes
resource_type[RW]
Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (cloud.google.com/ compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: ' compute-instance', 'compute-disk', 'compute-autoscaler'. Corresponds to the JSON property `resourceType` @return [String]
resource_url[RW]
URL identifying the resource, e.g. “www.googleapis.com/compute/v1/ projects/…)”. Corresponds to the JSON property `resourceUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/memcache_v1/classes.rb, line 592 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/memcache_v1/classes.rb, line 597 def update!(**args) @resource_type = args[:resource_type] if args.key?(:resource_type) @resource_url = args[:resource_url] if args.key?(:resource_url) end