Class: Google::Apis::DataflowV1b3::SpannerIoDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpannerIoDetails

Returns a new instance of SpannerIoDetails.



5223
5224
5225
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5223

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

Instance Attribute Details

#database_idString

DatabaseId accessed in the connection. Corresponds to the JSON property databaseId

Returns:

  • (String)


5211
5212
5213
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5211

def database_id
  @database_id
end

#instance_idString

InstanceId accessed in the connection. Corresponds to the JSON property instanceId

Returns:

  • (String)


5216
5217
5218
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5216

def instance_id
  @instance_id
end

#project_idString

ProjectId accessed in the connection. Corresponds to the JSON property projectId

Returns:

  • (String)


5221
5222
5223
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5221

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5228
5229
5230
5231
5232
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5228

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