Package Properties and Attributes (2.23.1)

Summary of entries of Properties and Attributes for pubsub.

google.cloud.pubsub_v1.publisher.client.Client.api

The underlying gapic API client.

See more: google.cloud.pubsub_v1.publisher.client.Client.api

google.cloud.pubsub_v1.publisher.client.Client.api_endpoint

Return the API endpoint used by the client instance.

See more: google.cloud.pubsub_v1.publisher.client.Client.api_endpoint

google.cloud.pubsub_v1.publisher.client.Client.target

Return the target (where the API is).

See more: google.cloud.pubsub_v1.publisher.client.Client.target

google.cloud.pubsub_v1.publisher.client.Client.transport

Returns the transport used by the client instance.

See more: google.cloud.pubsub_v1.publisher.client.Client.transport

google.cloud.pubsub_v1.publisher.client.Client.universe_domain

Return the universe domain used by the client instance.

See more: google.cloud.pubsub_v1.publisher.client.Client.universe_domain

google.cloud.pubsub_v1.subscriber.client.Client.api

The underlying gapic API client.

See more: google.cloud.pubsub_v1.subscriber.client.Client.api

google.cloud.pubsub_v1.subscriber.client.Client.api_endpoint

Return the API endpoint used by the client instance.

See more: google.cloud.pubsub_v1.subscriber.client.Client.api_endpoint

google.cloud.pubsub_v1.subscriber.client.Client.closed

Return whether the client has been closed and cannot be used anymore.

See more: google.cloud.pubsub_v1.subscriber.client.Client.closed

google.cloud.pubsub_v1.subscriber.client.Client.target

Return the target (where the API is).

See more: google.cloud.pubsub_v1.subscriber.client.Client.target

google.cloud.pubsub_v1.subscriber.client.Client.transport

Returns the transport used by the client instance.

See more: google.cloud.pubsub_v1.subscriber.client.Client.transport

google.cloud.pubsub_v1.subscriber.client.Client.universe_domain

Return the universe domain used by the client instance.

See more: google.cloud.pubsub_v1.subscriber.client.Client.universe_domain

google.cloud.pubsub_v1.subscriber.message.Message.ack_id

the ID used to ack the message.

See more: google.cloud.pubsub_v1.subscriber.message.Message.ack_id

google.cloud.pubsub_v1.subscriber.message.Message.attributes

Return the attributes of the underlying Pub/Sub Message.

See more: google.cloud.pubsub_v1.subscriber.message.Message.attributes

google.cloud.pubsub_v1.subscriber.message.Message.data

Return the data for the underlying Pub/Sub Message.

See more: google.cloud.pubsub_v1.subscriber.message.Message.data

google.cloud.pubsub_v1.subscriber.message.Message.delivery_attempt

The delivery attempt counter is 1 + (the sum of number of NACKs and number of ack_deadline exceeds) for this message.

See more: google.cloud.pubsub_v1.subscriber.message.Message.delivery_attempt

google.cloud.pubsub_v1.subscriber.message.Message.ordering_key

The ordering key used to publish the message.

See more: google.cloud.pubsub_v1.subscriber.message.Message.ordering_key

google.cloud.pubsub_v1.subscriber.message.Message.publish_time

Return the time that the message was originally published.

See more: google.cloud.pubsub_v1.subscriber.message.Message.publish_time

google.cloud.pubsub_v1.subscriber.message.Message.size

Return the size of the underlying message, in bytes.

See more: google.cloud.pubsub_v1.subscriber.message.Message.size

google.cloud.pubsub_v1.subscriber.scheduler.Scheduler.queue

Queue: A concurrency-safe queue specific to the underlying concurrency implementation.

See more: google.cloud.pubsub_v1.subscriber.scheduler.Scheduler.queue

google.cloud.pubsub_v1.subscriber.scheduler.ThreadScheduler.queue

Queue: A thread-safe queue used for communication between callbacks and the scheduling thread.

See more: google.cloud.pubsub_v1.subscriber.scheduler.ThreadScheduler.queue

google.cloud.pubsub_v1.types.BatchSettings.max_bytes

The maximum total size of the messages to collect before automatically publishing the batch, including any byte size overhead of the publish request itself.

See more: google.cloud.pubsub_v1.types.BatchSettings.max_bytes

google.cloud.pubsub_v1.types.BatchSettings.max_latency

The maximum number of seconds to wait for additional messages before automatically publishing the batch.

See more: google.cloud.pubsub_v1.types.BatchSettings.max_latency

google.cloud.pubsub_v1.types.BatchSettings.max_messages

The maximum number of messages to collect before automatically publishing the batch.

See more: google.cloud.pubsub_v1.types.BatchSettings.max_messages

google.cloud.pubsub_v1.types.FlowControl.max_bytes

The maximum total size of received - but not yet processed - messages before pausing the message stream.

See more: google.cloud.pubsub_v1.types.FlowControl.max_bytes

google.cloud.pubsub_v1.types.FlowControl.max_duration_per_lease_extension

The max amount of time in seconds for a single lease extension attempt.

See more: google.cloud.pubsub_v1.types.FlowControl.max_duration_per_lease_extension

google.cloud.pubsub_v1.types.FlowControl.max_lease_duration

The maximum amount of time in seconds to hold a lease on a message before dropping it from the lease management.

See more: google.cloud.pubsub_v1.types.FlowControl.max_lease_duration

google.cloud.pubsub_v1.types.FlowControl.max_messages

The maximum number of received - but not yet processed - messages before pausing the message stream.

See more: google.cloud.pubsub_v1.types.FlowControl.max_messages

google.cloud.pubsub_v1.types.FlowControl.min_duration_per_lease_extension

The min amount of time in seconds for a single lease extension attempt.

See more: google.cloud.pubsub_v1.types.FlowControl.min_duration_per_lease_extension

google.cloud.pubsub_v1.types.PublishFlowControl.byte_limit

The maximum total size of messages awaiting to be published.

See more: google.cloud.pubsub_v1.types.PublishFlowControl.byte_limit

google.cloud.pubsub_v1.types.PublishFlowControl.limit_exceeded_behavior

The action to take when publish flow control limits are exceeded.

See more: google.cloud.pubsub_v1.types.PublishFlowControl.limit_exceeded_behavior

google.cloud.pubsub_v1.types.PublishFlowControl.message_limit

The maximum number of messages awaiting to be published.

See more: google.cloud.pubsub_v1.types.PublishFlowControl.message_limit

google.cloud.pubsub_v1.types.PublisherOptions.enable_message_ordering

Whether to order messages in a batch by a supplied ordering key.

See more: google.cloud.pubsub_v1.types.PublisherOptions.enable_message_ordering

google.cloud.pubsub_v1.types.PublisherOptions.flow_control

Flow control settings for message publishing by the client.

See more: google.cloud.pubsub_v1.types.PublisherOptions.flow_control

google.cloud.pubsub_v1.types.PublisherOptions.retry

Retry settings for message publishing by the client.

See more: google.cloud.pubsub_v1.types.PublisherOptions.retry

google.cloud.pubsub_v1.types.PublisherOptions.timeout

Timeout settings for message publishing by the client.

See more: google.cloud.pubsub_v1.types.PublisherOptions.timeout

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.