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



826
827
828
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 826

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

Instance Attribute Details

#namespaceString

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

Returns:

  • (String)


819
820
821
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 819

def namespace
  @namespace
end

#project_idString

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

Returns:

  • (String)


824
825
826
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 824

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



831
832
833
834
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 831

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