Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToAction

Inherits:
Object
  • Object
show all
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

Actions could take on this Publisher Model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelCallToAction

Returns a new instance of GoogleCloudAiplatformV1PublisherModelCallToAction.



18768
18769
18770
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18768

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

Instance Attribute Details

#create_applicationGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18698
18699
18700
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18698

def create_application
  @create_application
end

#deployGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy

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



18704
18705
18706
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18704

def deploy
  @deploy
end

#deploy_gkeGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke

Configurations for PublisherModel GKE deployment Corresponds to the JSON property deployGke



18709
18710
18711
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18709

def deploy_gke
  @deploy_gke
end

#open_evaluation_pipelineGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18715
18716
18717
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18715

def open_evaluation_pipeline
  @open_evaluation_pipeline
end

#open_fine_tuning_pipelineGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18721
18722
18723
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18721

def open_fine_tuning_pipeline
  @open_fine_tuning_pipeline
end

#open_fine_tuning_pipelinesGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines

Open fine tuning pipelines. Corresponds to the JSON property openFineTuningPipelines



18726
18727
18728
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18726

def open_fine_tuning_pipelines
  @open_fine_tuning_pipelines
end

#open_generation_ai_studioGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18732
18733
18734
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18732

def open_generation_ai_studio
  @open_generation_ai_studio
end

#open_genieGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18738
18739
18740
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18738

def open_genie
  @open_genie
end

#open_notebookGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18744
18745
18746
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18744

def open_notebook
  @open_notebook
end

#open_notebooksGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks

Open notebooks. Corresponds to the JSON property openNotebooks



18749
18750
18751
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18749

def open_notebooks
  @open_notebooks
end

#open_prompt_tuning_pipelineGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18755
18756
18757
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18755

def open_prompt_tuning_pipeline
  @open_prompt_tuning_pipeline
end

#request_accessGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

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



18761
18762
18763
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18761

def request_access
  @request_access
end

#view_rest_apiGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi

Rest API docs. Corresponds to the JSON property viewRestApi



18766
18767
18768
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18766

def view_rest_api
  @view_rest_api
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18773

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)
  @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