Class: Google::Apis::DataflowV1b3::DatastoreIoDetails

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 Datastore 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) ⇒ DatastoreIoDetails

Returns a new instance of DatastoreIoDetails.


933
934
935
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 933

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

Instance Attribute Details

#namespaceString

Namespace used in the connection. Corresponds to the JSON property namespace

Returns:

  • (String)

926
927
928
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 926

def namespace
  @namespace
end

#project_idString

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

Returns:

  • (String)

931
932
933
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 931

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


938
939
940
941
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 938

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