Class: Google::Apis::DatastreamV1::SpannerObjectIdentifier

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb

Overview

Spanner data source object identifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpannerObjectIdentifier

Returns a new instance of SpannerObjectIdentifier.



4356
4357
4358
# File 'lib/google/apis/datastream_v1/classes.rb', line 4356

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#schemaString

Optional. The schema name. Corresponds to the JSON property schema

Returns:

  • (String)


4349
4350
4351
# File 'lib/google/apis/datastream_v1/classes.rb', line 4349

def schema
  @schema
end

#tableString

Required. The table name. Corresponds to the JSON property table

Returns:

  • (String)


4354
4355
4356
# File 'lib/google/apis/datastream_v1/classes.rb', line 4354

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4361
4362
4363
4364
# File 'lib/google/apis/datastream_v1/classes.rb', line 4361

def update!(**args)
  @schema = args[:schema] if args.key?(:schema)
  @table = args[:table] if args.key?(:table)
end