Class: Google::Apis::DatastreamV1alpha1::Stream

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Stream

Returns a new instance of Stream.



1652
1653
1654
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1652

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

Instance Attribute Details

#backfill_allGoogle::Apis::DatastreamV1alpha1::BackfillAllStrategy

Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. Corresponds to the JSON property backfillAll



1600
1601
1602
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1600

def backfill_all
  @backfill_all
end

#backfill_noneGoogle::Apis::DatastreamV1alpha1::BackfillNoneStrategy

Backfill strategy to disable automatic backfill for the Stream's objects. Corresponds to the JSON property backfillNone



1605
1606
1607
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1605

def backfill_none
  @backfill_none
end

#create_timeString

Output only. The creation time of the stream. Corresponds to the JSON property createTime

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1610

def create_time
  @create_time
end

#destination_configGoogle::Apis::DatastreamV1alpha1::DestinationConfig

The configuration of the stream destination. Corresponds to the JSON property destinationConfig



1615
1616
1617
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1615

def destination_config
  @destination_config
end

#display_nameString

Required. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


1620
1621
1622
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1620

def display_name
  @display_name
end

#errorsArray<Google::Apis::DatastreamV1alpha1::Error>

Output only. Errors on the Stream. Corresponds to the JSON property errors



1625
1626
1627
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1625

def errors
  @errors
end

#labelsHash<String,String>

Labels. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1630
1631
1632
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1630

def labels
  @labels
end

#nameString

Output only. The stream's name. Corresponds to the JSON property name

Returns:

  • (String)


1635
1636
1637
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1635

def name
  @name
end

#source_configGoogle::Apis::DatastreamV1alpha1::SourceConfig

The configuration of the stream source. Corresponds to the JSON property sourceConfig



1640
1641
1642
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1640

def source_config
  @source_config
end

#stateString

The state of the stream. Corresponds to the JSON property state

Returns:

  • (String)


1645
1646
1647
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1645

def state
  @state
end

#update_timeString

Output only. The last update time of the stream. Corresponds to the JSON property updateTime

Returns:

  • (String)


1650
1651
1652
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1650

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1657

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)
  @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