Data Analytics API with Gemini V1 API - Module Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Paths (v0.1.0)

Reference documentation and code samples for the Data Analytics API with Gemini V1 API module Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Paths.

Path helper methods for the DataChatService API.

Methods

#conversation_path

def conversation_path(project:, location:, conversation:) -> ::String

Create a fully-qualified Conversation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/conversations/{conversation}

Parameters
  • project (String)
  • location (String)
  • conversation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#data_agent_path

def data_agent_path(project:, location:, data_agent:) -> ::String

Create a fully-qualified DataAgent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/dataAgents/{data_agent}

Parameters
  • project (String)
  • location (String)
  • data_agent (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)