class Google::Apis::DatastreamV1::Stream

A resource representing streaming data from a source to a destination.

Attributes

backfill_all[RW]

Backfill strategy to automatically backfill the Stream’s objects. Specific objects can be excluded. Corresponds to the JSON property ‘backfillAll` @return [Google::Apis::DatastreamV1::BackfillAllStrategy]

backfill_none[RW]

Backfill strategy to disable automatic backfill for the Stream’s objects. Corresponds to the JSON property ‘backfillNone` @return [Google::Apis::DatastreamV1::BackfillNoneStrategy]

create_time[RW]

Output only. The creation time of the stream. Corresponds to the JSON property ‘createTime` @return [String]

customer_managed_encryption_key[RW]

Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. Corresponds to the JSON property ‘customerManagedEncryptionKey` @return [String]

destination_config[RW]

The configuration of the stream destination. Corresponds to the JSON property ‘destinationConfig` @return [Google::Apis::DatastreamV1::DestinationConfig]

display_name[RW]

Required. Display name. Corresponds to the JSON property ‘displayName` @return [String]

errors[RW]

Output only. Errors on the Stream. Corresponds to the JSON property ‘errors` @return [Array<Google::Apis::DatastreamV1::Error>]

labels[RW]

Labels. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

name[RW]

Output only. The stream’s name. Corresponds to the JSON property ‘name` @return [String]

source_config[RW]

The configuration of the stream source. Corresponds to the JSON property ‘sourceConfig` @return [Google::Apis::DatastreamV1::SourceConfig]

state[RW]

The state of the stream. Corresponds to the JSON property ‘state` @return [String]

update_time[RW]

Output only. The last update time of the stream. Corresponds to the JSON property ‘updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 1851
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastream_v1/classes.rb, line 1856
def update!(**args)
  @backfill_all = args[:backfill_all] if args.key?(:backfill_all)
  @backfill_none = args[:backfill_none] if args.key?(:backfill_none)
  @create_time = args[:create_time] if args.key?(:create_time)
  @customer_managed_encryption_key = args[:customer_managed_encryption_key] if args.key?(:customer_managed_encryption_key)
  @destination_config = args[:destination_config] if args.key?(:destination_config)
  @display_name = args[:display_name] if args.key?(:display_name)
  @errors = args[:errors] if args.key?(:errors)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @source_config = args[:source_config] if args.key?(:source_config)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end