Datastream V1 API - Class Google::Cloud::Datastream::V1::SpannerProfile (v1.8.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SpannerProfile.

Profile for connecting to a Spanner source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database

def database() -> ::String
Returns
  • (::String) — Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
Returns
  • (::String) — Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.

#host

def host() -> ::String
Returns
  • (::String) — Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.

#host=

def host=(value) -> ::String
Parameter
  • value (::String) — Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
Returns
  • (::String) — Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.