1. Packages
  2. Google Cloud Native
  3. API Docs
  4. pubsublite
  5. pubsublite/v1
  6. Topic

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.pubsublite/v1.Topic

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new topic.

Create Topic Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Topic(name: string, args: TopicArgs, opts?: CustomResourceOptions);
@overload
def Topic(resource_name: str,
          args: TopicArgs,
          opts: Optional[ResourceOptions] = None)

@overload
def Topic(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          topic_id: Optional[str] = None,
          location: Optional[str] = None,
          name: Optional[str] = None,
          partition_config: Optional[PartitionConfigArgs] = None,
          project: Optional[str] = None,
          reservation_config: Optional[ReservationConfigArgs] = None,
          retention_config: Optional[RetentionConfigArgs] = None)
func NewTopic(ctx *Context, name string, args TopicArgs, opts ...ResourceOption) (*Topic, error)
public Topic(string name, TopicArgs args, CustomResourceOptions? opts = null)
public Topic(String name, TopicArgs args)
public Topic(String name, TopicArgs args, CustomResourceOptions options)
type: google-native:pubsublite/v1:Topic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TopicArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampletopicResourceResourceFromPubsublitev1 = new GoogleNative.Pubsublite.V1.Topic("exampletopicResourceResourceFromPubsublitev1", new()
{
    TopicId = "string",
    Location = "string",
    Name = "string",
    PartitionConfig = new GoogleNative.Pubsublite.V1.Inputs.PartitionConfigArgs
    {
        Capacity = new GoogleNative.Pubsublite.V1.Inputs.CapacityArgs
        {
            PublishMibPerSec = 0,
            SubscribeMibPerSec = 0,
        },
        Count = "string",
    },
    Project = "string",
    ReservationConfig = new GoogleNative.Pubsublite.V1.Inputs.ReservationConfigArgs
    {
        ThroughputReservation = "string",
    },
    RetentionConfig = new GoogleNative.Pubsublite.V1.Inputs.RetentionConfigArgs
    {
        PerPartitionBytes = "string",
        Period = "string",
    },
});
Copy
example, err := pubsublite.NewTopic(ctx, "exampletopicResourceResourceFromPubsublitev1", &pubsublite.TopicArgs{
	TopicId:  pulumi.String("string"),
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	PartitionConfig: &pubsublite.PartitionConfigArgs{
		Capacity: &pubsublite.CapacityArgs{
			PublishMibPerSec:   pulumi.Int(0),
			SubscribeMibPerSec: pulumi.Int(0),
		},
		Count: pulumi.String("string"),
	},
	Project: pulumi.String("string"),
	ReservationConfig: &pubsublite.ReservationConfigArgs{
		ThroughputReservation: pulumi.String("string"),
	},
	RetentionConfig: &pubsublite.RetentionConfigArgs{
		PerPartitionBytes: pulumi.String("string"),
		Period:            pulumi.String("string"),
	},
})
Copy
var exampletopicResourceResourceFromPubsublitev1 = new Topic("exampletopicResourceResourceFromPubsublitev1", TopicArgs.builder()
    .topicId("string")
    .location("string")
    .name("string")
    .partitionConfig(PartitionConfigArgs.builder()
        .capacity(CapacityArgs.builder()
            .publishMibPerSec(0)
            .subscribeMibPerSec(0)
            .build())
        .count("string")
        .build())
    .project("string")
    .reservationConfig(ReservationConfigArgs.builder()
        .throughputReservation("string")
        .build())
    .retentionConfig(RetentionConfigArgs.builder()
        .perPartitionBytes("string")
        .period("string")
        .build())
    .build());
Copy
exampletopic_resource_resource_from_pubsublitev1 = google_native.pubsublite.v1.Topic("exampletopicResourceResourceFromPubsublitev1",
    topic_id="string",
    location="string",
    name="string",
    partition_config={
        "capacity": {
            "publish_mib_per_sec": 0,
            "subscribe_mib_per_sec": 0,
        },
        "count": "string",
    },
    project="string",
    reservation_config={
        "throughput_reservation": "string",
    },
    retention_config={
        "per_partition_bytes": "string",
        "period": "string",
    })
Copy
const exampletopicResourceResourceFromPubsublitev1 = new google_native.pubsublite.v1.Topic("exampletopicResourceResourceFromPubsublitev1", {
    topicId: "string",
    location: "string",
    name: "string",
    partitionConfig: {
        capacity: {
            publishMibPerSec: 0,
            subscribeMibPerSec: 0,
        },
        count: "string",
    },
    project: "string",
    reservationConfig: {
        throughputReservation: "string",
    },
    retentionConfig: {
        perPartitionBytes: "string",
        period: "string",
    },
});
Copy
type: google-native:pubsublite/v1:Topic
properties:
    location: string
    name: string
    partitionConfig:
        capacity:
            publishMibPerSec: 0
            subscribeMibPerSec: 0
        count: string
    project: string
    reservationConfig:
        throughputReservation: string
    retentionConfig:
        perPartitionBytes: string
        period: string
    topicId: string
Copy

Topic Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Topic resource accepts the following input properties:

