From 82a5738a1fd9fe8c4ddbcd421d0ba352ddf261f0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 29 Jan 2025 00:36:21 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2986) --- appengine/v1/appengine-api.json | 16 +++- appengine/v1/appengine-gen.go | 11 +++ appengine/v1beta/appengine-api.json | 16 +++- appengine/v1beta/appengine-gen.go | 11 +++ chromemanagement/v1/chromemanagement-api.json | 25 ++++- chromemanagement/v1/chromemanagement-gen.go | 9 ++ dataproc/v1/dataproc-api.json | 4 +- dataproc/v1/dataproc-gen.go | 2 +- forms/v1/forms-api.json | 18 +++- forms/v1/forms-gen.go | 20 +++- language/v1/language-api.json | 8 +- language/v1/language-gen.go | 3 + language/v1beta2/language-api.json | 8 +- language/v1beta2/language-gen.go | 3 + language/v2/language-api.json | 8 +- language/v2/language-gen.go | 3 + logging/v2/logging-api.json | 67 ++------------ logging/v2/logging-gen.go | 92 ++----------------- .../accounts_v1beta/merchantapi-api.json | 27 +++++- .../accounts_v1beta/merchantapi-gen.go | 32 ++++++- servicecontrol/v1/servicecontrol-api.json | 6 +- servicecontrol/v1/servicecontrol-gen.go | 4 + servicecontrol/v2/servicecontrol-api.json | 6 +- servicecontrol/v2/servicecontrol-gen.go | 4 + 24 files changed, 235 insertions(+), 168 deletions(-) diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index 848d9223ea..2c62437638 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -1825,7 +1825,7 @@ } } }, - "revision": "20241205", + "revision": "20250127", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -2005,6 +2005,20 @@ "Application has been disabled by the system." ], "type": "string" + }, + "sslPolicy": { + "description": "The SSL policy that will be applied to the application. If set to Modern it will restrict traffic with TLS \u003c 1.2 and allow only Modern Ciphers suite", + "enum": [ + "SSL_POLICY_UNSPECIFIED", + "DEFAULT", + "MODERN" + ], + "enumDescriptions": [ + "Required by linter. Will work same as DEFAULT", + "DEFAULT is to allow all TLS versions and cipher suites supported by App Engine", + "MODERN is to allow only TLS 1.2 and TLS 1.3 along with Modern cipher suites only" + ], + "type": "string" } }, "type": "object" diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 2f1482be93..3556d7ab8d 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -528,6 +528,17 @@ type Application struct { // "USER_DISABLED" - Application has been disabled by the user. // "SYSTEM_DISABLED" - Application has been disabled by the system. ServingStatus string `json:"servingStatus,omitempty"` + // SslPolicy: The SSL policy that will be applied to the application. If set to + // Modern it will restrict traffic with TLS < 1.2 and allow only Modern Ciphers + // suite + // + // Possible values: + // "SSL_POLICY_UNSPECIFIED" - Required by linter. Will work same as DEFAULT + // "DEFAULT" - DEFAULT is to allow all TLS versions and cipher suites + // supported by App Engine + // "MODERN" - MODERN is to allow only TLS 1.2 and TLS 1.3 along with Modern + // cipher suites only + SslPolicy string `json:"sslPolicy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` diff --git a/appengine/v1beta/appengine-api.json b/appengine/v1beta/appengine-api.json index d5a7ad1ea6..e6837faeb5 100644 --- a/appengine/v1beta/appengine-api.json +++ b/appengine/v1beta/appengine-api.json @@ -2025,7 +2025,7 @@ } } }, - "revision": "20241205", + "revision": "20250127", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -2205,6 +2205,20 @@ "Application has been disabled by the system." ], "type": "string" + }, + "sslPolicy": { + "description": "The SSL policy that will be applied to the application. If set to Modern it will restrict traffic with TLS \u003c 1.2 and allow only Modern Ciphers suite", + "enum": [ + "SSL_POLICY_UNSPECIFIED", + "DEFAULT", + "MODERN" + ], + "enumDescriptions": [ + "Required by linter. Will work same as DEFAULT", + "DEFAULT is to allow all TLS versions and cipher suites supported by App Engine", + "MODERN is to allow only TLS 1.2 and TLS 1.3 along with Modern cipher suites only" + ], + "type": "string" } }, "type": "object" diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index e833a24e93..f91e92a95c 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -540,6 +540,17 @@ type Application struct { // "USER_DISABLED" - Application has been disabled by the user. // "SYSTEM_DISABLED" - Application has been disabled by the system. ServingStatus string `json:"servingStatus,omitempty"` + // SslPolicy: The SSL policy that will be applied to the application. If set to + // Modern it will restrict traffic with TLS < 1.2 and allow only Modern Ciphers + // suite + // + // Possible values: + // "SSL_POLICY_UNSPECIFIED" - Required by linter. Will work same as DEFAULT + // "DEFAULT" - DEFAULT is to allow all TLS versions and cipher suites + // supported by App Engine + // "MODERN" - MODERN is to allow only TLS 1.2 and TLS 1.3 along with Modern + // cipher suites only + SslPolicy string `json:"sslPolicy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index 1e0c8f1a50..5cc901878b 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -5,6 +5,12 @@ "https://www.googleapis.com/auth/chrome.management.appdetails.readonly": { "description": "See detailed information about apps installed on Chrome browsers and devices managed by your organization" }, + "https://www.googleapis.com/auth/chrome.management.profiles": { + "description": "See, edit, delete, and take other necessary actions on Chrome browser profiles managed by your organization" + }, + "https://www.googleapis.com/auth/chrome.management.profiles.readonly": { + "description": "See Chrome browser profiles managed by your organization" + }, "https://www.googleapis.com/auth/chrome.management.reports.readonly": { "description": "See reports about devices and Chrome browsers managed within your organization" }, @@ -366,7 +372,10 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleProtobufEmpty" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.profiles" + ] }, "get": { "description": "Gets a Chrome browser profile with customer ID and profile permanent ID.", @@ -388,7 +397,11 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfile" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.profiles", + "https://www.googleapis.com/auth/chrome.management.profiles.readonly" + ] }, "list": { "description": "Lists Chrome browser profiles of a customer based on the given search and sorting criteria.", @@ -431,7 +444,11 @@ "path": "v1/{+parent}/profiles", "response": { "$ref": "GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/chrome.management.profiles", + "https://www.googleapis.com/auth/chrome.management.profiles.readonly" + ] } } }, @@ -1263,7 +1280,7 @@ } } }, - "revision": "20250122", + "revision": "20250126", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index 1eda24fbf8..5e75f013b0 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -107,6 +107,13 @@ const ( // managed by your organization ChromeManagementAppdetailsReadonlyScope = "https://www.googleapis.com/auth/chrome.management.appdetails.readonly" + // See, edit, delete, and take other necessary actions on Chrome browser + // profiles managed by your organization + ChromeManagementProfilesScope = "https://www.googleapis.com/auth/chrome.management.profiles" + + // See Chrome browser profiles managed by your organization + ChromeManagementProfilesReadonlyScope = "https://www.googleapis.com/auth/chrome.management.profiles.readonly" + // See reports about devices and Chrome browsers managed within your // organization ChromeManagementReportsReadonlyScope = "https://www.googleapis.com/auth/chrome.management.reports.readonly" @@ -120,6 +127,8 @@ const ( func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( "https://www.googleapis.com/auth/chrome.management.appdetails.readonly", + "https://www.googleapis.com/auth/chrome.management.profiles", + "https://www.googleapis.com/auth/chrome.management.profiles.readonly", "https://www.googleapis.com/auth/chrome.management.reports.readonly", "https://www.googleapis.com/auth/chrome.management.telemetry.readonly", ) diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 944c548354..58a504e504 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -4978,7 +4978,7 @@ } } }, - "revision": "20250111", + "revision": "20250122", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -9960,7 +9960,7 @@ "type": "object" }, "name": { - "description": "Required. The resource name of the session.", + "description": "Identifier. The resource name of the session.", "type": "string" }, "runtimeConfig": { diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 3a08787cc7..610bb72870 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -6473,7 +6473,7 @@ type Session struct { // (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be // associated with a session. Labels map[string]string `json:"labels,omitempty"` - // Name: Required. The resource name of the session. + // Name: Identifier. The resource name of the session. Name string `json:"name,omitempty"` // RuntimeConfig: Optional. Runtime configuration for the session execution. RuntimeConfig *RuntimeConfig `json:"runtimeConfig,omitempty"` diff --git a/forms/v1/forms-api.json b/forms/v1/forms-api.json index 916890256a..fd432ebed0 100644 --- a/forms/v1/forms-api.json +++ b/forms/v1/forms-api.json @@ -423,7 +423,7 @@ } } }, - "revision": "20241112", + "revision": "20250121", "rootUrl": "https://forms.googleapis.com/", "schemas": { "Answer": { @@ -863,6 +863,22 @@ "description": "A form's settings.", "id": "FormSettings", "properties": { + "emailCollectionType": { + "description": "Optional. Kind of email collection configured in the form.", + "enum": [ + "EMAIL_COLLECTION_TYPE_UNSPECIFIED", + "DO_NOT_COLLECT", + "VERIFIED", + "RESPONDER_INPUT" + ], + "enumDescriptions": [ + "Default value. The default for forms owned by Google Workspace users is VERIFIED. For forms owned by other types of Google accounts, the default is DO_NO_COLLECT.", + "Email Field is not collected for the user.", + "Email Field is collected automatically from the logged in user.", + "Email Field needs to be manually filled." + ], + "type": "string" + }, "quizSettings": { "$ref": "QuizSettings", "description": "Settings related to quiz forms and grading." diff --git a/forms/v1/forms-gen.go b/forms/v1/forms-gen.go index 6e1dd51d2a..1c1e8b3946 100644 --- a/forms/v1/forms-gen.go +++ b/forms/v1/forms-gen.go @@ -805,17 +805,29 @@ func (s *FormResponse) UnmarshalJSON(data []byte) error { // FormSettings: A form's settings. type FormSettings struct { + // EmailCollectionType: Optional. Kind of email collection configured in the + // form. + // + // Possible values: + // "EMAIL_COLLECTION_TYPE_UNSPECIFIED" - Default value. The default for forms + // owned by Google Workspace users is VERIFIED. For forms owned by other types + // of Google accounts, the default is DO_NO_COLLECT. + // "DO_NOT_COLLECT" - Email Field is not collected for the user. + // "VERIFIED" - Email Field is collected automatically from the logged in + // user. + // "RESPONDER_INPUT" - Email Field needs to be manually filled. + EmailCollectionType string `json:"emailCollectionType,omitempty"` // QuizSettings: Settings related to quiz forms and grading. QuizSettings *QuizSettings `json:"quizSettings,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuizSettings") to + // ForceSendFields is a list of field names (e.g. "EmailCollectionType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuizSettings") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See + // NullFields is a list of field names (e.g. "EmailCollectionType") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/language/v1/language-api.json b/language/v1/language-api.json index 4f414cacbf..a2d0d5c2fe 100644 --- a/language/v1/language-api.json +++ b/language/v1/language-api.json @@ -246,7 +246,7 @@ } } }, - "revision": "20250105", + "revision": "20250126", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -762,6 +762,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1052,6 +1053,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1489,6 +1491,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1779,6 +1782,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2175,6 +2179,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2465,6 +2470,7 @@ "", "", "", + "", "" ], "type": "string" diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index cfc562df19..78e61fafed 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -893,6 +893,7 @@ type CpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1412,6 +1413,7 @@ type GpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1847,6 +1849,7 @@ type RamMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" diff --git a/language/v1beta2/language-api.json b/language/v1beta2/language-api.json index 9ed7a51a88..e037cd19fd 100644 --- a/language/v1beta2/language-api.json +++ b/language/v1beta2/language-api.json @@ -246,7 +246,7 @@ } } }, - "revision": "20250105", + "revision": "20250126", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -762,6 +762,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1052,6 +1053,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1507,6 +1509,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1797,6 +1800,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2193,6 +2197,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2483,6 +2488,7 @@ "", "", "", + "", "" ], "type": "string" diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index 371f3b1a5c..82d764d34d 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -895,6 +895,7 @@ type CpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1426,6 +1427,7 @@ type GpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1859,6 +1861,7 @@ type RamMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" diff --git a/language/v2/language-api.json b/language/v2/language-api.json index bdb5121de0..36758175b8 100644 --- a/language/v2/language-api.json +++ b/language/v2/language-api.json @@ -208,7 +208,7 @@ } } }, - "revision": "20250105", + "revision": "20250126", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -587,6 +587,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -877,6 +878,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1128,6 +1130,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1418,6 +1421,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1569,6 +1573,7 @@ "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", "A3_ULTRAGPU_8G", + "A3_EDGEGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1859,6 +1864,7 @@ "", "", "", + "", "" ], "type": "string" diff --git a/language/v2/language-gen.go b/language/v2/language-gen.go index c1053d6766..e14bcf3d65 100644 --- a/language/v2/language-gen.go +++ b/language/v2/language-gen.go @@ -709,6 +709,7 @@ type CpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1106,6 +1107,7 @@ type GpuMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1398,6 +1400,7 @@ type RamMetric struct { // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" // "A3_ULTRAGPU_8G" + // "A3_EDGEGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" diff --git a/logging/v2/logging-api.json b/logging/v2/logging-api.json index 542481ce61..3f16b586fe 100644 --- a/logging/v2/logging-api.json +++ b/logging/v2/logging-api.json @@ -910,7 +910,7 @@ "type": "string" }, "viewId": { - "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.", + "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", "location": "query", "type": "string" } @@ -2736,7 +2736,7 @@ "type": "string" }, "viewId": { - "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.", + "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", "location": "query", "type": "string" } @@ -4317,7 +4317,7 @@ "type": "string" }, "viewId": { - "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.", + "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", "location": "query", "type": "string" } @@ -5554,7 +5554,7 @@ "type": "string" }, "viewId": { - "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.", + "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", "location": "query", "type": "string" } @@ -7356,7 +7356,7 @@ "type": "string" }, "viewId": { - "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.", + "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", "location": "query", "type": "string" } @@ -8922,57 +8922,9 @@ } } }, - "revision": "20250110", + "revision": "20250124", "rootUrl": "https://logging.googleapis.com/", "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", - "id": "AuditConfig", - "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - }, - "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services.", - "type": "string" - } - }, - "type": "object" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", - "items": { - "type": "string" - }, - "type": "array" - }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "type": "string" - } - }, - "type": "object" - }, "BigQueryDataset": { "description": "Describes a BigQuery dataset that was created by a link.", "id": "BigQueryDataset", @@ -10927,13 +10879,6 @@ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" - }, - "type": "array" - }, "bindings": { "description": "Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.", "items": { diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index de30874dfb..750ce6bd5c 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -934,82 +934,6 @@ type V2Service struct { s *Service } -// AuditConfig: Specifies the audit configuration for a service. The -// configuration determines which permission types are logged, and what -// identities, if any, are exempted from logging. An AuditConfig must have one -// or more AuditLogConfigs.If there are AuditConfigs for both allServices and a -// specific service, the union of the two AuditConfigs is used for that -// service: the log_types specified in each AuditConfig are enabled, and the -// exempted_members in each AuditLogConfig are exempted.Example Policy with -// multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", -// "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ -// "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": -// "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", -// "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": -// "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For -// sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ -// logging. It also exempts jose@example.com from DATA_READ logging, and -// aliya@example.com from DATA_WRITE logging. -type AuditConfig struct { - // AuditLogConfigs: The configuration for logging of each type of permission. - AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"` - // Service: Specifies a service that will be enabled for audit logging. For - // example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a - // special value that covers all services. - Service string `json:"service,omitempty"` - // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AuditLogConfigs") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s AuditConfig) MarshalJSON() ([]byte, error) { - type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - -// AuditLogConfig: Provides the configuration for logging a type of -// permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", -// "exempted_members": [ "user:jose@example.com" ] }, { "log_type": -// "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while -// exempting jose@example.com from DATA_READ logging. -type AuditLogConfig struct { - // ExemptedMembers: Specifies the identities that do not cause logging for this - // type of permission. Follows the same format of Binding.members. - ExemptedMembers []string `json:"exemptedMembers,omitempty"` - // LogType: The log type that this config enables. - // - // Possible values: - // "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this. - // "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy - // "DATA_WRITE" - Data writes. Example: CloudSQL Users create - // "DATA_READ" - Data reads. Example: CloudSQL Users list - LogType string `json:"logType,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExemptedMembers") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ExemptedMembers") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s AuditLogConfig) MarshalJSON() ([]byte, error) { - type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // BigQueryDataset: Describes a BigQuery dataset that was created by a link. type BigQueryDataset struct { // DatasetId: Output only. The full resource name of the BigQuery dataset. The @@ -3949,8 +3873,6 @@ func (s OpsAnalyticsQuery) MarshalJSON() ([]byte, error) { // version: 3 For a description of IAM and its features, see the IAM // documentation (https://cloud.google.com/iam/docs/). type Policy struct { - // AuditConfigs: Specifies cloud audit logging configuration for this policy. - AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"` // Bindings: Associates a list of members, or principals, with a role. // Optionally, may specify a condition that determines how and when the // bindings are applied. Each of the bindings must contain at least one @@ -3991,13 +3913,13 @@ type Policy struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "AuditConfigs") to + // ForceSendFields is a list of field names (e.g. "Bindings") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AuditConfigs") to include in API + // NullFields is a list of field names (e.g. "Bindings") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. @@ -7292,7 +7214,7 @@ func (r *BillingAccountsLocationsBucketsViewsService) Create(parent string, logv // ViewId sets the optional parameter "viewId": Required. A client-assigned // identifier such as "my-view". Identifiers are limited to 100 characters and -// can include only letters, digits, underscores, hyphens, and periods. +// can include only letters, digits, underscores, and hyphens. func (c *BillingAccountsLocationsBucketsViewsCreateCall) ViewId(viewId string) *BillingAccountsLocationsBucketsViewsCreateCall { c.urlParams_.Set("viewId", viewId) return c @@ -14037,7 +13959,7 @@ func (r *FoldersLocationsBucketsViewsService) Create(parent string, logview *Log // ViewId sets the optional parameter "viewId": Required. A client-assigned // identifier such as "my-view". Identifiers are limited to 100 characters and -// can include only letters, digits, underscores, hyphens, and periods. +// can include only letters, digits, underscores, and hyphens. func (c *FoldersLocationsBucketsViewsCreateCall) ViewId(viewId string) *FoldersLocationsBucketsViewsCreateCall { c.urlParams_.Set("viewId", viewId) return c @@ -19720,7 +19642,7 @@ func (r *LocationsBucketsViewsService) Create(parent string, logview *LogView) * // ViewId sets the optional parameter "viewId": Required. A client-assigned // identifier such as "my-view". Identifiers are limited to 100 characters and -// can include only letters, digits, underscores, hyphens, and periods. +// can include only letters, digits, underscores, and hyphens. func (c *LocationsBucketsViewsCreateCall) ViewId(viewId string) *LocationsBucketsViewsCreateCall { c.urlParams_.Set("viewId", viewId) return c @@ -24248,7 +24170,7 @@ func (r *OrganizationsLocationsBucketsViewsService) Create(parent string, logvie // ViewId sets the optional parameter "viewId": Required. A client-assigned // identifier such as "my-view". Identifiers are limited to 100 characters and -// can include only letters, digits, underscores, hyphens, and periods. +// can include only letters, digits, underscores, and hyphens. func (c *OrganizationsLocationsBucketsViewsCreateCall) ViewId(viewId string) *OrganizationsLocationsBucketsViewsCreateCall { c.urlParams_.Set("viewId", viewId) return c @@ -30768,7 +30690,7 @@ func (r *ProjectsLocationsBucketsViewsService) Create(parent string, logview *Lo // ViewId sets the optional parameter "viewId": Required. A client-assigned // identifier such as "my-view". Identifiers are limited to 100 characters and -// can include only letters, digits, underscores, hyphens, and periods. +// can include only letters, digits, underscores, and hyphens. func (c *ProjectsLocationsBucketsViewsCreateCall) ViewId(viewId string) *ProjectsLocationsBucketsViewsCreateCall { c.urlParams_.Set("viewId", viewId) return c diff --git a/merchantapi/accounts_v1beta/merchantapi-api.json b/merchantapi/accounts_v1beta/merchantapi-api.json index b5a110f261..5eeb6a3fe5 100644 --- a/merchantapi/accounts_v1beta/merchantapi-api.json +++ b/merchantapi/accounts_v1beta/merchantapi-api.json @@ -1417,7 +1417,7 @@ } } }, - "revision": "20250115", + "revision": "20250125", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Accepted": { @@ -1544,6 +1544,21 @@ }, "type": "object" }, + "AddUser": { + "description": "Instruction for adding a user to the account during creation.", + "id": "AddUser", + "properties": { + "user": { + "$ref": "User", + "description": "Optional. Details about the user to be added. At the moment, only access rights may be specified." + }, + "userId": { + "description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", + "type": "string" + } + }, + "type": "object" + }, "Address": { "description": "Shipping address of the warehouse.", "id": "Address", @@ -1770,8 +1785,16 @@ }, "type": "array" }, - "users": { + "user": { "description": "Optional. Users to be added to the account.", + "items": { + "$ref": "AddUser" + }, + "type": "array" + }, + "users": { + "deprecated": true, + "description": "Optional. Users to be added to the account. This field is deprecated and will not exist after the API evolves out of beta. Use the `user` field instead.", "items": { "$ref": "CreateUserRequest" }, diff --git a/merchantapi/accounts_v1beta/merchantapi-gen.go b/merchantapi/accounts_v1beta/merchantapi-gen.go index ac23f9c2e3..dc4e664dab 100644 --- a/merchantapi/accounts_v1beta/merchantapi-gen.go +++ b/merchantapi/accounts_v1beta/merchantapi-gen.go @@ -481,6 +481,32 @@ func (s AddAccountService) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AddUser: Instruction for adding a user to the account during creation. +type AddUser struct { + // User: Optional. Details about the user to be added. At the moment, only + // access rights may be specified. + User *User `json:"user,omitempty"` + // UserId: Required. The email address of the user (for example, + // `john.doe@gmail.com`). + UserId string `json:"userId,omitempty"` + // ForceSendFields is a list of field names (e.g. "User") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "User") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AddUser) MarshalJSON() ([]byte, error) { + type NoMethod AddUser + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Address: Shipping address of the warehouse. type Address struct { // AdministrativeArea: Required. Top-level administrative subdivision of the @@ -776,7 +802,11 @@ type CreateAndConfigureAccountRequest struct { // standalone account through this method. Additional `account_management` or // `product_management` services may be provided. Service []*AddAccountService `json:"service,omitempty"` - // Users: Optional. Users to be added to the account. + // User: Optional. Users to be added to the account. + User []*AddUser `json:"user,omitempty"` + // Users: Optional. Users to be added to the account. This field is deprecated + // and will not exist after the API evolves out of beta. Use the `user` field + // instead. Users []*CreateUserRequest `json:"users,omitempty"` // ForceSendFields is a list of field names (e.g. "Account") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/servicecontrol/v1/servicecontrol-api.json b/servicecontrol/v1/servicecontrol-api.json index e7bd5b992c..907bd69d5f 100644 --- a/servicecontrol/v1/servicecontrol-api.json +++ b/servicecontrol/v1/servicecontrol-api.json @@ -197,7 +197,7 @@ } } }, - "revision": "20250117", + "revision": "20250124", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -1592,6 +1592,10 @@ "description": "The HTTP request method, such as `GET`, `POST`.", "type": "string" }, + "origin": { + "description": "The values from Origin header from the HTTP request, such as \"https://console.cloud.google.com\". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.", + "type": "string" + }, "path": { "description": "The HTTP URL path, excluding the query parameters.", "type": "string" diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index db2aa473ad..20400db1e7 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -1957,6 +1957,10 @@ type Request struct { Id string `json:"id,omitempty"` // Method: The HTTP request method, such as `GET`, `POST`. Method string `json:"method,omitempty"` + // Origin: The values from Origin header from the HTTP request, such as + // "https://console.cloud.google.com". Modern browsers can only have one + // origin. Special browsers and/or HTTP clients may require multiple origins. + Origin string `json:"origin,omitempty"` // Path: The HTTP URL path, excluding the query parameters. Path string `json:"path,omitempty"` // Protocol: The network protocol used with the request, such as "http/1.1", diff --git a/servicecontrol/v2/servicecontrol-api.json b/servicecontrol/v2/servicecontrol-api.json index 00d6e9e5f5..b5b4cbb0d2 100644 --- a/servicecontrol/v2/servicecontrol-api.json +++ b/servicecontrol/v2/servicecontrol-api.json @@ -169,7 +169,7 @@ } } }, - "revision": "20250103", + "revision": "20250124", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { @@ -661,6 +661,10 @@ "description": "The HTTP request method, such as `GET`, `POST`.", "type": "string" }, + "origin": { + "description": "The values from Origin header from the HTTP request, such as \"https://console.cloud.google.com\". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.", + "type": "string" + }, "path": { "description": "The HTTP URL path, excluding the query parameters.", "type": "string" diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 66aa94653f..dc78a5b48e 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -767,6 +767,10 @@ type Request struct { Id string `json:"id,omitempty"` // Method: The HTTP request method, such as `GET`, `POST`. Method string `json:"method,omitempty"` + // Origin: The values from Origin header from the HTTP request, such as + // "https://console.cloud.google.com". Modern browsers can only have one + // origin. Special browsers and/or HTTP clients may require multiple origins. + Origin string `json:"origin,omitempty"` // Path: The HTTP URL path, excluding the query parameters. Path string `json:"path,omitempty"` // Protocol: The network protocol used with the request, such as "http/1.1",