Class: Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsKinesis

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

Overview

Ingestion settings for Amazon Kinesis Data Streams.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#aws_role_arn::String



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 127

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

  # Possible states for ingestion from Amazon Kinesis Data Streams.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Ingestion is active.
    ACTIVE = 1

    # Permission denied encountered while consuming data from Kinesis.
    # This can happen if:
    #   - The provided `aws_role_arn` does not exist or does not have the
    #     appropriate permissions attached.
    #   - The provided `aws_role_arn` is not set up properly for Identity
    #     Federation using `gcp_service_account`.
    #   - The Pub/Sub SA is not granted the
    #     `iam.serviceAccounts.getOpenIdToken` permission on
    #     `gcp_service_account`.
    KINESIS_PERMISSION_DENIED = 2

    # Permission denied encountered while publishing to the topic. This can
    # happen if the Pub/Sub SA has not been granted the [appropriate publish
    # permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
    PUBLISH_PERMISSION_DENIED = 3

    # The Kinesis stream does not exist.
    STREAM_NOT_FOUND = 4

    # The Kinesis consumer does not exist.
    CONSUMER_NOT_FOUND = 5
  end
end

#consumer_arn::String



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 127

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

  # Possible states for ingestion from Amazon Kinesis Data Streams.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Ingestion is active.
    ACTIVE = 1

    # Permission denied encountered while consuming data from Kinesis.
    # This can happen if:
    #   - The provided `aws_role_arn` does not exist or does not have the
    #     appropriate permissions attached.
    #   - The provided `aws_role_arn` is not set up properly for Identity
    #     Federation using `gcp_service_account`.
    #   - The Pub/Sub SA is not granted the
    #     `iam.serviceAccounts.getOpenIdToken` permission on
    #     `gcp_service_account`.
    KINESIS_PERMISSION_DENIED = 2

    # Permission denied encountered while publishing to the topic. This can
    # happen if the Pub/Sub SA has not been granted the [appropriate publish
    # permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
    PUBLISH_PERMISSION_DENIED = 3

    # The Kinesis stream does not exist.
    STREAM_NOT_FOUND = 4

    # The Kinesis consumer does not exist.
    CONSUMER_NOT_FOUND = 5
  end
end

#gcp_service_account::String



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 127

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

  # Possible states for ingestion from Amazon Kinesis Data Streams.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Ingestion is active.
    ACTIVE = 1

    # Permission denied encountered while consuming data from Kinesis.
    # This can happen if:
    #   - The provided `aws_role_arn` does not exist or does not have the
    #     appropriate permissions attached.
    #   - The provided `aws_role_arn` is not set up properly for Identity
    #     Federation using `gcp_service_account`.
    #   - The Pub/Sub SA is not granted the
    #     `iam.serviceAccounts.getOpenIdToken` permission on
    #     `gcp_service_account`.
    KINESIS_PERMISSION_DENIED = 2

    # Permission denied encountered while publishing to the topic. This can
    # happen if the Pub/Sub SA has not been granted the [appropriate publish
    # permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
    PUBLISH_PERMISSION_DENIED = 3

    # The Kinesis stream does not exist.
    STREAM_NOT_FOUND = 4

    # The Kinesis consumer does not exist.
    CONSUMER_NOT_FOUND = 5
  end
end

#state::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsKinesis::State (readonly)



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 127

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

  # Possible states for ingestion from Amazon Kinesis Data Streams.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Ingestion is active.
    ACTIVE = 1

    # Permission denied encountered while consuming data from Kinesis.
    # This can happen if:
    #   - The provided `aws_role_arn` does not exist or does not have the
    #     appropriate permissions attached.
    #   - The provided `aws_role_arn` is not set up properly for Identity
    #     Federation using `gcp_service_account`.
    #   - The Pub/Sub SA is not granted the
    #     `iam.serviceAccounts.getOpenIdToken` permission on
    #     `gcp_service_account`.
    KINESIS_PERMISSION_DENIED = 2

    # Permission denied encountered while publishing to the topic. This can
    # happen if the Pub/Sub SA has not been granted the [appropriate publish
    # permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
    PUBLISH_PERMISSION_DENIED = 3

    # The Kinesis stream does not exist.
    STREAM_NOT_FOUND = 4

    # The Kinesis consumer does not exist.
    CONSUMER_NOT_FOUND = 5
  end
end

#stream_arn::String



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 127

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

  # Possible states for ingestion from Amazon Kinesis Data Streams.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Ingestion is active.
    ACTIVE = 1

    # Permission denied encountered while consuming data from Kinesis.
    # This can happen if:
    #   - The provided `aws_role_arn` does not exist or does not have the
    #     appropriate permissions attached.
    #   - The provided `aws_role_arn` is not set up properly for Identity
    #     Federation using `gcp_service_account`.
    #   - The Pub/Sub SA is not granted the
    #     `iam.serviceAccounts.getOpenIdToken` permission on
    #     `gcp_service_account`.
    KINESIS_PERMISSION_DENIED = 2

    # Permission denied encountered while publishing to the topic. This can
    # happen if the Pub/Sub SA has not been granted the [appropriate publish
    # permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
    PUBLISH_PERMISSION_DENIED = 3

    # The Kinesis stream does not exist.
    STREAM_NOT_FOUND = 4

    # The Kinesis consumer does not exist.
    CONSUMER_NOT_FOUND = 5
  end
end