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.



8184
8185
8186
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8184

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)


8177
8178
8179
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8177

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)


8182
8183
8184
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8182

def open_api_yaml
  @open_api_yaml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8189
8190
8191
8192
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8189

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