Google Workspace Events V1 API - Module Google::Apps::Events::Subscriptions::V1::SubscriptionsService::Paths (v0.1.0)

Reference documentation and code samples for the Google Workspace Events V1 API module Google::Apps::Events::Subscriptions::V1::SubscriptionsService::Paths.

Path helper methods for the SubscriptionsService API.

Methods

#subscription_path

def subscription_path(subscription:) -> ::String

Create a fully-qualified Subscription resource string.

The resource will be in the following format:

subscriptions/{subscription}

Parameter
  • subscription (String)
Returns
  • (::String)

#topic_path

def topic_path(project:, topic:) -> ::String

Create a fully-qualified Topic resource string.

The resource will be in the following format:

projects/{project}/topics/{topic}

Parameters
  • project (String)
  • topic (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#user_path

def user_path(user:) -> ::String

Create a fully-qualified User resource string.

The resource will be in the following format:

users/{user}

Parameter
  • user (String)
Returns
  • (::String)