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.



13885
13886
13887
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13885

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



13836
13837
13838
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13836

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



13842
13843
13844
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13842

def deploy
  @deploy
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



13848
13849
13850
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13848

def open_fine_tuning_pipeline
  @open_fine_tuning_pipeline
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



13854
13855
13856
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13854

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



13860
13861
13862
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13860

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



13866
13867
13868
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13866

def open_notebook
  @open_notebook
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



13872
13873
13874
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13872

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



13878
13879
13880
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13878

def request_access
  @request_access
end

#view_rest_apiGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionViewRestApi

Rest API docs. Corresponds to the JSON property viewRestApi



13883
13884
13885
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13883

def view_rest_api
  @view_rest_api
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13890

def update!(**args)
  @create_application = args[:create_application] if args.key?(:create_application)
  @deploy = args[:deploy] if args.key?(:deploy)
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
  @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_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