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.



8435
8436
8437
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8435

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)


8428
8429
8430
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8428

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)


8433
8434
8435
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8433

def open_api_yaml
  @open_api_yaml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8440
8441
8442
8443
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8440

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