Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference

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

Overview

Reference to a resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelResourceReference

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelResourceReference.



14091
14092
14093
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14091

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

Instance Attribute Details

#resource_nameString

The resource name of the Google Cloud resource. Corresponds to the JSON property resourceName

Returns:

  • (String)


14084
14085
14086
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14084

def resource_name
  @resource_name
end

#uriString

The URI of the resource. Corresponds to the JSON property uri

Returns:

  • (String)


14089
14090
14091
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14089

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14096
14097
14098
14099
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14096

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