Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Rest::ServiceStub (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Rest::ServiceStub.
REST service stub for the SubscriptionsService service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Rest::ServiceStub (v0.1.0)\n\nReference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Rest::ServiceStub.\n\nREST service stub for the SubscriptionsService service.\nService stub contains baseline method implementations\nincluding transcoding, making the REST call, and deserialing the response. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #create_subscription\n\n def create_subscription(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Longrunning::Operation\n\nBaseline implementation for the create_subscription REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::CreateSubscriptionRequest](./Google-Apps-Events-Subscriptions-V1beta-CreateSubscriptionRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Longrunning::Operation](./Google-Longrunning-Operation))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Longrunning::Operation](./Google-Longrunning-Operation)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #delete_subscription\n\n def delete_subscription(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Longrunning::Operation\n\nBaseline implementation for the delete_subscription REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::DeleteSubscriptionRequest](./Google-Apps-Events-Subscriptions-V1beta-DeleteSubscriptionRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Longrunning::Operation](./Google-Longrunning-Operation))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Longrunning::Operation](./Google-Longrunning-Operation)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #endpoint\n\n def endpoint() -\u003e String\n\nThe effective endpoint \n**Returns**\n\n- (String)\n\n### #get_subscription\n\n def get_subscription(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Apps::Events::Subscriptions::V1beta::Subscription\n\nBaseline implementation for the get_subscription REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::GetSubscriptionRequest](./Google-Apps-Events-Subscriptions-V1beta-GetSubscriptionRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Apps::Events::Subscriptions::V1beta::Subscription](./Google-Apps-Events-Subscriptions-V1beta-Subscription))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Apps::Events::Subscriptions::V1beta::Subscription](./Google-Apps-Events-Subscriptions-V1beta-Subscription)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #list_subscriptions\n\n def list_subscriptions(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Apps::Events::Subscriptions::V1beta::ListSubscriptionsResponse\n\nBaseline implementation for the list_subscriptions REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::ListSubscriptionsRequest](./Google-Apps-Events-Subscriptions-V1beta-ListSubscriptionsRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Apps::Events::Subscriptions::V1beta::ListSubscriptionsResponse](./Google-Apps-Events-Subscriptions-V1beta-ListSubscriptionsResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Apps::Events::Subscriptions::V1beta::ListSubscriptionsResponse](./Google-Apps-Events-Subscriptions-V1beta-ListSubscriptionsResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #logger\n\n def logger(stub: false) -\u003e Logger\n\nThe logger used for request/response debug logging. \n**Returns**\n\n- (Logger)\n\n### #reactivate_subscription\n\n def reactivate_subscription(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Longrunning::Operation\n\nBaseline implementation for the reactivate_subscription REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::ReactivateSubscriptionRequest](./Google-Apps-Events-Subscriptions-V1beta-ReactivateSubscriptionRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Longrunning::Operation](./Google-Longrunning-Operation))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Longrunning::Operation](./Google-Longrunning-Operation)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #universe_domain\n\n def universe_domain() -\u003e String\n\nThe effective universe domain \n**Returns**\n\n- (String)\n\n### #update_subscription\n\n def update_subscription(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Longrunning::Operation\n\nBaseline implementation for the update_subscription REST call \n**Parameters**\n\n- **request_pb** ([::Google::Apps::Events::Subscriptions::V1beta::UpdateSubscriptionRequest](./Google-Apps-Events-Subscriptions-V1beta-UpdateSubscriptionRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Longrunning::Operation](./Google-Longrunning-Operation))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Longrunning::Operation](./Google-Longrunning-Operation)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)"]]