Class: Google::Cloud::GeminiDataAnalytics::V1beta::DataAgentContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb

Overview

Context for the chat request using a data agent.

Defined Under Namespace

Modules: ContextVersion

Instance Attribute Summary collapse

Instance Attribute Details

#context_version::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgentContext::ContextVersion

Returns Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED).

Returns:



276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 276

class DataAgentContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # List of context versions supported by DCS.
  # There are two versions of context. This is to maintain versioning for the
  # data agent.
  module ContextVersion
    # Unspecified or unrecognized.
    CONTEXT_VERSION_UNSPECIFIED = 0

    # Using this version, DCS will use the latest staging context for the
    # data agent.
    STAGING = 1

    # Using this version, DCS will use the latest published context for the
    # data agent.
    PUBLISHED = 2
  end
end

#credentials::Google::Cloud::GeminiDataAnalytics::V1beta::Credentials

Returns Optional. The credentials to use when calling the Looker data source.

Currently supports both OAuth token and API key-based credentials, as described in Authentication with an SDK.

Returns:



276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 276

class DataAgentContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # List of context versions supported by DCS.
  # There are two versions of context. This is to maintain versioning for the
  # data agent.
  module ContextVersion
    # Unspecified or unrecognized.
    CONTEXT_VERSION_UNSPECIFIED = 0

    # Using this version, DCS will use the latest staging context for the
    # data agent.
    STAGING = 1

    # Using this version, DCS will use the latest published context for the
    # data agent.
    PUBLISHED = 2
  end
end

#data_agent::String

Returns Required. The name of the data agent resource.

Returns:

  • (::String)

    Required. The name of the data agent resource.



276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 276

class DataAgentContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # List of context versions supported by DCS.
  # There are two versions of context. This is to maintain versioning for the
  # data agent.
  module ContextVersion
    # Unspecified or unrecognized.
    CONTEXT_VERSION_UNSPECIFIED = 0

    # Using this version, DCS will use the latest staging context for the
    # data agent.
    STAGING = 1

    # Using this version, DCS will use the latest published context for the
    # data agent.
    PUBLISHED = 2
  end
end