Class: Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig

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

Streaming appliance snapshot configuration.

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) ⇒ StreamingApplianceSnapshotConfig

Returns a new instance of StreamingApplianceSnapshotConfig



4363
4364
4365
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4363

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

Instance Attribute Details

#import_state_endpointString

Indicates which endpoint is used to import appliance state. Corresponds to the JSON property importStateEndpoint

Returns:

  • (String)


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

def import_state_endpoint
  @import_state_endpoint
end

#snapshot_idString

If set, indicates the snapshot id for the snapshot being performed. Corresponds to the JSON property snapshotId

Returns:

  • (String)


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

def snapshot_id
  @snapshot_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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