Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Metadata information about the deployment for managing deployment config.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
Optional.
-
#sample_request ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
constructor
A new instance of GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata
Returns a new instance of GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata.
30878 30879 30880 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Optional. Labels for the deployment config. For managing deployment config
like verifying, source of deployment config, etc.
Corresponds to the JSON property labels
30871 30872 30873 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30871 def labels @labels end |
#sample_request ⇒ String
Optional. Sample request for deployed endpoint.
Corresponds to the JSON property sampleRequest
30876 30877 30878 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30876 def sample_request @sample_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30883 30884 30885 30886 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30883 def update!(**args) @labels = args[:labels] if args.key?(:labels) @sample_request = args[:sample_request] if args.key?(:sample_request) end |