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.



8467
8468
8469
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8467

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)


8460
8461
8462
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8460

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)


8465
8466
8467
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8465

def open_api_yaml
  @open_api_yaml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8472
8473
8474
8475
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8472

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