C# Class Google.PowerShell.PubSub.GcpsCmdlet

Base class for Google Cloud PubSub cmdlets.
Inheritance: GCloudCmdlet
Mostra file Open project: GoogleCloudPlatform/google-cloud-powershell

Public Methods

Method Description
GcpsCmdlet ( ) : Google.Apis.Pubsub.v1

Protected Methods

Method Description
GetProjectPrefixForSubscription ( string subscriptionName, string project ) : string

Prefix projects/{project name}/subscriptions/{subscriptions} to subscriptionName if not present.

GetProjectPrefixForTopic ( string topicName, string project ) : string

Prefix projects/{project name}/topics/{topic} to topicName if not present.

Method Details

GcpsCmdlet() public method

public GcpsCmdlet ( ) : Google.Apis.Pubsub.v1
return Google.Apis.Pubsub.v1

GetProjectPrefixForSubscription() protected method

Prefix projects/{project name}/subscriptions/{subscriptions} to subscriptionName if not present.
protected GetProjectPrefixForSubscription ( string subscriptionName, string project ) : string
subscriptionName string
project string
return string

GetProjectPrefixForTopic() protected method

Prefix projects/{project name}/topics/{topic} to topicName if not present.
protected GetProjectPrefixForTopic ( string topicName, string project ) : string
topicName string
project string
return string