Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec

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

The API specification shown to the LLM.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec

Returns a new instance of GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec.



8513
8514
8515
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8513

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

Instance Attribute Details

#open_api_gcs_uriString

Cloud Storage URI pointing to the OpenAPI spec. Corresponds to the JSON property openApiGcsUri

Returns:

  • (String)


8506
8507
8508
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8506

def open_api_gcs_uri
  @open_api_gcs_uri
end

#open_api_yamlString

The API spec in Open API standard and YAML format. Corresponds to the JSON property openApiYaml

Returns:

  • (String)


8511
8512
8513
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8511

def open_api_yaml
  @open_api_yaml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8518
8519
8520
8521
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8518

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