Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceGooglePubsubSubscription() *schema.Resource
- func DataSourceGooglePubsubTopic() *schema.Resource
- func GetComputedSubscriptionName(project, subscription string) string
- func GetComputedTopicName(project, topic string) string
- func NewPubsubSubscriptionIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- type PubsubSubscriptionIamUpdater
- func (u *PubsubSubscriptionIamUpdater) DescribeResource() string
- func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string
- func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *PubsubSubscriptionIamUpdater) GetResourceId() string
- func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const PubsubTopicRegex = "projects\\/.*\\/topics\\/.*"
Variables ¶
View Source
var IamPubsubSubscriptionSchema = map[string]*schema.Schema{ "subscription": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
Functions ¶
func GetComputedTopicName ¶
func NewPubsubSubscriptionIamUpdater ¶
func NewPubsubSubscriptionIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func PubsubSubscriptionIdParseFunc ¶
func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
Types ¶
type PubsubSubscriptionIamUpdater ¶
type PubsubSubscriptionIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*PubsubSubscriptionIamUpdater) DescribeResource ¶
func (u *PubsubSubscriptionIamUpdater) DescribeResource() string
func (*PubsubSubscriptionIamUpdater) GetMutexKey ¶
func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string
func (*PubsubSubscriptionIamUpdater) GetResourceIamPolicy ¶
func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*PubsubSubscriptionIamUpdater) GetResourceId ¶
func (u *PubsubSubscriptionIamUpdater) GetResourceId() string
func (*PubsubSubscriptionIamUpdater) SetResourceIamPolicy ¶
func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.