Class: Google::Cloud::PubSub::V1::Topic

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

A topic resource.

Defined Under Namespace

Modules: State Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#ingestion_data_source_settings::Google::Cloud::PubSub::V1::IngestionDataSourceSettings



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#kms_key_name::String



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#labels::Google::Protobuf::Map{::String => ::String}



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#message_retention_duration::Google::Protobuf::Duration



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#message_storage_policy::Google::Cloud::PubSub::V1::MessageStoragePolicy



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#name::String



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#satisfies_pzs::Boolean



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#schema_settings::Google::Cloud::PubSub::V1::SchemaSettings



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end

#state::Google::Cloud::PubSub::V1::Topic::State (readonly)



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 377

class Topic
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the topic.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # The topic does not have any persistent errors.
    ACTIVE = 1

    # Ingestion from the data source has encountered a permanent error.
    # See the more detailed error state in the corresponding ingestion
    # source configuration.
    INGESTION_RESOURCE_ERROR = 2
  end
end