Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction

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

Actions could take on this Publisher Model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelCallToAction

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelCallToAction.



21261
21262
21263
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21261

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

Instance Attribute Details

#create_applicationGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property createApplication



21185
21186
21187
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21185

def create_application
  @create_application
end

#deployGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy

Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests. Corresponds to the JSON property deploy



21191
21192
21193
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21191

def deploy
  @deploy
end

#deploy_gkeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke

Configurations for PublisherModel GKE deployment Corresponds to the JSON property deployGke



21196
21197
21198
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21196

def deploy_gke
  @deploy_gke
end

#fine_tuneGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property fineTune



21202
21203
21204
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21202

def fine_tune
  @fine_tune
end

#open_evaluation_pipelineGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openEvaluationPipeline



21208
21209
21210
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21208

def open_evaluation_pipeline
  @open_evaluation_pipeline
end

#open_fine_tuning_pipelineGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openFineTuningPipeline



21214
21215
21216
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21214

def open_fine_tuning_pipeline
  @open_fine_tuning_pipeline
end

#open_fine_tuning_pipelinesGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines

Open fine tuning pipelines. Corresponds to the JSON property openFineTuningPipelines



21219
21220
21221
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21219

def open_fine_tuning_pipelines
  @open_fine_tuning_pipelines
end

#open_generation_ai_studioGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openGenerationAiStudio



21225
21226
21227
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21225

def open_generation_ai_studio
  @open_generation_ai_studio
end

#open_genieGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openGenie



21231
21232
21233
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21231

def open_genie
  @open_genie
end

#open_notebookGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openNotebook



21237
21238
21239
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21237

def open_notebook
  @open_notebook
end

#open_notebooksGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenNotebooks

Open notebooks. Corresponds to the JSON property openNotebooks



21242
21243
21244
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21242

def open_notebooks
  @open_notebooks
end

#open_prompt_tuning_pipelineGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property openPromptTuningPipeline



21248
21249
21250
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21248

def open_prompt_tuning_pipeline
  @open_prompt_tuning_pipeline
end

#request_accessGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc.. Corresponds to the JSON property requestAccess



21254
21255
21256
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21254

def request_access
  @request_access
end

#view_rest_apiGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionViewRestApi

Rest API docs. Corresponds to the JSON property viewRestApi



21259
21260
21261
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21259

def view_rest_api
  @view_rest_api
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21266

def update!(**args)
  @create_application = args[:create_application] if args.key?(:create_application)
  @deploy = args[:deploy] if args.key?(:deploy)
  @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
  @fine_tune = args[:fine_tune] if args.key?(:fine_tune)
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
  @open_generation_ai_studio = args[:open_generation_ai_studio] if args.key?(:open_generation_ai_studio)
  @open_genie = args[:open_genie] if args.key?(:open_genie)
  @open_notebook = args[:open_notebook] if args.key?(:open_notebook)
  @open_notebooks = args[:open_notebooks] if args.key?(:open_notebooks)
  @open_prompt_tuning_pipeline = args[:open_prompt_tuning_pipeline] if args.key?(:open_prompt_tuning_pipeline)
  @request_access = args[:request_access] if args.key?(:request_access)
  @view_rest_api = args[:view_rest_api] if args.key?(:view_rest_api)
end