Google Workspace Events V1BETA API - Class Google::Apps::Events::Subscriptions::V1beta::UpdateSubscriptionRequest (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::UpdateSubscriptionRequest.
[[["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::UpdateSubscriptionRequest (v0.1.0)\n\nReference documentation and code samples for the Google Workspace Events V1BETA API class Google::Apps::Events::Subscriptions::V1beta::UpdateSubscriptionRequest.\n\nThe request message for\n[SubscriptionsService.UpdateSubscription](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-SubscriptionsService-Client#Google__Apps__Events__Subscriptions__V1beta__SubscriptionsService__Client_update_subscription_instance_ \"Google::Apps::Events::Subscriptions::V1beta::SubscriptionsService::Client#update_subscription (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #subscription\n\n def subscription() -\u003e ::Google::Apps::Events::Subscriptions::V1beta::Subscription\n\n**Returns**\n\n- ([::Google::Apps::Events::Subscriptions::V1beta::Subscription](./Google-Apps-Events-Subscriptions-V1beta-Subscription)) --- Required. The subscription to update.\n\n\n The subscription's `name` field is used to identify the subscription to\n update.\n\n### #subscription=\n\n def subscription=(value) -\u003e ::Google::Apps::Events::Subscriptions::V1beta::Subscription\n\n**Parameter**\n\n- **value** ([::Google::Apps::Events::Subscriptions::V1beta::Subscription](./Google-Apps-Events-Subscriptions-V1beta-Subscription)) --- Required. The subscription to update.\n\n\n The subscription's `name` field is used to identify the subscription to\nupdate. \n**Returns**\n\n- ([::Google::Apps::Events::Subscriptions::V1beta::Subscription](./Google-Apps-Events-Subscriptions-V1beta-Subscription)) --- Required. The subscription to update.\n\n\n The subscription's `name` field is used to identify the subscription to\n update.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. The field to update. If omitted, updates any fields included in the request.\n\n\n You can update one of the following fields in a subscription:\n - [`expire_time`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_expire_time_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#expire_time (method)\"): The timestamp when the subscription expires.\n - [`ttl`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_ttl_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#ttl (method)\"): The time-to-live (TTL) or duration of the subscription.\n - [`event_types`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_event_types_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#event_types (method)\"): The list of event types to receive about the target resource.\n\n To fully replace the subscription (the equivalent of `PUT`), use `*`. Any\n omitted fields are updated with empty values.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. The field to update. If omitted, updates any fields included in the request.\n\n\n You can update one of the following fields in a subscription:\n - [`expire_time`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_expire_time_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#expire_time (method)\"): The timestamp when the subscription expires.\n - [`ttl`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_ttl_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#ttl (method)\"): The time-to-live (TTL) or duration of the subscription.\n - [`event_types`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_event_types_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#event_types (method)\"): The list of event types to receive about the target resource.\n\n To fully replace the subscription (the equivalent of `PUT`), use `*`. Any\nomitted fields are updated with empty values. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. The field to update. If omitted, updates any fields included in the request.\n\n\n You can update one of the following fields in a subscription:\n - [`expire_time`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_expire_time_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#expire_time (method)\"): The timestamp when the subscription expires.\n - [`ttl`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_ttl_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#ttl (method)\"): The time-to-live (TTL) or duration of the subscription.\n - [`event_types`](/ruby/docs/reference/google-apps-events-subscriptions-v1beta/latest/Google-Apps-Events-Subscriptions-V1beta-Subscription#Google__Apps__Events__Subscriptions__V1beta__Subscription_event_types_instance_ \"Google::Apps::Events::Subscriptions::V1beta::Subscription#event_types (method)\"): The list of event types to receive about the target resource.\n\n To fully replace the subscription (the equivalent of `PUT`), use `*`. Any\n omitted fields are updated with empty values.\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't update the subscription.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't update the subscription. \n**Returns**\n\n- (::Boolean) --- Optional. If set to `true`, validates and previews the request, but doesn't update the subscription."]]