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.



15524
15525
15526
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15524

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)


15517
15518
15519
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15517

def resource_name
  @resource_name
end

#uriString

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

Returns:

  • (String)


15522
15523
15524
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15522

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15529
15530
15531
15532
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15529

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