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

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.Subscription

Explore with Pulumi AI

google-native logo

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 subscription.

    Create Subscription Resource

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

    Constructor syntax

    new Subscription(name: string, args: SubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def Subscription(resource_name: str,
                     args: SubscriptionArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Subscription(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     subscription_id: Optional[str] = None,
                     delivery_config: Optional[DeliveryConfigArgs] = None,
                     export_config: Optional[ExportConfigArgs] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     project: Optional[str] = None,
                     skip_backlog: Optional[bool] = None,
                     topic: Optional[str] = None)
    func NewSubscription(ctx *Context, name string, args SubscriptionArgs, opts ...ResourceOption) (*Subscription, error)
    public Subscription(string name, SubscriptionArgs args, CustomResourceOptions? opts = null)
    public Subscription(String name, SubscriptionArgs args)
    public Subscription(String name, SubscriptionArgs args, CustomResourceOptions options)
    
    type: google-native:pubsublite/v1:Subscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

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

    var examplesubscriptionResourceResourceFromPubsublitev1 = new GoogleNative.Pubsublite.V1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1", new()
    {
        SubscriptionId = "string",
        DeliveryConfig = new GoogleNative.Pubsublite.V1.Inputs.DeliveryConfigArgs
        {
            DeliveryRequirement = GoogleNative.Pubsublite.V1.DeliveryConfigDeliveryRequirement.DeliveryRequirementUnspecified,
        },
        ExportConfig = new GoogleNative.Pubsublite.V1.Inputs.ExportConfigArgs
        {
            DeadLetterTopic = "string",
            DesiredState = GoogleNative.Pubsublite.V1.ExportConfigDesiredState.StateUnspecified,
            PubsubConfig = new GoogleNative.Pubsublite.V1.Inputs.PubSubConfigArgs
            {
                Topic = "string",
            },
        },
        Location = "string",
        Name = "string",
        Project = "string",
        SkipBacklog = false,
        Topic = "string",
    });
    
    example, err := pubsublite.NewSubscription(ctx, "examplesubscriptionResourceResourceFromPubsublitev1", &pubsublite.SubscriptionArgs{
    SubscriptionId: pulumi.String("string"),
    DeliveryConfig: &pubsublite.DeliveryConfigArgs{
    DeliveryRequirement: pubsublite.DeliveryConfigDeliveryRequirementDeliveryRequirementUnspecified,
    },
    ExportConfig: &pubsublite.ExportConfigArgs{
    DeadLetterTopic: pulumi.String("string"),
    DesiredState: pubsublite.ExportConfigDesiredStateStateUnspecified,
    PubsubConfig: &pubsublite.PubSubConfigArgs{
    Topic: pulumi.String("string"),
    },
    },
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    SkipBacklog: pulumi.Bool(false),
    Topic: pulumi.String("string"),
    })
    
    var examplesubscriptionResourceResourceFromPubsublitev1 = new Subscription("examplesubscriptionResourceResourceFromPubsublitev1", SubscriptionArgs.builder()        
        .subscriptionId("string")
        .deliveryConfig(DeliveryConfigArgs.builder()
            .deliveryRequirement("DELIVERY_REQUIREMENT_UNSPECIFIED")
            .build())
        .exportConfig(ExportConfigArgs.builder()
            .deadLetterTopic("string")
            .desiredState("STATE_UNSPECIFIED")
            .pubsubConfig(PubSubConfigArgs.builder()
                .topic("string")
                .build())
            .build())
        .location("string")
        .name("string")
        .project("string")
        .skipBacklog(false)
        .topic("string")
        .build());
    
    examplesubscription_resource_resource_from_pubsublitev1 = google_native.pubsublite.v1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1",
        subscription_id="string",
        delivery_config=google_native.pubsublite.v1.DeliveryConfigArgs(
            delivery_requirement=google_native.pubsublite.v1.DeliveryConfigDeliveryRequirement.DELIVERY_REQUIREMENT_UNSPECIFIED,
        ),
        export_config=google_native.pubsublite.v1.ExportConfigArgs(
            dead_letter_topic="string",
            desired_state=google_native.pubsublite.v1.ExportConfigDesiredState.STATE_UNSPECIFIED,
            pubsub_config=google_native.pubsublite.v1.PubSubConfigArgs(
                topic="string",
            ),
        ),
        location="string",
        name="string",
        project="string",
        skip_backlog=False,
        topic="string")
    
    const examplesubscriptionResourceResourceFromPubsublitev1 = new google_native.pubsublite.v1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1", {
        subscriptionId: "string",
        deliveryConfig: {
            deliveryRequirement: google_native.pubsublite.v1.DeliveryConfigDeliveryRequirement.DeliveryRequirementUnspecified,
        },
        exportConfig: {
            deadLetterTopic: "string",
            desiredState: google_native.pubsublite.v1.ExportConfigDesiredState.StateUnspecified,
            pubsubConfig: {
                topic: "string",
            },
        },
        location: "string",
        name: "string",
        project: "string",
        skipBacklog: false,
        topic: "string",
    });
    
    type: google-native:pubsublite/v1:Subscription
    properties:
        deliveryConfig:
            deliveryRequirement: DELIVERY_REQUIREMENT_UNSPECIFIED
        exportConfig:
            deadLetterTopic: string
            desiredState: STATE_UNSPECIFIED
            pubsubConfig:
                topic: string
        location: string
        name: string
        project: string
        skipBacklog: false
        subscriptionId: string
        topic: string
    

    Subscription Resource Properties

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

    Inputs

    The Subscription resource accepts the following input properties:

    SubscriptionId string
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    DeliveryConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.DeliveryConfig
    The settings for this subscription's message delivery.
    ExportConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.ExportConfig
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    Location string
    Name string
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    Project string
    SkipBacklog bool
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    Topic string
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
    SubscriptionId string
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    DeliveryConfig DeliveryConfigArgs
    The settings for this subscription's message delivery.
    ExportConfig ExportConfigArgs
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    Location string
    Name string
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    Project string
    SkipBacklog bool
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    Topic string
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
    subscriptionId String
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    deliveryConfig DeliveryConfig
    The settings for this subscription's message delivery.
    exportConfig ExportConfig
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    location String
    name String
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    project String
    skipBacklog Boolean
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    topic String
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
    subscriptionId string
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    deliveryConfig DeliveryConfig
    The settings for this subscription's message delivery.
    exportConfig ExportConfig
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    location string
    name string
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    project string
    skipBacklog boolean
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    topic string
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
    subscription_id str
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    delivery_config DeliveryConfigArgs
    The settings for this subscription's message delivery.
    export_config ExportConfigArgs
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    location str
    name str
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    project str
    skip_backlog bool
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    topic str
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
    subscriptionId String
    Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
    deliveryConfig Property Map
    The settings for this subscription's message delivery.
    exportConfig Property Map
    If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
    location String
    name String
    The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
    project String
    skipBacklog Boolean
    If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
    topic String
    The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Subscription 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

    DeliveryConfig, DeliveryConfigArgs

    DeliveryRequirement DeliveryConfigDeliveryRequirement
    The DeliveryRequirement for this subscription.
    deliveryRequirement DeliveryConfigDeliveryRequirement
    The DeliveryRequirement for this subscription.
    deliveryRequirement DeliveryConfigDeliveryRequirement
    The DeliveryRequirement for this subscription.
    delivery_requirement DeliveryConfigDeliveryRequirement
    The DeliveryRequirement for this subscription.

    DeliveryConfigDeliveryRequirement, DeliveryConfigDeliveryRequirementArgs

    DeliveryRequirementUnspecified
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    DeliverImmediately
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    DeliverAfterStored
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
    DeliveryConfigDeliveryRequirementDeliveryRequirementUnspecified
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    DeliveryConfigDeliveryRequirementDeliverImmediately
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    DeliveryConfigDeliveryRequirementDeliverAfterStored
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
    DeliveryRequirementUnspecified
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    DeliverImmediately
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    DeliverAfterStored
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
    DeliveryRequirementUnspecified
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    DeliverImmediately
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    DeliverAfterStored
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
    DELIVERY_REQUIREMENT_UNSPECIFIED
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    DELIVER_IMMEDIATELY
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    DELIVER_AFTER_STORED
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
    "DELIVERY_REQUIREMENT_UNSPECIFIED"
    DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
    "DELIVER_IMMEDIATELY"
    DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
    "DELIVER_AFTER_STORED"
    DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.

    DeliveryConfigResponse, DeliveryConfigResponseArgs

    DeliveryRequirement string
    The DeliveryRequirement for this subscription.
    DeliveryRequirement string
    The DeliveryRequirement for this subscription.
    deliveryRequirement String
    The DeliveryRequirement for this subscription.
    deliveryRequirement string
    The DeliveryRequirement for this subscription.
    delivery_requirement str
    The DeliveryRequirement for this subscription.
    deliveryRequirement String
    The DeliveryRequirement for this subscription.

    ExportConfig, ExportConfigArgs

    DeadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    DesiredState Pulumi.GoogleNative.Pubsublite.V1.ExportConfigDesiredState
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    PubsubConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.PubSubConfig
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    DeadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    DesiredState ExportConfigDesiredState
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    PubsubConfig PubSubConfig
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    deadLetterTopic String
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState ExportConfigDesiredState
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig PubSubConfig
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    deadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState ExportConfigDesiredState
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig PubSubConfig
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    dead_letter_topic str
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desired_state ExportConfigDesiredState
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsub_config PubSubConfig
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    deadLetterTopic String
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState "STATE_UNSPECIFIED" | "ACTIVE" | "PAUSED" | "PERMISSION_DENIED" | "NOT_FOUND"
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig Property Map
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.

    ExportConfigDesiredState, ExportConfigDesiredStateArgs

    StateUnspecified
    STATE_UNSPECIFIEDDefault value. This value is unused.
    Active
    ACTIVEMessages are being exported.
    Paused
    PAUSEDExporting messages is suspended.
    PermissionDenied
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    NotFound
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
    ExportConfigDesiredStateStateUnspecified
    STATE_UNSPECIFIEDDefault value. This value is unused.
    ExportConfigDesiredStateActive
    ACTIVEMessages are being exported.
    ExportConfigDesiredStatePaused
    PAUSEDExporting messages is suspended.
    ExportConfigDesiredStatePermissionDenied
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    ExportConfigDesiredStateNotFound
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
    StateUnspecified
    STATE_UNSPECIFIEDDefault value. This value is unused.
    Active
    ACTIVEMessages are being exported.
    Paused
    PAUSEDExporting messages is suspended.
    PermissionDenied
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    NotFound
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
    StateUnspecified
    STATE_UNSPECIFIEDDefault value. This value is unused.
    Active
    ACTIVEMessages are being exported.
    Paused
    PAUSEDExporting messages is suspended.
    PermissionDenied
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    NotFound
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
    STATE_UNSPECIFIED
    STATE_UNSPECIFIEDDefault value. This value is unused.
    ACTIVE
    ACTIVEMessages are being exported.
    PAUSED
    PAUSEDExporting messages is suspended.
    PERMISSION_DENIED
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    NOT_FOUND
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
    "STATE_UNSPECIFIED"
    STATE_UNSPECIFIEDDefault value. This value is unused.
    "ACTIVE"
    ACTIVEMessages are being exported.
    "PAUSED"
    PAUSEDExporting messages is suspended.
    "PERMISSION_DENIED"
    PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
    "NOT_FOUND"
    NOT_FOUNDMessages cannot be exported due to missing resources. Output only.

    ExportConfigResponse, ExportConfigResponseArgs

    CurrentState string
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    DeadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    DesiredState string
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    PubsubConfig Pulumi.GoogleNative.Pubsublite.V1.Inputs.PubSubConfigResponse
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    CurrentState string
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    DeadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    DesiredState string
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    PubsubConfig PubSubConfigResponse
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    currentState String
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    deadLetterTopic String
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState String
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig PubSubConfigResponse
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    currentState string
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    deadLetterTopic string
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState string
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig PubSubConfigResponse
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    current_state str
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    dead_letter_topic str
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desired_state str
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsub_config PubSubConfigResponse
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
    currentState String
    The current state of the export, which may be different to the desired state due to errors. This field is output only.
    deadLetterTopic String
    Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
    desiredState String
    The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
    pubsubConfig Property Map
    Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.

    PubSubConfig, PubSubConfigArgs

    Topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    Topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic String
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic str
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic String
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.

    PubSubConfigResponse, PubSubConfigResponseArgs

    Topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    Topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic String
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic string
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic str
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
    topic String
    The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.

    Package Details

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

    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