From 789773971f9eeacdeb0f6f0c13c9b04e3269f951 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 2 Dec 2023 00:22:15 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2286) --- drive/v2/drive-api.json | 6 ++++- drive/v2/drive-gen.go | 5 ++++ drive/v3/drive-api.json | 6 ++++- drive/v3/drive-gen.go | 5 ++++ firebaserules/v1/firebaserules-api.json | 6 ++++- firebaserules/v1/firebaserules-gen.go | 21 ++++++++++------ .../v1/servicemanagement-api.json | 9 ++++++- servicemanagement/v1/servicemanagement-gen.go | 25 +++++++++++++------ 8 files changed, 64 insertions(+), 19 deletions(-) diff --git a/drive/v2/drive-api.json b/drive/v2/drive-api.json index 9e16e862f7f..8b7275ea610 100644 --- a/drive/v2/drive-api.json +++ b/drive/v2/drive-api.json @@ -3842,7 +3842,7 @@ } } }, - "revision": "20230822", + "revision": "20231120", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -4738,6 +4738,10 @@ "format": "date-time", "type": "string" }, + "systemRestricted": { + "description": "Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.", + "type": "boolean" + }, "type": { "description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.", "type": "string" diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index 2410d12b0fd..64d9dad55d6 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -1586,6 +1586,11 @@ type ContentRestriction struct { // (formatted RFC 3339 timestamp). Only populated if readOnly is true. RestrictionDate string `json:"restrictionDate,omitempty"` + // SystemRestricted: Output only. Whether the content restriction was + // applied by the system, for example due to an esignature. Users cannot + // modify or remove system restricted content restrictions. + SystemRestricted bool `json:"systemRestricted,omitempty"` + // Type: Output only. The type of the content restriction. Currently the // only possible value is `globalContentRestriction`. Type string `json:"type,omitempty"` diff --git a/drive/v3/drive-api.json b/drive/v3/drive-api.json index 1133789619c..99e8c09881f 100644 --- a/drive/v3/drive-api.json +++ b/drive/v3/drive-api.json @@ -2433,7 +2433,7 @@ } } }, - "revision": "20230822", + "revision": "20231120", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -2837,6 +2837,10 @@ "format": "date-time", "type": "string" }, + "systemRestricted": { + "description": "Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.", + "type": "boolean" + }, "type": { "description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.", "type": "string" diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index ac322093785..6e0089cdc4e 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -849,6 +849,11 @@ type ContentRestriction struct { // (formatted RFC 3339 timestamp). Only populated if readOnly is true. RestrictionTime string `json:"restrictionTime,omitempty"` + // SystemRestricted: Output only. Whether the content restriction was + // applied by the system, for example due to an esignature. Users cannot + // modify or remove system restricted content restrictions. + SystemRestricted bool `json:"systemRestricted,omitempty"` + // Type: Output only. The type of the content restriction. Currently the // only possible value is `globalContentRestriction`. Type string `json:"type,omitempty"` diff --git a/firebaserules/v1/firebaserules-api.json b/firebaserules/v1/firebaserules-api.json index 2f948d60bdd..fe3679464f9 100644 --- a/firebaserules/v1/firebaserules-api.json +++ b/firebaserules/v1/firebaserules-api.json @@ -477,7 +477,7 @@ } } }, - "revision": "20220619", + "revision": "20231120", "rootUrl": "https://firebaserules.googleapis.com/", "schemas": { "Arg": { @@ -767,6 +767,10 @@ "description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier and a creation time.", "id": "Ruleset", "properties": { + "attachmentPoint": { + "description": "Immutable. Intended resource to which this Ruleset should be released. May be left blank to signify the resource associated with the default release. Expected format: firestore.googleapis.com/projects//databases/", + "type": "string" + }, "createTime": { "description": "Output only. Time the `Ruleset` was created.", "format": "google-datetime", diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go index 6fb007868a0..c6f09422110 100644 --- a/firebaserules/v1/firebaserules-gen.go +++ b/firebaserules/v1/firebaserules-gen.go @@ -675,6 +675,12 @@ func (s *Result) MarshalJSON() ([]byte, error) { // Ruleset: `Ruleset` is an immutable copy of `Source` with a globally // unique identifier and a creation time. type Ruleset struct { + // AttachmentPoint: Immutable. Intended resource to which this Ruleset + // should be released. May be left blank to signify the resource + // associated with the default release. Expected format: + // firestore.googleapis.com/projects//databases/ + AttachmentPoint string `json:"attachmentPoint,omitempty"` + // CreateTime: Output only. Time the `Ruleset` was created. CreateTime string `json:"createTime,omitempty"` @@ -693,7 +699,7 @@ type Ruleset struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "AttachmentPoint") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -701,12 +707,13 @@ type Ruleset struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AttachmentPoint") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/servicemanagement/v1/servicemanagement-api.json b/servicemanagement/v1/servicemanagement-api.json index 6786af08966..ba9fc6a0286 100644 --- a/servicemanagement/v1/servicemanagement-api.json +++ b/servicemanagement/v1/servicemanagement-api.json @@ -830,7 +830,7 @@ } } }, - "revision": "20230804", + "revision": "20231127", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -2416,6 +2416,13 @@ "description": "Describes the generator configuration for a method.", "id": "MethodSettings", "properties": { + "autoPopulatedFields": { + "description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", + "items": { + "type": "string" + }, + "type": "array" + }, "longRunning": { "$ref": "LongRunning", "description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes" diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index c0871bb1430..870d1742fa8 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -3244,6 +3244,14 @@ func (s *MethodPolicy) MarshalJSON() ([]byte, error) { // MethodSettings: Describes the generator configuration for a method. type MethodSettings struct { + // AutoPopulatedFields: List of top-level fields of the request message, + // that should be automatically populated by the client libraries based + // on their (google.api.field_info).format. Currently supported format: + // UUID4. Example of a YAML configuration: publishing: method_settings: + // - selector: google.example.v1.ExampleService.CreateExample + // auto_populated_fields: - request_id + AutoPopulatedFields []string `json:"autoPopulatedFields,omitempty"` + // LongRunning: Describes settings to use for long-running operations // when generating API methods for RPCs. Complements RPCs that use the // annotations in google/longrunning/operations.proto. Example of a YAML @@ -3259,20 +3267,21 @@ type MethodSettings struct { // options. Selector string `json:"selector,omitempty"` - // ForceSendFields is a list of field names (e.g. "LongRunning") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AutoPopulatedFields") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LongRunning") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AutoPopulatedFields") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` }