diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index fcc4320ee3..5db6c8503d 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -472,10 +472,16 @@ "parameterOrder": [], "parameters": { "adminEmail": { - "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user.", + "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. If `allowedDomains` is non-empty then this must belong to one of the `allowedDomains`.", "location": "query", "type": "string" }, + "allowedDomains": { + "description": "Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has `*.` prefixed to the domain name (e.g. *.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are always allowed, but will result in the creation of a managed Google Play Accounts enterprise.", + "location": "query", + "repeated": true, + "type": "string" + }, "callbackUrl": { "description": "The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.", "location": "query", @@ -2642,7 +2648,7 @@ } } }, - "revision": "20250102", + "revision": "20250109", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index 8fcac4c034..e4a7efaafb 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -4603,12 +4603,26 @@ func (r *EnterprisesService) GenerateSignupUrl() *EnterprisesGenerateSignupUrlCa // AdminEmail sets the optional parameter "adminEmail": Email address used to // prefill the admin field of the enterprise signup form. This value is a hint -// only and can be altered by the user. +// only and can be altered by the user. If `allowedDomains` is non-empty then +// this must belong to one of the `allowedDomains`. func (c *EnterprisesGenerateSignupUrlCall) AdminEmail(adminEmail string) *EnterprisesGenerateSignupUrlCall { c.urlParams_.Set("adminEmail", adminEmail) return c } +// AllowedDomains sets the optional parameter "allowedDomains": A list of +// domains that are permitted for the admin email. The IT admin cannot enter an +// email address with a domain name that is not in this list. Subdomains of +// domains in this list are not allowed but can be allowed by adding a second +// entry which has `*.` prefixed to the domain name (e.g. *.example.com). If +// the field is not present or is an empty list then the IT admin is free to +// use any valid domain name. Personal email domains are always allowed, but +// will result in the creation of a managed Google Play Accounts enterprise. +func (c *EnterprisesGenerateSignupUrlCall) AllowedDomains(allowedDomains ...string) *EnterprisesGenerateSignupUrlCall { + c.urlParams_.SetMulti("allowedDomains", append([]string{}, allowedDomains...)) + return c +} + // CallbackUrl sets the optional parameter "callbackUrl": The callback URL to // which the Admin will be redirected after successfully creating an // enterprise. Before redirecting there the system will add a single query diff --git a/composer/v1/composer-api.json b/composer/v1/composer-api.json index cb46c1ec47..2c9a3eafcd 100644 --- a/composer/v1/composer-api.json +++ b/composer/v1/composer-api.json @@ -707,7 +707,7 @@ "userWorkloadsConfigMaps": { "methods": { "create": { - "description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", "httpMethod": "POST", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.create", @@ -735,7 +735,7 @@ ] }, "delete": { - "description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "DELETE", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.delete", @@ -760,7 +760,7 @@ ] }, "get": { - "description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.get", @@ -785,7 +785,7 @@ ] }, "list": { - "description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.list", @@ -821,7 +821,7 @@ ] }, "update": { - "description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "PUT", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.update", @@ -853,7 +853,7 @@ "userWorkloadsSecrets": { "methods": { "create": { - "description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", "httpMethod": "POST", "id": "composer.projects.locations.environments.userWorkloadsSecrets.create", @@ -881,7 +881,7 @@ ] }, "delete": { - "description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "DELETE", "id": "composer.projects.locations.environments.userWorkloadsSecrets.delete", @@ -906,7 +906,7 @@ ] }, "get": { - "description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsSecrets.get", @@ -931,7 +931,7 @@ ] }, "list": { - "description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsSecrets.list", @@ -967,7 +967,7 @@ ] }, "update": { - "description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "PUT", "id": "composer.projects.locations.environments.userWorkloadsSecrets.update", @@ -1188,7 +1188,7 @@ } } }, - "revision": "20241210", + "revision": "20250108", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AirflowMetadataRetentionPolicyConfig": { @@ -1395,7 +1395,7 @@ "type": "object" }, "DagProcessorResource": { - "description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "id": "DagProcessorResource", "properties": { "count": { @@ -2040,11 +2040,11 @@ "id": "NodeConfig", "properties": { "composerInternalIpv4CidrBlock": { - "description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "string" }, "composerNetworkAttachment": { - "description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "string" }, "diskSizeGb": { @@ -2289,7 +2289,7 @@ "type": "string" }, "enablePrivateBuildsOnly": { - "description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "boolean" }, "enablePrivateEnvironment": { @@ -2446,7 +2446,7 @@ "type": "integer" }, "webServerPluginsMode": { - "description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "enum": [ "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", "PLUGINS_DISABLED", @@ -2705,7 +2705,7 @@ "properties": { "dagProcessor": { "$ref": "DagProcessorResource", - "description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer." + "description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer." }, "scheduler": { "$ref": "SchedulerResource", diff --git a/composer/v1/composer-gen.go b/composer/v1/composer-gen.go index 6f2afebf61..ac258c5b3a 100644 --- a/composer/v1/composer-gen.go +++ b/composer/v1/composer-gen.go @@ -514,7 +514,7 @@ func (s ComposerWorkloadStatus) MarshalJSON() ([]byte, error) { // DagProcessorResource: Configuration for resources used by Airflow DAG // processors. This field is supported for Cloud Composer environments in -// versions composer-3.*.*-airflow-*.*.* and newer. +// versions composer-3-airflow-*.*.*-build.* and newer. type DagProcessorResource struct { // Count: Optional. The number of DAG processors. If not provided or set to 0, // a single DAG processor instance will be created. @@ -1437,7 +1437,7 @@ type NodeConfig struct { // overlap, IPs from this range will not be accessible in the user's VPC // network. Cannot be updated. If not specified, the default value of // '100.64.128.0/20' is used. This field is supported for Cloud Composer - // environments in versions composer-3.*.*-airflow-*.*.* and newer. + // environments in versions composer-3-airflow-*.*.*-build.* and newer. ComposerInternalIpv4CidrBlock string `json:"composerInternalIpv4CidrBlock,omitempty"` // ComposerNetworkAttachment: Optional. Network Attachment that Cloud Composer // environment is connected to, which provides connectivity with a user's VPC @@ -1448,7 +1448,7 @@ type NodeConfig struct { // be provided in format // projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. // This field is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. ComposerNetworkAttachment string `json:"composerNetworkAttachment,omitempty"` // DiskSizeGb: Optional. The disk size in GB used for node VMs. Minimum size is // 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is @@ -1768,7 +1768,7 @@ type PrivateEnvironmentConfig struct { // `NodeConfig.network` and `NodeConfig.subnetwork` fields or // `NodeConfig.composer_network_attachment` field are specified). If `false`, // the builds also have access to the internet. This field is supported for - // Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and + // Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. EnablePrivateBuildsOnly bool `json:"enablePrivateBuildsOnly,omitempty"` // EnablePrivateEnvironment: Optional. If `true`, a Private IP Cloud Composer @@ -2038,7 +2038,7 @@ type SoftwareConfig struct { // WebServerPluginsMode: Optional. Whether or not the web server uses custom // plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field // is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. // // Possible values: // "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED" - Default mode. @@ -2467,7 +2467,7 @@ func (s *WorkerResource) UnmarshalJSON(data []byte) error { type WorkloadsConfig struct { // DagProcessor: Optional. Resources used by Airflow DAG processors. This field // is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. DagProcessor *DagProcessorResource `json:"dagProcessor,omitempty"` // Scheduler: Optional. Resources used by Airflow schedulers. Scheduler *SchedulerResource `json:"scheduler,omitempty"` @@ -3998,7 +3998,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsCreateCall struct { } // Create: Creates a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - parent: The environment name to create a ConfigMap for, in the form: @@ -4104,7 +4104,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsDeleteCall struct { } // Delete: Deletes a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: The ConfigMap to delete, in the form: @@ -4206,7 +4206,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsGetCall struct { } // Get: Gets an existing user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: The resource name of the ConfigMap to get, in the form: @@ -4320,7 +4320,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsListCall struct { } // List: Lists user workloads ConfigMaps. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: List ConfigMaps in the given environment, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -4467,7 +4468,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsUpdateCall struct { } // Update: Updates a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: Identifier. The resource name of the ConfigMap, in the form: @@ -4575,7 +4576,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsCreateCall struct { } // Create: Creates a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: The environment name to create a Secret for, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -4680,7 +4682,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsDeleteCall struct { } // Delete: Deletes a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - name: The Secret to delete, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u @@ -4782,7 +4785,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsGetCall struct { // Get: Gets an existing user workloads Secret. Values of the "data" field in // the response are cleared. This method is supported for Cloud Composer -// environments in versions composer-3.*.*-airflow-*.*.* and newer. +// environments in versions composer-3-airflow-*.*.*-build.* and newer. // // - name: The resource name of the Secret to get, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u @@ -4895,7 +4898,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsListCall struct { } // List: Lists user workloads Secrets. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: List Secrets in the given environment, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -5042,7 +5046,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsUpdateCall struct { } // Update: Updates a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - name: Identifier. The resource name of the Secret, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u diff --git a/composer/v1beta1/composer-api.json b/composer/v1beta1/composer-api.json index 67b2644a09..3848583f0d 100644 --- a/composer/v1beta1/composer-api.json +++ b/composer/v1beta1/composer-api.json @@ -735,7 +735,7 @@ "userWorkloadsConfigMaps": { "methods": { "create": { - "description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", "httpMethod": "POST", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.create", @@ -763,7 +763,7 @@ ] }, "delete": { - "description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "DELETE", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.delete", @@ -788,7 +788,7 @@ ] }, "get": { - "description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.get", @@ -813,7 +813,7 @@ ] }, "list": { - "description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.list", @@ -849,7 +849,7 @@ ] }, "update": { - "description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", "httpMethod": "PUT", "id": "composer.projects.locations.environments.userWorkloadsConfigMaps.update", @@ -881,7 +881,7 @@ "userWorkloadsSecrets": { "methods": { "create": { - "description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", "httpMethod": "POST", "id": "composer.projects.locations.environments.userWorkloadsSecrets.create", @@ -909,7 +909,7 @@ ] }, "delete": { - "description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "DELETE", "id": "composer.projects.locations.environments.userWorkloadsSecrets.delete", @@ -934,7 +934,7 @@ ] }, "get": { - "description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsSecrets.get", @@ -959,7 +959,7 @@ ] }, "list": { - "description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", "httpMethod": "GET", "id": "composer.projects.locations.environments.userWorkloadsSecrets.list", @@ -995,7 +995,7 @@ ] }, "update": { - "description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", "httpMethod": "PUT", "id": "composer.projects.locations.environments.userWorkloadsSecrets.update", @@ -1216,7 +1216,7 @@ } } }, - "revision": "20241210", + "revision": "20250108", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AirflowMetadataRetentionPolicyConfig": { @@ -1423,7 +1423,7 @@ "type": "object" }, "DagProcessorResource": { - "description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "id": "DagProcessorResource", "properties": { "count": { @@ -2080,11 +2080,11 @@ "id": "NodeConfig", "properties": { "composerInternalIpv4CidrBlock": { - "description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "string" }, "composerNetworkAttachment": { - "description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "string" }, "diskSizeGb": { @@ -2332,7 +2332,7 @@ "type": "string" }, "enablePrivateBuildsOnly": { - "description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "type": "boolean" }, "enablePrivateEnvironment": { @@ -2495,7 +2495,7 @@ "type": "integer" }, "webServerPluginsMode": { - "description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.", + "description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", "enum": [ "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", "PLUGINS_DISABLED", @@ -2754,7 +2754,7 @@ "properties": { "dagProcessor": { "$ref": "DagProcessorResource", - "description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer." + "description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer." }, "scheduler": { "$ref": "SchedulerResource", diff --git a/composer/v1beta1/composer-gen.go b/composer/v1beta1/composer-gen.go index 022b94cfab..a4df76b1b8 100644 --- a/composer/v1beta1/composer-gen.go +++ b/composer/v1beta1/composer-gen.go @@ -513,7 +513,7 @@ func (s ComposerWorkloadStatus) MarshalJSON() ([]byte, error) { // DagProcessorResource: Configuration for resources used by Airflow DAG // processors. This field is supported for Cloud Composer environments in -// versions composer-3.*.*-airflow-*.*.* and newer. +// versions composer-3-airflow-*.*.*-build.* and newer. type DagProcessorResource struct { // Count: Optional. The number of DAG processors. If not provided or set to 0, // a single DAG processor instance will be created. @@ -1445,7 +1445,7 @@ type NodeConfig struct { // overlap, IPs from this range will not be accessible in the user's VPC // network. Cannot be updated. If not specified, the default value of // '100.64.128.0/20' is used. This field is supported for Cloud Composer - // environments in versions composer-3.*.*-airflow-*.*.* and newer. + // environments in versions composer-3-airflow-*.*.*-build.* and newer. ComposerInternalIpv4CidrBlock string `json:"composerInternalIpv4CidrBlock,omitempty"` // ComposerNetworkAttachment: Optional. Network Attachment that Cloud Composer // environment is connected to, which provides connectivity with a user's VPC @@ -1456,7 +1456,7 @@ type NodeConfig struct { // be provided in format // projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. // This field is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. ComposerNetworkAttachment string `json:"composerNetworkAttachment,omitempty"` // DiskSizeGb: Optional. The disk size in GB used for node VMs. Minimum size is // 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is @@ -1787,7 +1787,7 @@ type PrivateEnvironmentConfig struct { // `NodeConfig.network` and `NodeConfig.subnetwork` fields or // `NodeConfig.composer_network_attachment` field are specified). If `false`, // the builds also have access to the internet. This field is supported for - // Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and + // Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. EnablePrivateBuildsOnly bool `json:"enablePrivateBuildsOnly,omitempty"` // EnablePrivateEnvironment: Optional. If `true`, a Private IP Cloud Composer @@ -2061,7 +2061,7 @@ type SoftwareConfig struct { // WebServerPluginsMode: Optional. Whether or not the web server uses custom // plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field // is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. // // Possible values: // "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED" - Default mode. @@ -2490,7 +2490,7 @@ func (s *WorkerResource) UnmarshalJSON(data []byte) error { type WorkloadsConfig struct { // DagProcessor: Optional. Resources used by Airflow DAG processors. This field // is supported for Cloud Composer environments in versions - // composer-3.*.*-airflow-*.*.* and newer. + // composer-3-airflow-*.*.*-build.* and newer. DagProcessor *DagProcessorResource `json:"dagProcessor,omitempty"` // Scheduler: Optional. Resources used by Airflow schedulers. Scheduler *SchedulerResource `json:"scheduler,omitempty"` @@ -4141,7 +4141,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsCreateCall struct { } // Create: Creates a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - parent: The environment name to create a ConfigMap for, in the form: @@ -4247,7 +4247,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsDeleteCall struct { } // Delete: Deletes a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: The ConfigMap to delete, in the form: @@ -4349,7 +4349,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsGetCall struct { } // Get: Gets an existing user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: The resource name of the ConfigMap to get, in the form: @@ -4463,7 +4463,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsListCall struct { } // List: Lists user workloads ConfigMaps. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: List ConfigMaps in the given environment, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -4610,7 +4611,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsConfigMapsUpdateCall struct { } // Update: Updates a user workloads ConfigMap. This method is supported for -// Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and +// Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and // newer. // // - name: Identifier. The resource name of the ConfigMap, in the form: @@ -4718,7 +4719,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsCreateCall struct { } // Create: Creates a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: The environment name to create a Secret for, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -4823,7 +4825,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsDeleteCall struct { } // Delete: Deletes a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - name: The Secret to delete, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u @@ -4925,7 +4928,7 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsGetCall struct { // Get: Gets an existing user workloads Secret. Values of the "data" field in // the response are cleared. This method is supported for Cloud Composer -// environments in versions composer-3.*.*-airflow-*.*.* and newer. +// environments in versions composer-3-airflow-*.*.*-build.* and newer. // // - name: The resource name of the Secret to get, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u @@ -5038,7 +5041,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsListCall struct { } // List: Lists user workloads Secrets. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - parent: List Secrets in the given environment, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". @@ -5185,7 +5189,8 @@ type ProjectsLocationsEnvironmentsUserWorkloadsSecretsUpdateCall struct { } // Update: Updates a user workloads Secret. This method is supported for Cloud -// Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. +// Composer environments in versions composer-3-airflow-*.*.*-build.* and +// newer. // // - name: Identifier. The resource name of the Secret, in the form: // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/u diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 629383facc..944c548354 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -4978,7 +4978,7 @@ } } }, - "revision": "20241025", + "revision": "20250111", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -6075,7 +6075,8 @@ "STOPPING", "STOPPED", "STARTING", - "REPAIRING" + "REPAIRING", + "SCHEDULED" ], "enumDescriptions": [ "The cluster state is unknown.", @@ -6088,7 +6089,8 @@ "The cluster is being stopped. It cannot be used.", "The cluster is currently stopped. It is not ready for use.", "The cluster is being started. It is not ready for use.", - "The cluster is being repaired. It is not ready for use." + "The cluster is being repaired. It is not ready for use.", + "Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING." ], "readOnly": true, "type": "string" @@ -6305,12 +6307,12 @@ "id": "DiskConfig", "properties": { "bootDiskProvisionedIops": { - "description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.", + "description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.", "format": "int64", "type": "string" }, "bootDiskProvisionedThroughput": { - "description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.", + "description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.", "format": "int64", "type": "string" }, @@ -10444,7 +10446,6 @@ "HBASE", "HIVE_WEBHCAT", "HUDI", - "ICEBERG", "JUPYTER", "PRESTO", "TRINO", @@ -10462,7 +10463,6 @@ "HBase. (beta)", "The Hive Web HCatalog (the REST service for accessing HCatalog).", "Hudi.", - "Iceberg.", "The Jupyter Notebook.", "The Presto query engine.", "The Trino query engine.", diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index f7a8ef20ad..3a08787cc7 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -1779,6 +1779,9 @@ type ClusterStatus struct { // "STOPPED" - The cluster is currently stopped. It is not ready for use. // "STARTING" - The cluster is being started. It is not ready for use. // "REPAIRING" - The cluster is being repaired. It is not ready for use. + // "SCHEDULED" - Cluster creation is currently waiting for resources to be + // available. Once all resources are available, it will transition to CREATING + // and then RUNNING. State string `json:"state,omitempty"` // StateStartTime: Output only. Time when this state was entered (see JSON // representation of Timestamp @@ -2003,13 +2006,13 @@ func (s DiagnoseClusterResults) MarshalJSON() ([]byte, error) { type DiskConfig struct { // BootDiskProvisionedIops: Optional. Indicates how many IOPS to provision for // the disk. This sets the number of I/O operations per second that the disk - // can handle. Note: This field is only supported if boot_disk_type is + // can handle. This field is supported only if boot_disk_type is // hyperdisk-balanced. BootDiskProvisionedIops int64 `json:"bootDiskProvisionedIops,omitempty,string"` // BootDiskProvisionedThroughput: Optional. Indicates how much throughput to // provision for the disk. This sets the number of throughput mb per second - // that the disk can handle. Values must be greater than or equal to 1. Note: - // This field is only supported if boot_disk_type is hyperdisk-balanced. + // that the disk can handle. Values must be greater than or equal to 1. This + // field is supported only if boot_disk_type is hyperdisk-balanced. BootDiskProvisionedThroughput int64 `json:"bootDiskProvisionedThroughput,omitempty,string"` // BootDiskSizeGb: Optional. Size in GB of the boot disk (default is 500GB). BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` @@ -6926,7 +6929,6 @@ type SoftwareConfig struct { // "HIVE_WEBHCAT" - The Hive Web HCatalog (the REST service for accessing // HCatalog). // "HUDI" - Hudi. - // "ICEBERG" - Iceberg. // "JUPYTER" - The Jupyter Notebook. // "PRESTO" - The Presto query engine. // "TRINO" - The Trino query engine.