diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 86c65ed7e5..9c46043ac4 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -41579,7 +41579,7 @@ } } }, - "revision": "20240421", + "revision": "20240430", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -42156,7 +42156,7 @@ "type": "string" }, "publicPtrDomainName": { - "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.", + "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.", "type": "string" }, "securityPolicy": { @@ -46588,6 +46588,7 @@ "enum": [ "ACCELERATOR_OPTIMIZED", "ACCELERATOR_OPTIMIZED_A3", + "ACCELERATOR_OPTIMIZED_A3_MEGA", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", @@ -46623,6 +46624,7 @@ "", "", "", + "", "" ], "type": "string" @@ -52042,7 +52044,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTP/2 health check request. The default value is /.", + "description": "The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52095,7 +52097,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /.", + "description": "The request path of the HTTP health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52148,7 +52150,7 @@ "type": "string" }, "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is /.", + "description": "The request path of the HTTPS health check request. The default value is /. Must comply with RFC3986.", "type": "string" }, "response": { @@ -52220,7 +52222,7 @@ "type": "string" }, "sourceRegions": { - "description": "The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of GCP regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. ", + "description": "The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. ", "items": { "type": "string" }, @@ -71429,6 +71431,7 @@ "TPU_LITE_PODSLICE_V5", "TPU_PODSLICE_V4", "URL_MAPS", + "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES", "VPN_GATEWAYS", "VPN_TUNNELS", "XPN_SERVICE_PROJECTS" @@ -71597,6 +71600,7 @@ "", "", "", + "", "" ], "type": "string" @@ -78168,6 +78172,11 @@ "description": "[Output Only] Server-defined URL for this resource with the resource id.", "type": "string" }, + "shortName": { + "description": "User-provided name of the organization security policy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, "type": { "description": "The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.", "enum": [ @@ -78401,6 +78410,20 @@ "description": "[Output Only] The display name of the security policy of the association.", "type": "string" }, + "excludedFolders": { + "description": "A list of folders to exclude from the security policy.", + "items": { + "type": "string" + }, + "type": "array" + }, + "excludedProjects": { + "description": "A list of projects to exclude from the security policy.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "The name for an association.", "type": "string" @@ -78408,6 +78431,10 @@ "securityPolicyId": { "description": "[Output Only] The security policy ID of the association.", "type": "string" + }, + "shortName": { + "description": "[Output Only] The short name of the security policy of the association.", + "type": "string" } }, "type": "object" @@ -80611,7 +80638,7 @@ "additionalProperties": { "$ref": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference" }, - "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.", + "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.", "type": "object" }, "policy": { @@ -80624,7 +80651,7 @@ ], "enumDescriptions": [ "Store snapshot in the same region as with the originating disk. No additional parameters are needed.", - "Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.", + "Store snapshot in the nearest multi region Cloud Storage bucket, relative to the originating disk. No additional parameters are needed.", "Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the `locations` field.", "" ], @@ -80638,7 +80665,7 @@ "id": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference", "properties": { "name": { - "description": "Name of the location. It should be one of the GCS buckets.", + "description": "Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.", "type": "string" } }, diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 7d184328bc..c045dcdf30 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -541,7 +541,7 @@ export namespace compute_beta { */ networkTier?: string | null; /** - * The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range. + * The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range. */ publicPtrDomainName?: string | null; /** @@ -4747,7 +4747,7 @@ export namespace compute_beta { */ selfLink?: string | null; /** - * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of GCP regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. + * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. */ sourceRegions?: string[] | null; sslHealthCheck?: Schema$SSLHealthCheck; @@ -5078,7 +5078,7 @@ export namespace compute_beta { */ proxyHeader?: string | null; /** - * The request path of the HTTP/2 health check request. The default value is /. + * The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986. */ requestPath?: string | null; /** @@ -5239,7 +5239,7 @@ export namespace compute_beta { */ proxyHeader?: string | null; /** - * The request path of the HTTP health check request. The default value is /. + * The request path of the HTTP health check request. The default value is /. Must comply with RFC3986. */ requestPath?: string | null; /** @@ -5542,7 +5542,7 @@ export namespace compute_beta { */ proxyHeader?: string | null; /** - * The request path of the HTTPS health check request. The default value is /. + * The request path of the HTTPS health check request. The default value is /. Must comply with RFC3986. */ requestPath?: string | null; /** @@ -14737,6 +14737,10 @@ export namespace compute_beta { * [Output Only] Server-defined URL for this resource with the resource id. */ selfLinkWithId?: string | null; + /** + * User-provided name of the organization security policy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + shortName?: string | null; /** * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. */ @@ -14843,6 +14847,14 @@ export namespace compute_beta { * [Output Only] The display name of the security policy of the association. */ displayName?: string | null; + /** + * A list of folders to exclude from the security policy. + */ + excludedFolders?: string[] | null; + /** + * A list of projects to exclude from the security policy. + */ + excludedProjects?: string[] | null; /** * The name for an association. */ @@ -14851,6 +14863,10 @@ export namespace compute_beta { * [Output Only] The security policy ID of the association. */ securityPolicyId?: string | null; + /** + * [Output Only] The short name of the security policy of the association. + */ + shortName?: string | null; } export interface Schema$SecurityPolicyDdosProtectionConfig { ddosProtection?: string | null; @@ -15876,7 +15892,7 @@ export namespace compute_beta { } export interface Schema$SnapshotSettingsStorageLocationSettings { /** - * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations. + * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified. */ locations?: { [ @@ -15893,7 +15909,7 @@ export namespace compute_beta { */ export interface Schema$SnapshotSettingsStorageLocationSettingsStorageLocationPreference { /** - * Name of the location. It should be one of the GCS buckets. + * Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified. */ name?: string | null; }