From e0db6a56333968b548ede1aafe64ca58953db492 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Jan 2024 00:22:15 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2366) --- apphub/v1/apphub-api.json | 33 +- apphub/v1/apphub-gen.go | 43 ++ batch/v1/batch-api.json | 14 +- batch/v1/batch-gen.go | 16 +- connectors/v1/connectors-api.json | 17 +- connectors/v1/connectors-gen.go | 13 +- dataplex/v1/dataplex-api.json | 4 +- dataplex/v1/dataplex-gen.go | 2 +- dialogflow/v2/dialogflow-api.json | 18 +- dialogflow/v2/dialogflow-gen.go | 19 +- firestore/v1/firestore-api.json | 7 +- firestore/v1/firestore-gen.go | 25 +- firestore/v1beta1/firestore-api.json | 5 +- firestore/v1beta1/firestore-gen.go | 21 +- gkehub/v1/gkehub-api.json | 55 ++- gkehub/v1/gkehub-gen.go | 95 ++++- gkehub/v1alpha/gkehub-api.json | 55 ++- gkehub/v1alpha/gkehub-gen.go | 95 ++++- gkehub/v1alpha2/gkehub-api.json | 4 +- gkehub/v1alpha2/gkehub-gen.go | 40 +- gkehub/v1beta/gkehub-api.json | 55 ++- gkehub/v1beta/gkehub-gen.go | 95 ++++- gkehub/v1beta1/gkehub-api.json | 4 +- gkehub/v1beta1/gkehub-gen.go | 40 +- metastore/v1/metastore-api.json | 4 +- metastore/v1/metastore-gen.go | 5 +- metastore/v1alpha/metastore-api.json | 4 +- metastore/v1alpha/metastore-gen.go | 5 +- notebooks/v2/notebooks-api.json | 45 +- notebooks/v2/notebooks-gen.go | 176 ++++++++ redis/v1/redis-api.json | 4 +- redis/v1/redis-gen.go | 3 +- redis/v1beta1/redis-api.json | 4 +- redis/v1beta1/redis-gen.go | 3 +- sqladmin/v1/sqladmin-api.json | 21 +- sqladmin/v1/sqladmin-gen.go | 16 +- sqladmin/v1beta4/sqladmin-api.json | 21 +- sqladmin/v1beta4/sqladmin-gen.go | 16 +- tpu/v2/tpu-api.json | 7 +- tpu/v2/tpu-gen.go | 4 + tpu/v2alpha1/tpu-api.json | 7 +- tpu/v2alpha1/tpu-gen.go | 4 + vmwareengine/v1/vmwareengine-api.json | 522 ++++++++++++----------- vmwareengine/v1/vmwareengine-gen.go | 578 +++++++++++++------------- workflows/v1/workflows-api.json | 4 +- workflows/v1/workflows-gen.go | 4 +- 46 files changed, 1566 insertions(+), 666 deletions(-) diff --git a/apphub/v1/apphub-api.json b/apphub/v1/apphub-api.json index cca0b30b931..ad17976928a 100644 --- a/apphub/v1/apphub-api.json +++ b/apphub/v1/apphub-api.json @@ -396,7 +396,7 @@ } } }, - "revision": "20240104", + "revision": "20240116", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "AuditConfig": { @@ -640,6 +640,37 @@ }, "type": "object" }, + "ReconciliationOperationMetadata": { + "description": "Operation metadata returned by the CLH during resource state reconciliation.", + "id": "ReconciliationOperationMetadata", + "properties": { + "deleteResource": { + "deprecated": true, + "description": "DEPRECATED. Use exclusive_action instead.", + "type": "boolean" + }, + "exclusiveAction": { + "description": "Excluisive action returned by the CLH.", + "enum": [ + "UNKNOWN_REPAIR_ACTION", + "DELETE", + "RETRY" + ], + "enumDeprecated": [ + false, + true, + false + ], + "enumDescriptions": [ + "Unknown repair action.", + "The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", + "This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." + ], + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", diff --git a/apphub/v1/apphub-gen.go b/apphub/v1/apphub-gen.go index 31e4c8ea6ef..38eddd57b72 100644 --- a/apphub/v1/apphub-gen.go +++ b/apphub/v1/apphub-gen.go @@ -775,6 +775,49 @@ func (s *Policy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ReconciliationOperationMetadata: Operation metadata returned by the +// CLH during resource state reconciliation. +type ReconciliationOperationMetadata struct { + // DeleteResource: DEPRECATED. Use exclusive_action instead. + DeleteResource bool `json:"deleteResource,omitempty"` + + // ExclusiveAction: Excluisive action returned by the CLH. + // + // Possible values: + // "UNKNOWN_REPAIR_ACTION" - Unknown repair action. + // "DELETE" - The resource has to be deleted. When using this bit, the + // CLH should fail the operation. DEPRECATED. Instead use + // DELETE_RESOURCE OperationSignal in SideChannel. + // "RETRY" - This resource could not be repaired but the repair should + // be tried again at a later time. This can happen if there is a + // dependency that needs to be resolved first- e.g. if a parent resource + // must be repaired before a child resource. + ExclusiveAction string `json:"exclusiveAction,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DeleteResource") 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. "DeleteResource") 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 *ReconciliationOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod ReconciliationOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SetIamPolicyRequest: Request message for `SetIamPolicy` method. type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the diff --git a/batch/v1/batch-api.json b/batch/v1/batch-api.json index 6de316fe627..052f623e2b8 100644 --- a/batch/v1/batch-api.json +++ b/batch/v1/batch-api.json @@ -12,7 +12,7 @@ "baseUrl": "https://batch.googleapis.com/", "batchPath": "batch", "canonicalName": "Batch", - "description": "An API to manage the running of batch jobs on Google Cloud Platform.", + "description": "An API to manage the running of batch resources on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/batch/", "fullyEncodeReservedExpansion": true, @@ -561,7 +561,7 @@ } } }, - "revision": "20240103", + "revision": "20240112", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -774,11 +774,11 @@ "id": "AgentScript", "properties": { "path": { - "description": "Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.", + "description": "Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.", "type": "string" }, "text": { - "description": "Shell script text. To specify an interpreter, please add a `#!\\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.", + "description": "Shell script text. To specify an interpreter, please add a `#!\\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\\n` should be added.) Otherwise, the script will by default be executed by `/bin/sh`.", "type": "string" } }, @@ -1946,11 +1946,11 @@ "id": "Script", "properties": { "path": { - "description": "Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.", + "description": "Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.", "type": "string" }, "text": { - "description": "Shell script text. To specify an interpreter, please add a `#!\\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.", + "description": "Shell script text. To specify an interpreter, please add a `#!\\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\\n` should be added.) Otherwise, the script will by default be executed by `/bin/sh`.", "type": "string" } }, @@ -2097,7 +2097,7 @@ "type": "boolean" }, "runAsNonRoot": { - "description": "Optional. If not set or set to false, Batch will use root user to execute runnables. If set to true, Batch will make sure to run the runnables using non-root user. Currently, the non-root user Batch used is generated by OS login. Reference: https://cloud.google.com/compute/docs/oslogin", + "description": "Optional. If not set or set to false, Batch uses the root user to execute runnables. If set to true, Batch will make sure to run the runnables using a non-root user. Currently, the non-root user Batch used is generated by OS Login. For more information, see [About OS Login](https://cloud.google.com/compute/docs/oslogin).", "type": "boolean" }, "schedulingPolicy": { diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index 37114f78193..209275d3879 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -544,7 +544,7 @@ type AgentScript struct { // the file.(For example, to execute the script using bash, // `#!/bin/bash` should be the first line of the file. To execute the // script using`Python3`, `#!/usr/bin/env python3` should be the first - // line of the file.) Otherwise, the file will by default be excuted by + // line of the file.) Otherwise, the file will by default be executed by // `/bin/sh`. Path string `json:"path,omitempty"` @@ -552,7 +552,7 @@ type AgentScript struct { // `#!\n` at the beginning of the text.(For example, to execute the // script using bash, `#!/bin/bash\n` should be added. To execute the // script using`Python3`, `#!/usr/bin/env python3\n` should be added.) - // Otherwise, the script will by default be excuted by `/bin/sh`. + // Otherwise, the script will by default be executed by `/bin/sh`. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to @@ -2508,7 +2508,7 @@ type Script struct { // the file.(For example, to execute the script using bash, // `#!/bin/bash` should be the first line of the file. To execute the // script using`Python3`, `#!/usr/bin/env python3` should be the first - // line of the file.) Otherwise, the file will by default be excuted by + // line of the file.) Otherwise, the file will by default be executed by // `/bin/sh`. Path string `json:"path,omitempty"` @@ -2516,7 +2516,7 @@ type Script struct { // `#!\n` at the beginning of the text.(For example, to execute the // script using bash, `#!/bin/bash\n` should be added. To execute the // script using`Python3`, `#!/usr/bin/env python3\n` should be added.) - // Otherwise, the script will by default be excuted by `/bin/sh`. + // Otherwise, the script will by default be executed by `/bin/sh`. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to @@ -2767,11 +2767,11 @@ type TaskGroup struct { // environment variable to the path of that file. Defaults to false. RequireHostsFile bool `json:"requireHostsFile,omitempty"` - // RunAsNonRoot: Optional. If not set or set to false, Batch will use + // RunAsNonRoot: Optional. If not set or set to false, Batch uses the // root user to execute runnables. If set to true, Batch will make sure - // to run the runnables using non-root user. Currently, the non-root - // user Batch used is generated by OS login. Reference: - // https://cloud.google.com/compute/docs/oslogin + // to run the runnables using a non-root user. Currently, the non-root + // user Batch used is generated by OS Login. For more information, see + // About OS Login (https://cloud.google.com/compute/docs/oslogin). RunAsNonRoot bool `json:"runAsNonRoot,omitempty"` // SchedulingPolicy: Scheduling policy for Tasks in the TaskGroup. The diff --git a/connectors/v1/connectors-api.json b/connectors/v1/connectors-api.json index 638341222d4..49ae8ca5443 100644 --- a/connectors/v1/connectors-api.json +++ b/connectors/v1/connectors-api.json @@ -2354,7 +2354,7 @@ } } }, - "revision": "20240102", + "revision": "20240116", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -3434,7 +3434,7 @@ "type": "string" }, "serviceAccount": { - "description": "Required. Service account used by runtime plane to access auth config secrets.", + "description": "Optional. Service account used by runtime plane to access auth config secrets.", "type": "string" }, "specLocation": { @@ -3957,6 +3957,10 @@ "description": "Optional. Private Connectivity Enabled.", "type": "boolean" }, + "proxyDestinationConfig": { + "$ref": "DestinationConfig", + "description": "Optional. Proxy for Eventing auto-registration." + }, "registrationDestinationConfig": { "$ref": "DestinationConfig", "description": "Registration endpoint for auto registration." @@ -4023,6 +4027,10 @@ }, "type": "array" }, + "proxyDestinationConfig": { + "$ref": "DestinationConfigTemplate", + "description": "Proxy destination config template." + }, "registrationDestinationConfig": { "$ref": "DestinationConfigTemplate", "description": "Registration host destination config template." @@ -6004,6 +6012,11 @@ "networkConfig": { "$ref": "NetworkConfig", "description": "Optional. Regional network config." + }, + "provisioned": { + "description": "Output only. Specifies whether the region is provisioned.", + "readOnly": true, + "type": "boolean" } }, "type": "object" diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index bb27f6bd95e..abe94b7ac28 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -1574,7 +1574,7 @@ type CustomConnectorVersion struct { // ctor}/customConnectorVersions/{custom_connector_version} Name string `json:"name,omitempty"` - // ServiceAccount: Required. Service account used by runtime plane to + // ServiceAccount: Optional. Service account used by runtime plane to // access auth config secrets. ServiceAccount string `json:"serviceAccount,omitempty"` @@ -2371,6 +2371,10 @@ type EventingConfig struct { // PrivateConnectivityEnabled: Optional. Private Connectivity Enabled. PrivateConnectivityEnabled bool `json:"privateConnectivityEnabled,omitempty"` + // ProxyDestinationConfig: Optional. Proxy for Eventing + // auto-registration. + ProxyDestinationConfig *DestinationConfig `json:"proxyDestinationConfig,omitempty"` + // RegistrationDestinationConfig: Registration endpoint for auto // registration. RegistrationDestinationConfig *DestinationConfig `json:"registrationDestinationConfig,omitempty"` @@ -2439,6 +2443,9 @@ type EventingConfigTemplate struct { // the auth values for the event listener. ListenerAuthConfigTemplates []*AuthConfigTemplate `json:"listenerAuthConfigTemplates,omitempty"` + // ProxyDestinationConfig: Proxy destination config template. + ProxyDestinationConfig *DestinationConfigTemplate `json:"proxyDestinationConfig,omitempty"` + // RegistrationDestinationConfig: Registration host destination config // template. RegistrationDestinationConfig *DestinationConfigTemplate `json:"registrationDestinationConfig,omitempty"` @@ -5043,6 +5050,10 @@ type RegionalSettings struct { // NetworkConfig: Optional. Regional network config. NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"` + // Provisioned: Output only. Specifies whether the region is + // provisioned. + Provisioned bool `json:"provisioned,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index 5654cae035d..65cd59c6390 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -4360,7 +4360,7 @@ } } }, - "revision": "20231231", + "revision": "20240115", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -7136,7 +7136,7 @@ "Number of resources matched with particular Query.", "Rule processing exceeds the allowed limit.", "Rule processing errors.", - "Governance rule prcoessing Event." + "Governance rule processing Event." ], "type": "string" }, diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index 9ce520f5552..61b23d18f90 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -4708,7 +4708,7 @@ type GoogleCloudDataplexV1GovernanceEvent struct { // "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS" - Rule processing exceeds // the allowed limit. // "GOVERNANCE_RULE_ERRORS" - Rule processing errors. - // "GOVERNANCE_RULE_PROCESSING" - Governance rule prcoessing Event. + // "GOVERNANCE_RULE_PROCESSING" - Governance rule processing Event. EventType string `json:"eventType,omitempty"` // Message: The log message. diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 7933b9c7d3e..d63bdb9ba4a 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8327,7 +8327,7 @@ } } }, - "revision": "20240102", + "revision": "20240113", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9288,6 +9288,10 @@ ], "type": "string" }, + "optOutConformerModelMigration": { + "description": "If `true`, the request will opt out for STT conformer model migration. This field will be deprecated once force migration takes place in June 2024.", + "type": "boolean" + }, "phraseHints": { "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", "items": { @@ -10085,7 +10089,7 @@ "id": "GoogleCloudDialogflowCxV3TextInput", "properties": { "text": { - "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "description": "Required. The UTF-8 encoded natural language text to be processed.", "type": "string" } }, @@ -11496,6 +11500,10 @@ ], "type": "string" }, + "optOutConformerModelMigration": { + "description": "If `true`, the request will opt out for STT conformer model migration. This field will be deprecated once force migration takes place in June 2024.", + "type": "boolean" + }, "phraseHints": { "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", "items": { @@ -12277,7 +12285,7 @@ "id": "GoogleCloudDialogflowCxV3beta1TextInput", "properties": { "text": { - "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "description": "Required. The UTF-8 encoded natural language text to be processed.", "type": "string" } }, @@ -15293,6 +15301,10 @@ ], "type": "string" }, + "optOutConformerModelMigration": { + "description": "If `true`, the request will opt out for STT conformer model migration. This field will be deprecated once force migration takes place in June 2024.", + "type": "boolean" + }, "phraseHints": { "deprecated": true, "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().", diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index a6a252e5739..372ee2723f2 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -2760,6 +2760,11 @@ type GoogleCloudDialogflowCxV3InputAudioConfig struct { // odels) describes which models have enhanced variants. ModelVariant string `json:"modelVariant,omitempty"` + // OptOutConformerModelMigration: If `true`, the request will opt out + // for STT conformer model migration. This field will be deprecated once + // force migration takes place in June 2024. + OptOutConformerModelMigration bool `json:"optOutConformerModelMigration,omitempty"` + // PhraseHints: Optional. A list of strings containing words and phrases // that the speech recognizer should recognize with higher likelihood. // See the Cloud Speech documentation @@ -4223,7 +4228,7 @@ func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, erro // text to be processed. type GoogleCloudDialogflowCxV3TextInput struct { // Text: Required. The UTF-8 encoded natural language text to be - // processed. Text length must not exceed 256 characters. + // processed. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to @@ -6846,6 +6851,11 @@ type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { // odels) describes which models have enhanced variants. ModelVariant string `json:"modelVariant,omitempty"` + // OptOutConformerModelMigration: If `true`, the request will opt out + // for STT conformer model migration. This field will be deprecated once + // force migration takes place in June 2024. + OptOutConformerModelMigration bool `json:"optOutConformerModelMigration,omitempty"` + // PhraseHints: Optional. A list of strings containing words and phrases // that the speech recognizer should recognize with higher likelihood. // See the Cloud Speech documentation @@ -8302,7 +8312,7 @@ func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, // language text to be processed. type GoogleCloudDialogflowCxV3beta1TextInput struct { // Text: Required. The UTF-8 encoded natural language text to be - // processed. Text length must not exceed 256 characters. + // processed. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to @@ -13660,6 +13670,11 @@ type GoogleCloudDialogflowV2InputAudioConfig struct { // to make your project eligible. ModelVariant string `json:"modelVariant,omitempty"` + // OptOutConformerModelMigration: If `true`, the request will opt out + // for STT conformer model migration. This field will be deprecated once + // force migration takes place in June 2024. + OptOutConformerModelMigration bool `json:"optOutConformerModelMigration,omitempty"` + // PhraseHints: A list of strings containing words and phrases that the // speech recognizer should recognize with higher likelihood. See the // Cloud Speech documentation diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index df01caf400a..5f26795ff82 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -530,7 +530,7 @@ ] }, "list": { - "description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.", + "description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.", "flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields", "httpMethod": "GET", "id": "firestore.projects.databases.collectionGroups.fields.list", @@ -1672,7 +1672,7 @@ } } }, - "revision": "20240109", + "revision": "20240117", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2016,6 +2016,7 @@ "additionalProperties": { "$ref": "Value" }, + "description": "The document's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The field names, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used in other contexts to refer to structured fields defined here. For `map_value`, the field path is represented by a dot-delimited (`.`) string of segments. Each segment is either a simple field name (defined below) or a quoted field name. For example, the structured field `\"foo\" : { map_value: { \"x\u0026y\" : { string_value: \"hello\" }}}` would be represented by the field path `` foo.`x\u0026y` ``. A simple field name contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For example, `foo_bar_17`. A quoted field name starts and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must be escaped using a `\\`. For example, `` `x\u0026y` `` represents `x\u0026y` and `` `bak\\`tik` `` represents `` bak`tik ``.", "type": "object" }, "name": { @@ -3979,7 +3980,7 @@ "type": "object" }, "StructuredQuery": { - "description": "A Firestore query.", + "description": "A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit", "id": "StructuredQuery", "properties": { "endAt": { diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index d40f7208a88..435a8c8bbf4 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -966,6 +966,23 @@ type Document struct { // the `read_time` of a query. CreateTime string `json:"createTime,omitempty"` + // Fields: The document's fields. The map keys represent field names. + // Field names matching the regular expression `__.*__` are reserved. + // Reserved field names are forbidden except in certain documented + // contexts. The field names, represented as UTF-8, must not exceed + // 1,500 bytes and cannot be empty. Field paths may be used in other + // contexts to refer to structured fields defined here. For `map_value`, + // the field path is represented by a dot-delimited (`.`) string of + // segments. Each segment is either a simple field name (defined below) + // or a quoted field name. For example, the structured field "foo" : { + // map_value: { "x&y" : { string_value: "hello" }}}` would be + // represented by the field path `` foo.`x&y` ``. A simple field name + // contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, + // and must not start with `0` to `9`. For example, `foo_bar_17`. A + // quoted field name starts and ends with `` ` `` and may contain any + // character. Some characters, including `` ` ``, must be escaped using + // a `\`. For example, `` `x&y` `` represents `x&y` and `` `bak\`tik` `` + // represents `` bak`tik ``. Fields map[string]Value `json:"fields,omitempty"` // Name: The resource name of the document, for example @@ -4261,7 +4278,9 @@ func (s *StructuredAggregationQuery) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// StructuredQuery: A Firestore query. +// StructuredQuery: A Firestore query. The query stages are executed in +// the following order: 1. from 2. where 3. select 4. order_by + +// start_at + end_at 5. offset 6. limit type StructuredQuery struct { // EndAt: A potential prefix of a position in the result set to end the // query at. This is similar to `START_AT` but with it controlling the @@ -7002,7 +7021,7 @@ type ProjectsDatabasesCollectionGroupsFieldsListCall struct { // Currently, FirestoreAdmin.ListFields only supports listing fields // that have been explicitly overridden. To issue this query, call // FirestoreAdmin.ListFields with the filter set to -// `indexConfig.usesAncestorConfig:false or `ttlConfig:*`. +// `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`. // // - parent: A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{col @@ -7139,7 +7158,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.", + // "description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.", // "flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields", // "httpMethod": "GET", // "id": "firestore.projects.databases.collectionGroups.fields.list", diff --git a/firestore/v1beta1/firestore-api.json b/firestore/v1beta1/firestore-api.json index f56caa3abd5..d043df69b68 100644 --- a/firestore/v1beta1/firestore-api.json +++ b/firestore/v1beta1/firestore-api.json @@ -950,7 +950,7 @@ } } }, - "revision": "20240109", + "revision": "20240117", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -1294,6 +1294,7 @@ "additionalProperties": { "$ref": "Value" }, + "description": "The document's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The field names, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used in other contexts to refer to structured fields defined here. For `map_value`, the field path is represented by a dot-delimited (`.`) string of segments. Each segment is either a simple field name (defined below) or a quoted field name. For example, the structured field `\"foo\" : { map_value: { \"x\u0026y\" : { string_value: \"hello\" }}}` would be represented by the field path `` foo.`x\u0026y` ``. A simple field name contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For example, `foo_bar_17`. A quoted field name starts and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must be escaped using a `\\`. For example, `` `x\u0026y` `` represents `x\u0026y` and `` `bak\\`tik` `` represents `` bak`tik ``.", "type": "object" }, "name": { @@ -2520,7 +2521,7 @@ "type": "object" }, "StructuredQuery": { - "description": "A Firestore query.", + "description": "A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit", "id": "StructuredQuery", "properties": { "endAt": { diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go index a4000f74fba..1c93954264f 100644 --- a/firestore/v1beta1/firestore-gen.go +++ b/firestore/v1beta1/firestore-gen.go @@ -894,6 +894,23 @@ type Document struct { // the `read_time` of a query. CreateTime string `json:"createTime,omitempty"` + // Fields: The document's fields. The map keys represent field names. + // Field names matching the regular expression `__.*__` are reserved. + // Reserved field names are forbidden except in certain documented + // contexts. The field names, represented as UTF-8, must not exceed + // 1,500 bytes and cannot be empty. Field paths may be used in other + // contexts to refer to structured fields defined here. For `map_value`, + // the field path is represented by a dot-delimited (`.`) string of + // segments. Each segment is either a simple field name (defined below) + // or a quoted field name. For example, the structured field "foo" : { + // map_value: { "x&y" : { string_value: "hello" }}}` would be + // represented by the field path `` foo.`x&y` ``. A simple field name + // contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, + // and must not start with `0` to `9`. For example, `foo_bar_17`. A + // quoted field name starts and ends with `` ` `` and may contain any + // character. Some characters, including `` ` ``, must be escaped using + // a `\`. For example, `` `x&y` `` represents `x&y` and `` `bak\`tik` `` + // represents `` bak`tik ``. Fields map[string]Value `json:"fields,omitempty"` // Name: The resource name of the document, for example @@ -3066,7 +3083,9 @@ func (s *StructuredAggregationQuery) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// StructuredQuery: A Firestore query. +// StructuredQuery: A Firestore query. The query stages are executed in +// the following order: 1. from 2. where 3. select 4. order_by + +// start_at + end_at 5. offset 6. limit type StructuredQuery struct { // EndAt: A potential prefix of a position in the result set to end the // query at. This is similar to `START_AT` but with it controlling the diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 8d1c0fa5d4a..4ef3e4f9cc3 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1834,7 +1834,7 @@ } } }, - "revision": "20231206", + "revision": "20240113", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -1976,7 +1976,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, @@ -2254,6 +2254,10 @@ "$ref": "ClusterUpgradeFleetSpec", "description": "ClusterUpgrade (fleet-based) feature spec." }, + "dataplanev2": { + "$ref": "DataplaneV2FeatureSpec", + "description": "DataplaneV2 feature spec." + }, "fleetobservability": { "$ref": "FleetObservabilityFeatureSpec", "description": "FleetObservability feature spec." @@ -2507,6 +2511,42 @@ }, "type": "array" }, + "reposyncCrd": { + "description": "The state of the Reposync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, + "rootsyncCrd": { + "description": "The state of the RootSync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, "syncState": { "$ref": "ConfigManagementSyncState", "description": "The state of ConfigSync's process to sync configs to a cluster" @@ -3147,6 +3187,17 @@ }, "type": "object" }, + "DataplaneV2FeatureSpec": { + "description": "**Dataplane V2**: Spec", + "id": "DataplaneV2FeatureSpec", + "properties": { + "enableEncryption": { + "description": "Enable dataplane-v2 based encryption for multiple clusters.", + "type": "boolean" + } + }, + "type": "object" + }, "DefaultClusterConfig": { "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", "id": "DefaultClusterConfig", diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index f9effbc9ad4..98a6dfe96d8 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -604,11 +604,34 @@ type Binding struct { // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * - // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus - // unique identifier) representing a user that has been recently - // deleted. For example, `alice@example.com?uid=123456789012345678901`. - // If the user is recovered, this value reverts to `user:{emailid}` and - // the recovered user retains the role in the binding. * + // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ + // id}/subject/{subject_attribute_value}`: A single identity in a + // workforce identity pool. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/group/{group_id}`: All workforce identities in a group. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce + // identities with a specific attribute value. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/*`: All identities in a workforce identity pool. * + // `principal://iam.googleapis.com/projects/{project_number}/locations/gl + // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} + // `: A single identity in a workload identity pool. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload + // identity pool group. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at + // tribute_value}`: All identities in a workload identity pool with a + // certain attribute. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/*`: All identities in a + // workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -620,7 +643,12 @@ type Binding struct { // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered - // group retains the role in the binding. + // group retains the role in the binding. * + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single + // identity in a workforce identity pool. For example, + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/my-pool-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. @@ -1105,6 +1133,9 @@ type CommonFeatureSpec struct { // Clusterupgrade: ClusterUpgrade (fleet-based) feature spec. Clusterupgrade *ClusterUpgradeFleetSpec `json:"clusterupgrade,omitempty"` + // Dataplanev2: DataplaneV2 feature spec. + Dataplanev2 *DataplaneV2FeatureSpec `json:"dataplanev2,omitempty"` + // Fleetobservability: FleetObservability feature spec. Fleetobservability *FleetObservabilityFeatureSpec `json:"fleetobservability,omitempty"` @@ -1419,6 +1450,28 @@ type ConfigManagementConfigSyncState struct { // Errors: Errors pertaining to the installation of Config Sync. Errors []*ConfigManagementConfigSyncError `json:"errors,omitempty"` + // ReposyncCrd: The state of the Reposync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + ReposyncCrd string `json:"reposyncCrd,omitempty"` + + // RootsyncCrd: The state of the RootSync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + RootsyncCrd string `json:"rootsyncCrd,omitempty"` + // SyncState: The state of ConfigSync's process to sync configs to a // cluster SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` @@ -2405,6 +2458,36 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DataplaneV2FeatureSpec: **Dataplane V2**: Spec +type DataplaneV2FeatureSpec struct { + // EnableEncryption: Enable dataplane-v2 based encryption for multiple + // clusters. + EnableEncryption bool `json:"enableEncryption,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EnableEncryption") 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. "EnableEncryption") 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 *DataplaneV2FeatureSpec) MarshalJSON() ([]byte, error) { + type NoMethod DataplaneV2FeatureSpec + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DefaultClusterConfig: DefaultClusterConfig describes the default // cluster configurations to be applied to all clusters born-in-fleet. type DefaultClusterConfig struct { diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 5993774cb73..25332dd9325 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2098,7 +2098,7 @@ } } }, - "revision": "20231206", + "revision": "20240113", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2270,7 +2270,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, @@ -2652,6 +2652,10 @@ "$ref": "ClusterUpgradeFleetSpec", "description": "ClusterUpgrade (fleet-based) feature spec." }, + "dataplanev2": { + "$ref": "DataplaneV2FeatureSpec", + "description": "DataplaneV2 feature spec." + }, "fleetobservability": { "$ref": "FleetObservabilityFeatureSpec", "description": "FleetObservability feature spec." @@ -2972,6 +2976,42 @@ }, "type": "array" }, + "reposyncCrd": { + "description": "The state of the Reposync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, + "rootsyncCrd": { + "description": "The state of the RootSync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, "syncState": { "$ref": "ConfigManagementSyncState", "description": "The state of ConfigSync's process to sync configs to a cluster" @@ -3621,6 +3661,17 @@ }, "type": "object" }, + "DataplaneV2FeatureSpec": { + "description": "**Dataplane V2**: Spec", + "id": "DataplaneV2FeatureSpec", + "properties": { + "enableEncryption": { + "description": "Enable dataplane-v2 based encryption for multiple clusters.", + "type": "boolean" + } + }, + "type": "object" + }, "DefaultClusterConfig": { "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", "id": "DefaultClusterConfig", diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index 809519cb404..47f43f2695f 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -687,11 +687,34 @@ type Binding struct { // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * - // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus - // unique identifier) representing a user that has been recently - // deleted. For example, `alice@example.com?uid=123456789012345678901`. - // If the user is recovered, this value reverts to `user:{emailid}` and - // the recovered user retains the role in the binding. * + // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ + // id}/subject/{subject_attribute_value}`: A single identity in a + // workforce identity pool. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/group/{group_id}`: All workforce identities in a group. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce + // identities with a specific attribute value. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/*`: All identities in a workforce identity pool. * + // `principal://iam.googleapis.com/projects/{project_number}/locations/gl + // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} + // `: A single identity in a workload identity pool. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload + // identity pool group. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at + // tribute_value}`: All identities in a workload identity pool with a + // certain attribute. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/*`: All identities in a + // workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -703,7 +726,12 @@ type Binding struct { // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered - // group retains the role in the binding. + // group retains the role in the binding. * + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single + // identity in a workforce identity pool. For example, + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/my-pool-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. @@ -1360,6 +1388,9 @@ type CommonFeatureSpec struct { // Clusterupgrade: ClusterUpgrade (fleet-based) feature spec. Clusterupgrade *ClusterUpgradeFleetSpec `json:"clusterupgrade,omitempty"` + // Dataplanev2: DataplaneV2 feature spec. + Dataplanev2 *DataplaneV2FeatureSpec `json:"dataplanev2,omitempty"` + // Fleetobservability: FleetObservability feature spec. Fleetobservability *FleetObservabilityFeatureSpec `json:"fleetobservability,omitempty"` @@ -1782,6 +1813,28 @@ type ConfigManagementConfigSyncState struct { // Errors: Errors pertaining to the installation of Config Sync. Errors []*ConfigManagementConfigSyncError `json:"errors,omitempty"` + // ReposyncCrd: The state of the Reposync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + ReposyncCrd string `json:"reposyncCrd,omitempty"` + + // RootsyncCrd: The state of the RootSync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + RootsyncCrd string `json:"rootsyncCrd,omitempty"` + // SyncState: The state of ConfigSync's process to sync configs to a // cluster SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` @@ -2775,6 +2828,36 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DataplaneV2FeatureSpec: **Dataplane V2**: Spec +type DataplaneV2FeatureSpec struct { + // EnableEncryption: Enable dataplane-v2 based encryption for multiple + // clusters. + EnableEncryption bool `json:"enableEncryption,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EnableEncryption") 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. "EnableEncryption") 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 *DataplaneV2FeatureSpec) MarshalJSON() ([]byte, error) { + type NoMethod DataplaneV2FeatureSpec + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DefaultClusterConfig: DefaultClusterConfig describes the default // cluster configurations to be applied to all clusters born-in-fleet. type DefaultClusterConfig struct { diff --git a/gkehub/v1alpha2/gkehub-api.json b/gkehub/v1alpha2/gkehub-api.json index 883602a880c..0a13286c1e7 100644 --- a/gkehub/v1alpha2/gkehub-api.json +++ b/gkehub/v1alpha2/gkehub-api.json @@ -657,7 +657,7 @@ } } }, - "revision": "20231006", + "revision": "20240113", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { @@ -754,7 +754,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, diff --git a/gkehub/v1alpha2/gkehub-gen.go b/gkehub/v1alpha2/gkehub-gen.go index 7b9806c6faf..f0fd07b6051 100644 --- a/gkehub/v1alpha2/gkehub-gen.go +++ b/gkehub/v1alpha2/gkehub-gen.go @@ -443,11 +443,34 @@ type Binding struct { // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * - // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus - // unique identifier) representing a user that has been recently - // deleted. For example, `alice@example.com?uid=123456789012345678901`. - // If the user is recovered, this value reverts to `user:{emailid}` and - // the recovered user retains the role in the binding. * + // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ + // id}/subject/{subject_attribute_value}`: A single identity in a + // workforce identity pool. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/group/{group_id}`: All workforce identities in a group. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce + // identities with a specific attribute value. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/*`: All identities in a workforce identity pool. * + // `principal://iam.googleapis.com/projects/{project_number}/locations/gl + // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} + // `: A single identity in a workload identity pool. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload + // identity pool group. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at + // tribute_value}`: All identities in a workload identity pool with a + // certain attribute. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/*`: All identities in a + // workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -459,7 +482,12 @@ type Binding struct { // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered - // group retains the role in the binding. + // group retains the role in the binding. * + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single + // identity in a workforce identity pool. For example, + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/my-pool-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 6c327e760fe..a2da3f8f9ef 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2024,7 +2024,7 @@ } } }, - "revision": "20231206", + "revision": "20240113", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2196,7 +2196,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, @@ -2478,6 +2478,10 @@ "$ref": "ClusterUpgradeFleetSpec", "description": "ClusterUpgrade (fleet-based) feature spec." }, + "dataplanev2": { + "$ref": "DataplaneV2FeatureSpec", + "description": "DataplaneV2 feature spec." + }, "fleetobservability": { "$ref": "FleetObservabilityFeatureSpec", "description": "FleetObservability feature spec." @@ -2782,6 +2786,42 @@ }, "type": "array" }, + "reposyncCrd": { + "description": "The state of the Reposync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, + "rootsyncCrd": { + "description": "The state of the RootSync CRD", + "enum": [ + "CRD_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "TERMINATING", + "INSTALLING" + ], + "enumDescriptions": [ + "CRD's state cannot be determined", + "CRD is not installed", + "CRD is installed", + "CRD is terminating (i.e., it has been deleted and is cleaning up)", + "CRD is installing" + ], + "type": "string" + }, "syncState": { "$ref": "ConfigManagementSyncState", "description": "The state of ConfigSync's process to sync configs to a cluster" @@ -3431,6 +3471,17 @@ }, "type": "object" }, + "DataplaneV2FeatureSpec": { + "description": "**Dataplane V2**: Spec", + "id": "DataplaneV2FeatureSpec", + "properties": { + "enableEncryption": { + "description": "Enable dataplane-v2 based encryption for multiple clusters.", + "type": "boolean" + } + }, + "type": "object" + }, "DefaultClusterConfig": { "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", "id": "DefaultClusterConfig", diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 0abf426101b..e40f187c33e 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -687,11 +687,34 @@ type Binding struct { // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * - // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus - // unique identifier) representing a user that has been recently - // deleted. For example, `alice@example.com?uid=123456789012345678901`. - // If the user is recovered, this value reverts to `user:{emailid}` and - // the recovered user retains the role in the binding. * + // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ + // id}/subject/{subject_attribute_value}`: A single identity in a + // workforce identity pool. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/group/{group_id}`: All workforce identities in a group. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce + // identities with a specific attribute value. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/*`: All identities in a workforce identity pool. * + // `principal://iam.googleapis.com/projects/{project_number}/locations/gl + // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} + // `: A single identity in a workload identity pool. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload + // identity pool group. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at + // tribute_value}`: All identities in a workload identity pool with a + // certain attribute. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/*`: All identities in a + // workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -703,7 +726,12 @@ type Binding struct { // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered - // group retains the role in the binding. + // group retains the role in the binding. * + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single + // identity in a workforce identity pool. For example, + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/my-pool-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. @@ -1191,6 +1219,9 @@ type CommonFeatureSpec struct { // Clusterupgrade: ClusterUpgrade (fleet-based) feature spec. Clusterupgrade *ClusterUpgradeFleetSpec `json:"clusterupgrade,omitempty"` + // Dataplanev2: DataplaneV2 feature spec. + Dataplanev2 *DataplaneV2FeatureSpec `json:"dataplanev2,omitempty"` + // Fleetobservability: FleetObservability feature spec. Fleetobservability *FleetObservabilityFeatureSpec `json:"fleetobservability,omitempty"` @@ -1601,6 +1632,28 @@ type ConfigManagementConfigSyncState struct { // Errors: Errors pertaining to the installation of Config Sync. Errors []*ConfigManagementConfigSyncError `json:"errors,omitempty"` + // ReposyncCrd: The state of the Reposync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + ReposyncCrd string `json:"reposyncCrd,omitempty"` + + // RootsyncCrd: The state of the RootSync CRD + // + // Possible values: + // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined + // "NOT_INSTALLED" - CRD is not installed + // "INSTALLED" - CRD is installed + // "TERMINATING" - CRD is terminating (i.e., it has been deleted and + // is cleaning up) + // "INSTALLING" - CRD is installing + RootsyncCrd string `json:"rootsyncCrd,omitempty"` + // SyncState: The state of ConfigSync's process to sync configs to a // cluster SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` @@ -2594,6 +2647,36 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DataplaneV2FeatureSpec: **Dataplane V2**: Spec +type DataplaneV2FeatureSpec struct { + // EnableEncryption: Enable dataplane-v2 based encryption for multiple + // clusters. + EnableEncryption bool `json:"enableEncryption,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EnableEncryption") 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. "EnableEncryption") 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 *DataplaneV2FeatureSpec) MarshalJSON() ([]byte, error) { + type NoMethod DataplaneV2FeatureSpec + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DefaultClusterConfig: DefaultClusterConfig describes the default // cluster configurations to be applied to all clusters born-in-fleet. type DefaultClusterConfig struct { diff --git a/gkehub/v1beta1/gkehub-api.json b/gkehub/v1beta1/gkehub-api.json index b184314d850..5aa84d35484 100644 --- a/gkehub/v1beta1/gkehub-api.json +++ b/gkehub/v1beta1/gkehub-api.json @@ -712,7 +712,7 @@ } } }, - "revision": "20231006", + "revision": "20240113", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { @@ -809,7 +809,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go index ec2b384a09f..87778cdd53c 100644 --- a/gkehub/v1beta1/gkehub-gen.go +++ b/gkehub/v1beta1/gkehub-gen.go @@ -419,11 +419,34 @@ type Binding struct { // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * - // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus - // unique identifier) representing a user that has been recently - // deleted. For example, `alice@example.com?uid=123456789012345678901`. - // If the user is recovered, this value reverts to `user:{emailid}` and - // the recovered user retains the role in the binding. * + // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ + // id}/subject/{subject_attribute_value}`: A single identity in a + // workforce identity pool. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/group/{group_id}`: All workforce identities in a group. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce + // identities with a specific attribute value. * + // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po + // ol_id}/*`: All identities in a workforce identity pool. * + // `principal://iam.googleapis.com/projects/{project_number}/locations/gl + // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} + // `: A single identity in a workload identity pool. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload + // identity pool group. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at + // tribute_value}`: All identities in a workload identity pool with a + // certain attribute. * + // `principalSet://iam.googleapis.com/projects/{project_number}/locations + // /global/workloadIdentityPools/{pool_id}/*`: All identities in a + // workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -435,7 +458,12 @@ type Binding struct { // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered - // group retains the role in the binding. + // group retains the role in the binding. * + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single + // identity in a workforce identity pool. For example, + // `deleted:principal://iam.googleapis.com/locations/global/workforcePool + // s/my-pool-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. diff --git a/metastore/v1/metastore-api.json b/metastore/v1/metastore-api.json index fc4b179238e..7577b420341 100644 --- a/metastore/v1/metastore-api.json +++ b/metastore/v1/metastore-api.json @@ -1367,7 +1367,7 @@ } } }, - "revision": "20231214", + "revision": "20240111", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2536,7 +2536,7 @@ "id": "RestoreServiceRequest", "properties": { "backup": { - "description": "Required. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", + "description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", "type": "string" }, "requestId": { diff --git a/metastore/v1/metastore-gen.go b/metastore/v1/metastore-gen.go index fe23076a93b..dd9920ae62d 100644 --- a/metastore/v1/metastore-gen.go +++ b/metastore/v1/metastore-gen.go @@ -2214,10 +2214,11 @@ func (s *Restore) MarshalJSON() ([]byte, error) { // RestoreServiceRequest: Request message for DataprocMetastore.Restore. type RestoreServiceRequest struct { - // Backup: Required. The relative resource name of the metastore service + // Backup: Optional. The relative resource name of the metastore service // backup to restore from, in the following // form:projects/{project_id}/locations/{location_id}/services/{service_i - // d}/backups/{backup_id}. + // d}/backups/{backup_id}. Mutually exclusive with backup_location, and + // exactly one of the two must be set. Backup string `json:"backup,omitempty"` // RequestId: Optional. A request ID. Specify a unique request ID to diff --git a/metastore/v1alpha/metastore-api.json b/metastore/v1alpha/metastore-api.json index 367fab76d99..c9d6159f237 100644 --- a/metastore/v1alpha/metastore-api.json +++ b/metastore/v1alpha/metastore-api.json @@ -1607,7 +1607,7 @@ } } }, - "revision": "20231214", + "revision": "20240111", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2833,7 +2833,7 @@ "id": "RestoreServiceRequest", "properties": { "backup": { - "description": "Required. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", + "description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", "type": "string" }, "requestId": { diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 1a05ebb3efe..1fdaec07751 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -2369,10 +2369,11 @@ func (s *Restore) MarshalJSON() ([]byte, error) { // RestoreServiceRequest: Request message for DataprocMetastore.Restore. type RestoreServiceRequest struct { - // Backup: Required. The relative resource name of the metastore service + // Backup: Optional. The relative resource name of the metastore service // backup to restore from, in the following // form:projects/{project_id}/locations/{location_id}/services/{service_i - // d}/backups/{backup_id}. + // d}/backups/{backup_id}. Mutually exclusive with backup_location, and + // exactly one of the two must be set. Backup string `json:"backup,omitempty"` // RequestId: Optional. A request ID. Specify a unique request ID to diff --git a/notebooks/v2/notebooks-api.json b/notebooks/v2/notebooks-api.json index 7283d4962a9..b52e028ad94 100644 --- a/notebooks/v2/notebooks-api.json +++ b/notebooks/v2/notebooks-api.json @@ -522,6 +522,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "resizeDisk": { + "description": "Resize a notebook instance disk to a higher capacity.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:resizeDisk", + "httpMethod": "POST", + "id": "notebooks.projects.locations.instances.resizeDisk", + "parameterOrder": [ + "notebookInstance" + ], + "parameters": { + "notebookInstance": { + "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+notebookInstance}:resizeDisk", + "request": { + "$ref": "ResizeDiskRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "rollback": { "description": "Rollbacks a notebook instance to the previous version.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rollback", @@ -848,7 +876,7 @@ } } }, - "revision": "20231213", + "revision": "20231227", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1693,6 +1721,21 @@ "properties": {}, "type": "object" }, + "ResizeDiskRequest": { + "description": "Request for resizing the notebook instance disks", + "id": "ResizeDiskRequest", + "properties": { + "bootDisk": { + "$ref": "BootDisk", + "description": "Required. The boot disk to be resized. Only disk_size_gb will be used." + }, + "dataDisk": { + "$ref": "DataDisk", + "description": "Required. The data disk to be resized. Only disk_size_gb will be used." + } + }, + "type": "object" + }, "RollbackInstanceRequest": { "description": "Request for rollbacking a notebook instance", "id": "RollbackInstanceRequest", diff --git a/notebooks/v2/notebooks-gen.go b/notebooks/v2/notebooks-gen.go index af6fb6288d1..08fe4c86087 100644 --- a/notebooks/v2/notebooks-gen.go +++ b/notebooks/v2/notebooks-gen.go @@ -1579,6 +1579,39 @@ func (s *ReportInstanceInfoSystemRequest) MarshalJSON() ([]byte, error) { type ResetInstanceRequest struct { } +// ResizeDiskRequest: Request for resizing the notebook instance disks +type ResizeDiskRequest struct { + // BootDisk: Required. The boot disk to be resized. Only disk_size_gb + // will be used. + BootDisk *BootDisk `json:"bootDisk,omitempty"` + + // DataDisk: Required. The data disk to be resized. Only disk_size_gb + // will be used. + DataDisk *DataDisk `json:"dataDisk,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BootDisk") 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. "BootDisk") 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 *ResizeDiskRequest) MarshalJSON() ([]byte, error) { + type NoMethod ResizeDiskRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // RollbackInstanceRequest: Request for rollbacking a notebook instance type RollbackInstanceRequest struct { // RevisionId: Required. Output only. Revision Id @@ -4118,6 +4151,149 @@ func (c *ProjectsLocationsInstancesResetCall) Do(opts ...googleapi.CallOption) ( } +// method id "notebooks.projects.locations.instances.resizeDisk": + +type ProjectsLocationsInstancesResizeDiskCall struct { + s *Service + notebookInstance string + resizediskrequest *ResizeDiskRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ResizeDisk: Resize a notebook instance disk to a higher capacity. +// +// - notebookInstance: Format: +// `projects/{project_id}/locations/{location}/instances/{instance_id}`. +func (r *ProjectsLocationsInstancesService) ResizeDisk(notebookInstance string, resizediskrequest *ResizeDiskRequest) *ProjectsLocationsInstancesResizeDiskCall { + c := &ProjectsLocationsInstancesResizeDiskCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.notebookInstance = notebookInstance + c.resizediskrequest = resizediskrequest + 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 *ProjectsLocationsInstancesResizeDiskCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesResizeDiskCall { + 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 *ProjectsLocationsInstancesResizeDiskCall) Context(ctx context.Context) *ProjectsLocationsInstancesResizeDiskCall { + 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 *ProjectsLocationsInstancesResizeDiskCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsInstancesResizeDiskCall) 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.resizediskrequest) + 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, "v2/{+notebookInstance}:resizeDisk") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "notebookInstance": c.notebookInstance, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "notebooks.projects.locations.instances.resizeDisk" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.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 *ProjectsLocationsInstancesResizeDiskCall) Do(opts ...googleapi.CallOption) (*Operation, 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 := &Operation{ + 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": "Resize a notebook instance disk to a higher capacity.", + // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:resizeDisk", + // "httpMethod": "POST", + // "id": "notebooks.projects.locations.instances.resizeDisk", + // "parameterOrder": [ + // "notebookInstance" + // ], + // "parameters": { + // "notebookInstance": { + // "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2/{+notebookInstance}:resizeDisk", + // "request": { + // "$ref": "ResizeDiskRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "notebooks.projects.locations.instances.rollback": type ProjectsLocationsInstancesRollbackCall struct { diff --git a/redis/v1/redis-api.json b/redis/v1/redis-api.json index 6dab4b9c1a8..c5123023395 100644 --- a/redis/v1/redis-api.json +++ b/redis/v1/redis-api.json @@ -821,7 +821,7 @@ } } }, - "revision": "20231129", + "revision": "20240111", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -1277,7 +1277,7 @@ "type": "object" }, "redisVersion": { - "description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility", + "description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility", "type": "string" }, "replicaCount": { diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 93c9d38f2ce..f13b982785c 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -853,7 +853,8 @@ type Instance struct { // provided, latest supported version will be used. Currently, the // supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * // `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for - // Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility + // Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * + // `REDIS_7_0` for Redis 7.0 compatibility RedisVersion string `json:"redisVersion,omitempty"` // ReplicaCount: Optional. The number of replica nodes. The valid range diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index 358bdc84f7c..43d94da7052 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -821,7 +821,7 @@ } } }, - "revision": "20231129", + "revision": "20240111", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -1284,7 +1284,7 @@ "type": "object" }, "redisVersion": { - "description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility", + "description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility", "type": "string" }, "replicaCount": { diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 0896cad2029..82d4fdb9ba2 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -858,7 +858,8 @@ type Instance struct { // provided, latest supported version will be used. Currently, the // supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * // `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for - // Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility + // Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * + // `REDIS_7_0` for Redis 7.0 compatibility RedisVersion string `json:"redisVersion,omitempty"` // ReplicaCount: Optional. The number of replica nodes. The valid range diff --git a/sqladmin/v1/sqladmin-api.json b/sqladmin/v1/sqladmin-api.json index 967c526228d..e17857c79d0 100644 --- a/sqladmin/v1/sqladmin-api.json +++ b/sqladmin/v1/sqladmin-api.json @@ -2200,7 +2200,7 @@ } } }, - "revision": "20240101", + "revision": "20240115", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3176,8 +3176,8 @@ ], "enumDescriptions": [ "", - "Instance is a Tenancy Unit (TU) instance.", - "Instance is an Umbrella instance." + "The instance uses the new network architecture.", + "The instance uses the old network architecture." ], "type": "string" }, @@ -3520,6 +3520,10 @@ }, "type": "object" }, + "parallel": { + "description": "Optional. Whether or not the export should be parallel.", + "type": "boolean" + }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -3530,6 +3534,11 @@ "type": "string" }, "type": "array" + }, + "threads": { + "description": "Optional. The number of threads to use for parallel export.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -5210,7 +5219,8 @@ "TURN_ON_PITR_AFTER_PROMOTE", "INCOMPATIBLE_DATABASE_MINOR_VERSION", "SOURCE_MAX_SUBSCRIPTIONS", - "UNABLE_TO_VERIFY_DEFINERS" + "UNABLE_TO_VERIFY_DEFINERS", + "SUBSCRIPTION_CALCULATION_STATUS" ], "enumDescriptions": [ "", @@ -5252,7 +5262,8 @@ "This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.", "The minor version of replica database is incompatible with the source.", "This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.", - "Unable to verify definers on the source for MySQL." + "Unable to verify definers on the source for MySQL.", + "If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2." ], "type": "string" } diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index 6e5231936ff..218dcc663e0 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -1340,9 +1340,10 @@ type DatabaseInstance struct { // Possible values: // "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED" - // "NEW_NETWORK_ARCHITECTURE" - Instance is a Tenancy Unit (TU) - // instance. - // "OLD_NETWORK_ARCHITECTURE" - Instance is an Umbrella instance. + // "NEW_NETWORK_ARCHITECTURE" - The instance uses the new network + // architecture. + // "OLD_NETWORK_ARCHITECTURE" - The instance uses the old network + // architecture. SqlNetworkArchitecture string `json:"sqlNetworkArchitecture,omitempty"` // State: The current serving state of the Cloud SQL instance. @@ -1948,6 +1949,9 @@ type ExportContextSqlExportOptions struct { // MysqlExportOptions: Options for exporting from MySQL. MysqlExportOptions *ExportContextSqlExportOptionsMysqlExportOptions `json:"mysqlExportOptions,omitempty"` + // Parallel: Optional. Whether or not the export should be parallel. + Parallel bool `json:"parallel,omitempty"` + // SchemaOnly: Export only schemas. SchemaOnly bool `json:"schemaOnly,omitempty"` @@ -1956,6 +1960,9 @@ type ExportContextSqlExportOptions struct { // For PostgreSQL instances, you can specify only one table. Tables []string `json:"tables,omitempty"` + // Threads: Optional. The number of threads to use for parallel export. + Threads int64 `json:"threads,omitempty"` + // ForceSendFields is a list of field names (e.g. "MysqlExportOptions") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4365,6 +4372,9 @@ type SqlExternalSyncSettingError struct { // from the source to the destination. // "UNABLE_TO_VERIFY_DEFINERS" - Unable to verify definers on the // source for MySQL. + // "SUBSCRIPTION_CALCULATION_STATUS" - If a time out occurs while the + // subscription counts are calculated, then this value is set to 1. + // Otherwise, this value is set to 2. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Detail") to diff --git a/sqladmin/v1beta4/sqladmin-api.json b/sqladmin/v1beta4/sqladmin-api.json index 3a0d8700712..234a1620165 100644 --- a/sqladmin/v1beta4/sqladmin-api.json +++ b/sqladmin/v1beta4/sqladmin-api.json @@ -2200,7 +2200,7 @@ } } }, - "revision": "20240101", + "revision": "20240115", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3177,8 +3177,8 @@ ], "enumDescriptions": [ "", - "Instance is a Tenancy Unit (TU) instance.", - "Instance is an Umbrella instance." + "The instance uses the new network architecture.", + "The instance uses the old network architecture." ], "type": "string" }, @@ -3521,6 +3521,10 @@ }, "type": "object" }, + "parallel": { + "description": "Optional. Whether or not the export should be parallel.", + "type": "boolean" + }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -3531,6 +3535,11 @@ "type": "string" }, "type": "array" + }, + "threads": { + "description": "Optional. The number of threads to use for parallel export.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -5211,7 +5220,8 @@ "TURN_ON_PITR_AFTER_PROMOTE", "INCOMPATIBLE_DATABASE_MINOR_VERSION", "SOURCE_MAX_SUBSCRIPTIONS", - "UNABLE_TO_VERIFY_DEFINERS" + "UNABLE_TO_VERIFY_DEFINERS", + "SUBSCRIPTION_CALCULATION_STATUS" ], "enumDescriptions": [ "", @@ -5253,7 +5263,8 @@ "This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.", "The minor version of replica database is incompatible with the source.", "This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.", - "Unable to verify definers on the source for MySQL." + "Unable to verify definers on the source for MySQL.", + "If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2." ], "type": "string" } diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index 4c207762781..0b9f1d85969 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -1342,9 +1342,10 @@ type DatabaseInstance struct { // // Possible values: // "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED" - // "NEW_NETWORK_ARCHITECTURE" - Instance is a Tenancy Unit (TU) - // instance. - // "OLD_NETWORK_ARCHITECTURE" - Instance is an Umbrella instance. + // "NEW_NETWORK_ARCHITECTURE" - The instance uses the new network + // architecture. + // "OLD_NETWORK_ARCHITECTURE" - The instance uses the old network + // architecture. SqlNetworkArchitecture string `json:"sqlNetworkArchitecture,omitempty"` // State: The current serving state of the Cloud SQL instance. @@ -1950,6 +1951,9 @@ type ExportContextSqlExportOptions struct { // MysqlExportOptions: Options for exporting from MySQL. MysqlExportOptions *ExportContextSqlExportOptionsMysqlExportOptions `json:"mysqlExportOptions,omitempty"` + // Parallel: Optional. Whether or not the export should be parallel. + Parallel bool `json:"parallel,omitempty"` + // SchemaOnly: Export only schemas. SchemaOnly bool `json:"schemaOnly,omitempty"` @@ -1958,6 +1962,9 @@ type ExportContextSqlExportOptions struct { // For PostgreSQL instances, you can specify only one table. Tables []string `json:"tables,omitempty"` + // Threads: Optional. The number of threads to use for parallel export. + Threads int64 `json:"threads,omitempty"` + // ForceSendFields is a list of field names (e.g. "MysqlExportOptions") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4369,6 +4376,9 @@ type SqlExternalSyncSettingError struct { // from the source to the destination. // "UNABLE_TO_VERIFY_DEFINERS" - Unable to verify definers on the // source for MySQL. + // "SUBSCRIPTION_CALCULATION_STATUS" - If a time out occurs while the + // subscription counts are calculated, then this value is set to 1. + // Otherwise, this value is set to 2. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Detail") to diff --git a/tpu/v2/tpu-api.json b/tpu/v2/tpu-api.json index b2330fb2b1c..56eec42baf0 100644 --- a/tpu/v2/tpu-api.json +++ b/tpu/v2/tpu-api.json @@ -721,7 +721,7 @@ } } }, - "revision": "20230803", + "revision": "20240111", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1074,6 +1074,11 @@ "description": "The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, \"default\" will be used.", "type": "string" }, + "queueCount": { + "description": "Optional. Specifies networking queue count for TPU VM instance's network interface.", + "format": "int32", + "type": "integer" + }, "subnetwork": { "description": "The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, \"default\" will be used.", "type": "string" diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index 9d98107a0c0..8c46225614a 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -834,6 +834,10 @@ type NetworkConfig struct { // "default" will be used. Network string `json:"network,omitempty"` + // QueueCount: Optional. Specifies networking queue count for TPU VM + // instance's network interface. + QueueCount int64 `json:"queueCount,omitempty"` + // Subnetwork: The name of the subnetwork for the TPU node. It must be a // preexisting Google Compute Engine subnetwork. If none is provided, // "default" will be used. diff --git a/tpu/v2alpha1/tpu-api.json b/tpu/v2alpha1/tpu-api.json index 9f6905fa2a6..e5035acd648 100644 --- a/tpu/v2alpha1/tpu-api.json +++ b/tpu/v2alpha1/tpu-api.json @@ -965,7 +965,7 @@ } } }, - "revision": "20231130", + "revision": "20240111", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1479,6 +1479,11 @@ "description": "The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, \"default\" will be used.", "type": "string" }, + "queueCount": { + "description": "Optional. Specifies networking queue count for TPU VM instance's network interface.", + "format": "int32", + "type": "integer" + }, "subnetwork": { "description": "The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, \"default\" will be used.", "type": "string" diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index e5da42b5357..cb3bba61bf0 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -1162,6 +1162,10 @@ type NetworkConfig struct { // "default" will be used. Network string `json:"network,omitempty"` + // QueueCount: Optional. Specifies networking queue count for TPU VM + // instance's network interface. + QueueCount int64 `json:"queueCount,omitempty"` + // Subnetwork: The name of the subnetwork for the TPU node. It must be a // preexisting Google Compute Engine subnetwork. If none is provided, // "default" will be used. diff --git a/vmwareengine/v1/vmwareengine-api.json b/vmwareengine/v1/vmwareengine-api.json index c7753020823..7f9c39f5f8e 100644 --- a/vmwareengine/v1/vmwareengine-api.json +++ b/vmwareengine/v1/vmwareengine-api.json @@ -134,6 +134,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getDnsBindPermission": { + "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.getDnsBindPermission", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "DnsBindPermission" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1/projects/{projectsId}/locations", @@ -177,13 +202,13 @@ } }, "resources": { - "global": { + "dnsBindPermission": { "methods": { - "getDnsBindPermission": { - "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.getDnsBindPermission", + "grant": { + "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:grant", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.dnsBindPermission.grant", "parameterOrder": [ "name" ], @@ -191,308 +216,277 @@ "name": { "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", "required": true, "type": "string" } }, - "path": "v1/{+name}", + "path": "v1/{+name}:grant", + "request": { + "$ref": "GrantDnsBindPermissionRequest" + }, "response": { - "$ref": "DnsBindPermission" + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "revoke": { + "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:revoke", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.dnsBindPermission.revoke", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:revoke", + "request": { + "$ref": "RevokeDnsBindPermissionRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] } - }, - "resources": { - "dnsBindPermission": { - "methods": { - "grant": { - "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:grant", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.dnsBindPermission.grant", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:grant", - "request": { - "$ref": "GrantDnsBindPermissionRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } + }, + "networkPeerings": { + "methods": { + "create": { + "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.networkPeerings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "networkPeeringId": { + "description": "Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", + "location": "query", + "type": "string" }, - "revoke": { - "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:revoke", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.dnsBindPermission.revoke", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:revoke", - "request": { - "$ref": "RevokeDnsBindPermissionRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "parent": { + "description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } - } + }, + "path": "v1/{+parent}/networkPeerings", + "request": { + "$ref": "NetworkPeering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "networkPeerings": { - "methods": { - "create": { - "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.networkPeerings.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "networkPeeringId": { - "description": "Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/networkPeerings", - "request": { - "$ref": "NetworkPeering" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "delete": { + "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "DELETE", + "id": "vmwareengine.projects.locations.networkPeerings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" }, - "delete": { - "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "DELETE", - "id": "vmwareengine.projects.locations.global.networkPeerings.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.networkPeerings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NetworkPeering" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.networkPeerings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `\u003e`, or `\u003c`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != \"example-peering\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-peering\") (createTime \u003e \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-peering-1\") AND (createTime \u003e \"2021-04-12T08:15:10.40Z\") OR (name = \"example-peering-2\") ```", + "location": "query", + "type": "string" }, - "get": { - "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "NetworkPeering" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "orderBy": { + "description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/networkPeerings", + "response": { + "$ref": "ListNetworkPeeringsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "PATCH", + "id": "vmwareengine.projects.locations.networkPeerings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "NetworkPeering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "peeringRoutes": { + "methods": { "list": { - "description": "Lists `NetworkPeering` resources in a given project.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", + "description": "Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}/peeringRoutes", "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.list", + "id": "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list", "parameterOrder": [ "parent" ], "parameters": { "filter": { - "description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `\u003e`, or `\u003c`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != \"example-peering\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-peering\") (createTime \u003e \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-peering-1\") AND (createTime \u003e \"2021-04-12T08:15:10.40Z\") OR (name = \"example-peering-2\") ```", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", + "description": "A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide \"direction=INCOMING\". To return routes exported from the VMware Engine network, provide \"direction=OUTGOING\". Other filter expressions return an error.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", + "description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.", + "description": "A page token, received from a previous `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPeeringRoutes` must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", "location": "path", - "pattern": "^projects/[^/]+/locations/global$", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}/networkPeerings", - "response": { - "$ref": "ListNetworkPeeringsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "PATCH", - "id": "vmwareengine.projects.locations.global.networkPeerings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "NetworkPeering" - }, + "path": "v1/{+parent}/peeringRoutes", "response": { - "$ref": "Operation" + "$ref": "ListPeeringRoutesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] } - }, - "resources": { - "peeringRoutes": { - "methods": { - "list": { - "description": "Lists the network peering routes exchanged over a peering connection.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}/peeringRoutes", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide \"direction=INCOMING\". To return routes exported from the VMware Engine network, provide \"direction=OUTGOING\". Other filter expressions return an error.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPeeringRoutes` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/peeringRoutes", - "response": { - "$ref": "ListPeeringRoutesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } } } } @@ -3179,7 +3173,7 @@ } } }, - "revision": "20240102", + "revision": "20240112", "rootUrl": "https://vmwareengine.googleapis.com/", "schemas": { "AuditConfig": { @@ -3338,7 +3332,7 @@ "id": "DnsBindPermission", "properties": { "name": { - "description": "Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "description": "Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", "readOnly": true, "type": "string" }, @@ -4414,7 +4408,7 @@ "type": "boolean" }, "name": { - "description": "Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "description": "Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", "readOnly": true, "type": "string" }, diff --git a/vmwareengine/v1/vmwareengine-gen.go b/vmwareengine/v1/vmwareengine-gen.go index d986deaa55f..29cc7641fd8 100644 --- a/vmwareengine/v1/vmwareengine-gen.go +++ b/vmwareengine/v1/vmwareengine-gen.go @@ -169,7 +169,8 @@ type ProjectsService struct { func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { rs := &ProjectsLocationsService{s: s} - rs.Global = NewProjectsLocationsGlobalService(s) + rs.DnsBindPermission = NewProjectsLocationsDnsBindPermissionService(s) + rs.NetworkPeerings = NewProjectsLocationsNetworkPeeringsService(s) rs.NetworkPolicies = NewProjectsLocationsNetworkPoliciesService(s) rs.NodeTypes = NewProjectsLocationsNodeTypesService(s) rs.Operations = NewProjectsLocationsOperationsService(s) @@ -182,7 +183,9 @@ func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { type ProjectsLocationsService struct { s *Service - Global *ProjectsLocationsGlobalService + DnsBindPermission *ProjectsLocationsDnsBindPermissionService + + NetworkPeerings *ProjectsLocationsNetworkPeeringsService NetworkPolicies *ProjectsLocationsNetworkPoliciesService @@ -197,48 +200,33 @@ type ProjectsLocationsService struct { VmwareEngineNetworks *ProjectsLocationsVmwareEngineNetworksService } -func NewProjectsLocationsGlobalService(s *Service) *ProjectsLocationsGlobalService { - rs := &ProjectsLocationsGlobalService{s: s} - rs.DnsBindPermission = NewProjectsLocationsGlobalDnsBindPermissionService(s) - rs.NetworkPeerings = NewProjectsLocationsGlobalNetworkPeeringsService(s) - return rs -} - -type ProjectsLocationsGlobalService struct { - s *Service - - DnsBindPermission *ProjectsLocationsGlobalDnsBindPermissionService - - NetworkPeerings *ProjectsLocationsGlobalNetworkPeeringsService -} - -func NewProjectsLocationsGlobalDnsBindPermissionService(s *Service) *ProjectsLocationsGlobalDnsBindPermissionService { - rs := &ProjectsLocationsGlobalDnsBindPermissionService{s: s} +func NewProjectsLocationsDnsBindPermissionService(s *Service) *ProjectsLocationsDnsBindPermissionService { + rs := &ProjectsLocationsDnsBindPermissionService{s: s} return rs } -type ProjectsLocationsGlobalDnsBindPermissionService struct { +type ProjectsLocationsDnsBindPermissionService struct { s *Service } -func NewProjectsLocationsGlobalNetworkPeeringsService(s *Service) *ProjectsLocationsGlobalNetworkPeeringsService { - rs := &ProjectsLocationsGlobalNetworkPeeringsService{s: s} - rs.PeeringRoutes = NewProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService(s) +func NewProjectsLocationsNetworkPeeringsService(s *Service) *ProjectsLocationsNetworkPeeringsService { + rs := &ProjectsLocationsNetworkPeeringsService{s: s} + rs.PeeringRoutes = NewProjectsLocationsNetworkPeeringsPeeringRoutesService(s) return rs } -type ProjectsLocationsGlobalNetworkPeeringsService struct { +type ProjectsLocationsNetworkPeeringsService struct { s *Service - PeeringRoutes *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService + PeeringRoutes *ProjectsLocationsNetworkPeeringsPeeringRoutesService } -func NewProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService(s *Service) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService { - rs := &ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService{s: s} +func NewProjectsLocationsNetworkPeeringsPeeringRoutesService(s *Service) *ProjectsLocationsNetworkPeeringsPeeringRoutesService { + rs := &ProjectsLocationsNetworkPeeringsPeeringRoutesService{s: s} return rs } -type ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService struct { +type ProjectsLocationsNetworkPeeringsPeeringRoutesService struct { s *Service } @@ -724,8 +712,8 @@ type DnsBindPermission struct { // Name: Required. Output only. The name of the resource which stores // the users/service accounts having the permission to bind to the // corresponding intranet VPC of the consumer project. DnsBindPermission - // is a global resource. Resource names are schemeless URIs that follow - // the conventions in + // is a global resource and location can only be global. Resource names + // are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global/dnsBindPermission` Name string `json:"name,omitempty"` @@ -2446,8 +2434,9 @@ type NetworkPeering struct { // imported to peers and are not controlled by this field. ImportCustomRoutesWithPublicIp bool `json:"importCustomRoutesWithPublicIp,omitempty"` - // Name: Output only. The resource name of the network peering. Resource - // names are scheme-less URIs that follow the conventions in + // Name: Output only. The resource name of the network peering. + // NetworkPeering is a global resource and location can only be global. + // Resource names are scheme-less URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global/networkPeerings/my-peering` Name string `json:"name,omitempty"` @@ -4262,9 +4251,9 @@ func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, } -// method id "vmwareengine.projects.locations.list": +// method id "vmwareengine.projects.locations.getDnsBindPermission": -type ProjectsLocationsListCall struct { +type ProjectsLocationsGetDnsBindPermissionCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -4273,45 +4262,28 @@ type ProjectsLocationsListCall struct { header_ http.Header } -// List: Lists information about the supported locations for this -// service. +// GetDnsBindPermission: Gets all the principals having bind permission +// on the intranet VPC associated with the consumer project granted by +// the Grant API. DnsBindPermission is a global resource and location +// can only be global. // -// - name: The resource that owns the locations collection, if -// applicable. -func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall { - c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: The name of the resource which stores the users/service +// accounts having the permission to bind to the corresponding +// intranet VPC of the consumer project. DnsBindPermission is a global +// resource. Resource names are schemeless URIs that follow the +// conventions in https://cloud.google.com/apis/design/resource_names. +// For example: +// `projects/my-project/locations/global/dnsBindPermission`. +func (r *ProjectsLocationsService) GetDnsBindPermission(name string) *ProjectsLocationsGetDnsBindPermissionCall { + c := &ProjectsLocationsGetDnsBindPermissionCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Filter sets the optional parameter "filter": A filter to narrow down -// results to a preferred subset. The filtering language accepts strings -// like "displayName=tokyo", and is documented in more detail in -// AIP-160 (https://google.aip.dev/160). -func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall { - c.urlParams_.Set("filter", filter) - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of results to return. If not set, the service selects a default. -func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": A page token -// received from the `next_page_token` field in the response. Send that -// page token to receive the subsequent page. -func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall { - c.urlParams_.Set("pageToken", pageToken) - 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 *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall { +func (c *ProjectsLocationsGetDnsBindPermissionCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetDnsBindPermissionCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -4321,7 +4293,7 @@ func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocati // 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 *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall { +func (c *ProjectsLocationsGetDnsBindPermissionCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetDnsBindPermissionCall { c.ifNoneMatch_ = entityTag return c } @@ -4329,21 +4301,21 @@ func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocat // 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 *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall { +func (c *ProjectsLocationsGetDnsBindPermissionCall) Context(ctx context.Context) *ProjectsLocationsGetDnsBindPermissionCall { 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 *ProjectsLocationsListCall) Header() http.Header { +func (c *ProjectsLocationsGetDnsBindPermissionCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGetDnsBindPermissionCall) 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_ { @@ -4356,7 +4328,7 @@ func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/locations") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -4369,14 +4341,14 @@ func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.list" call. -// Exactly one of *ListLocationsResponse or error will be non-nil. Any +// Do executes the "vmwareengine.projects.locations.getDnsBindPermission" call. +// Exactly one of *DnsBindPermission or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either -// *ListLocationsResponse.ServerResponse.Header or (if a response was +// *DnsBindPermission.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 *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) { +func (c *ProjectsLocationsGetDnsBindPermissionCall) Do(opts ...googleapi.CallOption) (*DnsBindPermission, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4395,7 +4367,7 @@ func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocat if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListLocationsResponse{ + ret := &DnsBindPermission{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -4407,41 +4379,25 @@ func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocat } return ret, nil // { - // "description": "Lists information about the supported locations for this service.", - // "flatPath": "v1/projects/{projectsId}/locations", + // "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission", // "httpMethod": "GET", - // "id": "vmwareengine.projects.locations.list", + // "id": "vmwareengine.projects.locations.getDnsBindPermission", // "parameterOrder": [ // "name" // ], // "parameters": { - // "filter": { - // "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The resource that owns the locations collection, if applicable.", + // "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", // "location": "path", - // "pattern": "^projects/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", // "required": true, // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of results to return. If not set, the service selects a default.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", - // "location": "query", - // "type": "string" // } // }, - // "path": "v1/{+name}/locations", + // "path": "v1/{+name}", // "response": { - // "$ref": "ListLocationsResponse" + // "$ref": "DnsBindPermission" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" @@ -4450,30 +4406,9 @@ func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocat } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "vmwareengine.projects.locations.global.getDnsBindPermission": +// method id "vmwareengine.projects.locations.list": -type ProjectsLocationsGlobalGetDnsBindPermissionCall struct { +type ProjectsLocationsListCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -4482,27 +4417,45 @@ type ProjectsLocationsGlobalGetDnsBindPermissionCall struct { header_ http.Header } -// GetDnsBindPermission: Gets all the principals having bind permission -// on the intranet VPC associated with the consumer project granted by -// the Grant API. +// List: Lists information about the supported locations for this +// service. // -// - name: The name of the resource which stores the users/service -// accounts having the permission to bind to the corresponding -// intranet VPC of the consumer project. DnsBindPermission is a global -// resource. Resource names are schemeless URIs that follow the -// conventions in https://cloud.google.com/apis/design/resource_names. -// For example: -// `projects/my-project/locations/global/dnsBindPermission`. -func (r *ProjectsLocationsGlobalService) GetDnsBindPermission(name string) *ProjectsLocationsGlobalGetDnsBindPermissionCall { - c := &ProjectsLocationsGlobalGetDnsBindPermissionCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: The resource that owns the locations collection, if +// applicable. +func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall { + c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Filter sets the optional parameter "filter": A filter to narrow down +// results to a preferred subset. The filtering language accepts strings +// like "displayName=tokyo", and is documented in more detail in +// AIP-160 (https://google.aip.dev/160). +func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of results to return. If not set, the service selects a default. +func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token +// received from the `next_page_token` field in the response. Send that +// page token to receive the subsequent page. +func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall { + c.urlParams_.Set("pageToken", pageToken) + 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 *ProjectsLocationsGlobalGetDnsBindPermissionCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalGetDnsBindPermissionCall { +func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -4512,7 +4465,7 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) Fields(s ...googleapi. // 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 *ProjectsLocationsGlobalGetDnsBindPermissionCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalGetDnsBindPermissionCall { +func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall { c.ifNoneMatch_ = entityTag return c } @@ -4520,21 +4473,21 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) IfNoneMatch(entityTag // 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 *ProjectsLocationsGlobalGetDnsBindPermissionCall) Context(ctx context.Context) *ProjectsLocationsGlobalGetDnsBindPermissionCall { +func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall { 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 *ProjectsLocationsGlobalGetDnsBindPermissionCall) Header() http.Header { +func (c *ProjectsLocationsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsListCall) 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_ { @@ -4547,7 +4500,7 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) doRequest(alt string) var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/locations") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -4560,14 +4513,14 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) doRequest(alt string) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.getDnsBindPermission" call. -// Exactly one of *DnsBindPermission or error will be non-nil. Any +// Do executes the "vmwareengine.projects.locations.list" call. +// Exactly one of *ListLocationsResponse or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either -// *DnsBindPermission.ServerResponse.Header or (if a response was +// *ListLocationsResponse.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 *ProjectsLocationsGlobalGetDnsBindPermissionCall) Do(opts ...googleapi.CallOption) (*DnsBindPermission, error) { +func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4586,7 +4539,7 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &DnsBindPermission{ + ret := &ListLocationsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -4598,25 +4551,41 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.", - // "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission", + // "description": "Lists information about the supported locations for this service.", + // "flatPath": "v1/projects/{projectsId}/locations", // "httpMethod": "GET", - // "id": "vmwareengine.projects.locations.global.getDnsBindPermission", + // "id": "vmwareengine.projects.locations.list", // "parameterOrder": [ // "name" // ], // "parameters": { + // "filter": { + // "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + // "description": "The resource that owns the locations collection, if applicable.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", + // "pattern": "^projects/[^/]+$", // "required": true, // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of results to return. If not set, the service selects a default.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + // "location": "query", + // "type": "string" // } // }, - // "path": "v1/{+name}", + // "path": "v1/{+name}/locations", // "response": { - // "$ref": "DnsBindPermission" + // "$ref": "ListLocationsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" @@ -4625,9 +4594,30 @@ func (c *ProjectsLocationsGlobalGetDnsBindPermissionCall) Do(opts ...googleapi.C } -// method id "vmwareengine.projects.locations.global.dnsBindPermission.grant": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "vmwareengine.projects.locations.dnsBindPermission.grant": -type ProjectsLocationsGlobalDnsBindPermissionGrantCall struct { +type ProjectsLocationsDnsBindPermissionGrantCall struct { s *Service name string grantdnsbindpermissionrequest *GrantDnsBindPermissionRequest @@ -4638,7 +4628,8 @@ type ProjectsLocationsGlobalDnsBindPermissionGrantCall struct { // Grant: Grants the bind permission to the customer provided // principal(user / service account) to bind their DNS zone with the -// intranet VPC associated with the project. +// intranet VPC associated with the project. DnsBindPermission is a +// global resource and location can only be global. // // - name: The name of the resource which stores the users/service // accounts having the permission to bind to the corresponding @@ -4647,8 +4638,8 @@ type ProjectsLocationsGlobalDnsBindPermissionGrantCall struct { // conventions in https://cloud.google.com/apis/design/resource_names. // For example: // `projects/my-project/locations/global/dnsBindPermission`. -func (r *ProjectsLocationsGlobalDnsBindPermissionService) Grant(name string, grantdnsbindpermissionrequest *GrantDnsBindPermissionRequest) *ProjectsLocationsGlobalDnsBindPermissionGrantCall { - c := &ProjectsLocationsGlobalDnsBindPermissionGrantCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsDnsBindPermissionService) Grant(name string, grantdnsbindpermissionrequest *GrantDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionGrantCall { + c := &ProjectsLocationsDnsBindPermissionGrantCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.grantdnsbindpermissionrequest = grantdnsbindpermissionrequest return c @@ -4657,7 +4648,7 @@ func (r *ProjectsLocationsGlobalDnsBindPermissionService) Grant(name string, gra // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalDnsBindPermissionGrantCall { +func (c *ProjectsLocationsDnsBindPermissionGrantCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionGrantCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -4665,21 +4656,21 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Fields(s ...googleap // 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 *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Context(ctx context.Context) *ProjectsLocationsGlobalDnsBindPermissionGrantCall { +func (c *ProjectsLocationsDnsBindPermissionGrantCall) Context(ctx context.Context) *ProjectsLocationsDnsBindPermissionGrantCall { 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 *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Header() http.Header { +func (c *ProjectsLocationsDnsBindPermissionGrantCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsDnsBindPermissionGrantCall) 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_ { @@ -4707,14 +4698,14 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) doRequest(alt string return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.dnsBindPermission.grant" call. +// Do executes the "vmwareengine.projects.locations.dnsBindPermission.grant" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.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 *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsDnsBindPermissionGrantCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4745,10 +4736,10 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Do(opts ...googleapi } return ret, nil // { - // "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.", - // "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:grant", + // "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:grant", // "httpMethod": "POST", - // "id": "vmwareengine.projects.locations.global.dnsBindPermission.grant", + // "id": "vmwareengine.projects.locations.dnsBindPermission.grant", // "parameterOrder": [ // "name" // ], @@ -4756,7 +4747,7 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Do(opts ...googleapi // "name": { // "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", + // "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", // "required": true, // "type": "string" // } @@ -4775,9 +4766,9 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionGrantCall) Do(opts ...googleapi } -// method id "vmwareengine.projects.locations.global.dnsBindPermission.revoke": +// method id "vmwareengine.projects.locations.dnsBindPermission.revoke": -type ProjectsLocationsGlobalDnsBindPermissionRevokeCall struct { +type ProjectsLocationsDnsBindPermissionRevokeCall struct { s *Service name string revokednsbindpermissionrequest *RevokeDnsBindPermissionRequest @@ -4788,7 +4779,8 @@ type ProjectsLocationsGlobalDnsBindPermissionRevokeCall struct { // Revoke: Revokes the bind permission from the customer provided // principal(user / service account) on the intranet VPC associated with -// the consumer project. +// the consumer project. DnsBindPermission is a global resource and +// location can only be global. // // - name: The name of the resource which stores the users/service // accounts having the permission to bind to the corresponding @@ -4797,8 +4789,8 @@ type ProjectsLocationsGlobalDnsBindPermissionRevokeCall struct { // conventions in https://cloud.google.com/apis/design/resource_names. // For example: // `projects/my-project/locations/global/dnsBindPermission`. -func (r *ProjectsLocationsGlobalDnsBindPermissionService) Revoke(name string, revokednsbindpermissionrequest *RevokeDnsBindPermissionRequest) *ProjectsLocationsGlobalDnsBindPermissionRevokeCall { - c := &ProjectsLocationsGlobalDnsBindPermissionRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsDnsBindPermissionService) Revoke(name string, revokednsbindpermissionrequest *RevokeDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionRevokeCall { + c := &ProjectsLocationsDnsBindPermissionRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.revokednsbindpermissionrequest = revokednsbindpermissionrequest return c @@ -4807,7 +4799,7 @@ func (r *ProjectsLocationsGlobalDnsBindPermissionService) Revoke(name string, re // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalDnsBindPermissionRevokeCall { +func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionRevokeCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -4815,21 +4807,21 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Fields(s ...googlea // 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 *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Context(ctx context.Context) *ProjectsLocationsGlobalDnsBindPermissionRevokeCall { +func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Context(ctx context.Context) *ProjectsLocationsDnsBindPermissionRevokeCall { 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 *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Header() http.Header { +func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsDnsBindPermissionRevokeCall) 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_ { @@ -4857,14 +4849,14 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) doRequest(alt strin return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.dnsBindPermission.revoke" call. +// Do executes the "vmwareengine.projects.locations.dnsBindPermission.revoke" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.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 *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4895,10 +4887,10 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Do(opts ...googleap } return ret, nil // { - // "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.", - // "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:revoke", + // "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:revoke", // "httpMethod": "POST", - // "id": "vmwareengine.projects.locations.global.dnsBindPermission.revoke", + // "id": "vmwareengine.projects.locations.dnsBindPermission.revoke", // "parameterOrder": [ // "name" // ], @@ -4906,7 +4898,7 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Do(opts ...googleap // "name": { // "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", + // "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", // "required": true, // "type": "string" // } @@ -4925,9 +4917,9 @@ func (c *ProjectsLocationsGlobalDnsBindPermissionRevokeCall) Do(opts ...googleap } -// method id "vmwareengine.projects.locations.global.networkPeerings.create": +// method id "vmwareengine.projects.locations.networkPeerings.create": -type ProjectsLocationsGlobalNetworkPeeringsCreateCall struct { +type ProjectsLocationsNetworkPeeringsCreateCall struct { s *Service parent string networkpeering *NetworkPeering @@ -4938,6 +4930,7 @@ type ProjectsLocationsGlobalNetworkPeeringsCreateCall struct { // Create: Creates a new network peering between the peer network and // VMware Engine network provided in a `NetworkPeering` resource. +// NetworkPeering is a global resource and location can only be global. // // - parent: The resource name of the location to create the new network // peering in. This value is always `global`, because `NetworkPeering` @@ -4945,8 +4938,8 @@ type ProjectsLocationsGlobalNetworkPeeringsCreateCall struct { // follow the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global`. -func (r *ProjectsLocationsGlobalNetworkPeeringsService) Create(parent string, networkpeering *NetworkPeering) *ProjectsLocationsGlobalNetworkPeeringsCreateCall { - c := &ProjectsLocationsGlobalNetworkPeeringsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsService) Create(parent string, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsCreateCall { + c := &ProjectsLocationsNetworkPeeringsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent c.networkpeering = networkpeering return c @@ -4961,7 +4954,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsService) Create(parent string, ne // character * Ends with a non-hyphen character * Not formatted as a // UUID * Complies with RFC 1034 // (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) -func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) NetworkPeeringId(networkPeeringId string) *ProjectsLocationsGlobalNetworkPeeringsCreateCall { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) NetworkPeeringId(networkPeeringId string) *ProjectsLocationsNetworkPeeringsCreateCall { c.urlParams_.Set("networkPeeringId", networkPeeringId) return c } @@ -4979,7 +4972,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) NetworkPeeringId(netw // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) RequestId(requestId string) *ProjectsLocationsGlobalNetworkPeeringsCreateCall { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsCreateCall { c.urlParams_.Set("requestId", requestId) return c } @@ -4987,7 +4980,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) RequestId(requestId s // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsCreateCall { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -4995,21 +4988,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Fields(s ...googleapi // 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 *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsCreateCall { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsCreateCall { 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 *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) 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_ { @@ -5037,14 +5030,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) doRequest(alt string) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.create" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.create" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.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 *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsNetworkPeeringsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5075,10 +5068,10 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", + // "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", // "httpMethod": "POST", - // "id": "vmwareengine.projects.locations.global.networkPeerings.create", + // "id": "vmwareengine.projects.locations.networkPeerings.create", // "parameterOrder": [ // "parent" // ], @@ -5091,7 +5084,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Do(opts ...googleapi. // "parent": { // "description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global$", + // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" // }, @@ -5115,9 +5108,9 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsCreateCall) Do(opts ...googleapi. } -// method id "vmwareengine.projects.locations.global.networkPeerings.delete": +// method id "vmwareengine.projects.locations.networkPeerings.delete": -type ProjectsLocationsGlobalNetworkPeeringsDeleteCall struct { +type ProjectsLocationsNetworkPeeringsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -5127,14 +5120,15 @@ type ProjectsLocationsGlobalNetworkPeeringsDeleteCall struct { // Delete: Deletes a `NetworkPeering` resource. When a network peering // is deleted for a VMware Engine network, the peer network becomes -// inaccessible to that VMware Engine network. +// inaccessible to that VMware Engine network. NetworkPeering is a +// global resource and location can only be global. // // - name: The resource name of the network peering to be deleted. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global/networkPeerings/my-peering`. -func (r *ProjectsLocationsGlobalNetworkPeeringsService) Delete(name string) *ProjectsLocationsGlobalNetworkPeeringsDeleteCall { - c := &ProjectsLocationsGlobalNetworkPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsService) Delete(name string) *ProjectsLocationsNetworkPeeringsDeleteCall { + c := &ProjectsLocationsNetworkPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -5152,7 +5146,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsService) Delete(name string) *Pro // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) RequestId(requestId string) *ProjectsLocationsGlobalNetworkPeeringsDeleteCall { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsDeleteCall { c.urlParams_.Set("requestId", requestId) return c } @@ -5160,7 +5154,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) RequestId(requestId s // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsDeleteCall { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5168,21 +5162,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Fields(s ...googleapi // 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 *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsDeleteCall { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsDeleteCall { 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 *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) 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_ { @@ -5205,14 +5199,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) doRequest(alt string) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.delete" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.delete" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.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 *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5243,10 +5237,10 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", + // "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", // "httpMethod": "DELETE", - // "id": "vmwareengine.projects.locations.global.networkPeerings.delete", + // "id": "vmwareengine.projects.locations.networkPeerings.delete", // "parameterOrder": [ // "name" // ], @@ -5254,7 +5248,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Do(opts ...googleapi. // "name": { // "description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", // "required": true, // "type": "string" // }, @@ -5275,9 +5269,9 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsDeleteCall) Do(opts ...googleapi. } -// method id "vmwareengine.projects.locations.global.networkPeerings.get": +// method id "vmwareengine.projects.locations.networkPeerings.get": -type ProjectsLocationsGlobalNetworkPeeringsGetCall struct { +type ProjectsLocationsNetworkPeeringsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -5289,14 +5283,15 @@ type ProjectsLocationsGlobalNetworkPeeringsGetCall struct { // Get: Retrieves a `NetworkPeering` resource by its resource name. The // resource contains details of the network peering, such as peered // networks, import and export custom route configurations, and peering -// state. +// state. NetworkPeering is a global resource and location can only be +// global. // // - name: The resource name of the network peering to retrieve. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global/networkPeerings/my-peering`. -func (r *ProjectsLocationsGlobalNetworkPeeringsService) Get(name string) *ProjectsLocationsGlobalNetworkPeeringsGetCall { - c := &ProjectsLocationsGlobalNetworkPeeringsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsService) Get(name string) *ProjectsLocationsNetworkPeeringsGetCall { + c := &ProjectsLocationsNetworkPeeringsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -5304,7 +5299,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsService) Get(name string) *Projec // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsGetCall { +func (c *ProjectsLocationsNetworkPeeringsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5314,7 +5309,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) Fields(s ...googleapi.Fi // 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 *ProjectsLocationsGlobalNetworkPeeringsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalNetworkPeeringsGetCall { +func (c *ProjectsLocationsNetworkPeeringsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -5322,21 +5317,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) IfNoneMatch(entityTag st // 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 *ProjectsLocationsGlobalNetworkPeeringsGetCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsGetCall { +func (c *ProjectsLocationsNetworkPeeringsGetCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsGetCall { 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 *ProjectsLocationsGlobalNetworkPeeringsGetCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsGetCall) 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_ { @@ -5362,14 +5357,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) doRequest(alt string) (* return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.get" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.get" call. // Exactly one of *NetworkPeering or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *NetworkPeering.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 *ProjectsLocationsGlobalNetworkPeeringsGetCall) Do(opts ...googleapi.CallOption) (*NetworkPeering, error) { +func (c *ProjectsLocationsNetworkPeeringsGetCall) Do(opts ...googleapi.CallOption) (*NetworkPeering, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5400,10 +5395,10 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", + // "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", // "httpMethod": "GET", - // "id": "vmwareengine.projects.locations.global.networkPeerings.get", + // "id": "vmwareengine.projects.locations.networkPeerings.get", // "parameterOrder": [ // "name" // ], @@ -5411,7 +5406,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) Do(opts ...googleapi.Cal // "name": { // "description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", // "required": true, // "type": "string" // } @@ -5427,9 +5422,9 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsGetCall) Do(opts ...googleapi.Cal } -// method id "vmwareengine.projects.locations.global.networkPeerings.list": +// method id "vmwareengine.projects.locations.networkPeerings.list": -type ProjectsLocationsGlobalNetworkPeeringsListCall struct { +type ProjectsLocationsNetworkPeeringsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -5439,14 +5434,15 @@ type ProjectsLocationsGlobalNetworkPeeringsListCall struct { } // List: Lists `NetworkPeering` resources in a given project. +// NetworkPeering is a global resource and location can only be global. // // - parent: The resource name of the location (global) to query for // network peerings. Resource names are schemeless URIs that follow // the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global`. -func (r *ProjectsLocationsGlobalNetworkPeeringsService) List(parent string) *ProjectsLocationsGlobalNetworkPeeringsListCall { - c := &ProjectsLocationsGlobalNetworkPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsService) List(parent string) *ProjectsLocationsNetworkPeeringsListCall { + c := &ProjectsLocationsNetworkPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } @@ -5465,7 +5461,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsService) List(parent string) *Pro // include `AND` and `OR` expressions explicitly. For example: ``` (name // = "example-peering-1") AND (createTime > "2021-04-12T08:15:10.40Z") // OR (name = "example-peering-2") ``` -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Filter(filter string) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) Filter(filter string) *ProjectsLocationsNetworkPeeringsListCall { c.urlParams_.Set("filter", filter) return c } @@ -5475,7 +5471,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Filter(filter string) * // in ascending order. You can also sort results in descending order // based on the `name` value using `orderBy="name desc". Currently, // only ordering by `name` is supported. -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) OrderBy(orderBy string) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) OrderBy(orderBy string) *ProjectsLocationsNetworkPeeringsListCall { c.urlParams_.Set("orderBy", orderBy) return c } @@ -5483,7 +5479,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) OrderBy(orderBy string) // PageSize sets the optional parameter "pageSize": The maximum number // of network peerings to return in one page. The maximum value is // coerced to 1000. The default value of this field is 500. -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) PageSize(pageSize int64) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPeeringsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } @@ -5493,7 +5489,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) PageSize(pageSize int64 // retrieve the subsequent page. When paginating, all other parameters // provided to `ListNetworkPeerings` must match the call that provided // the page token. -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) PageToken(pageToken string) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPeeringsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -5501,7 +5497,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) PageToken(pageToken str // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5511,7 +5507,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Fields(s ...googleapi.F // 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 *ProjectsLocationsGlobalNetworkPeeringsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsListCall { c.ifNoneMatch_ = entityTag return c } @@ -5519,21 +5515,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) IfNoneMatch(entityTag s // 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 *ProjectsLocationsGlobalNetworkPeeringsListCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsListCall { +func (c *ProjectsLocationsNetworkPeeringsListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsListCall { 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 *ProjectsLocationsGlobalNetworkPeeringsListCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsListCall) 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_ { @@ -5559,14 +5555,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) doRequest(alt string) ( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.list" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.list" call. // Exactly one of *ListNetworkPeeringsResponse or error will be non-nil. // Any non-2xx status code is an error. Response headers are in either // *ListNetworkPeeringsResponse.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 *ProjectsLocationsGlobalNetworkPeeringsListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPeeringsResponse, error) { +func (c *ProjectsLocationsNetworkPeeringsListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPeeringsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5597,10 +5593,10 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Lists `NetworkPeering` resources in a given project.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", + // "description": "Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", // "httpMethod": "GET", - // "id": "vmwareengine.projects.locations.global.networkPeerings.list", + // "id": "vmwareengine.projects.locations.networkPeerings.list", // "parameterOrder": [ // "parent" // ], @@ -5629,7 +5625,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Do(opts ...googleapi.Ca // "parent": { // "description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global$", + // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" // } @@ -5648,7 +5644,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Do(opts ...googleapi.Ca // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Pages(ctx context.Context, f func(*ListNetworkPeeringsResponse) error) error { +func (c *ProjectsLocationsNetworkPeeringsListCall) Pages(ctx context.Context, f func(*ListNetworkPeeringsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -5666,9 +5662,9 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsListCall) Pages(ctx context.Conte } } -// method id "vmwareengine.projects.locations.global.networkPeerings.patch": +// method id "vmwareengine.projects.locations.networkPeerings.patch": -type ProjectsLocationsGlobalNetworkPeeringsPatchCall struct { +type ProjectsLocationsNetworkPeeringsPatchCall struct { s *Service name string networkpeering *NetworkPeering @@ -5679,14 +5675,17 @@ type ProjectsLocationsGlobalNetworkPeeringsPatchCall struct { // Patch: Modifies a `NetworkPeering` resource. Only the `description` // field can be updated. Only fields specified in `updateMask` are -// applied. +// applied. NetworkPeering is a global resource and location can only be +// global. // // - name: Output only. The resource name of the network peering. -// Resource names are scheme-less URIs that follow the conventions in -// https://cloud.google.com/apis/design/resource_names. For example: +// NetworkPeering is a global resource and location can only be +// global. Resource names are scheme-less URIs that follow the +// conventions in https://cloud.google.com/apis/design/resource_names. +// For example: // `projects/my-project/locations/global/networkPeerings/my-peering`. -func (r *ProjectsLocationsGlobalNetworkPeeringsService) Patch(name string, networkpeering *NetworkPeering) *ProjectsLocationsGlobalNetworkPeeringsPatchCall { - c := &ProjectsLocationsGlobalNetworkPeeringsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsService) Patch(name string, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsPatchCall { + c := &ProjectsLocationsNetworkPeeringsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.networkpeering = networkpeering return c @@ -5705,7 +5704,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsService) Patch(name string, netwo // commitments. The request ID must be a valid UUID with the exception // that zero UUID is not supported // (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) RequestId(requestId string) *ProjectsLocationsGlobalNetworkPeeringsPatchCall { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsPatchCall { c.urlParams_.Set("requestId", requestId) return c } @@ -5716,7 +5715,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) RequestId(requestId st // `update_mask` are relative to the resource, not the full request. A // field will be overwritten if it is in the mask. If the user does not // provide a mask then all fields will be overwritten. -func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGlobalNetworkPeeringsPatchCall { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsNetworkPeeringsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -5724,7 +5723,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) UpdateMask(updateMask // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsPatchCall { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5732,21 +5731,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Fields(s ...googleapi. // 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 *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsPatchCall { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsPatchCall { 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 *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) 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_ { @@ -5774,14 +5773,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) doRequest(alt string) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.patch" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.patch" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.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 *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsNetworkPeeringsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5812,18 +5811,18 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", + // "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", // "httpMethod": "PATCH", - // "id": "vmwareengine.projects.locations.global.networkPeerings.patch", + // "id": "vmwareengine.projects.locations.networkPeerings.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + // "description": "Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", // "required": true, // "type": "string" // }, @@ -5853,9 +5852,9 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPatchCall) Do(opts ...googleapi.C } -// method id "vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list": +// method id "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list": -type ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall struct { +type ProjectsLocationsNetworkPeeringsPeeringRoutesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -5865,15 +5864,16 @@ type ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall struct { } // List: Lists the network peering routes exchanged over a peering -// connection. +// connection. NetworkPeering is a global resource and location can only +// be global. // // - parent: The resource name of the network peering to retrieve // peering routes from. Resource names are schemeless URIs that follow // the conventions in // https://cloud.google.com/apis/design/resource_names. For example: // `projects/my-project/locations/global/networkPeerings/my-peering`. -func (r *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService) List(parent string) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { - c := &ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsNetworkPeeringsPeeringRoutesService) List(parent string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { + c := &ProjectsLocationsNetworkPeeringsPeeringRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } @@ -5884,7 +5884,7 @@ func (r *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesService) List(parent // the peer network, provide "direction=INCOMING". To return routes // exported from the VMware Engine network, provide // "direction=OUTGOING". Other filter expressions return an error. -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Filter(filter string) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Filter(filter string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { c.urlParams_.Set("filter", filter) return c } @@ -5893,7 +5893,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Filter(fil // of peering routes to return in one page. The service may return fewer // than this value. The maximum value is coerced to 1000. The default // value of this field is 500. -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } @@ -5903,7 +5903,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) PageSize(p // retrieve the subsequent page. When paginating, all other parameters // provided to `ListPeeringRoutes` must match the call that provided the // page token. -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -5911,7 +5911,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) PageToken( // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5921,7 +5921,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Fields(s . // 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 *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { c.ifNoneMatch_ = entityTag return c } @@ -5929,21 +5929,21 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) IfNoneMatc // 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 *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall { 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 *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Header() http.Header { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) 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_ { @@ -5969,14 +5969,14 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list" call. +// Do executes the "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list" call. // Exactly one of *ListPeeringRoutesResponse or error will be non-nil. // Any non-2xx status code is an error. Response headers are in either // *ListPeeringRoutesResponse.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 *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPeeringRoutesResponse, error) { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPeeringRoutesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6007,10 +6007,10 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Do(opts .. } return ret, nil // { - // "description": "Lists the network peering routes exchanged over a peering connection.", - // "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}/peeringRoutes", + // "description": "Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}/peeringRoutes", // "httpMethod": "GET", - // "id": "vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list", + // "id": "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list", // "parameterOrder": [ // "parent" // ], @@ -6034,7 +6034,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Do(opts .. // "parent": { // "description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", // "location": "path", - // "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", // "required": true, // "type": "string" // } @@ -6053,7 +6053,7 @@ func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Do(opts .. // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesListCall) Pages(ctx context.Context, f func(*ListPeeringRoutesResponse) error) error { +func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Pages(ctx context.Context, f func(*ListPeeringRoutesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { diff --git a/workflows/v1/workflows-api.json b/workflows/v1/workflows-api.json index 271fae947fb..119d107e739 100644 --- a/workflows/v1/workflows-api.json +++ b/workflows/v1/workflows-api.json @@ -485,7 +485,7 @@ } } }, - "revision": "20231011", + "revision": "20240110", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { @@ -815,7 +815,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS\".", + "description": "Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with \"GOOGLE\" or \"WORKFLOWS\".", "type": "object" } }, diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go index 019afac230d..2d76cbef301 100644 --- a/workflows/v1/workflows-gen.go +++ b/workflows/v1/workflows-gen.go @@ -695,8 +695,8 @@ type Workflow struct { // UserEnvVars: Optional. User-defined environment variables associated // with this workflow revision. This map has a maximum length of 20. - // Each string can take up to 40KiB. Keys cannot be empty strings and - // cannot start with “GOOGLE” or “WORKFLOWS". + // Each string can take up to 4KiB. Keys cannot be empty strings and + // cannot start with "GOOGLE" or "WORKFLOWS". UserEnvVars map[string]string `json:"userEnvVars,omitempty"` // ServerResponse contains the HTTP response code and headers from the