proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-2.7.2 vs proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-2.8.0
- old
+ new
@@ -960,10 +960,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListAcceleratorTypesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -989,10 +990,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListAddressesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1018,10 +1020,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListAutoscalersRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1047,10 +1050,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListBackendServicesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1076,10 +1080,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListDiskTypesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1105,10 +1110,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListDisksRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1134,10 +1140,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListForwardingRulesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1163,10 +1170,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListGlobalOperationsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1192,10 +1200,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListHealthChecksRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1221,10 +1230,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListInstanceGroupManagersRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1250,10 +1260,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListInstanceGroupsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1279,10 +1290,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListInstanceTemplatesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1308,10 +1320,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListInstancesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1337,10 +1350,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListInterconnectAttachmentsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1366,10 +1380,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListMachineTypesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1395,10 +1410,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNetworkAttachmentsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1424,10 +1440,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNetworkEdgeSecurityServicesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1453,10 +1470,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNetworkEndpointGroupsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1482,10 +1500,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNodeGroupsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1511,10 +1530,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNodeTemplatesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1540,10 +1560,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListNodeTypesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1569,10 +1590,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListPacketMirroringsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1598,10 +1620,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListPublicDelegatedPrefixesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1627,10 +1650,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListRegionCommitmentsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1656,10 +1680,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListReservationsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1685,10 +1710,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListResourcePoliciesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1714,10 +1740,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListRoutersRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1743,10 +1770,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListSecurityPoliciesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1772,10 +1800,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListServiceAttachmentsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1801,10 +1830,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListSslCertificatesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1830,10 +1860,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListSslPoliciesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1859,10 +1890,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListSubnetworksRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1888,10 +1920,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetHttpProxiesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1917,10 +1950,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetHttpsProxiesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1946,10 +1980,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetInstancesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -1975,10 +2010,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetPoolsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2004,10 +2040,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetTcpProxiesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2033,10 +2070,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListTargetVpnGatewaysRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2062,10 +2100,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListUrlMapsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2091,10 +2130,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListVpnGatewaysRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2120,10 +2160,11 @@
# @!attribute [rw] return_partial_success
# @return [::Boolean]
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
# @!attribute [rw] service_project_number
# @return [::Integer]
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
class AggregatedListVpnTunnelsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2137,10 +2178,75 @@
class AliasIpRange
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.
+ # @!attribute [rw] in_use_resources
+ # @return [::Array<::Google::Cloud::Compute::V1::AllocationAggregateReservationReservedResourceInfo>]
+ # [Output only] List of resources currently in use.
+ # @!attribute [rw] reserved_resources
+ # @return [::Array<::Google::Cloud::Compute::V1::AllocationAggregateReservationReservedResourceInfo>]
+ # List of reserved resources (CPUs, memory, accelerators).
+ # @!attribute [rw] vm_family
+ # @return [::String]
+ # The VM family that all instances scheduled against this reservation must belong to.
+ # Check the VmFamily enum for the list of possible values.
+ # @!attribute [rw] workload_type
+ # @return [::String]
+ # The workload type of the instances that will target this reservation.
+ # Check the WorkloadType enum for the list of possible values.
+ class AllocationAggregateReservation
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # The VM family that all instances scheduled against this reservation must belong to.
+ module VmFamily
+ # A value indicating that the enum field is not set.
+ UNDEFINED_VM_FAMILY = 0
+
+ VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108_020_067
+
+ VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18_705_267
+
+ VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517_384_407
+ end
+
+ # The workload type of the instances that will target this reservation.
+ module WorkloadType
+ # A value indicating that the enum field is not set.
+ UNDEFINED_WORKLOAD_TYPE = 0
+
+ # Reserved resources will be optimized for BATCH workloads, such as ML training.
+ BATCH = 62_971_674
+
+ # Reserved resources will be optimized for SERVING workloads, such as ML inference.
+ SERVING = 17_781_740
+
+ UNSPECIFIED = 526_786_327
+ end
+ end
+
+ # @!attribute [rw] accelerator
+ # @return [::Google::Cloud::Compute::V1::AllocationAggregateReservationReservedResourceInfoAccelerator]
+ # Properties of accelerator resources in this reservation.
+ class AllocationAggregateReservationReservedResourceInfo
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] accelerator_count
+ # @return [::Integer]
+ # Number of accelerators of specified type.
+ # @!attribute [rw] accelerator_type
+ # @return [::String]
+ # Full or partial URL to accelerator type. e.g. "projects/\\{PROJECT}/zones/\\{ZONE}/acceleratorTypes/ct4l"
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# [Output Only] Contains output only fields.
# @!attribute [rw] specific_sku_allocation
# @return [::Google::Cloud::Compute::V1::AllocationResourceStatusSpecificSKUAllocation]
# Allocation Properties of this reservation.
class AllocationResourceStatus
@@ -2524,10 +2630,13 @@
# @return [::Integer]
# Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.
# @!attribute [rw] disk_type
# @return [::String]
# Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you specify this field when creating a VM, you can provide either the full or partial URL. For example, the following values are valid: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType If you specify this field when creating or updating an instance template or all-instances configuration, specify the type of the disk, not the URL. For example: pd-standard.
+ # @!attribute [rw] enable_confidential_compute
+ # @return [::Boolean]
+ # Whether this disk is using confidential compute mode.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
# @!attribute [rw] licenses
# @return [::Array<::String>]
@@ -3317,11 +3426,11 @@
end
# Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionBackendServices) For more information, see Backend Services.
# @!attribute [rw] affinity_cookie_ttl_sec
# @return [::Integer]
- # Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not 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.
+ # Lifetime of cookies in seconds. This setting is applicable to Application Load Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not 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.
# @!attribute [rw] backends
# @return [::Array<::Google::Cloud::Compute::V1::Backend>]
# The list of backends that serve this BackendService.
# @!attribute [rw] cdn_policy
# @return [::Google::Cloud::Compute::V1::BackendServiceCdnPolicy]
@@ -3334,11 +3443,11 @@
# Check the CompressionMode enum for the list of possible values.
# @!attribute [rw] connection_draining
# @return [::Google::Cloud::Compute::V1::ConnectionDraining]
# @!attribute [rw] connection_tracking_policy
# @return [::Google::Cloud::Compute::V1::BackendServiceConnectionTrackingPolicy]
- # Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing.
+ # Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers.
# @!attribute [rw] consistent_hash
# @return [::Google::Cloud::Compute::V1::ConsistentHashLoadBalancerSettings]
# Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. 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.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -3355,23 +3464,23 @@
# @!attribute [rw] edge_security_policy
# @return [::String]
# [Output Only] The resource URL for the edge security policy associated with this backend service.
# @!attribute [rw] enable_c_d_n
# @return [::Boolean]
- # If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer.
+ # If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.
# @!attribute [rw] failover_policy
# @return [::Google::Cloud::Compute::V1::BackendServiceFailoverPolicy]
- # Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).
+ # Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).
# @!attribute [rw] fingerprint
# @return [::String]
# Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService.
# @!attribute [rw] health_checks
# @return [::Array<::String>]
# The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check.
# @!attribute [rw] iap
# @return [::Google::Cloud::Compute::V1::BackendServiceIAP]
- # The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing.
+ # The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.
# @!attribute [rw] id
# @return [::Integer]
# [Output Only] The unique identifier for the resource. This identifier is defined by the server.
# @!attribute [rw] kind
# @return [::String]
@@ -3405,14 +3514,14 @@
# @!attribute [rw] outlier_detection
# @return [::Google::Cloud::Compute::V1::OutlierDetection]
# Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not 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.
# @!attribute [rw] port
# @return [::Integer]
- # Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port.
+ # Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.
# @!attribute [rw] port_name
# @return [::String]
- # A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name.
+ # A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.
# @!attribute [rw] protocol
# @return [::String]
# The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.
# Check the Protocol enum for the list of possible values.
# @!attribute [rw] region
@@ -3469,20 +3578,20 @@
# 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.
module LoadBalancingScheme
# A value indicating that the enum field is not set.
UNDEFINED_LOAD_BALANCING_SCHEME = 0
- # Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing
+ # Signifies that this will be used for classic Application Load Balancers, global external proxy Network Load Balancers, or external passthrough Network Load Balancers.
EXTERNAL = 35_607_499
- # Signifies that this will be used for External Managed HTTP(S) Load Balancing.
+ # Signifies that this will be used for global external Application Load Balancers, regional external Application Load Balancers, or regional external proxy Network Load Balancers.
EXTERNAL_MANAGED = 512_006_923
- # Signifies that this will be used for Internal TCP/UDP Load Balancing.
+ # Signifies that this will be used for internal passthrough Network Load Balancers.
INTERNAL = 279_295_677
- # Signifies that this will be used for Internal HTTP(S) Load Balancing.
+ # Signifies that this will be used for internal Application Load Balancers.
INTERNAL_MANAGED = 37_350_397
# Signifies that this will be used by Traffic Director.
INTERNAL_SELF_MANAGED = 236_211_150
@@ -3699,14 +3808,14 @@
# @return [::String]
# Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence).
# Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values.
# @!attribute [rw] enable_strong_affinity
# @return [::Boolean]
- # Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+ # Enable Strong Session Affinity for external passthrough Network Load Balancers. This option is not available publicly.
# @!attribute [rw] idle_timeout_sec
# @return [::Integer]
- # Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly.
+ # Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For internal passthrough Network Load Balancers: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For external passthrough Network Load Balancers the default is 60 seconds. This option is not available publicly.
# @!attribute [rw] tracking_mode
# @return [::String]
# Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode).
# Check the TrackingMode enum for the list of possible values.
class BackendServiceConnectionTrackingPolicy
@@ -3736,17 +3845,17 @@
PER_SESSION = 182_099_252
end
end
- # For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).
+ # For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).
# @!attribute [rw] disable_connection_drain_on_failover
# @return [::Boolean]
# This can be set to true only if the protocol is TCP. The default is false.
# @!attribute [rw] drop_traffic_if_unhealthy
# @return [::Boolean]
- # If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false.
+ # If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false.
# @!attribute [rw] failover_ratio
# @return [::Float]
# The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).
class BackendServiceFailoverPolicy
include ::Google::Protobuf::MessageExts
@@ -4176,14 +4285,14 @@
# @!attribute [rw] condition
# @return [::Google::Cloud::Compute::V1::Expr]
# The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @!attribute [rw] members
# @return [::Array<::String>]
- # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
+ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
# @!attribute [rw] role
# @return [::String]
- # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+ # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
class Binding
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -4481,10 +4590,13 @@
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] end_timestamp
# @return [::String]
# [Output Only] Commitment end time in RFC3339 text format.
+ # @!attribute [rw] existing_reservations
+ # @return [::Array<::String>]
+ # Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
# @!attribute [rw] id
# @return [::Integer]
# [Output Only] The unique identifier for the resource. This identifier is defined by the server.
# @!attribute [rw] kind
# @return [::String]
@@ -4505,11 +4617,11 @@
# @!attribute [rw] region
# @return [::String]
# [Output Only] URL of the region where this commitment may be used.
# @!attribute [rw] reservations
# @return [::Array<::Google::Cloud::Compute::V1::Reservation>]
- # List of create-on-create reseravtions for this commitment.
+ # List of create-on-create reservations for this commitment.
# @!attribute [rw] resources
# @return [::Array<::Google::Cloud::Compute::V1::ResourceCommitment>]
# A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
# @!attribute [rw] self_link
# @return [::String]
@@ -4609,10 +4721,12 @@
MEMORY_OPTIMIZED = 281_753_417
MEMORY_OPTIMIZED_M3 = 276_301_372
+ STORAGE_OPTIMIZED_Z3 = 316_796_085
+
TYPE_UNSPECIFIED = 437_714_322
end
end
# @!attribute [rw] id
@@ -6605,10 +6719,13 @@
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] disk_encryption_key
# @return [::Google::Cloud::Compute::V1::CustomerEncryptionKey]
# Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
+ # @!attribute [rw] enable_confidential_compute
+ # @return [::Boolean]
+ # Whether this disk is using confidential compute mode.
# @!attribute [rw] guest_os_features
# @return [::Array<::Google::Cloud::Compute::V1::GuestOsFeature>]
# A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
# @!attribute [rw] id
# @return [::Integer]
@@ -6665,10 +6782,13 @@
# @return [::Array<::String>]
# Resource policies applied to this disk for automatic snapshot creations.
# @!attribute [rw] resource_status
# @return [::Google::Cloud::Compute::V1::DiskResourceStatus]
# [Output Only] Status information for the disk resource.
+ # @!attribute [rw] satisfies_pzi
+ # @return [::Boolean]
+ # Output only. Reserved for future use.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
@@ -7775,19 +7895,25 @@
# @return [::String]
# An optional name for the rule. This field is not a unique identifier and can be updated.
# @!attribute [rw] rule_tuple_count
# @return [::Integer]
# [Output Only] Calculation of the complexity of a single firewall policy rule.
+ # @!attribute [rw] security_profile_group
+ # @return [::String]
+ # A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/\\{project}/locations/\\{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
# @!attribute [rw] target_resources
# @return [::Array<::String>]
# A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
# @!attribute [rw] target_secure_tags
# @return [::Array<::Google::Cloud::Compute::V1::FirewallPolicyRuleSecureTag>]
# A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
# @!attribute [rw] target_service_accounts
# @return [::Array<::String>]
# A list of service accounts indicating the sets of instances that are applied with this rule.
+ # @!attribute [rw] tls_inspect
+ # @return [::Boolean]
+ # Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.
class FirewallPolicyRule
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# The direction in which this rule applies.
@@ -7889,11 +8015,11 @@
class FixedOrPercent
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
+ # Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
# @!attribute [rw] I_p_address
# @return [::String]
# IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6 address range, as in `2600:1234::/96` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number.
# @!attribute [rw] I_p_protocol
# @return [::String]
@@ -7902,20 +8028,20 @@
# @!attribute [rw] all_ports
# @return [::Boolean]
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The allPorts field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, SCTP, or L3_DEFAULT. - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal and external protocol forwarding. - Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true.
# @!attribute [rw] allow_global_access
# @return [::Boolean]
- # This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If set to true, clients can access the Internal TCP/UDP Load Balancer, Internal HTTP(S) and TCP Proxy Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created.
+ # If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created.
# @!attribute [rw] allow_psc_global_access
# @return [::Boolean]
# This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
# @!attribute [rw] backend_service
# @return [::String]
- # Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types.
+ # Identifies the backend service to which the forwarding rule sends traffic. Required for internal and external passthrough Network Load Balancers; must be omitted for all other load balancer types.
# @!attribute [rw] base_forwarding_rule
# @return [::String]
- # [Output Only] The URL for the corresponding base Forwarding Rule. By base Forwarding Rule, we mean the Forwarding Rule that has the same IP address, protocol, and port settings with the current Forwarding Rule, but without sourceIPRanges specified. Always empty if the current Forwarding Rule does not have sourceIPRanges specified.
+ # [Output Only] The URL for the corresponding base forwarding rule. By base forwarding rule, we mean the forwarding rule that has the same IP address, protocol, and port settings with the current forwarding rule, but without sourceIPRanges specified. Always empty if the current forwarding rule does not have sourceIPRanges specified.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] description
# @return [::String]
@@ -7933,11 +8059,11 @@
# @!attribute [rw] is_mirroring_collector
# @return [::Boolean]
# Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL.
# @!attribute [rw] kind
# @return [::String]
- # [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources.
+ # [Output Only] Type of the resource. Always compute#forwardingRule for forwarding rule resources.
# @!attribute [rw] label_fingerprint
# @return [::String]
# A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
@@ -7952,11 +8078,11 @@
# @!attribute [rw] name
# @return [::String]
# Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and 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 Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.
# @!attribute [rw] network
# @return [::String]
- # This field is not used for global external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.
+ # This field is not used for global external load balancing. For internal passthrough Network Load Balancers, this field identifies the network that the load balanced IP should belong to for this forwarding rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.
# @!attribute [rw] network_tier
# @return [::String]
# This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address.
# Check the NetworkTier enum for the list of possible values.
# @!attribute [rw] no_automate_dns_zone
@@ -7968,11 +8094,11 @@
# @!attribute [rw] ports
# @return [::Array<::String>]
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or SCTP, and - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal protocol forwarding. - You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. @pattern: \\d+(?:-\\d+)?
# @!attribute [rw] psc_connection_id
# @return [::Integer]
- # [Output Only] The PSC connection id of the PSC Forwarding Rule.
+ # [Output Only] The PSC connection id of the PSC forwarding rule.
# @!attribute [rw] psc_connection_status
# @return [::String]
# Check the PscConnectionStatus enum for the list of possible values.
# @!attribute [rw] region
# @return [::String]
@@ -7983,20 +8109,20 @@
# @!attribute [rw] service_directory_registrations
# @return [::Array<::Google::Cloud::Compute::V1::ForwardingRuleServiceDirectoryRegistration>]
# Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource.
# @!attribute [rw] service_label
# @return [::String]
- # An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label 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. This field is only used for internal load balancing.
+ # An optional prefix to the service name for this forwarding rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label 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. This field is only used for internal load balancing.
# @!attribute [rw] service_name
# @return [::String]
- # [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing.
+ # [Output Only] The internal fully qualified service name for this forwarding rule. This field is only used for internal load balancing.
# @!attribute [rw] source_ip_ranges
# @return [::Array<::String>]
- # If not empty, this Forwarding Rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a Forwarding Rule can only have up to 64 source IP ranges, and this field can only be used with a regional Forwarding Rule whose scheme is EXTERNAL. Each source_ip_range entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
+ # If not empty, this forwarding rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a forwarding rule can only have up to 64 source IP ranges, and this field can only be used with a regional forwarding rule whose scheme is EXTERNAL. Each source_ip_range entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
# @!attribute [rw] subnetwork
# @return [::String]
- # This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
+ # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
# @!attribute [rw] target
# @return [::String]
# The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
class ForwardingRule
include ::Google::Protobuf::MessageExts
@@ -8166,20 +8292,20 @@
class ForwardingRuleReference
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.
+ # Describes the auto-registration of the forwarding rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this forwarding rule.
# @!attribute [rw] namespace
# @return [::String]
# Service Directory namespace to register the forwarding rule under.
# @!attribute [rw] service
# @return [::String]
# Service Directory service to register the forwarding rule under.
# @!attribute [rw] service_directory_region
# @return [::String]
- # [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region.
+ # [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region.
class ForwardingRuleServiceDirectoryRegistration
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -8203,17 +8329,17 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
class GRPCHealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -10364,25 +10490,27 @@
end
# Guest OS features.
# @!attribute [rw] type
# @return [::String]
- # 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_LIVE_MIGRATABLE - 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_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
# Check the Type enum for the list of possible values.
class GuestOsFeature
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # 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_LIVE_MIGRATABLE - 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_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
module Type
# A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0
FEATURE_TYPE_UNSPECIFIED = 531_767_259
GVNIC = 68_209_305
+ IDPF = 2_242_641
+
MULTI_IP_SUBNET = 151_776_719
SECURE_BOOT = 376_811_194
SEV_CAPABLE = 87_083_793
@@ -10410,11 +10538,11 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
# @!attribute [rw] proxy_header
# @return [::String]
# Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
# Check the ProxyHeader enum for the list of possible values.
@@ -10426,11 +10554,11 @@
# Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
class HTTP2HealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -10463,11 +10591,11 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
# @!attribute [rw] proxy_header
# @return [::String]
# Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
# Check the ProxyHeader enum for the list of possible values.
@@ -10479,11 +10607,11 @@
# Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
class HTTPHealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -10516,11 +10644,11 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
# @!attribute [rw] proxy_header
# @return [::String]
# Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
# Check the ProxyHeader enum for the list of possible values.
@@ -10532,11 +10660,11 @@
# Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http
class HTTPSHealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -10558,11 +10686,11 @@
PROXY_V1 = 334_352_940
end
end
- # Represents a health check resource. Google Compute Engine has two health check resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [Global](/compute/docs/reference/rest/v1/healthChecks) These health check resources can be used for load balancing and for autohealing VMs in a managed instance group (MIG). **Load balancing** The following load balancer can use either regional or global health check: * Internal TCP/UDP load balancer The following load balancers require regional health check: * Internal HTTP(S) load balancer * Backend service-based network load balancer Traffic Director and the following load balancers require global health check: * External HTTP(S) load balancer * TCP proxy load balancer * SSL proxy load balancer The following load balancer require [legacy HTTP health checks](/compute/docs/reference/rest/v1/httpHealthChecks): * Target pool-based network load balancer **Autohealing in MIGs** The health checks that you use for autohealing VMs in a MIG can be either regional or global. For more information, see Set up an application health check and autohealing. For more information, see Health checks overview.
+ # Represents a health check resource. Google Compute Engine has two health check resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [Global](/compute/docs/reference/rest/v1/healthChecks) These health check resources can be used for load balancing and for autohealing VMs in a managed instance group (MIG). **Load balancing** Health check requirements vary depending on the type of load balancer. For details about the type of health check supported for each load balancer and corresponding backend type, see Health checks overview: Load balancer guide. **Autohealing in MIGs** The health checks that you use for autohealing VMs in a MIG can be either regional or global. For more information, see Set up an application health check and autohealing. For more information, see Health checks overview.
# @!attribute [rw] check_interval_sec
# @return [::Integer]
# How often (in seconds) to send a health check. The default value is 5 seconds.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -11236,10 +11364,13 @@
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] disk_size_gb
# @return [::Integer]
# Size of the image when restored onto a persistent disk (in GB).
+ # @!attribute [rw] enable_confidential_compute
+ # @return [::Boolean]
+ # Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
# @!attribute [rw] family
# @return [::String]
# The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
# @!attribute [rw] guest_os_features
# @return [::Array<::Google::Cloud::Compute::V1::GuestOsFeature>]
@@ -11269,10 +11400,13 @@
# @return [::String]
# Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and 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.
# @!attribute [rw] raw_disk
# @return [::Google::Cloud::Compute::V1::RawDisk]
# The parameters of the raw disk image.
+ # @!attribute [rw] satisfies_pzi
+ # @return [::Boolean]
+ # Output only. Reserved for future use.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
@@ -12760,10 +12894,13 @@
# @return [::Array<::String>]
# Resource policies applied to this instance.
# @!attribute [rw] resource_status
# @return [::Google::Cloud::Compute::V1::ResourceStatus]
# [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
+ # @!attribute [rw] satisfies_pzi
+ # @return [::Boolean]
+ # [Output Only] Reserved for future use.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] scheduling
# @return [::Google::Cloud::Compute::V1::Scheduling]
@@ -13046,10 +13183,13 @@
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.
+ # @!attribute [rw] all_instances_config
+ # @return [::Google::Cloud::Compute::V1::InstanceGroupManagerAllInstancesConfig]
+ # Specifies configuration that overrides the instance template configuration for the group.
# @!attribute [rw] auto_healing_policies
# @return [::Array<::Google::Cloud::Compute::V1::InstanceGroupManagerAutoHealingPolicy>]
# The autohealing policy for this managed instance group. You can specify only one value.
# @!attribute [rw] base_instance_name
# @return [::String]
@@ -13215,10 +13355,18 @@
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
end
+ # @!attribute [rw] properties
+ # @return [::Google::Cloud::Compute::V1::InstancePropertiesPatch]
+ # Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
+ class InstanceGroupManagerAllInstancesConfig
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# @!attribute [rw] health_check
# @return [::String]
# The URL for the health check that signals autohealing.
# @!attribute [rw] initial_delay_sec
# @return [::Integer]
@@ -13269,10 +13417,13 @@
class InstanceGroupManagerList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] all_instances_config
+ # @return [::Google::Cloud::Compute::V1::InstanceGroupManagerStatusAllInstancesConfig]
+ # [Output only] Status of all-instances configuration on the group.
# @!attribute [rw] autoscaler
# @return [::String]
# [Output Only] The URL of the Autoscaler that targets this instance group manager.
# @!attribute [rw] is_stable
# @return [::Boolean]
@@ -13286,10 +13437,21 @@
class InstanceGroupManagerStatus
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] current_revision
+ # @return [::String]
+ # [Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.
+ # @!attribute [rw] effective
+ # @return [::Boolean]
+ # [Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.
+ class InstanceGroupManagerStatusAllInstancesConfig
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# @!attribute [rw] has_stateful_config
# @return [::Boolean]
# [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
# @!attribute [rw] per_instance_configs
# @return [::Google::Cloud::Compute::V1::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
@@ -13945,10 +14107,40 @@
# Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
INHERIT_FROM_SUBNETWORK = 530_256_959
end
end
+ # Represents the change that you want to make to the instance properties.
+ # @!attribute [rw] labels
+ # @return [::Google::Protobuf::Map{::String => ::String}]
+ # The label key-value pairs that you want to patch onto the instance.
+ # @!attribute [rw] metadata
+ # @return [::Google::Protobuf::Map{::String => ::String}]
+ # The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
+ class InstancePropertiesPatch
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::String]
+ class LabelsEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::String]
+ class MetadataEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+ end
+
# @!attribute [rw] instance
# @return [::String]
# The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances
class InstanceReference
include ::Google::Protobuf::MessageExts
@@ -17894,10 +18086,37 @@
class ListRegionUrlMapsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionZones.List. See the method description for details.
+ # @!attribute [rw] filter
+ # @return [::String]
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+ # @!attribute [rw] max_results
+ # @return [::Integer]
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+ # @!attribute [rw] order_by
+ # @return [::String]
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ # @!attribute [rw] page_token
+ # @return [::String]
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # Region for this request.
+ # @!attribute [rw] return_partial_success
+ # @return [::Boolean]
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+ class ListRegionZonesRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for Regions.List. See the method description for details.
# @!attribute [rw] filter
# @return [::String]
# A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
# @!attribute [rw] max_results
@@ -18821,10 +19040,13 @@
# @return [::Google::Cloud::Compute::V1::CustomerEncryptionKey]
# Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.
# @!attribute [rw] name
# @return [::String]
# Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and 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.
+ # @!attribute [rw] satisfies_pzi
+ # @return [::Boolean]
+ # Output only. Reserved for future use.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] saved_disks
# @return [::Array<::Google::Cloud::Compute::V1::SavedDisk>]
@@ -19738,17 +19960,17 @@
# @!attribute [rw] fqdn
# @return [::String]
# Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
# @!attribute [rw] instance
# @return [::String]
- # The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
+ # The name or a URL of VM instance of this network endpoint. This field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance.
# @!attribute [rw] ip_address
# @return [::String]
- # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
+ # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. This field is redundant and need not be set for network endpoints of type GCE_VM_IP. If set, it must be set to the primary internal IP address of the attached VM instance that matches the subnetwork of the NEG. The primary internal IP address from any NIC of a multi-NIC VM instance can be added to a NEG as long as it matches the NEG subnetwork.
# @!attribute [rw] port
# @return [::Integer]
- # Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
+ # Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. This field can not be set for network endpoints of type GCE_VM_IP.
class NetworkEndpoint
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# @!attribute [rw] key
@@ -19765,23 +19987,23 @@
# @!attribute [rw] annotations
# @return [::Google::Protobuf::Map{::String => ::String}]
# Metadata defined as annotations on the network endpoint group.
# @!attribute [rw] app_engine
# @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupAppEngine]
- # Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
+ # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
# @!attribute [rw] cloud_function
# @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudFunction]
- # Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
+ # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
# @!attribute [rw] cloud_run
# @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudRun]
- # Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
+ # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] default_port
# @return [::Integer]
- # The default port used if the port number is not specified in the network endpoint.
+ # The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.
# @!attribute [rw] description
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] id
# @return [::Integer]
@@ -19792,20 +20014,20 @@
# @!attribute [rw] name
# @return [::String]
# Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and 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.
# @!attribute [rw] network
# @return [::String]
- # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
+ # The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified.
# @!attribute [rw] network_endpoint_type
# @return [::String]
# Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
# Check the NetworkEndpointType enum for the list of possible values.
# @!attribute [rw] psc_data
# @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupPscData]
# @!attribute [rw] psc_target_service
# @return [::String]
- # The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
+ # The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com
# @!attribute [rw] region
# @return [::String]
# [Output Only] The URL of the region where the network endpoint group is located.
# @!attribute [rw] self_link
# @return [::String]
@@ -19896,29 +20118,29 @@
end
# Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
# @!attribute [rw] service
# @return [::String]
- # Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
+ # Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service.
# @!attribute [rw] url_mask
# @return [::String]
- # A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
+ # An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask <service>-dot-appname.appspot.com/<version>. The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
# @!attribute [rw] version
# @return [::String]
- # Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
+ # Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2.
class NetworkEndpointGroupAppEngine
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.
# @!attribute [rw] function
# @return [::String]
- # A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
+ # A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1.
# @!attribute [rw] url_mask
# @return [::String]
- # A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
+ # An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /<function>. The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
class NetworkEndpointGroupCloudFunction
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -19929,11 +20151,11 @@
# @!attribute [rw] tag
# @return [::String]
# Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
# @!attribute [rw] url_mask
# @return [::String]
- # A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+ # An URL mask is one of the main components of the Cloud Function. A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
class NetworkEndpointGroupCloudRun
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -21066,11 +21288,11 @@
class NotificationEndpointList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources.
+ # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.
# @!attribute [rw] client_operation_id
# @return [::String]
# [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -21422,14 +21644,14 @@
end
end
# @!attribute [rw] I_p_protocols
# @return [::Array<::String>]
- # Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
+ # Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.
# @!attribute [rw] cidr_ranges
# @return [::Array<::String>]
- # IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
# @!attribute [rw] direction
# @return [::String]
# Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
# Check the Direction enum for the list of possible values.
class PacketMirroringFilter
@@ -22628,10 +22850,28 @@
# The per-instance configuration has been deleted, but the deletion is not yet applied.
UNAPPLIED_DELETION = 313_956_873
end
end
+ # A request message for Instances.PerformMaintenance. See the method description for details.
+ # @!attribute [rw] instance
+ # @return [::String]
+ # Name of the instance scoping this request.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] request_id
+ # @return [::String]
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+ # @!attribute [rw] zone
+ # @return [::String]
+ # The name of the zone for this request.
+ class PerformMaintenanceInstanceRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
# @!attribute [rw] audit_configs
# @return [::Array<::Google::Cloud::Compute::V1::AuditConfig>]
# Specifies cloud audit logging configuration for this policy.
# @!attribute [rw] bindings
@@ -23379,10 +23619,12 @@
COMMITTED_NVIDIA_A100_80GB_GPUS = 464_326_565
COMMITTED_NVIDIA_A100_GPUS = 375_799_445
+ COMMITTED_NVIDIA_H100_GPUS = 71_649_180
+
COMMITTED_NVIDIA_K80_GPUS = 3_857_188
COMMITTED_NVIDIA_L4_GPUS = 19_163_645
COMMITTED_NVIDIA_P100_GPUS = 107_528_100
@@ -23395,10 +23637,12 @@
COMMITTED_T2A_CPUS = 296_378_986
COMMITTED_T2D_CPUS = 382_266_439
+ COMMITTED_Z3_CPUS = 263_844_686
+
# Guest CPUs
CPUS = 2_075_595
CPUS_ALL_REGIONS = 470_911_149
@@ -23530,10 +23774,12 @@
PREEMPTIBLE_NVIDIA_A100_80GB_GPUS = 151_942_410
PREEMPTIBLE_NVIDIA_A100_GPUS = 68_832_784
+ PREEMPTIBLE_NVIDIA_H100_GPUS = 301_553_431
+
PREEMPTIBLE_NVIDIA_K80_GPUS = 374_960_201
PREEMPTIBLE_NVIDIA_L4_GPUS = 100_408_376
PREEMPTIBLE_NVIDIA_P100_GPUS = 337_432_351
@@ -23548,10 +23794,16 @@
PREEMPTIBLE_NVIDIA_T4_VWS_GPUS = 44_497_965
PREEMPTIBLE_NVIDIA_V100_GPUS = 230_123_813
+ PREEMPTIBLE_TPU_LITE_DEVICE_V5 = 174_262_523
+
+ PREEMPTIBLE_TPU_LITE_PODSLICE_V5 = 112_281_796
+
+ PREEMPTIBLE_TPU_PODSLICE_V4 = 425_541_132
+
PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK = 231_164_291
PSC_INTERNAL_LB_FORWARDING_RULES = 169_005_435
PUBLIC_ADVERTISED_PREFIXES = 471_371_980
@@ -23623,10 +23875,16 @@
TARGET_TCP_PROXIES = 182_243_136
TARGET_VPN_GATEWAYS = 75_029_928
+ TPU_LITE_DEVICE_V5 = 449_577_597
+
+ TPU_LITE_PODSLICE_V5 = 12_708_294
+
+ TPU_PODSLICE_V4 = 214_467_530
+
URL_MAPS = 378_660_743
VPN_GATEWAYS = 35_620_282
VPN_TUNNELS = 104_327_296
@@ -24597,10 +24855,13 @@
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.
+ # @!attribute [rw] aggregate_reservation
+ # @return [::Google::Cloud::Compute::V1::AllocationAggregateReservation]
+ # Reservation for aggregated resources, providing shape flexibility.
# @!attribute [rw] commitment
# @return [::String]
# [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -26343,11 +26604,11 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
# @!attribute [rw] proxy_header
# @return [::String]
# Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
# Check the ProxyHeader enum for the list of possible values.
@@ -26359,11 +26620,11 @@
# Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
class SSLHealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -27043,10 +27304,13 @@
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcherConfig]
# The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
# @!attribute [rw] expr
# @return [::Google::Cloud::Compute::V1::Expr]
# User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
+ # @!attribute [rw] expr_options
+ # @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcherExprOptions]
+ # The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
# @!attribute [rw] versioned_expr
# @return [::String]
# Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
# Check the VersionedExpr enum for the list of possible values.
class SecurityPolicyRuleMatcher
@@ -27069,10 +27333,29 @@
class SecurityPolicyRuleMatcherConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] recaptcha_options
+ # @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]
+ # reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
+ class SecurityPolicyRuleMatcherExprOptions
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] action_token_site_keys
+ # @return [::Array<::String>]
+ # A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
+ # @!attribute [rw] session_token_site_keys
+ # @return [::Array<::String>]
+ # A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
+ class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# Represents a match condition that incoming network traffic is evaluated against.
# @!attribute [rw] dest_ip_ranges
# @return [::Array<::String>]
# Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
# @!attribute [rw] dest_ports
@@ -27185,11 +27468,11 @@
# @!attribute [rw] conform_action
# @return [::String]
# Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
# @!attribute [rw] enforce_on_key
# @return [::String]
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP.
# Check the EnforceOnKey enum for the list of possible values.
# @!attribute [rw] enforce_on_key_configs
# @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>]
# If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
# @!attribute [rw] enforce_on_key_name
@@ -27206,11 +27489,11 @@
# Threshold at which to begin ratelimiting.
class SecurityPolicyRuleRateLimitOptions
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP.
module EnforceOnKey
# A value indicating that the enum field is not set.
UNDEFINED_ENFORCE_ON_KEY = 0
ALL = 64_897
@@ -27225,26 +27508,30 @@
REGION_CODE = 79_559_768
SNI = 82_254
+ TLS_JA3_FINGERPRINT = 327_127_933
+
+ USER_IP = 34_009_627
+
XFF_IP = 438_707_118
end
end
# @!attribute [rw] enforce_on_key_name
# @return [::String]
# Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
# @!attribute [rw] enforce_on_key_type
# @return [::String]
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP.
# Check the EnforceOnKeyType enum for the list of possible values.
class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP.
module EnforceOnKeyType
# A value indicating that the enum field is not set.
UNDEFINED_ENFORCE_ON_KEY_TYPE = 0
ALL = 64_897
@@ -27259,10 +27546,14 @@
REGION_CODE = 79_559_768
SNI = 82_254
+ TLS_JA3_FINGERPRINT = 327_127_933
+
+ USER_IP = 34_009_627
+
XFF_IP = 438_707_118
end
end
# @!attribute [rw] count
@@ -27853,11 +28144,11 @@
end
# A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details.
# @!attribute [rw] backend_bucket
# @return [::String]
- # Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.
+ # Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035.
# @!attribute [rw] project
# @return [::String]
# Project ID for this request.
# @!attribute [rw] request_id
# @return [::String]
@@ -29388,10 +29679,13 @@
# @return [::String]
# Project ID for this request.
# @!attribute [rw] request_id
# @return [::String]
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+ # @!attribute [rw] with_extended_notifications
+ # @return [::Boolean]
+ # Determines whether the customers receive notifications before migration. Only applicable to SF vms.
# @!attribute [rw] zone
# @return [::String]
# The name of the zone for this request.
class SimulateMaintenanceEventInstanceRequest
include ::Google::Protobuf::MessageExts
@@ -29443,10 +29737,13 @@
# @return [::Integer]
# [Output Only] Size of the source disk, specified in GB.
# @!attribute [rw] download_bytes
# @return [::Integer]
# [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
+ # @!attribute [rw] enable_confidential_compute
+ # @return [::Boolean]
+ # Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
# @!attribute [rw] guest_os_features
# @return [::Array<::Google::Cloud::Compute::V1::GuestOsFeature>]
# [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
# @!attribute [rw] id
# @return [::Integer]
@@ -29470,10 +29767,13 @@
# @return [::String]
# An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
# @!attribute [rw] name
# @return [::String]
# Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and 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.
+ # @!attribute [rw] satisfies_pzi
+ # @return [::Boolean]
+ # Output only. Reserved for future use.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
@@ -30028,11 +30328,11 @@
class SslPoliciesScopedList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.
+ # Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] custom_features
# @return [::Array<::String>]
@@ -30374,11 +30674,11 @@
end
# A request message for Instances.Stop. See the method description for details.
# @!attribute [rw] discard_local_ssd
# @return [::Boolean]
- # If true, discard the contents of any attached localSSD partitions. Default value is false.
+ # This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded.
# @!attribute [rw] instance
# @return [::String]
# Name of the instance resource to stop.
# @!attribute [rw] project
# @return [::String]
@@ -30448,18 +30748,21 @@
# @return [::String]
# This field is for internal use. This field can be both set at resource creation time and updated using patch.
# Check the PrivateIpv6GoogleAccess enum for the list of possible values.
# @!attribute [rw] purpose
# @return [::String]
- # The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
+ # The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
# Check the Purpose enum for the list of possible values.
# @!attribute [rw] region
# @return [::String]
# URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
+ # @!attribute [rw] reserved_internal_range
+ # @return [::String]
+ # The URL of the reserved internal range.
# @!attribute [rw] role
# @return [::String]
- # The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
+ # The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
# Check the Role enum for the list of possible values.
# @!attribute [rw] secondary_ip_ranges
# @return [::Array<::Google::Cloud::Compute::V1::SubnetworkSecondaryRange>]
# An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
# @!attribute [rw] self_link
@@ -30504,19 +30807,19 @@
# Outbound private IPv6 access from VMs in this subnet to Google services.
ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288_210_263
end
- # The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
+ # The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
module Purpose
# A value indicating that the enum field is not set.
UNDEFINED_PURPOSE = 0
# Subnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236_463_602
- # Subnet reserved for Internal HTTP(S) Load Balancing.
+ # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.
INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889
# Regular user created or automatically created subnet.
PRIVATE = 403_485_027
@@ -30531,11 +30834,11 @@
# Subnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153_049_966
end
- # The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
+ # The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
module Role
# A value indicating that the enum field is not set.
UNDEFINED_ROLE = 0
# The ACTIVE subnet that is currently used.
@@ -30692,10 +30995,13 @@
# @return [::String]
# The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
# @!attribute [rw] range_name
# @return [::String]
# The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
+ # @!attribute [rw] reserved_internal_range
+ # @return [::String]
+ # The URL of the reserved internal range.
class SubnetworkSecondaryRange
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -30747,11 +31053,11 @@
end
# A request message for Instances.Suspend. See the method description for details.
# @!attribute [rw] discard_local_ssd
# @return [::Boolean]
- # If true, discard the contents of any attached localSSD partitions. Default value is false.
+ # This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded.
# @!attribute [rw] instance
# @return [::String]
# Name of the instance resource to suspend.
# @!attribute [rw] project
# @return [::String]
@@ -30788,11 +31094,11 @@
# @!attribute [rw] port_name
# @return [::String]
# Not supported.
# @!attribute [rw] port_specification
# @return [::String]
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
# Check the PortSpecification enum for the list of possible values.
# @!attribute [rw] proxy_header
# @return [::String]
# Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
# Check the ProxyHeader enum for the list of possible values.
@@ -30804,11 +31110,11 @@
# Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
class TCPHealthCheck
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
+ # Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
module PortSpecification
# A value indicating that the enum field is not set.
UNDEFINED_PORT_SPECIFICATION = 0
# The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.
@@ -31309,11 +31615,11 @@
class TargetInstancesScopedList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.
+ # Represents a Target Pool resource. Target pools are used with external passthrough Network Load Balancers. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.
# @!attribute [rw] backup_pool
# @return [::String]
# The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -31547,11 +31853,11 @@
class TargetSslProxiesSetSslCertificatesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.
+ # Represents a Target SSL Proxy resource. A target SSL proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target SSL proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview.
# @!attribute [rw] certificate_map
# @return [::String]
# URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/\\{project }/locations/\\{location}/certificateMaps/\\{resourceName}.
# @!attribute [rw] creation_timestamp
# @return [::String]
@@ -31659,11 +31965,11 @@
PROXY_V1 = 334_352_940
end
end
- # Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview.
+ # Represents a Target TCP Proxy resource. A target TCP proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target TCP proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] description
# @return [::String]
@@ -33220,15 +33526,15 @@
# @!attribute [rw] network
# @return [::String]
# Network URL.
# @!attribute [rw] purpose
# @return [::String]
- # The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
+ # The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
# Check the Purpose enum for the list of possible values.
# @!attribute [rw] role
# @return [::String]
- # The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
+ # The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
# Check the Role enum for the list of possible values.
# @!attribute [rw] secondary_ip_ranges
# @return [::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>]
# Secondary IP ranges.
# @!attribute [rw] stack_type
@@ -33252,19 +33558,19 @@
# VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
INTERNAL = 279_295_677
end
- # The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
+ # The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
module Purpose
# A value indicating that the enum field is not set.
UNDEFINED_PURPOSE = 0
# Subnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236_463_602
- # Subnet reserved for Internal HTTP(S) Load Balancing.
+ # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.
INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889
# Regular user created or automatically created subnet.
PRIVATE = 403_485_027
@@ -33279,10 +33585,10 @@
# Subnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153_049_966
end
- # The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
+ # The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
module Role
# A value indicating that the enum field is not set.
UNDEFINED_ROLE = 0
# The ACTIVE subnet that is currently used.