Class: Google::Apis::DataflowV1b3::SpannerIoDetails
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SpannerIoDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Metadata for a Spanner connector used by the job.
Instance Attribute Summary collapse
-
#database_id ⇒ String
DatabaseId accessed in the connection.
-
#instance_id ⇒ String
InstanceId accessed in the connection.
-
#project_id ⇒ String
ProjectId accessed in the connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerIoDetails
constructor
A new instance of SpannerIoDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerIoDetails
Returns a new instance of SpannerIoDetails.
5046 5047 5048 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5046 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_id ⇒ String
DatabaseId accessed in the connection.
Corresponds to the JSON property databaseId
5034 5035 5036 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5034 def database_id @database_id end |
#instance_id ⇒ String
InstanceId accessed in the connection.
Corresponds to the JSON property instanceId
5039 5040 5041 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5039 def instance_id @instance_id end |
#project_id ⇒ String
ProjectId accessed in the connection.
Corresponds to the JSON property projectId
5044 5045 5046 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5044 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5051 5052 5053 5054 5055 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5051 def update!(**args) @database_id = args[:database_id] if args.key?(:database_id) @instance_id = args[:instance_id] if args.key?(:instance_id) @project_id = args[:project_id] if args.key?(:project_id) end |