Class: Google::Apis::DatastreamV1::SpannerObjectIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SpannerObjectIdentifier
- 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
-
#schema ⇒ String
Optional.
-
#table ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerObjectIdentifier
constructor
A new instance of SpannerObjectIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerObjectIdentifier
Returns a new instance of SpannerObjectIdentifier.
4377 4378 4379 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
Optional. The schema name.
Corresponds to the JSON property schema
4370 4371 4372 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4370 def schema @schema end |
#table ⇒ String
Required. The table name.
Corresponds to the JSON property table
4375 4376 4377 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4375 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4382 4383 4384 4385 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4382 def update!(**args) @schema = args[:schema] if args.key?(:schema) @table = args[:table] if args.key?(:table) end |