Show / Hide Table of Contents

Class TopicState

Inheritance
System.Object
InputArgs
ResourceArgs
TopicState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.PubSub
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TopicState : ResourceArgs

Constructors

View Source

TopicState()

Declaration
public TopicState()

Properties

View Source

KmsKeyName

The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. Your project's PubSub service account (service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com) must have roles/cloudkms.cryptoKeyEncrypterDecrypter to use this feature. The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*

Declaration
public Input<string> KmsKeyName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Labels

A set of key/value label pairs to assign to this Topic.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

MessageStoragePolicy

Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect. Structure is documented below.

Declaration
public Input<TopicMessageStoragePolicyGetArgs> MessageStoragePolicy { get; set; }
Property Value
Type Description
Input<TopicMessageStoragePolicyGetArgs>
View Source

Name

Name of the topic.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.