diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 391569afea..d2073100b9 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -38660,7 +38660,7 @@ } } }, - "revision": "20220312", + "revision": "20220322", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -41436,6 +41436,13 @@ ], "type": "string" }, + "localityLbPolicies": { + "description": "A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.", + "items": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfig" + }, + "type": "array" + }, "localityLbPolicy": { "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", "enum": [ @@ -42065,6 +42072,65 @@ }, "type": "object" }, + "BackendServiceLocalityLoadBalancingPolicyConfig": { + "description": "Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfig", + "properties": { + "customPolicy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" + }, + "policy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" + } + }, + "type": "object" + }, + "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy": { + "description": "The configuration for a custom policy implemented by the user and deployed with the client.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy", + "properties": { + "data": { + "description": "An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.", + "type": "string" + }, + "name": { + "description": "Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.", + "type": "string" + } + }, + "type": "object" + }, + "BackendServiceLocalityLoadBalancingPolicyConfigPolicy": { + "description": "The configuration for a built-in load balancing policy.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy", + "properties": { + "name": { + "description": "The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.", + "enum": [ + "INVALID_LB_POLICY", + "LEAST_REQUEST", + "MAGLEV", + "ORIGINAL_DESTINATION", + "RANDOM", + "RING_HASH", + "ROUND_ROBIN", + "WEIGHTED_MAGLEV" + ], + "enumDescriptions": [ + "", + "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", + "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", + "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", + "The load balancer selects a random healthy host.", + "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", + "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + ], + "type": "string" + } + }, + "type": "object" + }, "BackendServiceLogConfig": { "description": "The available logging options for the load balancer traffic served by this backend service.", "id": "BackendServiceLogConfig", @@ -47163,7 +47229,7 @@ "additionalProperties": { "type": "string" }, - "description": "A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", + "description": "A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", "type": "object" } }, @@ -47279,7 +47345,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "BARE_METAL_LINUX_COMPATIBLE", "FEATURE_TYPE_UNSPECIFIED", @@ -49764,7 +49830,7 @@ "description": "Encrypts or decrypts data for an instance with a customer-supplied encryption key. If you are creating a new instance, this field encrypts the local SSD and in-memory contents of the instance using a key that you provide. If you are restarting an instance protected with a customer-supplied encryption key, you must provide the correct key in order to successfully restart the instance. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key and you do not need to provide a key to start the instance later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt local SSDs and in-memory content in a managed instance group." }, "keyRevocationActionType": { - "description": "KeyRevocationActionType of the instance.", + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", "enum": [ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", @@ -52417,7 +52483,7 @@ "type": "array" }, "keyRevocationActionType": { - "description": "KeyRevocationActionType of the instance.", + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", "enum": [ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", @@ -57884,7 +57950,7 @@ "id": "NetworkEndpointGroupServerlessDeployment", "properties": { "platform": { - "description": "The platform of the backend target(s) of this NEG. Possible values include: 1. API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.com ", + "description": "The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com.", "type": "string" }, "resource": { @@ -58494,6 +58560,18 @@ "format": "int32", "type": "integer" }, + "stackType": { + "description": "Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.", + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ], + "enumDescriptions": [ + "This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.", + "This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6." + ], + "type": "string" + }, "state": { "description": "[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network.", "enum": [ @@ -66416,6 +66494,10 @@ "description": "Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.", "format": "int32", "type": "integer" + }, + "terminationTimestamp": { + "description": "Time in future when the instance will be terminated in RFC3339 text format.", + "type": "string" } }, "type": "object" @@ -68945,6 +69027,7 @@ "enum": [ "CLOUD_ARMOR", "CLOUD_ARMOR_EDGE", + "CLOUD_ARMOR_INTERNAL_SERVICE", "CLOUD_ARMOR_NETWORK", "FIREWALL" ], @@ -68952,6 +69035,7 @@ "", "", "", + "", "" ], "type": "string" @@ -70772,7 +70856,7 @@ "type": "array" }, "keyRevocationActionType": { - "description": "KeyRevocationActionType of the instance.", + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", "enum": [ "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "NONE", @@ -72003,7 +72087,7 @@ "type": "boolean" }, "externalIpv6Prefix": { - "description": "[Output Only] The range of external IPv6 addresses that are owned by this subnetwork.", + "description": "[Output Only] The external IPv6 address range that is assigned to this subnetwork.", "type": "string" }, "fingerprint": { @@ -72026,7 +72110,7 @@ "type": "string" }, "internalIpv6Prefix": { - "description": "[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this is for general VM to VM communication, not to be confused with the ipv6_cidr_range field.", + "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", "type": "string" }, "ipCidrRange": { @@ -72034,19 +72118,19 @@ "type": "string" }, "ipv6AccessType": { - "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.", + "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", "enum": [ "EXTERNAL", "INTERNAL" ], "enumDescriptions": [ - "VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network.", + "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." ], "type": "string" }, "ipv6CidrRange": { - "description": "[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.", + "description": "[Output Only] This field is for internal use.", "type": "string" }, "kind": { @@ -72084,7 +72168,7 @@ "type": "boolean" }, "privateIpv6GoogleAccess": { - "description": "The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.", + "description": "This field is for internal use. This field can be both set at resource creation time and updated using patch.", "enum": [ "DISABLE_GOOGLE_ACCESS", "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 712757f131..7adeed122e 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -34792,7 +34792,7 @@ } } }, - "revision": "20220312", + "revision": "20220322", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -35773,6 +35773,11 @@ "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", "format": "int32", "type": "integer" + }, + "visibleCoreCount": { + "description": "The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -37382,6 +37387,13 @@ ], "type": "string" }, + "localityLbPolicies": { + "description": "A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.", + "items": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfig" + }, + "type": "array" + }, "localityLbPolicy": { "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", "enum": [ @@ -37979,6 +37991,65 @@ }, "type": "object" }, + "BackendServiceLocalityLoadBalancingPolicyConfig": { + "description": "Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfig", + "properties": { + "customPolicy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" + }, + "policy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" + } + }, + "type": "object" + }, + "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy": { + "description": "The configuration for a custom policy implemented by the user and deployed with the client.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy", + "properties": { + "data": { + "description": "An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.", + "type": "string" + }, + "name": { + "description": "Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.", + "type": "string" + } + }, + "type": "object" + }, + "BackendServiceLocalityLoadBalancingPolicyConfigPolicy": { + "description": "The configuration for a built-in load balancing policy.", + "id": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy", + "properties": { + "name": { + "description": "The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.", + "enum": [ + "INVALID_LB_POLICY", + "LEAST_REQUEST", + "MAGLEV", + "ORIGINAL_DESTINATION", + "RANDOM", + "RING_HASH", + "ROUND_ROBIN", + "WEIGHTED_MAGLEV" + ], + "enumDescriptions": [ + "", + "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", + "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", + "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", + "The load balancer selects a random healthy host.", + "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", + "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + ], + "type": "string" + } + }, + "type": "object" + }, "BackendServiceLogConfig": { "description": "The available logging options for the load balancer traffic served by this backend service.", "id": "BackendServiceLogConfig", @@ -41396,6 +41467,10 @@ "format": "int32", "type": "integer" }, + "ruleName": { + "description": "An optional name for the rule. This field is not a unique identifier and can be updated.", + "type": "string" + }, "ruleTupleCount": { "description": "[Output Only] Calculation of the complexity of a single firewall policy rule.", "format": "int32", @@ -41436,6 +41511,20 @@ }, "type": "array" }, + "destRegionCodes": { + "description": "Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of dest region codes allowed is 5000.", + "items": { + "type": "string" + }, + "type": "array" + }, + "destThreatIntelligences": { + "description": "Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.", + "items": { + "type": "string" + }, + "type": "array" + }, "layer4Configs": { "description": "Pairs of IP protocols and ports that the rule should match.", "items": { @@ -41450,12 +41539,26 @@ }, "type": "array" }, + "srcRegionCodes": { + "description": "Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of source region codes allowed is 5000.", + "items": { + "type": "string" + }, + "type": "array" + }, "srcSecureTags": { "description": "List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.", "items": { "$ref": "FirewallPolicyRuleSecureTag" }, "type": "array" + }, + "srcThreatIntelligences": { + "description": "Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -42201,7 +42304,7 @@ "additionalProperties": { "type": "string" }, - "description": "A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", + "description": "A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", "type": "object" } }, @@ -42298,7 +42401,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "FEATURE_TYPE_UNSPECIFIED", "GVNIC", @@ -51157,7 +51260,7 @@ "id": "NetworkEndpointGroupServerlessDeployment", "properties": { "platform": { - "description": "The platform of the backend target(s) of this NEG. Possible values include: 1. API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.com ", + "description": "The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com.", "type": "string" }, "resource": { @@ -63749,7 +63852,7 @@ "type": "boolean" }, "externalIpv6Prefix": { - "description": "[Output Only] The range of external IPv6 addresses that are owned by this subnetwork.", + "description": "[Output Only] The external IPv6 address range that is assigned to this subnetwork.", "type": "string" }, "fingerprint": { @@ -63767,7 +63870,7 @@ "type": "string" }, "internalIpv6Prefix": { - "description": "[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this is for general VM to VM communication, not to be confused with the ipv6_cidr_range field.", + "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", "type": "string" }, "ipCidrRange": { @@ -63775,19 +63878,19 @@ "type": "string" }, "ipv6AccessType": { - "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.", + "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", "enum": [ "EXTERNAL", "INTERNAL" ], "enumDescriptions": [ - "VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network.", + "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." ], "type": "string" }, "ipv6CidrRange": { - "description": "[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.", + "description": "[Output Only] This field is for internal use.", "type": "string" }, "kind": { @@ -63813,7 +63916,7 @@ "type": "boolean" }, "privateIpv6GoogleAccess": { - "description": "The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.", + "description": "This field is for internal use. This field can be both set at resource creation time and updated using patch.", "enum": [ "DISABLE_GOOGLE_ACCESS", "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index fe7cadaf6c..0041bc1302 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -31075,7 +31075,7 @@ } } }, - "revision": "20220312", + "revision": "20220315", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -38316,7 +38316,7 @@ "additionalProperties": { "type": "string" }, - "description": "A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", + "description": "A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", "type": "object" } }, @@ -38413,7 +38413,7 @@ "id": "GuestOsFeature", "properties": { "type": { - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", "enum": [ "FEATURE_TYPE_UNSPECIFIED", "GVNIC", diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 429d4104f1..cb4ef2addf 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -1675,6 +1675,10 @@ export namespace compute_alpha { * Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. */ loadBalancingScheme?: string | null; + /** + * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. + */ + localityLbPolicies?: Schema$BackendServiceLocalityLoadBalancingPolicyConfig[]; /** * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */ @@ -1985,6 +1989,35 @@ export namespace compute_alpha { message?: string; } | null; } + /** + * Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfig { + customPolicy?: Schema$BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy; + policy?: Schema$BackendServiceLocalityLoadBalancingPolicyConfigPolicy; + } + /** + * The configuration for a custom policy implemented by the user and deployed with the client. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { + /** + * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. + */ + data?: string | null; + /** + * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. + */ + name?: string | null; + } + /** + * The configuration for a built-in load balancing policy. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfigPolicy { + /** + * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + */ + name?: string | null; + } /** * The available logging options for the load balancer traffic served by this backend service. */ @@ -4284,7 +4317,7 @@ export namespace compute_alpha { */ labelFingerprint?: string | null; /** - * A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). + * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). */ labels?: {[key: string]: string} | null; } @@ -4394,7 +4427,7 @@ export namespace compute_alpha { */ export interface Schema$GuestOsFeature { /** - * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. */ type?: string | null; } @@ -5652,7 +5685,7 @@ export namespace compute_alpha { */ instanceEncryptionKey?: Schema$CustomerEncryptionKey; /** - * KeyRevocationActionType of the instance. + * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. */ keyRevocationActionType?: string | null; /** @@ -6812,7 +6845,7 @@ export namespace compute_alpha { */ guestAccelerators?: Schema$AcceleratorConfig[]; /** - * KeyRevocationActionType of the instance. + * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. */ keyRevocationActionType?: string | null; /** @@ -9383,7 +9416,7 @@ export namespace compute_alpha { */ export interface Schema$NetworkEndpointGroupServerlessDeployment { /** - * The platform of the backend target(s) of this NEG. Possible values include: 1. API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.com + * The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. */ platform?: string | null; /** @@ -9623,6 +9656,10 @@ export namespace compute_alpha { * Maximum Transmission Unit in bytes. */ peerMtu?: number | null; + /** + * Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. + */ + stackType?: string | null; /** * [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. */ @@ -12792,6 +12829,10 @@ export namespace compute_alpha { * Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details. */ availabilityDomain?: number | null; + /** + * Time in future when the instance will be terminated in RFC3339 text format. + */ + terminationTimestamp?: string | null; } export interface Schema$ResourceStatusUpcomingMaintenance { /** @@ -14936,7 +14977,7 @@ export namespace compute_alpha { */ guestAccelerators?: Schema$AcceleratorConfig[]; /** - * KeyRevocationActionType of the instance. + * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. */ keyRevocationActionType?: string | null; /** @@ -15406,7 +15447,7 @@ export namespace compute_alpha { */ enablePrivateV6Access?: boolean | null; /** - * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork. + * [Output Only] The external IPv6 address range that is assigned to this subnetwork. */ externalIpv6Prefix?: string | null; /** @@ -15426,7 +15467,7 @@ export namespace compute_alpha { */ id?: string | null; /** - * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this is for general VM to VM communication, not to be confused with the ipv6_cidr_range field. + * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. */ internalIpv6Prefix?: string | null; /** @@ -15434,11 +15475,11 @@ export namespace compute_alpha { */ ipCidrRange?: string | null; /** - * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. + * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. */ ipv6AccessType?: string | null; /** - * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually. + * [Output Only] This field is for internal use. */ ipv6CidrRange?: string | null; /** @@ -15466,7 +15507,7 @@ export namespace compute_alpha { */ privateIpGoogleAccess?: boolean | null; /** - * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch. + * This field is for internal use. This field can be both set at resource creation time and updated using patch. */ privateIpv6GoogleAccess?: string | null; /** @@ -24175,6 +24216,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -24644,6 +24686,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -25005,6 +25048,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -25856,6 +25900,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -103193,6 +103238,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -103668,6 +103714,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -104033,6 +104080,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -104548,6 +104596,7 @@ export namespace compute_alpha { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 966f3e50bc..c47e913dd1 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -696,6 +696,10 @@ export namespace compute_beta { * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. */ threadsPerCore?: number | null; + /** + * The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. + */ + visibleCoreCount?: number | null; } /** * An alias IP range attached to an instance's network interface. @@ -1561,6 +1565,10 @@ export namespace compute_beta { * Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. */ loadBalancingScheme?: string | null; + /** + * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. + */ + localityLbPolicies?: Schema$BackendServiceLocalityLoadBalancingPolicyConfig[]; /** * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. */ @@ -1845,6 +1853,35 @@ export namespace compute_beta { message?: string; } | null; } + /** + * Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfig { + customPolicy?: Schema$BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy; + policy?: Schema$BackendServiceLocalityLoadBalancingPolicyConfigPolicy; + } + /** + * The configuration for a custom policy implemented by the user and deployed with the client. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { + /** + * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. + */ + data?: string | null; + /** + * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. + */ + name?: string | null; + } + /** + * The configuration for a built-in load balancing policy. + */ + export interface Schema$BackendServiceLocalityLoadBalancingPolicyConfigPolicy { + /** + * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + */ + name?: string | null; + } /** * The available logging options for the load balancer traffic served by this backend service. */ @@ -3407,6 +3444,10 @@ export namespace compute_beta { * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. */ priority?: number | null; + /** + * An optional name for the rule. This field is not a unique identifier and can be updated. + */ + ruleName?: string | null; /** * [Output Only] Calculation of the complexity of a single firewall policy rule. */ @@ -3432,6 +3473,14 @@ export namespace compute_beta { * CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. */ destIpRanges?: string[] | null; + /** + * Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000. + */ + destRegionCodes?: string[] | null; + /** + * Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination. + */ + destThreatIntelligences?: string[] | null; /** * Pairs of IP protocols and ports that the rule should match. */ @@ -3440,10 +3489,18 @@ export namespace compute_beta { * CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. */ srcIpRanges?: string[] | null; + /** + * Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000. + */ + srcRegionCodes?: string[] | null; /** * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. */ srcSecureTags?: Schema$FirewallPolicyRuleSecureTag[]; + /** + * Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source. + */ + srcThreatIntelligences?: string[] | null; } export interface Schema$FirewallPolicyRuleMatcherLayer4Config { /** @@ -3738,7 +3795,7 @@ export namespace compute_beta { */ labelFingerprint?: string | null; /** - * A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). + * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). */ labels?: {[key: string]: string} | null; } @@ -3831,7 +3888,7 @@ export namespace compute_beta { */ export interface Schema$GuestOsFeature { /** - * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. */ type?: string | null; } @@ -8024,7 +8081,7 @@ export namespace compute_beta { */ export interface Schema$NetworkEndpointGroupServerlessDeployment { /** - * The platform of the backend target(s) of this NEG. Possible values include: 1. API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.com + * The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. */ platform?: string | null; /** @@ -13340,7 +13397,7 @@ export namespace compute_beta { */ enableFlowLogs?: boolean | null; /** - * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork. + * [Output Only] The external IPv6 address range that is assigned to this subnetwork. */ externalIpv6Prefix?: string | null; /** @@ -13356,7 +13413,7 @@ export namespace compute_beta { */ id?: string | null; /** - * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this is for general VM to VM communication, not to be confused with the ipv6_cidr_range field. + * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. */ internalIpv6Prefix?: string | null; /** @@ -13364,11 +13421,11 @@ export namespace compute_beta { */ ipCidrRange?: string | null; /** - * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. + * The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. */ ipv6AccessType?: string | null; /** - * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually. + * [Output Only] This field is for internal use. */ ipv6CidrRange?: string | null; /** @@ -13392,7 +13449,7 @@ export namespace compute_beta { */ privateIpGoogleAccess?: boolean | null; /** - * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch. + * This field is for internal use. This field can be both set at resource creation time and updated using patch. */ privateIpv6GoogleAccess?: string | null; /** @@ -21865,6 +21922,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -22332,6 +22390,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -22689,6 +22748,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -23532,6 +23592,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -28514,6 +28575,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -29439,6 +29501,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -30397,6 +30460,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -73523,6 +73587,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -74466,6 +74531,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -75132,6 +75198,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -92675,6 +92742,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -93148,6 +93216,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -93509,6 +93578,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -94020,6 +94090,7 @@ export namespace compute_beta { * // "id": "my_id", * // "kind": "my_kind", * // "loadBalancingScheme": "my_loadBalancingScheme", + * // "localityLbPolicies": [], * // "localityLbPolicy": "my_localityLbPolicy", * // "logConfig": {}, * // "maxStreamDuration": {}, @@ -107733,6 +107804,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -108841,6 +108913,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], @@ -109515,6 +109588,7 @@ export namespace compute_beta { * // "kind": "my_kind", * // "match": {}, * // "priority": 0, + * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "targetResources": [], * // "targetSecureTags": [], diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index a1d8818993..d5d155a9db 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -3637,7 +3637,7 @@ export namespace compute_v1 { */ labelFingerprint?: string | null; /** - * A list of labels to apply for this resource. Each label key & value must comply with RFC1035. 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). + * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). */ labels?: {[key: string]: string} | null; } @@ -3730,7 +3730,7 @@ export namespace compute_v1 { */ export interface Schema$GuestOsFeature { /** - * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. */ type?: string | null; }