Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest

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

Request message for EndpointService.SetPublisherModelConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest

Returns a new instance of GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest.



60372
60373
60374
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60372

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

Instance Attribute Details

#publisher_model_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig

This message contains configs of a publisher model. Corresponds to the JSON property publisherModelConfig



60362
60363
60364
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60362

def publisher_model_config
  @publisher_model_config
end

#update_maskString

Optional. The fields of publisher_model_config to overwrite. If empty, the entire config is replaced. If set, only the listed fields are overwritten and the others are left unchanged; this lets you update one setting (for example inference_event_logging_config) without clearing its siblings. Corresponds to the JSON property updateMask

Returns:

  • (String)


60370
60371
60372
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60370

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60377
60378
60379
60380
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60377

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