class Google::Apis::DatastreamV1::StreamObject

A specific stream object (e.g a specific DB table).

Attributes

backfill_job[RW]

Represents a backfill job on a specific stream object. Corresponds to the JSON property ‘backfillJob` @return [Google::Apis::DatastreamV1::BackfillJob]

create_time[RW]

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

display_name[RW]

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

errors[RW]

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

name[RW]

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

source_object[RW]

Represents an identifier of an object in the data source. Corresponds to the JSON property ‘sourceObject` @return [Google::Apis::DatastreamV1::SourceObjectIdentifier]

update_time[RW]

Output only. The last update time of the object. 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 1911
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 1916
def update!(**args)
  @backfill_job = args[:backfill_job] if args.key?(:backfill_job)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @errors = args[:errors] if args.key?(:errors)
  @name = args[:name] if args.key?(:name)
  @source_object = args[:source_object] if args.key?(:source_object)
  @update_time = args[:update_time] if args.key?(:update_time)
end