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

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

Overview

Metadata for a Spanner connector used by the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SpannerIoDetails

Returns a new instance of SpannerIoDetails.



4367
4368
4369
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4367

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

Instance Attribute Details

#database_idString

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

Returns:

  • (String)


4355
4356
4357
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4355

def database_id
  @database_id
end

#instance_idString

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

Returns:

  • (String)


4360
4361
4362
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4360

def instance_id
  @instance_id
end

#project_idString

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

Returns:

  • (String)


4365
4366
4367
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4365

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4372
4373
4374
4375
4376
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4372

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