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.



859
860
861
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 859

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

Instance Attribute Details

#namespaceString

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

Returns:

  • (String)


852
853
854
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 852

def namespace
  @namespace
end

#project_idString

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

Returns:

  • (String)


857
858
859
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 857

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



864
865
866
867
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 864

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