Class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/memcache_v1beta2/classes.rb,
generated/google/apis/memcache_v1beta2/representations.rb,
generated/google/apis/memcache_v1beta2/representations.rb
Overview
Describes provisioned dataplane resources.
Instance Attribute Summary collapse
-
#resource_type ⇒ String
Type of the resource.
-
#resource_url ⇒ String
URL identifying the resource, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
constructor
A new instance of GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.
648 649 650 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_type ⇒ String
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
(https://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
640 641 642 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 640 def resource_type @resource_type end |
#resource_url ⇒ String
URL identifying the resource, e.g.
"https://www.googleapis.com/compute/v1/projects/...)".
Corresponds to the JSON property resourceUrl
646 647 648 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 646 def resource_url @resource_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
653 654 655 656 |
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 653 def update!(**args) @resource_type = args[:resource_type] if args.key?(:resource_type) @resource_url = args[:resource_url] if args.key?(:resource_url) end |