From 6bdae51c0ef535dcba79f6299f1b6040c189a155 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 23 Aug 2024 06:21:30 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2750) --- accessapproval/v1/accessapproval-api.json | 17 ++++++++- accessapproval/v1/accessapproval-gen.go | 27 ++++++++++++++ .../v1/androidmanagement-api.json | 7 +++- androidmanagement/v1/androidmanagement-gen.go | 2 + androidpublisher/v3/androidpublisher-api.json | 5 ++- androidpublisher/v3/androidpublisher-gen.go | 5 +-- assuredworkloads/v1/assuredworkloads-api.json | 14 +++++-- assuredworkloads/v1/assuredworkloads-gen.go | 11 ++++++ .../v1beta1/assuredworkloads-api.json | 14 +++++-- .../v1beta1/assuredworkloads-gen.go | 11 ++++++ backupdr/v1/backupdr-api.json | 7 +--- backupdr/v1/backupdr-gen.go | 3 -- cloudidentity/v1/cloudidentity-api.json | 4 +- cloudidentity/v1/cloudidentity-gen.go | 2 +- dataflow/v1b3/dataflow-api.json | 12 +++++- dataflow/v1b3/dataflow-gen.go | 6 +++ dlp/v2/dlp-api.json | 6 +-- dlp/v2/dlp-gen.go | 18 ++++++--- .../v1/firebasedynamiclinks-api.json | 28 +++++++++++--- .../v1/firebasedynamiclinks-gen.go | 12 ++++-- gkehub/v1beta/gkehub-api.json | 28 +++++++------- gkehub/v1beta/gkehub-gen.go | 32 +++++++++------- go.work.sum | 1 + .../v1beta1/networkservices-api.json | 16 +++++++- .../v1beta1/networkservices-gen.go | 16 +++++++- run/v2/run-api.json | 10 ++++- run/v2/run-gen.go | 2 + translate/v3/translate-api.json | 25 ++++++++++--- translate/v3/translate-gen.go | 37 +++++++++++++++++-- 29 files changed, 293 insertions(+), 85 deletions(-) diff --git a/accessapproval/v1/accessapproval-api.json b/accessapproval/v1/accessapproval-api.json index 5736aa95ff0..907b24056fc 100644 --- a/accessapproval/v1/accessapproval-api.json +++ b/accessapproval/v1/accessapproval-api.json @@ -913,7 +913,7 @@ } } }, - "revision": "20240607", + "revision": "20240820", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -1076,6 +1076,10 @@ "format": "google-datetime", "type": "string" }, + "requestedAugmentedInfo": { + "$ref": "AugmentedInfo", + "description": "This field contains the augmented information of the request." + }, "requestedDuration": { "description": "The requested access duration.", "format": "google-duration", @@ -1147,6 +1151,17 @@ }, "type": "object" }, + "AugmentedInfo": { + "description": "This field contains the augmented information of the request.", + "id": "AugmentedInfo", + "properties": { + "command": { + "description": "For command-line tools, the full command-line exactly as entered by the actor without adding any additional characters (such as quotation marks).", + "type": "string" + } + }, + "type": "object" + }, "DismissApprovalRequestMessage": { "description": "Request to dismiss an approval request.", "id": "DismissApprovalRequestMessage", diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index df5832b8793..6bd7f701b01 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -443,6 +443,9 @@ type ApprovalRequest struct { Name string `json:"name,omitempty"` // RequestTime: The time at which approval was requested. RequestTime string `json:"requestTime,omitempty"` + // RequestedAugmentedInfo: This field contains the augmented information of the + // request. + RequestedAugmentedInfo *AugmentedInfo `json:"requestedAugmentedInfo,omitempty"` // RequestedDuration: The requested access duration. RequestedDuration string `json:"requestedDuration,omitempty"` // RequestedExpiration: The original requested expiration for the approval. @@ -539,6 +542,30 @@ func (s ApproveDecision) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AugmentedInfo: This field contains the augmented information of the request. +type AugmentedInfo struct { + // Command: For command-line tools, the full command-line exactly as entered by + // the actor without adding any additional characters (such as quotation + // marks). + Command string `json:"command,omitempty"` + // ForceSendFields is a list of field names (e.g. "Command") 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. "Command") 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 AugmentedInfo) MarshalJSON() ([]byte, error) { + type NoMethod AugmentedInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // DismissApprovalRequestMessage: Request to dismiss an approval request. type DismissApprovalRequestMessage struct { } diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 2678425e70e..e936206bcff 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1168,7 +1168,7 @@ } } }, - "revision": "20240808", + "revision": "20240821", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -6123,6 +6123,11 @@ "description": "The carrier name associated with this SIM card.", "type": "string" }, + "iccId": { + "description": "Output only. The ICCID associated with this SIM card.", + "readOnly": true, + "type": "string" + }, "phoneNumber": { "description": "The phone number associated with this SIM card.", "type": "string" diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 9b27f241b32..a52240c5e25 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -6134,6 +6134,8 @@ func (s SystemUpdateInfo) MarshalJSON() ([]byte, error) { type TelephonyInfo struct { // CarrierName: The carrier name associated with this SIM card. CarrierName string `json:"carrierName,omitempty"` + // IccId: Output only. The ICCID associated with this SIM card. + IccId string `json:"iccId,omitempty"` // PhoneNumber: The phone number associated with this SIM card. PhoneNumber string `json:"phoneNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "CarrierName") to diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 0fd37bd48a6..54c250bd0fc 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -741,7 +741,8 @@ ], "parameters": { "ackBundleInstallationWarning": { - "description": "Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).", + "deprecated": true, + "description": "Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.", "location": "query", "type": "boolean" }, @@ -4731,7 +4732,7 @@ } } }, - "revision": "20240820", + "revision": "20240821", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 9f9c53755d4..7cc7e0cc1b2 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -9628,9 +9628,8 @@ func (r *EditsBundlesService) Upload(packageName string, editId string) *EditsBu } // AckBundleInstallationWarning sets the optional parameter -// "ackBundleInstallationWarning": Must be set to true if the app bundle -// installation may trigger a warning on user devices (for example, if -// installation size may be over a threshold, typically 100 MB). +// "ackBundleInstallationWarning": Deprecated. The installation warning has +// been removed, it's not necessary to set this field anymore. func (c *EditsBundlesUploadCall) AckBundleInstallationWarning(ackBundleInstallationWarning bool) *EditsBundlesUploadCall { c.urlParams_.Set("ackBundleInstallationWarning", fmt.Sprint(ackBundleInstallationWarning)) return c diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 9d7a1e2fd0b..3899bfaf421 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20240801", + "revision": "20240821", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -1281,14 +1281,18 @@ "LOCAL_CONTROLS_BY_S3NS", "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", - "SOVEREIGN_CONTROLS_BY_PSN" + "SOVEREIGN_CONTROLS_BY_PSN", + "SOVEREIGN_CONTROLS_BY_CNTXT", + "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM" ], "enumDescriptions": [ "", "Enum representing S3NS (Thales) partner.", "Enum representing T_SYSTEM (TSI) partner.", "Enum representing SIA_MINSAIT (Indra) partner.", - "Enum representing PSN (TIM) partner." + "Enum representing PSN (TIM) partner.", + "Enum representing CNTXT (Kingdom of Saudi Arabia) partner.", + "Enum representing CNTXT (Kingdom of Saudi Arabia) partner offering without EKM." ], "type": "string" }, @@ -1296,6 +1300,10 @@ "$ref": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", "description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" }, + "partnerServicesBillingAccount": { + "description": "Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC", + "type": "string" + }, "provisionedResourcesParent": { "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 83dff38a2d0..b793b109984 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -938,10 +938,21 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT" - Enum representing SIA_MINSAIT // (Indra) partner. // "SOVEREIGN_CONTROLS_BY_PSN" - Enum representing PSN (TIM) partner. + // "SOVEREIGN_CONTROLS_BY_CNTXT" - Enum representing CNTXT (Kingdom of Saudi + // Arabia) partner. + // "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM" - Enum representing CNTXT (Kingdom of + // Saudi Arabia) partner offering without EKM. Partner string `json:"partner,omitempty"` // PartnerPermissions: Optional. Permissions granted to the AW Partner SA // account for the customer workload PartnerPermissions *GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions `json:"partnerPermissions,omitempty"` + // PartnerServicesBillingAccount: Optional. Billing account necessary for + // purchasing services from Sovereign Partners. This field is required for + // creating SIA/PSN partner workloads. The caller should have + // 'billing.resourceAssociations.create' IAM permission on this + // billing-account. The format of this string is + // billingAccounts/AAAAAA-BBBBBB-CCCCCC + PartnerServicesBillingAccount string `json:"partnerServicesBillingAccount,omitempty"` // ProvisionedResourcesParent: Input only. The parent resource for the // resources managed by this Assured Workload. May be either empty or a folder // resource which is a child of the Workload parent. If not specified all diff --git a/assuredworkloads/v1beta1/assuredworkloads-api.json b/assuredworkloads/v1beta1/assuredworkloads-api.json index 963e48d0ccf..e0ec6cad621 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-api.json +++ b/assuredworkloads/v1beta1/assuredworkloads-api.json @@ -588,7 +588,7 @@ } } }, - "revision": "20240801", + "revision": "20240821", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -1296,14 +1296,18 @@ "LOCAL_CONTROLS_BY_S3NS", "SOVEREIGN_CONTROLS_BY_T_SYSTEMS", "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", - "SOVEREIGN_CONTROLS_BY_PSN" + "SOVEREIGN_CONTROLS_BY_PSN", + "SOVEREIGN_CONTROLS_BY_CNTXT", + "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM" ], "enumDescriptions": [ "", "Enum representing S3NS (Thales) partner.", "Enum representing T_SYSTEM (TSI) partner.", "Enum representing SIA_MINSAIT (Indra) partner.", - "Enum representing PSN (TIM) partner." + "Enum representing PSN (TIM) partner.", + "Enum representing CNTXT (Kingdom of Saudi Arabia) partner.", + "Enum representing CNTXT (Kingdom of Saudi Arabia) partner offering without EKM." ], "type": "string" }, @@ -1311,6 +1315,10 @@ "$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", "description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" }, + "partnerServicesBillingAccount": { + "description": "Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC", + "type": "string" + }, "provisionedResourcesParent": { "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index fa3c5409bb9..091764783ee 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -935,10 +935,21 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // "SOVEREIGN_CONTROLS_BY_SIA_MINSAIT" - Enum representing SIA_MINSAIT // (Indra) partner. // "SOVEREIGN_CONTROLS_BY_PSN" - Enum representing PSN (TIM) partner. + // "SOVEREIGN_CONTROLS_BY_CNTXT" - Enum representing CNTXT (Kingdom of Saudi + // Arabia) partner. + // "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM" - Enum representing CNTXT (Kingdom of + // Saudi Arabia) partner offering without EKM. Partner string `json:"partner,omitempty"` // PartnerPermissions: Optional. Permissions granted to the AW Partner SA // account for the customer workload PartnerPermissions *GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions `json:"partnerPermissions,omitempty"` + // PartnerServicesBillingAccount: Optional. Billing account necessary for + // purchasing services from Sovereign Partners. This field is required for + // creating SIA/PSN partner workloads. The caller should have + // 'billing.resourceAssociations.create' IAM permission on this + // billing-account. The format of this string is + // billingAccounts/AAAAAA-BBBBBB-CCCCCC + PartnerServicesBillingAccount string `json:"partnerServicesBillingAccount,omitempty"` // ProvisionedResourcesParent: Input only. The parent resource for the // resources managed by this Assured Workload. May be either empty or a folder // resource which is a child of the Workload parent. If not specified all diff --git a/backupdr/v1/backupdr-api.json b/backupdr/v1/backupdr-api.json index 5a36e98b61f..1510c627436 100644 --- a/backupdr/v1/backupdr-api.json +++ b/backupdr/v1/backupdr-api.json @@ -1598,7 +1598,7 @@ } } }, - "revision": "20240808", + "revision": "20240815", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -2486,11 +2486,6 @@ "format": "google-datetime", "type": "string" }, - "enforcedRetentionDuration": { - "description": "Required. The default retention period for each backup in the backup vault (Deprecated).", - "format": "google-duration", - "type": "string" - }, "etag": { "description": "Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.", "type": "string" diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 3a1d57c3c80..52579b44f44 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -1127,9 +1127,6 @@ type BackupVault struct { // EffectiveTime: Optional. Time after which the BackupVault resource is // locked. EffectiveTime string `json:"effectiveTime,omitempty"` - // EnforcedRetentionDuration: Required. The default retention period for each - // backup in the backup vault (Deprecated). - EnforcedRetentionDuration string `json:"enforcedRetentionDuration,omitempty"` // Etag: Optional. Server specified ETag for the backup vault resource to // prevent simultaneous updates from overwiting each other. Etag string `json:"etag,omitempty"` diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index 248632d04ed..02a214120c3 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -422,7 +422,7 @@ ], "enumDescriptions": [ "Default value. The value is unused.", - "This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unaassigned or assigned to users.", + "This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unassigned or assigned to users.", "This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags." ], "location": "query", @@ -1990,7 +1990,7 @@ } } }, - "revision": "20240611", + "revision": "20240820", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 9ee017a3f20..1116a904dbe 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -4309,7 +4309,7 @@ func (c *DevicesListCall) PageToken(pageToken string) *DevicesListCall { // // company admin. Each device in the response contains all information // specified by the company admin when importing the device (i.e. asset tags). -// This includes devices that may be unaassigned or assigned to users. +// This includes devices that may be unassigned or assigned to users. // // "USER_ASSIGNED_DEVICES" - This view contains all devices with at least one // diff --git a/dataflow/v1b3/dataflow-api.json b/dataflow/v1b3/dataflow-api.json index 9287e04ffd1..081758ab888 100644 --- a/dataflow/v1b3/dataflow-api.json +++ b/dataflow/v1b3/dataflow-api.json @@ -2208,7 +2208,7 @@ } } }, - "revision": "20240807", + "revision": "20240817", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -6761,6 +6761,16 @@ "description": "Map from user step names to state families.", "type": "object" }, + "userWorkerRunnerV1Settings": { + "description": "Binary encoded proto to control runtime behavior of the java runner v1 user worker.", + "format": "byte", + "type": "string" + }, + "userWorkerRunnerV2Settings": { + "description": "Binary encoded proto to control runtime behavior of the runner v2 user worker.", + "format": "byte", + "type": "string" + }, "windmillServiceEndpoint": { "description": "If present, the worker must use this endpoint to communicate with Windmill Service dispatchers, otherwise the worker must continue to use whatever endpoint it had been using.", "type": "string" diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index 4ec4c5258bf..4026cccb544 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -6013,6 +6013,12 @@ type StreamingConfigTask struct { StreamingComputationConfigs []*StreamingComputationConfig `json:"streamingComputationConfigs,omitempty"` // UserStepToStateFamilyNameMap: Map from user step names to state families. UserStepToStateFamilyNameMap map[string]string `json:"userStepToStateFamilyNameMap,omitempty"` + // UserWorkerRunnerV1Settings: Binary encoded proto to control runtime behavior + // of the java runner v1 user worker. + UserWorkerRunnerV1Settings string `json:"userWorkerRunnerV1Settings,omitempty"` + // UserWorkerRunnerV2Settings: Binary encoded proto to control runtime behavior + // of the runner v2 user worker. + UserWorkerRunnerV2Settings string `json:"userWorkerRunnerV2Settings,omitempty"` // WindmillServiceEndpoint: If present, the worker must use this endpoint to // communicate with Windmill Service dispatchers, otherwise the worker must // continue to use whatever endpoint it had been using. diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index bb9f94b8062..7bee9dccb9a 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -1432,7 +1432,7 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `data_source_type` - The profile's data source type, like \"google/storage/bucket\". - `data_storage_location` - The location where the file store's data is stored, like \"us-central1\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4065,7 +4065,7 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `data_source_type` - The profile's data source type, like \"google/storage/bucket\". - `data_storage_location` - The location where the file store's data is stored, like \"us-central1\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -5015,7 +5015,7 @@ } } }, - "revision": "20240808", + "revision": "20240818", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 176f4f5433f..5a4ffaebdae 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -14633,9 +14633,12 @@ func (r *OrganizationsLocationsFileStoreDataProfilesService) List(parent string) // of restrictions implicitly uses `AND`. * A restriction has the form of // `{field} {operator} {value}`. * Supported fields/values: - `project_id` - // The Google Cloud project ID. - `file_store_path` - The path like -// "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -// - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - -// `status_code` - an RPC status code as defined in +// "gs://bucket". - `data_source_type` - The profile's data source type, like +// "google/storage/bucket". - `data_storage_location` - The location where the +// file store's data is stored, like "us-central1". - `sensitivity_level` - +// HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - +// `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status +// code as defined in // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * // The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND // status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * @@ -24673,9 +24676,12 @@ func (r *ProjectsLocationsFileStoreDataProfilesService) List(parent string) *Pro // of restrictions implicitly uses `AND`. * A restriction has the form of // `{field} {operator} {value}`. * Supported fields/values: - `project_id` - // The Google Cloud project ID. - `file_store_path` - The path like -// "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -// - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - -// `status_code` - an RPC status code as defined in +// "gs://bucket". - `data_source_type` - The profile's data source type, like +// "google/storage/bucket". - `data_storage_location` - The location where the +// file store's data is stored, like "us-central1". - `sensitivity_level` - +// HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - +// `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status +// code as defined in // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * // The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND // status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-api.json b/firebasedynamiclinks/v1/firebasedynamiclinks-api.json index 20fa37dc523..fbb46feb7dd 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-api.json +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-api.json @@ -224,7 +224,7 @@ } } }, - "revision": "20231107", + "revision": "20240821", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "schemas": { "AnalyticsInfo": { @@ -520,6 +520,13 @@ "$ref": "DynamicLinkEventStat" }, "type": "array" + }, + "warnings": { + "description": "Optional warnings associated this API request.", + "items": { + "$ref": "DynamicLinkWarning" + }, + "type": "array" } }, "type": "object" @@ -559,7 +566,8 @@ "BAD_URI_SCHEME_SOCIAL_URL", "LINK_LENGTH_TOO_LONG", "LINK_WITH_FRAGMENTS", - "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" + "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID", + "API_DEPRECATED" ], "enumDescriptions": [ "Unknown code.", @@ -582,15 +590,16 @@ "Debug param format is incorrect.", "isAd param format is incorrect.", "Indicates a certain param is deprecated.", - "Indicates certain paramater is not recognized.", - "Indicates certain paramater is too long.", + "Indicates certain parameter is not recognized.", + "Indicates certain parameter is too long.", "Social meta tag image link is not a valid URI.", "Social meta tag image link has an invalid (non http/https) URI scheme.", "", "", "Dynamic Link URL length is too long.", "Dynamic Link URL contains fragments.", - "The iOS bundle ID does not match with the given iOS store ID." + "The iOS bundle ID does not match with the given iOS store ID.", + "The API is deprecated." ], "type": "string" }, @@ -818,6 +827,13 @@ "utmTerm": { "description": "Scion term value to be propagated by iSDK to Scion at app-reopen.", "type": "string" + }, + "warning": { + "description": "Optional warnings associated this API request.", + "items": { + "$ref": "DynamicLinkWarning" + }, + "type": "array" } }, "type": "object" @@ -930,7 +946,7 @@ ], "enumDescriptions": [ "Indicates that no attributes were found for this short url.", - "Indicates that short url has been flagged by AbuseIAm team as spam." + "Indicates that short url has been flagged as spam." ], "type": "string" }, diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go index 0e803d2e5ce..38429447bd0 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go @@ -544,6 +544,8 @@ func (s DynamicLinkInfo) MarshalJSON() ([]byte, error) { type DynamicLinkStats struct { // LinkEventStats: Dynamic Link event stats. LinkEventStats []*DynamicLinkEventStat `json:"linkEventStats,omitempty"` + // Warnings: Optional warnings associated this API request. + Warnings []*DynamicLinkWarning `json:"warnings,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -602,8 +604,8 @@ type DynamicLinkWarning struct { // "BAD_DEBUG_PARAM" - Debug param format is incorrect. // "BAD_AD_PARAM" - isAd param format is incorrect. // "DEPRECATED_PARAM" - Indicates a certain param is deprecated. - // "UNRECOGNIZED_PARAM" - Indicates certain paramater is not recognized. - // "TOO_LONG_PARAM" - Indicates certain paramater is too long. + // "UNRECOGNIZED_PARAM" - Indicates certain parameter is not recognized. + // "TOO_LONG_PARAM" - Indicates certain parameter is too long. // "NOT_URI_SOCIAL_IMAGE_LINK" - Social meta tag image link is not a valid // URI. // "BAD_URI_SCHEME_SOCIAL_IMAGE_LINK" - Social meta tag image link has an @@ -614,6 +616,7 @@ type DynamicLinkWarning struct { // "LINK_WITH_FRAGMENTS" - Dynamic Link URL contains fragments. // "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" - The iOS bundle ID does not // match with the given iOS store ID. + // "API_DEPRECATED" - The API is deprecated. WarningCode string `json:"warningCode,omitempty"` // WarningDocumentLink: The document describing the warning, and helps resolve. WarningDocumentLink string `json:"warningDocumentLink,omitempty"` @@ -853,6 +856,8 @@ type GetIosReopenAttributionResponse struct { UtmSource string `json:"utmSource,omitempty"` // UtmTerm: Scion term value to be propagated by iSDK to Scion at app-reopen. UtmTerm string `json:"utmTerm,omitempty"` + // Warning: Optional warnings associated this API request. + Warning []*DynamicLinkWarning `json:"warning,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -989,8 +994,7 @@ type ManagedShortLink struct { // Possible values: // "UNSPECIFIED_ATTRIBUTE" - Indicates that no attributes were found for this // short url. - // "SPAM" - Indicates that short url has been flagged by AbuseIAm team as - // spam. + // "SPAM" - Indicates that short url has been flagged as spam. FlaggedAttribute []string `json:"flaggedAttribute,omitempty"` // Info: Full Dyamic Link info Info *DynamicLinkInfo `json:"info,omitempty"` diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 3996215ce41..705b237875e 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20240809", + "revision": "20240815", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2550,7 +2550,7 @@ "type": "object" }, "CommonFeatureSpec": { - "description": "CommonFeatureSpec contains Hub-wide configuration information", + "description": "CommonFeatureSpec contains Fleet-wide configuration information", "id": "CommonFeatureSpec", "properties": { "anthosobservability": { @@ -2581,7 +2581,7 @@ "type": "object" }, "CommonFeatureState": { - "description": "CommonFeatureState contains Hub-wide Feature status information.", + "description": "CommonFeatureState contains Fleet-wide Feature status information.", "id": "CommonFeatureState", "properties": { "appdevexperience": { @@ -2598,7 +2598,7 @@ }, "state": { "$ref": "FeatureState", - "description": "Output only. The \"running state\" of the Feature in this Hub.", + "description": "Output only. The \"running state\" of the Feature in this Fleet.", "readOnly": true } }, @@ -3320,7 +3320,7 @@ }, "hierarchyController": { "$ref": "ConfigManagementHierarchyControllerConfig", - "description": "Hierarchy Controller configuration for the cluster." + "description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." }, "management": { "description": "Enables automatic Feature management.", @@ -3743,7 +3743,7 @@ "type": "object" }, "Feature": { - "description": "Feature represents the settings and status of any Hub Feature.", + "description": "Feature represents the settings and status of any Fleet Feature.", "id": "Feature", "properties": { "createTime": { @@ -3811,11 +3811,11 @@ }, "spec": { "$ref": "CommonFeatureSpec", - "description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused." + "description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused." }, "state": { "$ref": "CommonFeatureState", - "description": "Output only. The Hub-wide Feature state.", + "description": "Output only. The Fleet-wide Feature state.", "readOnly": true }, "unreachable": { @@ -3836,7 +3836,7 @@ "type": "object" }, "FeatureResourceState": { - "description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Hub and across Memberships.", + "description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.", "id": "FeatureResourceState", "properties": { "state": { @@ -3851,9 +3851,9 @@ ], "enumDescriptions": [ "State is unknown or not set.", - "The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.", - "The Feature is enabled in this Hub, and the Feature resource is fully available.", - "The Feature is being disabled in this Hub, and the Feature resource is being deleted.", + "The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.", + "The Feature is enabled in this Fleet, and the Feature resource is fully available.", + "The Feature is being disabled in this Fleet, and the Feature resource is being deleted.", "The Feature resource is being updated.", "The Feature resource is being updated by the Hub Service." ], @@ -5101,7 +5101,7 @@ "type": "object" }, "MembershipFeatureSpec": { - "description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.", + "description": "MembershipFeatureSpec contains configuration information for a single Membership.", "id": "MembershipFeatureSpec", "properties": { "anthosobservability": { @@ -6237,6 +6237,7 @@ "enum": [ "CODE_UNSPECIFIED", "MESH_IAM_PERMISSION_DENIED", + "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", "CNI_CONFIG_UNSUPPORTED", "GKE_SANDBOX_UNSUPPORTED", "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", @@ -6266,6 +6267,7 @@ "enumDescriptions": [ "Default Unspecified code", "Mesh IAM permission denied error code", + "Permission denied error code for cross-project", "CNI config unsupported error code", "GKE sandbox unsupported error code", "Nodepool workload identity federation required error code", diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 988f7248767..7a851f2e535 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -1024,7 +1024,7 @@ func (s ClusterUpgradeUpgradeStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// CommonFeatureSpec: CommonFeatureSpec contains Hub-wide configuration +// CommonFeatureSpec: CommonFeatureSpec contains Fleet-wide configuration // information type CommonFeatureSpec struct { // Anthosobservability: Anthos Observability spec @@ -1057,7 +1057,7 @@ func (s CommonFeatureSpec) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// CommonFeatureState: CommonFeatureState contains Hub-wide Feature status +// CommonFeatureState: CommonFeatureState contains Fleet-wide Feature status // information. type CommonFeatureState struct { // Appdevexperience: Appdevexperience specific state. @@ -1066,7 +1066,7 @@ type CommonFeatureState struct { Clusterupgrade *ClusterUpgradeFleetState `json:"clusterupgrade,omitempty"` // Fleetobservability: FleetObservability feature state. Fleetobservability *FleetObservabilityFeatureState `json:"fleetobservability,omitempty"` - // State: Output only. The "running state" of the Feature in this Hub. + // State: Output only. The "running state" of the Feature in this Fleet. State *FeatureState `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Appdevexperience") to // unconditionally include in API requests. By default, fields with empty or @@ -1816,6 +1816,9 @@ type ConfigManagementMembershipSpec struct { // ConfigSync: Config Sync configuration for the cluster. ConfigSync *ConfigManagementConfigSync `json:"configSync,omitempty"` // HierarchyController: Hierarchy Controller configuration for the cluster. + // Deprecated: Configuring Hierarchy Controller through the configmanagement + // feature is no longer recommended. Use + // https://github.com/kubernetes-sigs/hierarchical-namespaces instead. HierarchyController *ConfigManagementHierarchyControllerConfig `json:"hierarchyController,omitempty"` // Management: Enables automatic Feature management. // @@ -2352,7 +2355,7 @@ func (s Expr) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// Feature: Feature represents the settings and status of any Hub Feature. +// Feature: Feature represents the settings and status of any Fleet Feature. type Feature struct { // CreateTime: Output only. When the Feature resource was created. CreateTime string `json:"createTime,omitempty"` @@ -2406,10 +2409,10 @@ type Feature struct { // `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is // a valid Scope in this project. {p} WILL match the Feature's project. ScopeStates map[string]ScopeFeatureState `json:"scopeStates,omitempty"` - // Spec: Optional. Hub-wide Feature configuration. If this Feature does not - // support any Hub-wide configuration, this field may be unused. + // Spec: Optional. Fleet-wide Feature configuration. If this Feature does not + // support any Fleet-wide configuration, this field may be unused. Spec *CommonFeatureSpec `json:"spec,omitempty"` - // State: Output only. The Hub-wide Feature state. + // State: Output only. The Fleet-wide Feature state. State *CommonFeatureState `json:"state,omitempty"` // Unreachable: Output only. List of locations that could not be reached while // fetching this feature. @@ -2439,7 +2442,7 @@ func (s Feature) MarshalJSON() ([]byte, error) { // FeatureResourceState: FeatureResourceState describes the state of a Feature // *resource* in the GkeHub API. See `FeatureState` for the "running state" of -// the Feature in the Hub and across Memberships. +// the Feature in the Fleet and across Memberships. type FeatureResourceState struct { // State: The current state of the Feature resource in the Hub API. // @@ -2447,10 +2450,10 @@ type FeatureResourceState struct { // "STATE_UNSPECIFIED" - State is unknown or not set. // "ENABLING" - The Feature is being enabled, and the Feature resource is // being created. Once complete, the corresponding Feature will be enabled in - // this Hub. - // "ACTIVE" - The Feature is enabled in this Hub, and the Feature resource is - // fully available. - // "DISABLING" - The Feature is being disabled in this Hub, and the Feature + // this Fleet. + // "ACTIVE" - The Feature is enabled in this Fleet, and the Feature resource + // is fully available. + // "DISABLING" - The Feature is being disabled in this Fleet, and the Feature // resource is being deleted. // "UPDATING" - The Feature resource is being updated. // "SERVICE_UPDATING" - The Feature resource is being updated by the Hub @@ -4094,8 +4097,7 @@ func (s MembershipEndpoint) MarshalJSON() ([]byte, error) { } // MembershipFeatureSpec: MembershipFeatureSpec contains configuration -// information for a single Membership. NOTE: Please use snake case in your -// feature name. +// information for a single Membership. type MembershipFeatureSpec struct { // Anthosobservability: Anthos Observability-specific spec Anthosobservability *AnthosObservabilityMembershipSpec `json:"anthosobservability,omitempty"` @@ -5537,6 +5539,8 @@ type ServiceMeshCondition struct { // Possible values: // "CODE_UNSPECIFIED" - Default Unspecified code // "MESH_IAM_PERMISSION_DENIED" - Mesh IAM permission denied error code + // "MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED" - Permission denied error code + // for cross-project // "CNI_CONFIG_UNSUPPORTED" - CNI config unsupported error code // "GKE_SANDBOX_UNSUPPORTED" - GKE sandbox unsupported error code // "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED" - Nodepool workload diff --git a/go.work.sum b/go.work.sum index 1d126f1e435..38e5a00aacc 100644 --- a/go.work.sum +++ b/go.work.sum @@ -348,6 +348,7 @@ golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= diff --git a/networkservices/v1beta1/networkservices-api.json b/networkservices/v1beta1/networkservices-api.json index 20609daf9c0..f3b5c2562a3 100644 --- a/networkservices/v1beta1/networkservices-api.json +++ b/networkservices/v1beta1/networkservices-api.json @@ -2317,7 +2317,7 @@ } } }, - "revision": "20240721", + "revision": "20240818", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -2772,6 +2772,18 @@ }, "type": "array" }, + "routingMode": { + "description": "Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.", + "enum": [ + "EXPLICIT_ROUTING_MODE", + "NEXT_HOP_ROUTING_MODE" + ], + "enumDescriptions": [ + "The routing mode is explicit; clients are configured to send traffic through the gateway. This is the default routing mode.", + "The routing mode is next-hop. Clients are unaware of the gateway, and a route (advanced route or other route type) can be configured to direct traffic from client to gateway. The gateway then acts as a next-hop to the destination." + ], + "type": "string" + }, "scope": { "description": "Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.", "type": "string" @@ -3007,7 +3019,7 @@ "type": "object" }, "GrpcRouteRetryPolicy": { - "description": "The specifications for retries.", + "description": "The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:", "id": "GrpcRouteRetryPolicy", "properties": { "numRetries": { diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go index f5c2b1fba7d..d7cbe33fe10 100644 --- a/networkservices/v1beta1/networkservices-gen.go +++ b/networkservices/v1beta1/networkservices-gen.go @@ -967,6 +967,19 @@ type Gateway struct { // 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple // ports. Ports []int64 `json:"ports,omitempty"` + // RoutingMode: Optional. The routing mode of the Gateway. This field is + // configurable only for gateways of type SECURE_WEB_GATEWAY. This field is + // required for gateways of type SECURE_WEB_GATEWAY. + // + // Possible values: + // "EXPLICIT_ROUTING_MODE" - The routing mode is explicit; clients are + // configured to send traffic through the gateway. This is the default routing + // mode. + // "NEXT_HOP_ROUTING_MODE" - The routing mode is next-hop. Clients are + // unaware of the gateway, and a route (advanced route or other route type) can + // be configured to direct traffic from client to gateway. The gateway then + // acts as a next-hop to the destination. + RoutingMode string `json:"routingMode,omitempty"` // Scope: Optional. Scope determines how configuration across multiple Gateway // instances are merged. The configuration for multiple Gateway instances with // the same scope will be merged as presented as a single coniguration to the @@ -1278,7 +1291,8 @@ func (s GrpcRouteMethodMatch) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GrpcRouteRetryPolicy: The specifications for retries. +// GrpcRouteRetryPolicy: The specifications for retries. Specifies one or more +// conditions for which this retry rule applies. Valid values are: type GrpcRouteRetryPolicy struct { // NumRetries: Specifies the allowed number of retries. This number must be > // 0. If not specified, default to 1. diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 67483f7a1ca..c4e4331a98d 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1526,7 +1526,7 @@ } } }, - "revision": "20240809", + "revision": "20240816", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -3367,6 +3367,14 @@ "description": "Output only. The main URI in which this Service is serving traffic.", "readOnly": true, "type": "string" + }, + "urls": { + "description": "Output only. All URLs serving traffic for this Service.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index 2e2d48c1ec1..3713d208445 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -2337,6 +2337,8 @@ type GoogleCloudRunV2Service struct { UpdateTime string `json:"updateTime,omitempty"` // Uri: Output only. The main URI in which this Service is serving traffic. Uri string `json:"uri,omitempty"` + // Urls: Output only. All URLs serving traffic for this Service. + Urls []string `json:"urls,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index 6d8b356dc24..ff84ab86a41 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -1396,7 +1396,7 @@ ], "parameters": { "name": { - "description": "Identifier. The resource name of the entry. Format: \"projects/*/locations/*/glossaries/*/glossaryEntries/*\"", + "description": "Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$", "required": true, @@ -1707,7 +1707,7 @@ } } }, - "revision": "20240718", + "revision": "20240821", "rootUrl": "https://translation.googleapis.com/", "schemas": { "AdaptiveMtDataset": { @@ -1829,7 +1829,7 @@ "type": "string" }, "glossaryConfig": { - "$ref": "TranslateTextGlossaryConfig", + "$ref": "GlossaryConfig", "description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." }, "referenceSentenceConfig": { @@ -2227,7 +2227,7 @@ "id": "Example", "properties": { "name": { - "description": "Output only. The resource name of the example, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}'", + "description": "Output only. The resource name of the example, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}`", "readOnly": true, "type": "string" }, @@ -2367,6 +2367,21 @@ }, "type": "object" }, + "GlossaryConfig": { + "description": "Configures which glossary is used for a specific target language and defines options for applying that glossary.", + "id": "GlossaryConfig", + "properties": { + "glossary": { + "description": "Required. The `glossary` to be applied for this translation. The format depends on the glossary: - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`", + "type": "string" + }, + "ignoreCase": { + "description": "Optional. Indicates match is case insensitive. The default value is `false` if missing.", + "type": "boolean" + } + }, + "type": "object" + }, "GlossaryEntry": { "description": "Represents a single entry in a glossary.", "id": "GlossaryEntry", @@ -2376,7 +2391,7 @@ "type": "string" }, "name": { - "description": "Identifier. The resource name of the entry. Format: \"projects/*/locations/*/glossaries/*/glossaryEntries/*\"", + "description": "Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`", "type": "string" }, "termsPair": { diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index c9ffa140a8b..304e754888e 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -425,7 +425,7 @@ type AdaptiveMtTranslateRequest struct { // GlossaryConfig: Optional. Glossary to be applied. The glossary must be // within the same region (have the same location-id) as the model, otherwise // an INVALID_ARGUMENT (400) error is returned. - GlossaryConfig *TranslateTextGlossaryConfig `json:"glossaryConfig,omitempty"` + GlossaryConfig *GlossaryConfig `json:"glossaryConfig,omitempty"` // ReferenceSentenceConfig: Configuration for caller provided reference // sentences. ReferenceSentenceConfig *ReferenceSentenceConfig `json:"referenceSentenceConfig,omitempty"` @@ -1052,7 +1052,7 @@ type Empty struct { type Example struct { // Name: Output only. The resource name of the example, in form of // `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id - // }/examples/{example_id}' + // }/examples/{example_id}` Name string `json:"name,omitempty"` // SourceText: Sentence in source language. SourceText string `json:"sourceText,omitempty"` @@ -1267,12 +1267,41 @@ func (s Glossary) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GlossaryConfig: Configures which glossary is used for a specific target +// language and defines options for applying that glossary. +type GlossaryConfig struct { + // Glossary: Required. The `glossary` to be applied for this translation. The + // format depends on the glossary: - User-provided custom glossary: + // `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary + // -id}` + Glossary string `json:"glossary,omitempty"` + // IgnoreCase: Optional. Indicates match is case insensitive. The default value + // is `false` if missing. + IgnoreCase bool `json:"ignoreCase,omitempty"` + // ForceSendFields is a list of field names (e.g. "Glossary") 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. "Glossary") 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 GlossaryConfig) MarshalJSON() ([]byte, error) { + type NoMethod GlossaryConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GlossaryEntry: Represents a single entry in a glossary. type GlossaryEntry struct { // Description: Describes the glossary entry. Description string `json:"description,omitempty"` // Name: Identifier. The resource name of the entry. Format: - // "projects/*/locations/*/glossaries/*/glossaryEntries/*" + // `projects/*/locations/*/glossaries/*/glossaryEntries/*` Name string `json:"name,omitempty"` // TermsPair: Used for an unidirectional glossary. TermsPair *GlossaryTermsPair `json:"termsPair,omitempty"` @@ -7349,7 +7378,7 @@ type ProjectsLocationsGlossariesGlossaryEntriesPatchCall struct { // Patch: Updates a glossary entry. // // - name: Identifier. The resource name of the entry. Format: -// "projects/*/locations/*/glossaries/*/glossaryEntries/*". +// `projects/*/locations/*/glossaries/*/glossaryEntries/*`. func (r *ProjectsLocationsGlossariesGlossaryEntriesService) Patch(name string, glossaryentry *GlossaryEntry) *ProjectsLocationsGlossariesGlossaryEntriesPatchCall { c := &ProjectsLocationsGlossariesGlossaryEntriesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name