Class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/managedidentities_v1beta1/classes.rb,
generated/google/apis/managedidentities_v1beta1/representations.rb,
generated/google/apis/managedidentities_v1beta1/representations.rb

Overview

Describes provisioned dataplane resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource

Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.



852
853
854
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 852

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_typeString

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

Returns:

  • (String)


844
845
846
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 844

def resource_type
  @resource_type
end

#resource_urlString

URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/ projects/...)". Corresponds to the JSON property resourceUrl

Returns:

  • (String)


850
851
852
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 850

def resource_url
  @resource_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



857
858
859
860
# File 'generated/google/apis/managedidentities_v1beta1/classes.rb', line 857

def update!(**args)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
  @resource_url = args[:resource_url] if args.key?(:resource_url)
end