From 8e82bbf15feb7411395307616a57401730c2fb46 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 17 May 2026 11:47:43 +0000 Subject: [PATCH] feat: Automated regeneration of workspaceevents v1 client --- api_names_out.yaml | 3 ++ .../CHANGELOG.md | 4 +++ .../google/apis/workspaceevents_v1/classes.rb | 33 +++++++++++++++++++ .../apis/workspaceevents_v1/gem_version.rb | 4 +-- .../workspaceevents_v1/representations.rb | 15 +++++++++ 5 files changed, 57 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 0f0bd0c847c..9e315fbd238 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -427804,6 +427804,8 @@ "/workspaceevents:v1/DataPart": data_part "/workspaceevents:v1/DataPart/data": data "/workspaceevents:v1/DataPart/data/datum": datum +"/workspaceevents:v1/DriveOptions": drive_options +"/workspaceevents:v1/DriveOptions/includeDescendants": include_descendants "/workspaceevents:v1/Empty": empty "/workspaceevents:v1/FilePart": file_part "/workspaceevents:v1/FilePart/fileWithBytes": file_with_bytes @@ -427920,6 +427922,7 @@ "/workspaceevents:v1/Subscription": subscription "/workspaceevents:v1/Subscription/authority": authority "/workspaceevents:v1/Subscription/createTime": create_time +"/workspaceevents:v1/Subscription/driveOptions": drive_options "/workspaceevents:v1/Subscription/etag": etag "/workspaceevents:v1/Subscription/eventTypes": event_types "/workspaceevents:v1/Subscription/eventTypes/event_type": event_type diff --git a/generated/google-apis-workspaceevents_v1/CHANGELOG.md b/generated/google-apis-workspaceevents_v1/CHANGELOG.md index 9cb0f3209cb..a5f9ebb0287 100644 --- a/generated/google-apis-workspaceevents_v1/CHANGELOG.md +++ b/generated/google-apis-workspaceevents_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-workspaceevents_v1 +### v0.24.0 (2026-05-17) + +* Regenerated from discovery document revision 20260510 + ### v0.23.0 (2026-04-26) * Regenerated from discovery document revision 20260422 diff --git a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/classes.rb b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/classes.rb index cd1d2953e12..6dd6093389e 100644 --- a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/classes.rb +++ b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/classes.rb @@ -138,6 +138,33 @@ def update!(**args) end end + # Additional supported options for serving Drive events. + class DriveOptions + include Google::Apis::Core::Hashable + + # Optional. Immutable. For subscriptions to Google Drive events, whether to + # receive events about Drive files that are children of the target folder or + # shared drive. * If `false`, the subscription only receives events about + # changes to the folder or shared drive that's specified as the `targetResource`. + # * If `true`, the `mimeType` field of the `file` resource must be set to ` + # application/vnd.google-apps.folder`. For details, see [Google Drive event + # types](https://developers.google.com/workspace/events/guides/events-drive# + # event-types). + # Corresponds to the JSON property `includeDescendants` + # @return [Boolean] + attr_accessor :include_descendants + alias_method :include_descendants?, :include_descendants + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_descendants = args[:include_descendants] if args.key?(:include_descendants) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. @@ -728,6 +755,11 @@ class Subscription # @return [String] attr_accessor :create_time + # Additional supported options for serving Drive events. + # Corresponds to the JSON property `driveOptions` + # @return [Google::Apis::WorkspaceeventsV1::DriveOptions] + attr_accessor :drive_options + # Optional. This checksum is computed by the server based on the value of other # fields, and might be sent on update requests to ensure the client has an up-to- # date value before proceeding. @@ -843,6 +875,7 @@ def initialize(**args) def update!(**args) @authority = args[:authority] if args.key?(:authority) @create_time = args[:create_time] if args.key?(:create_time) + @drive_options = args[:drive_options] if args.key?(:drive_options) @etag = args[:etag] if args.key?(:etag) @event_types = args[:event_types] if args.key?(:event_types) @expire_time = args[:expire_time] if args.key?(:expire_time) diff --git a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/gem_version.rb b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/gem_version.rb index 3f552b98bfc..9f303cf325f 100644 --- a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/gem_version.rb +++ b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module WorkspaceeventsV1 # Version of the google-apis-workspaceevents_v1 gem - GEM_VERSION = "0.23.0" + GEM_VERSION = "0.24.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260422" + REVISION = "20260510" end end end diff --git a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/representations.rb b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/representations.rb index 1c175dee280..009ec7408d2 100644 --- a/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/representations.rb +++ b/generated/google-apis-workspaceevents_v1/lib/google/apis/workspaceevents_v1/representations.rb @@ -46,6 +46,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DriveOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -207,6 +213,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class DriveOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_descendants, as: 'includeDescendants' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -362,6 +375,8 @@ class Subscription class Representation < Google::Apis::Core::JsonRepresentation property :authority, as: 'authority' property :create_time, as: 'createTime' + property :drive_options, as: 'driveOptions', class: Google::Apis::WorkspaceeventsV1::DriveOptions, decorator: Google::Apis::WorkspaceeventsV1::DriveOptions::Representation + property :etag, as: 'etag' collection :event_types, as: 'eventTypes' property :expire_time, as: 'expireTime'