TopicId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
Location Changes to this property will trigger replacement. string
Name string
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
PartitionConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.PartitionConfig
The settings for this topic's partitions.
Project Changes to this property will trigger replacement. string
ReservationConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.ReservationConfig
The settings for this topic's Reservation usage.
RetentionConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.RetentionConfig
The settings for this topic's message retention.
TopicId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
Location Changes to this property will trigger replacement. string
Name string
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
PartitionConfig PartitionConfigArgs
The settings for this topic's partitions.
Project Changes to this property will trigger replacement. string
ReservationConfig ReservationConfigArgs
The settings for this topic's Reservation usage.
RetentionConfig RetentionConfigArgs
The settings for this topic's message retention.
topicId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
location Changes to this property will trigger replacement. String
name String
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partitionConfig PartitionConfig
The settings for this topic's partitions.
project Changes to this property will trigger replacement. String
reservationConfig ReservationConfig
The settings for this topic's Reservation usage.
retentionConfig RetentionConfig
The settings for this topic's message retention.
topicId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
location Changes to this property will trigger replacement. string
name string
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partitionConfig PartitionConfig
The settings for this topic's partitions.
project Changes to this property will trigger replacement. string
reservationConfig ReservationConfig
The settings for this topic's Reservation usage.
retentionConfig RetentionConfig
The settings for this topic's message retention.
topic_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
location Changes to this property will trigger replacement. str
name str
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partition_config PartitionConfigArgs
The settings for this topic's partitions.
project Changes to this property will trigger replacement. str
reservation_config ReservationConfigArgs
The settings for this topic's Reservation usage.
retention_config RetentionConfigArgs
The settings for this topic's message retention.
topicId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.
location Changes to this property will trigger replacement. String
name String
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partitionConfig Property Map
The settings for this topic's partitions.
project Changes to this property will trigger replacement. String
reservationConfig Property Map
The settings for this topic's Reservation usage.
retentionConfig Property Map
The settings for this topic's message retention.

Outputs

All input properties are implicitly available as output properties. Additionally, the Topic resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

Capacity
, CapacityArgs

PublishMibPerSec int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
SubscribeMibPerSec int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
PublishMibPerSec int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
SubscribeMibPerSec int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec Integer
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec Integer
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec number
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec number
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publish_mib_per_sec int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribe_mib_per_sec int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec Number
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec Number
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.

CapacityResponse
, CapacityResponseArgs

PublishMibPerSec This property is required. int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
SubscribeMibPerSec This property is required. int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
PublishMibPerSec This property is required. int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
SubscribeMibPerSec This property is required. int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec This property is required. Integer
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec This property is required. Integer
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec This property is required. number
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec This property is required. number
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publish_mib_per_sec This property is required. int
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribe_mib_per_sec This property is required. int
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
publishMibPerSec This property is required. Number
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
subscribeMibPerSec This property is required. Number
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.

PartitionConfig
, PartitionConfigArgs

Capacity Pulumi.GoogleNative.Pubsublite.V1.Inputs.Capacity
The capacity configuration.
Count string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
Scale int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Capacity Capacity
The capacity configuration.
Count string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
Scale int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity Capacity
The capacity configuration.
count String
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale Integer
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity Capacity
The capacity configuration.
count string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale number
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity Capacity
The capacity configuration.
count str
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity Property Map
The capacity configuration.
count String
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale Number
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

PartitionConfigResponse
, PartitionConfigResponseArgs

Capacity This property is required. Pulumi.GoogleNative.Pubsublite.V1.Inputs.CapacityResponse
The capacity configuration.
Count This property is required. string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
Scale This property is required. int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Capacity This property is required. CapacityResponse
The capacity configuration.
Count This property is required. string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
Scale This property is required. int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity This property is required. CapacityResponse
The capacity configuration.
count This property is required. String
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale This property is required. Integer
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity This property is required. CapacityResponse
The capacity configuration.
count This property is required. string
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale This property is required. number
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity This property is required. CapacityResponse
The capacity configuration.
count This property is required. str
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale This property is required. int
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

capacity This property is required. Property Map
The capacity configuration.
count This property is required. String
The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
scale This property is required. Number
DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

ReservationConfig
, ReservationConfigArgs

ThroughputReservation string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
ThroughputReservation string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation String
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughput_reservation str
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation String
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

ReservationConfigResponse
, ReservationConfigResponseArgs

ThroughputReservation This property is required. string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
ThroughputReservation This property is required. string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation This property is required. String
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation This property is required. string
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughput_reservation This property is required. str
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputReservation This property is required. String
The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

RetentionConfig
, RetentionConfigArgs

PerPartitionBytes string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
Period string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
PerPartitionBytes string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
Period string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes String
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period String
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
per_partition_bytes str
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period str
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes String
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period String
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.

RetentionConfigResponse
, RetentionConfigResponseArgs

PerPartitionBytes This property is required. string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
Period This property is required. string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
PerPartitionBytes This property is required. string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
Period This property is required. string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes This property is required. String
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period This property is required. String
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes This property is required. string
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period This property is required. string
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
per_partition_bytes This property is required. str
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period This property is required. str
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.
perPartitionBytes This property is required. String
The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
period This property is required. String
How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi