diff --git a/advisorynotifications/v1/advisorynotifications-api.json b/advisorynotifications/v1/advisorynotifications-api.json index 6c8523b2397..4d7bf08155d 100644 --- a/advisorynotifications/v1/advisorynotifications-api.json +++ b/advisorynotifications/v1/advisorynotifications-api.json @@ -108,6 +108,61 @@ "organizations": { "resources": { "locations": { + "methods": { + "getSettings": { + "description": "Get notification settings.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", + "httpMethod": "GET", + "id": "advisorynotifications.organizations.locations.getSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "updateSettings": { + "description": "Update notification settings.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", + "httpMethod": "PATCH", + "id": "advisorynotifications.organizations.locations.updateSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + }, + "response": { + "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "notifications": { "methods": { @@ -204,7 +259,7 @@ } } }, - "revision": "20230806", + "revision": "20230912", "rootUrl": "https://advisorynotifications.googleapis.com/", "schemas": { "GoogleCloudAdvisorynotificationsV1Attachment": { @@ -365,6 +420,40 @@ }, "type": "object" }, + "GoogleCloudAdvisorynotificationsV1NotificationSettings": { + "description": "Settings for each NotificationType.", + "id": "GoogleCloudAdvisorynotificationsV1NotificationSettings", + "properties": { + "enabled": { + "description": "Whether the associated NotificationType is enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudAdvisorynotificationsV1Settings": { + "description": "Settings for Advisory Notifications.", + "id": "GoogleCloudAdvisorynotificationsV1Settings", + "properties": { + "etag": { + "description": "Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.", + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", + "readOnly": true, + "type": "string" + }, + "notificationSettings": { + "additionalProperties": { + "$ref": "GoogleCloudAdvisorynotificationsV1NotificationSettings" + }, + "description": "Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAdvisorynotificationsV1Subject": { "description": "A subject line of a notification.", "id": "GoogleCloudAdvisorynotificationsV1Subject", diff --git a/advisorynotifications/v1/advisorynotifications-gen.go b/advisorynotifications/v1/advisorynotifications-gen.go index a40d589e375..5bb33954ef8 100644 --- a/advisorynotifications/v1/advisorynotifications-gen.go +++ b/advisorynotifications/v1/advisorynotifications-gen.go @@ -443,6 +443,80 @@ func (s *GoogleCloudAdvisorynotificationsV1Notification) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudAdvisorynotificationsV1NotificationSettings: Settings for +// each NotificationType. +type GoogleCloudAdvisorynotificationsV1NotificationSettings struct { + // Enabled: Whether the associated NotificationType is enabled. + Enabled bool `json:"enabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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:"-"` +} + +func (s *GoogleCloudAdvisorynotificationsV1NotificationSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAdvisorynotificationsV1NotificationSettings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudAdvisorynotificationsV1Settings: Settings for Advisory +// Notifications. +type GoogleCloudAdvisorynotificationsV1Settings struct { + // Etag: Required. Fingerprint for optimistic concurrency returned in + // Get requests. Must be provided for Update requests. If the value + // provided does not match the value known to the server, ABORTED will + // be thrown, and the client should retry the read-modify-write cycle. + Etag string `json:"etag,omitempty"` + + // Name: Output only. The resource name of the settings to retrieve. + // Format: organizations/{organization}/locations/{location}/settings. + Name string `json:"name,omitempty"` + + // NotificationSettings: Required. Map of each notification type and its + // settings to get/set all settings at once. The server will validate + // the value for each notification type. + NotificationSettings map[string]GoogleCloudAdvisorynotificationsV1NotificationSettings `json:"notificationSettings,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Etag") 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. "Etag") 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:"-"` +} + +func (s *GoogleCloudAdvisorynotificationsV1Settings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAdvisorynotificationsV1Settings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudAdvisorynotificationsV1Subject: A subject line of a // notification. type GoogleCloudAdvisorynotificationsV1Subject struct { @@ -520,6 +594,300 @@ func (s *GoogleCloudAdvisorynotificationsV1Text) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// method id "advisorynotifications.organizations.locations.getSettings": + +type OrganizationsLocationsGetSettingsCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetSettings: Get notification settings. +// +// - name: The resource name of the settings to retrieve. Format: +// organizations/{organization}/locations/{location}/settings. +func (r *OrganizationsLocationsService) GetSettings(name string) *OrganizationsLocationsGetSettingsCall { + c := &OrganizationsLocationsGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsLocationsGetSettingsCall) Fields(s ...googleapi.Field) *OrganizationsLocationsGetSettingsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *OrganizationsLocationsGetSettingsCall) IfNoneMatch(entityTag string) *OrganizationsLocationsGetSettingsCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsLocationsGetSettingsCall) Context(ctx context.Context) *OrganizationsLocationsGetSettingsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsLocationsGetSettingsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsLocationsGetSettingsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "advisorynotifications.organizations.locations.getSettings" call. +// Exactly one of *GoogleCloudAdvisorynotificationsV1Settings or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudAdvisorynotificationsV1Settings.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *OrganizationsLocationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAdvisorynotificationsV1Settings, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GoogleCloudAdvisorynotificationsV1Settings{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Get notification settings.", + // "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", + // "httpMethod": "GET", + // "id": "advisorynotifications.organizations.locations.getSettings", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", + // "location": "path", + // "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "advisorynotifications.organizations.locations.updateSettings": + +type OrganizationsLocationsUpdateSettingsCall struct { + s *Service + name string + googlecloudadvisorynotificationsv1settings *GoogleCloudAdvisorynotificationsV1Settings + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// UpdateSettings: Update notification settings. +// +// - name: Output only. The resource name of the settings to retrieve. +// Format: organizations/{organization}/locations/{location}/settings. +func (r *OrganizationsLocationsService) UpdateSettings(name string, googlecloudadvisorynotificationsv1settings *GoogleCloudAdvisorynotificationsV1Settings) *OrganizationsLocationsUpdateSettingsCall { + c := &OrganizationsLocationsUpdateSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudadvisorynotificationsv1settings = googlecloudadvisorynotificationsv1settings + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsLocationsUpdateSettingsCall) Fields(s ...googleapi.Field) *OrganizationsLocationsUpdateSettingsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsLocationsUpdateSettingsCall) Context(ctx context.Context) *OrganizationsLocationsUpdateSettingsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsLocationsUpdateSettingsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsLocationsUpdateSettingsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudadvisorynotificationsv1settings) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "advisorynotifications.organizations.locations.updateSettings" call. +// Exactly one of *GoogleCloudAdvisorynotificationsV1Settings or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudAdvisorynotificationsV1Settings.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *OrganizationsLocationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAdvisorynotificationsV1Settings, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GoogleCloudAdvisorynotificationsV1Settings{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Update notification settings.", + // "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", + // "httpMethod": "PATCH", + // "id": "advisorynotifications.organizations.locations.updateSettings", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.", + // "location": "path", + // "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "request": { + // "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + // }, + // "response": { + // "$ref": "GoogleCloudAdvisorynotificationsV1Settings" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "advisorynotifications.organizations.locations.notifications.get": type OrganizationsLocationsNotificationsGetCall struct { diff --git a/analyticshub/v1/analyticshub-api.json b/analyticshub/v1/analyticshub-api.json index 8ebecaf14d8..cff1039bbdc 100644 --- a/analyticshub/v1/analyticshub-api.json +++ b/analyticshub/v1/analyticshub-api.json @@ -964,7 +964,7 @@ } } }, - "revision": "20230821", + "revision": "20230904", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1086,7 +1086,7 @@ }, "sharingEnvironmentConfig": { "$ref": "SharingEnvironmentConfig", - "description": "Required. Configurable data sharing environment option for a data exchange." + "description": "Optional. Configurable data sharing environment option for a data exchange." } }, "type": "object" diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index 287bdda0bb8..d67726e95f7 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -505,7 +505,7 @@ type DataExchange struct { // contact of the data exchange. Max Length: 1000 bytes. PrimaryContact string `json:"primaryContact,omitempty"` - // SharingEnvironmentConfig: Required. Configurable data sharing + // SharingEnvironmentConfig: Optional. Configurable data sharing // environment option for a data exchange. SharingEnvironmentConfig *SharingEnvironmentConfig `json:"sharingEnvironmentConfig,omitempty"` diff --git a/blockchainnodeengine/v1/blockchainnodeengine-api.json b/blockchainnodeengine/v1/blockchainnodeengine-api.json index a7166892eb2..f893d091e7b 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-api.json +++ b/blockchainnodeengine/v1/blockchainnodeengine-api.json @@ -487,7 +487,7 @@ } } }, - "revision": "20230621", + "revision": "20230914", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "schemas": { "BlockchainNode": { @@ -581,6 +581,11 @@ "$ref": "EndpointInfo", "description": "Output only. The endpoint information through which to interact with a blockchain node.", "readOnly": true + }, + "serviceAttachment": { + "description": "Output only. A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -864,7 +869,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index 4ce2db1bb49..a9f4b6fdfcf 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -284,6 +284,12 @@ type ConnectionInfo struct { // interact with a blockchain node. EndpointInfo *EndpointInfo `json:"endpointInfo,omitempty"` + // ServiceAttachment: Output only. A service attachment that exposes a + // node, and has the following format: + // projects/{project}/regions/{region}/serviceAttachments/{service_attach + // ment_name} + ServiceAttachment string `json:"serviceAttachment,omitempty"` + // ForceSendFields is a list of field names (e.g. "EndpointInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -726,8 +732,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. If the + // original method returns no data on success, such as `Delete`, the // response is `google.protobuf.Empty`. If the original method is // standard `Get`/`Create`/`Update`, the response should be the // resource. For other methods, the response should have the type diff --git a/checks/v1alpha/checks-api.json b/checks/v1alpha/checks-api.json index 75f243b3b47..9f6d8435970 100644 --- a/checks/v1alpha/checks-api.json +++ b/checks/v1alpha/checks-api.json @@ -414,7 +414,7 @@ } } }, - "revision": "20230907", + "revision": "20230912", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1594,10 +1594,6 @@ "$ref": "GoogleChecksReportV1alphaAppBundle", "description": "Information about the analyzed app bundle." }, - "baseReport": { - "description": "Resource name of the base report used for comparison. May be absent if this is the first report generated for the app.", - "type": "string" - }, "checks": { "description": "List of checks that were run on the app bundle.", "items": { diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index b1e94053f85..57429535ad4 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -1983,10 +1983,6 @@ type GoogleChecksReportV1alphaReport struct { // AppBundle: Information about the analyzed app bundle. AppBundle *GoogleChecksReportV1alphaAppBundle `json:"appBundle,omitempty"` - // BaseReport: Resource name of the base report used for comparison. May - // be absent if this is the first report generated for the app. - BaseReport string `json:"baseReport,omitempty"` - // Checks: List of checks that were run on the app bundle. Checks []*GoogleChecksReportV1alphaCheck `json:"checks,omitempty"` diff --git a/cloudfunctions/v2/cloudfunctions-api.json b/cloudfunctions/v2/cloudfunctions-api.json index 102adb01055..b01016aabe0 100644 --- a/cloudfunctions/v2/cloudfunctions-api.json +++ b/cloudfunctions/v2/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230803", + "revision": "20230907", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -706,6 +706,28 @@ }, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "EventFilter": { "description": "Filters events based on exact matches on the CloudEvents attributes.", "id": "EventFilter", @@ -1733,6 +1755,14 @@ "description": "Describes a runtime and any special information (e.g., deprecation status) related to it.", "id": "Runtime", "properties": { + "decommissionDate": { + "$ref": "Date", + "description": "Decommission date for the runtime." + }, + "deprecationDate": { + "$ref": "Date", + "description": "Deprecation date for the runtime." + }, "displayName": { "description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.", "type": "string" diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index bb918dc555e..ff48ad2034d 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -485,6 +485,53 @@ func (s *BuildConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Date: Represents a whole or partial calendar date, such as a +// birthday. The time of day and time zone are either specified +// elsewhere or are insignificant. The date is relative to the Gregorian +// Calendar. This can represent one of the following: * A full date, +// with non-zero year, month, and day values. * A month and day, with a +// zero year (for example, an anniversary). * A year on its own, with a +// zero month and a zero day. * A year and month, with a zero day (for +// example, a credit card expiration date). Related types: * +// google.type.TimeOfDay * google.type.DateTime * +// google.protobuf.Timestamp +type Date struct { + // Day: Day of a month. Must be from 1 to 31 and valid for the year and + // month, or 0 to specify a year by itself or a year and month where the + // day isn't significant. + Day int64 `json:"day,omitempty"` + + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year + // without a month and day. + Month int64 `json:"month,omitempty"` + + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. + Year int64 `json:"year,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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:"-"` +} + +func (s *Date) MarshalJSON() ([]byte, error) { + type NoMethod Date + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EventFilter: Filters events based on exact matches on the CloudEvents // attributes. type EventFilter struct { @@ -1941,6 +1988,12 @@ func (s *RepoSource) MarshalJSON() ([]byte, error) { // Runtime: Describes a runtime and any special information (e.g., // deprecation status) related to it. type Runtime struct { + // DecommissionDate: Decommission date for the runtime. + DecommissionDate *Date `json:"decommissionDate,omitempty"` + + // DeprecationDate: Deprecation date for the runtime. + DeprecationDate *Date `json:"deprecationDate,omitempty"` + // DisplayName: The user facing name, eg 'Go 1.13', 'Node.js 12', etc. DisplayName string `json:"displayName,omitempty"` @@ -1970,7 +2023,7 @@ type Runtime struct { // Warnings: Warning messages, e.g., a deprecation warning. Warnings []string `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "DecommissionDate") 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 @@ -1978,12 +2031,13 @@ type Runtime struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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. "DecommissionDate") 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/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index f1e28e9d5e7..fb7c78a0595 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230803", + "revision": "20230907", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -706,6 +706,28 @@ }, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "EventFilter": { "description": "Filters events based on exact matches on the CloudEvents attributes.", "id": "EventFilter", @@ -1733,6 +1755,14 @@ "description": "Describes a runtime and any special information (e.g., deprecation status) related to it.", "id": "Runtime", "properties": { + "decommissionDate": { + "$ref": "Date", + "description": "Decommission date for the runtime." + }, + "deprecationDate": { + "$ref": "Date", + "description": "Deprecation date for the runtime." + }, "displayName": { "description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.", "type": "string" diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index 083e3ca6953..bd9ad249159 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -485,6 +485,53 @@ func (s *BuildConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Date: Represents a whole or partial calendar date, such as a +// birthday. The time of day and time zone are either specified +// elsewhere or are insignificant. The date is relative to the Gregorian +// Calendar. This can represent one of the following: * A full date, +// with non-zero year, month, and day values. * A month and day, with a +// zero year (for example, an anniversary). * A year on its own, with a +// zero month and a zero day. * A year and month, with a zero day (for +// example, a credit card expiration date). Related types: * +// google.type.TimeOfDay * google.type.DateTime * +// google.protobuf.Timestamp +type Date struct { + // Day: Day of a month. Must be from 1 to 31 and valid for the year and + // month, or 0 to specify a year by itself or a year and month where the + // day isn't significant. + Day int64 `json:"day,omitempty"` + + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year + // without a month and day. + Month int64 `json:"month,omitempty"` + + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. + Year int64 `json:"year,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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:"-"` +} + +func (s *Date) MarshalJSON() ([]byte, error) { + type NoMethod Date + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EventFilter: Filters events based on exact matches on the CloudEvents // attributes. type EventFilter struct { @@ -1941,6 +1988,12 @@ func (s *RepoSource) MarshalJSON() ([]byte, error) { // Runtime: Describes a runtime and any special information (e.g., // deprecation status) related to it. type Runtime struct { + // DecommissionDate: Decommission date for the runtime. + DecommissionDate *Date `json:"decommissionDate,omitempty"` + + // DeprecationDate: Deprecation date for the runtime. + DeprecationDate *Date `json:"deprecationDate,omitempty"` + // DisplayName: The user facing name, eg 'Go 1.13', 'Node.js 12', etc. DisplayName string `json:"displayName,omitempty"` @@ -1970,7 +2023,7 @@ type Runtime struct { // Warnings: Warning messages, e.g., a deprecation warning. Warnings []string `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "DecommissionDate") 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 @@ -1978,12 +2031,13 @@ type Runtime struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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. "DecommissionDate") 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/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index 64fb6580763..2e0115d7737 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230803", + "revision": "20230907", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -706,6 +706,28 @@ }, "type": "object" }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "EventFilter": { "description": "Filters events based on exact matches on the CloudEvents attributes.", "id": "EventFilter", @@ -1733,6 +1755,14 @@ "description": "Describes a runtime and any special information (e.g., deprecation status) related to it.", "id": "Runtime", "properties": { + "decommissionDate": { + "$ref": "Date", + "description": "Decommission date for the runtime." + }, + "deprecationDate": { + "$ref": "Date", + "description": "Deprecation date for the runtime." + }, "displayName": { "description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.", "type": "string" diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index e696b7d0e3e..98293199b38 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -485,6 +485,53 @@ func (s *BuildConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Date: Represents a whole or partial calendar date, such as a +// birthday. The time of day and time zone are either specified +// elsewhere or are insignificant. The date is relative to the Gregorian +// Calendar. This can represent one of the following: * A full date, +// with non-zero year, month, and day values. * A month and day, with a +// zero year (for example, an anniversary). * A year on its own, with a +// zero month and a zero day. * A year and month, with a zero day (for +// example, a credit card expiration date). Related types: * +// google.type.TimeOfDay * google.type.DateTime * +// google.protobuf.Timestamp +type Date struct { + // Day: Day of a month. Must be from 1 to 31 and valid for the year and + // month, or 0 to specify a year by itself or a year and month where the + // day isn't significant. + Day int64 `json:"day,omitempty"` + + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year + // without a month and day. + Month int64 `json:"month,omitempty"` + + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. + Year int64 `json:"year,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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:"-"` +} + +func (s *Date) MarshalJSON() ([]byte, error) { + type NoMethod Date + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EventFilter: Filters events based on exact matches on the CloudEvents // attributes. type EventFilter struct { @@ -1941,6 +1988,12 @@ func (s *RepoSource) MarshalJSON() ([]byte, error) { // Runtime: Describes a runtime and any special information (e.g., // deprecation status) related to it. type Runtime struct { + // DecommissionDate: Decommission date for the runtime. + DecommissionDate *Date `json:"decommissionDate,omitempty"` + + // DeprecationDate: Deprecation date for the runtime. + DeprecationDate *Date `json:"deprecationDate,omitempty"` + // DisplayName: The user facing name, eg 'Go 1.13', 'Node.js 12', etc. DisplayName string `json:"displayName,omitempty"` @@ -1970,7 +2023,7 @@ type Runtime struct { // Warnings: Warning messages, e.g., a deprecation warning. Warnings []string `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "DecommissionDate") 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 @@ -1978,12 +2031,13 @@ type Runtime struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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. "DecommissionDate") 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/contactcenterinsights/v1/contactcenterinsights-api.json b/contactcenterinsights/v1/contactcenterinsights-api.json index 17fe8efd446..5133927db82 100644 --- a/contactcenterinsights/v1/contactcenterinsights-api.json +++ b/contactcenterinsights/v1/contactcenterinsights-api.json @@ -1384,7 +1384,7 @@ } } }, - "revision": "20230813", + "revision": "20230910", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -2751,7 +2751,7 @@ }, "gcsSource": { "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource", - "description": "A cloud storage bucket source." + "description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication." }, "parent": { "description": "Required. The parent resource for new conversations.", @@ -4932,7 +4932,7 @@ }, "gcsSource": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource", - "description": "A cloud storage bucket source." + "description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication." }, "parent": { "description": "Required. The parent resource for new conversations.", diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index 860b674023e..b3f0790aa20 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -2435,7 +2435,9 @@ type GoogleCloudContactcenterinsightsV1IngestConversationsRequest struct { // ConversationConfig: Configuration that applies to all conversations. ConversationConfig *GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig `json:"conversationConfig,omitempty"` - // GcsSource: A cloud storage bucket source. + // GcsSource: A cloud storage bucket source. Note that any previously + // ingested objects from the source will be skipped to avoid + // duplication. GcsSource *GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource `json:"gcsSource,omitempty"` // Parent: Required. The parent resource for new conversations. @@ -6023,7 +6025,9 @@ type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest struct { // ConversationConfig: Configuration that applies to all conversations. ConversationConfig *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig `json:"conversationConfig,omitempty"` - // GcsSource: A cloud storage bucket source. + // GcsSource: A cloud storage bucket source. Note that any previously + // ingested objects from the source will be skipped to avoid + // duplication. GcsSource *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource `json:"gcsSource,omitempty"` // Parent: Required. The parent resource for new conversations. diff --git a/gmail/v1/gmail-api.json b/gmail/v1/gmail-api.json index 4f04afe113b..38d2dddfd7f 100644 --- a/gmail/v1/gmail-api.json +++ b/gmail/v1/gmail-api.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20230703", + "revision": "20230911", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3233,6 +3233,10 @@ "$ref": "KaclsKeyMetadata", "description": "Metadata for a private key instance managed by an external key access control list service." }, + "pivKeyMetadata": { + "$ref": "PivKeyMetadata", + "description": "Metadata for PIV card certificate." + }, "privateKeyMetadataId": { "description": "Output only. The immutable ID for the private key metadata instance.", "readOnly": true, @@ -4078,6 +4082,17 @@ "properties": {}, "type": "object" }, + "PivKeyMetadata": { + "description": "Metadata for a personal identity verification (PIV) private key that requires a card reader for access.", + "id": "PivKeyMetadata", + "properties": { + "description": { + "description": "Description about the PIV key.", + "type": "string" + } + }, + "type": "object" + }, "PopSettings": { "description": "POP settings for an account.", "id": "PopSettings", diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index 8ff94402557..8ae618f1047 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -629,6 +629,9 @@ type CsePrivateKeyMetadata struct { // external key access control list service. KaclsKeyMetadata *KaclsKeyMetadata `json:"kaclsKeyMetadata,omitempty"` + // PivKeyMetadata: Metadata for PIV card certificate. + PivKeyMetadata *PivKeyMetadata `json:"pivKeyMetadata,omitempty"` + // PrivateKeyMetadataId: Output only. The immutable ID for the private // key metadata instance. PrivateKeyMetadataId string `json:"privateKeyMetadataId,omitempty"` @@ -2078,6 +2081,35 @@ func (s *ModifyThreadRequest) MarshalJSON() ([]byte, error) { type ObliterateCseKeyPairRequest struct { } +// PivKeyMetadata: Metadata for a personal identity verification (PIV) +// private key that requires a card reader for access. +type PivKeyMetadata struct { + // Description: Description about the PIV key. + Description string `json:"description,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` +} + +func (s *PivKeyMetadata) MarshalJSON() ([]byte, error) { + type NoMethod PivKeyMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // PopSettings: POP settings for an account. type PopSettings struct { // AccessWindow: The range of messages which are accessible via POP. diff --git a/places/v1/places-api.json b/places/v1/places-api.json index f53e36a7a33..e6b84139e03 100644 --- a/places/v1/places-api.json +++ b/places/v1/places-api.json @@ -111,30 +111,6 @@ }, "protocol": "rest", "resources": { - "Text": { - "methods": { - "search": { - "description": "Text query based place search.", - "flatPath": "v1/Text:search", - "httpMethod": "POST", - "id": "places.Text.search", - "parameterOrder": [], - "parameters": {}, - "path": "v1/Text:search", - "request": { - "$ref": "GoogleMapsPlacesV1SearchTextRequest" - }, - "response": { - "$ref": "GoogleMapsPlacesV1SearchTextResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/maps-platform.places", - "https://www.googleapis.com/auth/maps-platform.places.textsearch" - ] - } - } - }, "places": { "methods": { "searchText": { @@ -160,7 +136,7 @@ } } }, - "revision": "20230906", + "revision": "20230912", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -367,7 +343,7 @@ "Place provides inexpensive services.", "Place provides moderately priced services.", "Place provides expensive services.", - "Place provides very expensive services." + "Place provides very expensive service s." ], "readOnly": true, "type": "string" @@ -769,7 +745,7 @@ "Place provides inexpensive services.", "Place provides moderately priced services.", "Place provides expensive services.", - "Place provides very expensive services." + "Place provides very expensive service s." ], "type": "string" }, diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index 1929834a954..2027c6450a3 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -146,7 +146,6 @@ func New(client *http.Client) (*Service, error) { return nil, errors.New("client is nil") } s := &Service{client: client, BasePath: basePath} - s.Text = NewTextService(s) s.Places = NewPlacesService(s) return s, nil } @@ -156,8 +155,6 @@ type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment - Text *TextService - Places *PlacesService } @@ -168,15 +165,6 @@ func (s *Service) userAgent() string { return googleapi.UserAgent + " " + s.UserAgent } -func NewTextService(s *Service) *TextService { - rs := &TextService{s: s} - return rs -} - -type TextService struct { - s *Service -} - func NewPlacesService(s *Service) *PlacesService { rs := &PlacesService{s: s} return rs @@ -434,7 +422,7 @@ type GoogleMapsPlacesV1Place struct { // "PRICE_LEVEL_MODERATE" - Place provides moderately priced services. // "PRICE_LEVEL_EXPENSIVE" - Place provides expensive services. // "PRICE_LEVEL_VERY_EXPENSIVE" - Place provides very expensive - // services. + // service s. PriceLevel string `json:"priceLevel,omitempty"` // Rating: Output only. A rating between 1.0 and 5.0, based on user @@ -961,7 +949,7 @@ type GoogleMapsPlacesV1SearchTextRequest struct { // "PRICE_LEVEL_MODERATE" - Place provides moderately priced services. // "PRICE_LEVEL_EXPENSIVE" - Place provides expensive services. // "PRICE_LEVEL_VERY_EXPENSIVE" - Place provides very expensive - // services. + // service s. PriceLevels []string `json:"priceLevels,omitempty"` // RankPreference: How results will be ranked in the response. @@ -1258,134 +1246,6 @@ func (s *GoogleTypeLocalizedText) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// method id "places.Text.search": - -type TextSearchCall struct { - s *Service - googlemapsplacesv1searchtextrequest *GoogleMapsPlacesV1SearchTextRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Search: Text query based place search. -func (r *TextService) Search(googlemapsplacesv1searchtextrequest *GoogleMapsPlacesV1SearchTextRequest) *TextSearchCall { - c := &TextSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.googlemapsplacesv1searchtextrequest = googlemapsplacesv1searchtextrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *TextSearchCall) Fields(s ...googleapi.Field) *TextSearchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *TextSearchCall) Context(ctx context.Context) *TextSearchCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *TextSearchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *TextSearchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlemapsplacesv1searchtextrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/Text:search") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "places.Text.search" call. -// Exactly one of *GoogleMapsPlacesV1SearchTextResponse or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleMapsPlacesV1SearchTextResponse.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *TextSearchCall) Do(opts ...googleapi.CallOption) (*GoogleMapsPlacesV1SearchTextResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &GoogleMapsPlacesV1SearchTextResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Text query based place search.", - // "flatPath": "v1/Text:search", - // "httpMethod": "POST", - // "id": "places.Text.search", - // "parameterOrder": [], - // "parameters": {}, - // "path": "v1/Text:search", - // "request": { - // "$ref": "GoogleMapsPlacesV1SearchTextRequest" - // }, - // "response": { - // "$ref": "GoogleMapsPlacesV1SearchTextResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/maps-platform.places", - // "https://www.googleapis.com/auth/maps-platform.places.textsearch" - // ] - // } - -} - // method id "places.places.searchText": type PlacesSearchTextCall struct { diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 6603e4a9a3c..2d766c4ed8e 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1115,7 +1115,7 @@ } } }, - "revision": "20230806", + "revision": "20230910", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -1701,7 +1701,7 @@ "type": "integer" }, "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.", + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC.", "type": "string" } }, @@ -1990,6 +1990,28 @@ }, "type": "object" }, + "GoogleCloudRunV2NetworkInterface": { + "description": "VPC network settings.", + "id": "GoogleCloudRunV2NetworkInterface", + "properties": { + "network": { + "description": "The VPC network name to access to. Defaults to \"default\" network.", + "type": "string" + }, + "subnetwork": { + "description": "The VPC subnetwork name to access to. Defaults to the same vaule of network.", + "type": "string" + }, + "tags": { + "description": "Network tags applied to this VPC network.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRunV2Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "id": "GoogleCloudRunV2Probe", @@ -3039,6 +3061,13 @@ "Only private IP ranges are routed through the VPC connector." ], "type": "string" + }, + "networkInterfaces": { + "description": "VPC network to access to. Currently only single network interface is supported.", + "items": { + "$ref": "GoogleCloudRunV2NetworkInterface" + }, + "type": "array" } }, "type": "object" diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index dff81cfbb10..d9f17122f3c 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -1037,7 +1037,7 @@ type GoogleCloudRunV2GRPCAction struct { // Service: Service is the name of the service to place in the gRPC // HealthCheckRequest (see - // https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If + // https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If // this is not specified, the default behavior is defined by gRPC. Service string `json:"service,omitempty"` @@ -1517,6 +1517,42 @@ func (s *GoogleCloudRunV2ListTasksResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudRunV2NetworkInterface: VPC network settings. +type GoogleCloudRunV2NetworkInterface struct { + // Network: The VPC network name to access to. Defaults to "default" + // network. + Network string `json:"network,omitempty"` + + // Subnetwork: The VPC subnetwork name to access to. Defaults to the + // same vaule of network. + Subnetwork string `json:"subnetwork,omitempty"` + + // Tags: Network tags applied to this VPC network. + Tags []string `json:"tags,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Network") 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. "Network") 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:"-"` +} + +func (s *GoogleCloudRunV2NetworkInterface) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudRunV2NetworkInterface + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudRunV2Probe: Probe describes a health check to be performed // against a container to determine whether it is alive or ready to // receive traffic. @@ -2906,6 +2942,10 @@ type GoogleCloudRunV2VpcAccess struct { // the VPC connector. Egress string `json:"egress,omitempty"` + // NetworkInterfaces: VPC network to access to. Currently only single + // network interface is supported. + NetworkInterfaces []*GoogleCloudRunV2NetworkInterface `json:"networkInterfaces,omitempty"` + // ForceSendFields is a list of field names (e.g. "Connector") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any