diff --git a/Compute/metadata/V1/Compute.php b/Compute/metadata/V1/Compute.php index b0aa8f042ee..427bfb24129 100644 Binary files a/Compute/metadata/V1/Compute.php and b/Compute/metadata/V1/Compute.php differ diff --git a/Compute/samples/V1/BackendServicesClient/list_usable.php b/Compute/samples/V1/BackendServicesClient/list_usable.php index 58a3033ef9e..f67af07cc52 100644 --- a/Compute/samples/V1/BackendServicesClient/list_usable.php +++ b/Compute/samples/V1/BackendServicesClient/list_usable.php @@ -28,7 +28,7 @@ use Google\Cloud\Compute\V1\BackendServicesClient; /** - * Retrieves an aggregated list of all usable backend services in the specified project. + * Retrieves a list of all usable backend services in the specified project. * * @param string $project Project ID for this request. */ diff --git a/Compute/samples/V1/GlobalOperationsClient/delete.php b/Compute/samples/V1/GlobalOperationsClient/delete.php index 78df8038176..dd5116e4327 100644 --- a/Compute/samples/V1/GlobalOperationsClient/delete.php +++ b/Compute/samples/V1/GlobalOperationsClient/delete.php @@ -30,7 +30,7 @@ /** * Deletes the specified Operations resource. * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. */ function delete_sample(string $operation, string $project): void diff --git a/Compute/samples/V1/GlobalOperationsClient/get.php b/Compute/samples/V1/GlobalOperationsClient/get.php index 88816d9fc9c..0e1932a36d1 100644 --- a/Compute/samples/V1/GlobalOperationsClient/get.php +++ b/Compute/samples/V1/GlobalOperationsClient/get.php @@ -30,7 +30,7 @@ /** * Retrieves the specified Operations resource. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. */ function get_sample(string $operation, string $project): void diff --git a/Compute/samples/V1/GlobalOperationsClient/wait.php b/Compute/samples/V1/GlobalOperationsClient/wait.php index d2927ecaa93..e88cf06035a 100644 --- a/Compute/samples/V1/GlobalOperationsClient/wait.php +++ b/Compute/samples/V1/GlobalOperationsClient/wait.php @@ -30,7 +30,7 @@ /** * Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. */ function wait_sample(string $operation, string $project): void diff --git a/Compute/samples/V1/GlobalOrganizationOperationsClient/delete.php b/Compute/samples/V1/GlobalOrganizationOperationsClient/delete.php index 48d6d73799b..09e886c3e58 100644 --- a/Compute/samples/V1/GlobalOrganizationOperationsClient/delete.php +++ b/Compute/samples/V1/GlobalOrganizationOperationsClient/delete.php @@ -30,7 +30,7 @@ /** * Deletes the specified Operations resource. * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. */ function delete_sample(string $operation): void { diff --git a/Compute/samples/V1/GlobalOrganizationOperationsClient/get.php b/Compute/samples/V1/GlobalOrganizationOperationsClient/get.php index 468eeda3623..c7a1aa66d9f 100644 --- a/Compute/samples/V1/GlobalOrganizationOperationsClient/get.php +++ b/Compute/samples/V1/GlobalOrganizationOperationsClient/get.php @@ -30,7 +30,7 @@ /** * Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. */ function get_sample(string $operation): void { diff --git a/Compute/samples/V1/NetworksClient/patch.php b/Compute/samples/V1/NetworksClient/patch.php index 9f52fba183c..96815896168 100644 --- a/Compute/samples/V1/NetworksClient/patch.php +++ b/Compute/samples/V1/NetworksClient/patch.php @@ -30,7 +30,7 @@ use Google\Rpc\Status; /** - * Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. + * Patches the specified network with the data included in the request. Only routingConfig can be modified. * * @param string $network Name of the network to update. * @param string $project Project ID for this request. diff --git a/Compute/samples/V1/RegionBackendServicesClient/list_usable.php b/Compute/samples/V1/RegionBackendServicesClient/list_usable.php index a4af9466568..1b660bf98b9 100644 --- a/Compute/samples/V1/RegionBackendServicesClient/list_usable.php +++ b/Compute/samples/V1/RegionBackendServicesClient/list_usable.php @@ -28,7 +28,7 @@ use Google\Cloud\Compute\V1\RegionBackendServicesClient; /** - * Retrieves an aggregated list of all usable backend services in the specified project in the given region. + * Retrieves a list of all usable backend services in the specified project in the given region. * * @param string $project Project ID for this request. * @param string $region Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. diff --git a/Compute/samples/V1/RegionOperationsClient/delete.php b/Compute/samples/V1/RegionOperationsClient/delete.php index 344d97c5ba5..e0f85d05834 100644 --- a/Compute/samples/V1/RegionOperationsClient/delete.php +++ b/Compute/samples/V1/RegionOperationsClient/delete.php @@ -30,7 +30,7 @@ /** * Deletes the specified region-specific Operations resource. * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. */ diff --git a/Compute/samples/V1/RegionOperationsClient/get.php b/Compute/samples/V1/RegionOperationsClient/get.php index 065855fc97d..3b858fedc40 100644 --- a/Compute/samples/V1/RegionOperationsClient/get.php +++ b/Compute/samples/V1/RegionOperationsClient/get.php @@ -30,7 +30,7 @@ /** * Retrieves the specified region-specific Operations resource. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. */ diff --git a/Compute/samples/V1/RegionOperationsClient/wait.php b/Compute/samples/V1/RegionOperationsClient/wait.php index dbc1ec9db37..219c32e75e7 100644 --- a/Compute/samples/V1/RegionOperationsClient/wait.php +++ b/Compute/samples/V1/RegionOperationsClient/wait.php @@ -30,7 +30,7 @@ /** * Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. */ diff --git a/Compute/samples/V1/RegionsClient/get.php b/Compute/samples/V1/RegionsClient/get.php index 55e67b5cbd9..dbc454ca89a 100644 --- a/Compute/samples/V1/RegionsClient/get.php +++ b/Compute/samples/V1/RegionsClient/get.php @@ -28,7 +28,7 @@ use Google\Cloud\Compute\V1\RegionsClient; /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * @param string $project Project ID for this request. * @param string $region Name of the region resource to return. diff --git a/Compute/samples/V1/RegionsClient/list.php b/Compute/samples/V1/RegionsClient/list.php index 5437b2f3cb5..672c6161026 100644 --- a/Compute/samples/V1/RegionsClient/list.php +++ b/Compute/samples/V1/RegionsClient/list.php @@ -28,7 +28,7 @@ use Google\Cloud\Compute\V1\RegionsClient; /** - * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * @param string $project Project ID for this request. */ diff --git a/Compute/samples/V1/StoragePoolsClient/update.php b/Compute/samples/V1/StoragePoolsClient/update.php index 0056fd9dac6..c5164b5ce67 100644 --- a/Compute/samples/V1/StoragePoolsClient/update.php +++ b/Compute/samples/V1/StoragePoolsClient/update.php @@ -30,7 +30,7 @@ use Google\Rpc\Status; /** - * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. + * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput. * * @param string $project Project ID for this request. * @param string $storagePool The storagePool name for this request. diff --git a/Compute/samples/V1/ZoneOperationsClient/delete.php b/Compute/samples/V1/ZoneOperationsClient/delete.php index e3d60a024f0..9073a802d33 100644 --- a/Compute/samples/V1/ZoneOperationsClient/delete.php +++ b/Compute/samples/V1/ZoneOperationsClient/delete.php @@ -30,7 +30,7 @@ /** * Deletes the specified zone-specific Operations resource. * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. */ diff --git a/Compute/samples/V1/ZoneOperationsClient/get.php b/Compute/samples/V1/ZoneOperationsClient/get.php index 6bf95ec078e..dba46936b3c 100644 --- a/Compute/samples/V1/ZoneOperationsClient/get.php +++ b/Compute/samples/V1/ZoneOperationsClient/get.php @@ -30,7 +30,7 @@ /** * Retrieves the specified zone-specific Operations resource. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. */ diff --git a/Compute/samples/V1/ZoneOperationsClient/wait.php b/Compute/samples/V1/ZoneOperationsClient/wait.php index e195997fdb0..e9194cd815e 100644 --- a/Compute/samples/V1/ZoneOperationsClient/wait.php +++ b/Compute/samples/V1/ZoneOperationsClient/wait.php @@ -30,7 +30,7 @@ /** * Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. */ diff --git a/Compute/src/V1/AdvancedMachineFeatures.php b/Compute/src/V1/AdvancedMachineFeatures.php index c25030e2b15..f5e5bc75166 100644 --- a/Compute/src/V1/AdvancedMachineFeatures.php +++ b/Compute/src/V1/AdvancedMachineFeatures.php @@ -27,12 +27,25 @@ class AdvancedMachineFeatures extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional bool enable_uefi_networking = 334485668; */ private $enable_uefi_networking = null; + /** + * Type of Performance Monitoring Unit requested on instance. + * Check the PerformanceMonitoringUnit enum for the list of possible values. + * + * Generated from protobuf field optional string performance_monitoring_unit = 533618956; + */ + private $performance_monitoring_unit = null; /** * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. * * Generated from protobuf field optional int32 threads_per_core = 352611671; */ private $threads_per_core = null; + /** + * Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode. + * + * Generated from protobuf field optional string turbo_mode = 432965412; + */ + private $turbo_mode = null; /** * The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. * @@ -50,8 +63,13 @@ class AdvancedMachineFeatures extends \Google\Protobuf\Internal\Message * Whether to enable nested virtualization or not (default is false). * @type bool $enable_uefi_networking * Whether to enable UEFI networking for instance creation. + * @type string $performance_monitoring_unit + * Type of Performance Monitoring Unit requested on instance. + * Check the PerformanceMonitoringUnit enum for the list of possible values. * @type int $threads_per_core * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. + * @type string $turbo_mode + * Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode. * @type int $visible_core_count * The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. * } @@ -133,6 +151,44 @@ public function setEnableUefiNetworking($var) return $this; } + /** + * Type of Performance Monitoring Unit requested on instance. + * Check the PerformanceMonitoringUnit enum for the list of possible values. + * + * Generated from protobuf field optional string performance_monitoring_unit = 533618956; + * @return string + */ + public function getPerformanceMonitoringUnit() + { + return isset($this->performance_monitoring_unit) ? $this->performance_monitoring_unit : ''; + } + + public function hasPerformanceMonitoringUnit() + { + return isset($this->performance_monitoring_unit); + } + + public function clearPerformanceMonitoringUnit() + { + unset($this->performance_monitoring_unit); + } + + /** + * Type of Performance Monitoring Unit requested on instance. + * Check the PerformanceMonitoringUnit enum for the list of possible values. + * + * Generated from protobuf field optional string performance_monitoring_unit = 533618956; + * @param string $var + * @return $this + */ + public function setPerformanceMonitoringUnit($var) + { + GPBUtil::checkString($var, True); + $this->performance_monitoring_unit = $var; + + return $this; + } + /** * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. * @@ -169,6 +225,42 @@ public function setThreadsPerCore($var) return $this; } + /** + * Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode. + * + * Generated from protobuf field optional string turbo_mode = 432965412; + * @return string + */ + public function getTurboMode() + { + return isset($this->turbo_mode) ? $this->turbo_mode : ''; + } + + public function hasTurboMode() + { + return isset($this->turbo_mode); + } + + public function clearTurboMode() + { + unset($this->turbo_mode); + } + + /** + * Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode. + * + * Generated from protobuf field optional string turbo_mode = 432965412; + * @param string $var + * @return $this + */ + public function setTurboMode($var) + { + GPBUtil::checkString($var, True); + $this->turbo_mode = $var; + + return $this; + } + /** * The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. * diff --git a/Compute/src/V1/AdvancedMachineFeatures/PerformanceMonitoringUnit.php b/Compute/src/V1/AdvancedMachineFeatures/PerformanceMonitoringUnit.php new file mode 100644 index 00000000000..010ae28ce5e --- /dev/null +++ b/Compute/src/V1/AdvancedMachineFeatures/PerformanceMonitoringUnit.php @@ -0,0 +1,74 @@ +google.cloud.compute.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit + */ +class PerformanceMonitoringUnit +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_PERFORMANCE_MONITORING_UNIT = 0; + */ + const UNDEFINED_PERFORMANCE_MONITORING_UNIT = 0; + /** + * Architecturally defined non-LLC events. + * + * Generated from protobuf enum ARCHITECTURAL = 155113693; + */ + const ARCHITECTURAL = 155113693; + /** + * Most documented core/L2 and LLC events. + * + * Generated from protobuf enum ENHANCED = 476873590; + */ + const ENHANCED = 476873590; + /** + * Generated from protobuf enum PERFORMANCE_MONITORING_UNIT_UNSPECIFIED = 429210692; + */ + const PERFORMANCE_MONITORING_UNIT_UNSPECIFIED = 429210692; + /** + * Most documented core/L2 events. + * + * Generated from protobuf enum STANDARD = 484642493; + */ + const STANDARD = 484642493; + + private static $valueToName = [ + self::UNDEFINED_PERFORMANCE_MONITORING_UNIT => 'UNDEFINED_PERFORMANCE_MONITORING_UNIT', + self::ARCHITECTURAL => 'ARCHITECTURAL', + self::ENHANCED => 'ENHANCED', + self::PERFORMANCE_MONITORING_UNIT_UNSPECIFIED => 'PERFORMANCE_MONITORING_UNIT_UNSPECIFIED', + self::STANDARD => 'STANDARD', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/AllocationAggregateReservation/VmFamily.php b/Compute/src/V1/AllocationAggregateReservation/VmFamily.php index b74d774eac0..079a4083cca 100644 --- a/Compute/src/V1/AllocationAggregateReservation/VmFamily.php +++ b/Compute/src/V1/AllocationAggregateReservation/VmFamily.php @@ -19,6 +19,10 @@ class VmFamily * Generated from protobuf enum UNDEFINED_VM_FAMILY = 0; */ const UNDEFINED_VM_FAMILY = 0; + /** + * Generated from protobuf enum VM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948; + */ + const VM_FAMILY_CLOUD_TPU_DEVICE_CT3 = 42845948; /** * Generated from protobuf enum VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067; */ @@ -27,6 +31,10 @@ class VmFamily * Generated from protobuf enum VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267; */ const VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267; + /** + * Generated from protobuf enum VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376; + */ + const VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P = 517384376; /** * Generated from protobuf enum VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407; */ @@ -34,8 +42,10 @@ class VmFamily private static $valueToName = [ self::UNDEFINED_VM_FAMILY => 'UNDEFINED_VM_FAMILY', + self::VM_FAMILY_CLOUD_TPU_DEVICE_CT3 => 'VM_FAMILY_CLOUD_TPU_DEVICE_CT3', self::VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L => 'VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L', self::VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP => 'VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP', + self::VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P => 'VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P', self::VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P => 'VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P', ]; diff --git a/Compute/src/V1/AttachedDisk.php b/Compute/src/V1/AttachedDisk.php index f348c871d19..3c4aa1303fe 100644 --- a/Compute/src/V1/AttachedDisk.php +++ b/Compute/src/V1/AttachedDisk.php @@ -41,7 +41,7 @@ class AttachedDisk extends \Google\Protobuf\Internal\Message */ private $device_name = null; /** - * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method. * * Generated from protobuf field optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; */ @@ -116,7 +116,7 @@ class AttachedDisk extends \Google\Protobuf\Internal\Message */ private $shielded_instance_initial_state = null; /** - * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. * * Generated from protobuf field optional string source = 177235995; */ @@ -145,7 +145,7 @@ class AttachedDisk extends \Google\Protobuf\Internal\Message * @type string $device_name * Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. * @type \Google\Cloud\Compute\V1\CustomerEncryptionKey $disk_encryption_key - * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method. * @type int|string $disk_size_gb * The size of the disk in GB. * @type bool $force_attach @@ -172,7 +172,7 @@ class AttachedDisk extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Compute\V1\InitialStateConfig $shielded_instance_initial_state * [Output Only] shielded vm initial state stored on disk * @type string $source - * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. * @type string $type * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. * Check the Type enum for the list of possible values. @@ -330,7 +330,7 @@ public function setDeviceName($var) } /** - * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method. * * Generated from protobuf field optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; * @return \Google\Cloud\Compute\V1\CustomerEncryptionKey|null @@ -351,7 +351,7 @@ public function clearDiskEncryptionKey() } /** - * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + * Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method. * * Generated from protobuf field optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; * @param \Google\Cloud\Compute\V1\CustomerEncryptionKey $var @@ -748,7 +748,7 @@ public function setShieldedInstanceInitialState($var) } /** - * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. * * Generated from protobuf field optional string source = 177235995; * @return string @@ -769,7 +769,7 @@ public function clearSource() } /** - * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. * * Generated from protobuf field optional string source = 177235995; * @param string $var diff --git a/Compute/src/V1/AttachedDiskInitializeParams.php b/Compute/src/V1/AttachedDiskInitializeParams.php index ebe91f0c690..887d399d038 100644 --- a/Compute/src/V1/AttachedDiskInitializeParams.php +++ b/Compute/src/V1/AttachedDiskInitializeParams.php @@ -102,7 +102,7 @@ class AttachedDiskInitializeParams extends \Google\Protobuf\Internal\Message */ private $resource_policies; /** - * The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. + * The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. * * Generated from protobuf field optional string source_image = 50443319; */ @@ -114,7 +114,7 @@ class AttachedDiskInitializeParams extends \Google\Protobuf\Internal\Message */ private $source_image_encryption_key = null; /** - * The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. + * The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. * * Generated from protobuf field optional string source_snapshot = 126061928; */ @@ -169,11 +169,11 @@ class AttachedDiskInitializeParams extends \Google\Protobuf\Internal\Message * @type array|\Google\Protobuf\Internal\RepeatedField $resource_policies * Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name. * @type string $source_image - * The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. + * The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. * @type \Google\Cloud\Compute\V1\CustomerEncryptionKey $source_image_encryption_key * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. * @type string $source_snapshot - * The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. + * The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. * @type \Google\Cloud\Compute\V1\CustomerEncryptionKey $source_snapshot_encryption_key * The customer-supplied encryption key of the source snapshot. * @type string $storage_pool @@ -644,7 +644,7 @@ public function setResourcePolicies($var) } /** - * The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. + * The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. * * Generated from protobuf field optional string source_image = 50443319; * @return string @@ -665,7 +665,7 @@ public function clearSourceImage() } /** - * The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. + * The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. * * Generated from protobuf field optional string source_image = 50443319; * @param string $var @@ -716,7 +716,7 @@ public function setSourceImageEncryptionKey($var) } /** - * The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. + * The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. * * Generated from protobuf field optional string source_snapshot = 126061928; * @return string @@ -737,7 +737,7 @@ public function clearSourceSnapshot() } /** - * The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. + * The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. * * Generated from protobuf field optional string source_snapshot = 126061928; * @param string $var diff --git a/Compute/src/V1/AuditConfig.php b/Compute/src/V1/AuditConfig.php index 67bdd64fd30..16871baa294 100644 --- a/Compute/src/V1/AuditConfig.php +++ b/Compute/src/V1/AuditConfig.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. + * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. * * Generated from protobuf message google.cloud.compute.v1.AuditConfig */ @@ -22,8 +22,6 @@ class AuditConfig extends \Google\Protobuf\Internal\Message */ private $audit_log_configs; /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field repeated string exempted_members = 232615576; */ private $exempted_members; @@ -43,7 +41,6 @@ class AuditConfig extends \Google\Protobuf\Internal\Message * @type array<\Google\Cloud\Compute\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $audit_log_configs * The configuration for logging of each type of permission. * @type array|\Google\Protobuf\Internal\RepeatedField $exempted_members - * This is deprecated and has no effect. Do not use. * @type string $service * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. * } @@ -80,8 +77,6 @@ public function setAuditLogConfigs($var) } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field repeated string exempted_members = 232615576; * @return \Google\Protobuf\Internal\RepeatedField */ @@ -91,8 +86,6 @@ public function getExemptedMembers() } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field repeated string exempted_members = 232615576; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this diff --git a/Compute/src/V1/AuditLogConfig.php b/Compute/src/V1/AuditLogConfig.php index 7bfebc4632c..afed92390ee 100644 --- a/Compute/src/V1/AuditLogConfig.php +++ b/Compute/src/V1/AuditLogConfig.php @@ -22,8 +22,6 @@ class AuditLogConfig extends \Google\Protobuf\Internal\Message */ private $exempted_members; /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional bool ignore_child_exemptions = 70141850; */ private $ignore_child_exemptions = null; @@ -44,7 +42,6 @@ class AuditLogConfig extends \Google\Protobuf\Internal\Message * @type array|\Google\Protobuf\Internal\RepeatedField $exempted_members * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. * @type bool $ignore_child_exemptions - * This is deprecated and has no effect. Do not use. * @type string $log_type * The log type that this config enables. * Check the LogType enum for the list of possible values. @@ -82,8 +79,6 @@ public function setExemptedMembers($var) } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional bool ignore_child_exemptions = 70141850; * @return bool */ @@ -103,8 +98,6 @@ public function clearIgnoreChildExemptions() } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional bool ignore_child_exemptions = 70141850; * @param bool $var * @return $this diff --git a/Compute/src/V1/BackendBucket.php b/Compute/src/V1/BackendBucket.php index 6c6af0b4490..50d2ec43455 100644 --- a/Compute/src/V1/BackendBucket.php +++ b/Compute/src/V1/BackendBucket.php @@ -88,6 +88,12 @@ class BackendBucket extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string self_link = 456214797; */ private $self_link = null; + /** + * [Output Only] List of resources referencing that backend bucket. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; + */ + private $used_by; /** * Constructor. @@ -120,6 +126,8 @@ class BackendBucket extends \Google\Protobuf\Internal\Message * 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. * @type string $self_link * [Output Only] Server-defined URL for the resource. + * @type array<\Google\Cloud\Compute\V1\BackendBucketUsedBy>|\Google\Protobuf\Internal\RepeatedField $used_by + * [Output Only] List of resources referencing that backend bucket. * } */ public function __construct($data = NULL) { @@ -551,5 +559,31 @@ public function setSelfLink($var) return $this; } + /** + * [Output Only] List of resources referencing that backend bucket. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getUsedBy() + { + return $this->used_by; + } + + /** + * [Output Only] List of resources referencing that backend bucket. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; + * @param array<\Google\Cloud\Compute\V1\BackendBucketUsedBy>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setUsedBy($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\BackendBucketUsedBy::class); + $this->used_by = $arr; + + return $this; + } + } diff --git a/Compute/src/V1/BackendBucketUsedBy.php b/Compute/src/V1/BackendBucketUsedBy.php new file mode 100644 index 00000000000..6f365f30209 --- /dev/null +++ b/Compute/src/V1/BackendBucketUsedBy.php @@ -0,0 +1,76 @@ +google.cloud.compute.v1.BackendBucketUsedBy + */ +class BackendBucketUsedBy extends \Google\Protobuf\Internal\Message +{ + /** + * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. + * + * Generated from protobuf field optional string reference = 148586315; + */ + private $reference = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $reference + * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. + * + * Generated from protobuf field optional string reference = 148586315; + * @return string + */ + public function getReference() + { + return isset($this->reference) ? $this->reference : ''; + } + + public function hasReference() + { + return isset($this->reference); + } + + public function clearReference() + { + unset($this->reference); + } + + /** + * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket. + * + * Generated from protobuf field optional string reference = 148586315; + * @param string $var + * @return $this + */ + public function setReference($var) + { + GPBUtil::checkString($var, True); + $this->reference = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/BackendService.php b/Compute/src/V1/BackendService.php index be6c0f8dba9..8d2f2d94ceb 100644 --- a/Compute/src/V1/BackendService.php +++ b/Compute/src/V1/BackendService.php @@ -126,6 +126,13 @@ class BackendService extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional uint64 id = 3355; */ private $id = null; + /** + * Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + * Check the IpAddressSelectionPolicy enum for the list of possible values. + * + * Generated from protobuf field optional string ip_address_selection_policy = 77600840; + */ + private $ip_address_selection_policy = null; /** * [Output Only] Type of resource. Always compute#backendService for backend services. * @@ -146,7 +153,7 @@ class BackendService extends \Google\Protobuf\Internal\Message */ private $locality_lb_policies; /** - * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. * Check the LocalityLbPolicy enum for the list of possible values. * * Generated from protobuf field optional string locality_lb_policy = 131431487; @@ -250,6 +257,12 @@ class BackendService extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string session_affinity = 463888561; */ private $session_affinity = null; + /** + * Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. + * + * Generated from protobuf field optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722; + */ + private $strong_session_affinity_cookie = null; /** * Generated from protobuf field optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; */ @@ -261,6 +274,8 @@ class BackendService extends \Google\Protobuf\Internal\Message */ private $timeout_sec = null; /** + * [Output Only] List of resources referencing given backend service. + * * Generated from protobuf field repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729; */ private $used_by; @@ -308,6 +323,9 @@ class BackendService extends \Google\Protobuf\Internal\Message * The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers. * @type int|string $id * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + * @type string $ip_address_selection_policy + * Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + * Check the IpAddressSelectionPolicy enum for the list of possible values. * @type string $kind * [Output Only] Type of resource. Always compute#backendService for backend services. * @type string $load_balancing_scheme @@ -316,7 +334,7 @@ class BackendService extends \Google\Protobuf\Internal\Message * @type array<\Google\Cloud\Compute\V1\BackendServiceLocalityLoadBalancingPolicyConfig>|\Google\Protobuf\Internal\RepeatedField $locality_lb_policies * A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. * @type string $locality_lb_policy - * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. * Check the LocalityLbPolicy enum for the list of possible values. * @type \Google\Cloud\Compute\V1\BackendServiceLogConfig $log_config * This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. @@ -352,10 +370,13 @@ class BackendService extends \Google\Protobuf\Internal\Message * @type string $session_affinity * Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). * Check the SessionAffinity enum for the list of possible values. + * @type \Google\Cloud\Compute\V1\BackendServiceHttpCookie $strong_session_affinity_cookie + * Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. * @type \Google\Cloud\Compute\V1\Subsetting $subsetting * @type int $timeout_sec * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration. * @type array<\Google\Cloud\Compute\V1\BackendServiceUsedBy>|\Google\Protobuf\Internal\RepeatedField $used_by + * [Output Only] List of resources referencing given backend service. * } */ public function __construct($data = NULL) { @@ -1001,6 +1022,44 @@ public function setId($var) return $this; } + /** + * Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + * Check the IpAddressSelectionPolicy enum for the list of possible values. + * + * Generated from protobuf field optional string ip_address_selection_policy = 77600840; + * @return string + */ + public function getIpAddressSelectionPolicy() + { + return isset($this->ip_address_selection_policy) ? $this->ip_address_selection_policy : ''; + } + + public function hasIpAddressSelectionPolicy() + { + return isset($this->ip_address_selection_policy); + } + + public function clearIpAddressSelectionPolicy() + { + unset($this->ip_address_selection_policy); + } + + /** + * Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + * Check the IpAddressSelectionPolicy enum for the list of possible values. + * + * Generated from protobuf field optional string ip_address_selection_policy = 77600840; + * @param string $var + * @return $this + */ + public function setIpAddressSelectionPolicy($var) + { + GPBUtil::checkString($var, True); + $this->ip_address_selection_policy = $var; + + return $this; + } + /** * [Output Only] Type of resource. Always compute#backendService for backend services. * @@ -1102,7 +1161,7 @@ public function setLocalityLbPolicies($var) } /** - * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. * Check the LocalityLbPolicy enum for the list of possible values. * * Generated from protobuf field optional string locality_lb_policy = 131431487; @@ -1124,7 +1183,7 @@ public function clearLocalityLbPolicy() } /** - * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. * Check the LocalityLbPolicy enum for the list of possible values. * * Generated from protobuf field optional string locality_lb_policy = 131431487; @@ -1699,6 +1758,42 @@ public function setSessionAffinity($var) return $this; } + /** + * Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. + * + * Generated from protobuf field optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722; + * @return \Google\Cloud\Compute\V1\BackendServiceHttpCookie|null + */ + public function getStrongSessionAffinityCookie() + { + return $this->strong_session_affinity_cookie; + } + + public function hasStrongSessionAffinityCookie() + { + return isset($this->strong_session_affinity_cookie); + } + + public function clearStrongSessionAffinityCookie() + { + unset($this->strong_session_affinity_cookie); + } + + /** + * Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. + * + * Generated from protobuf field optional .google.cloud.compute.v1.BackendServiceHttpCookie strong_session_affinity_cookie = 238195722; + * @param \Google\Cloud\Compute\V1\BackendServiceHttpCookie $var + * @return $this + */ + public function setStrongSessionAffinityCookie($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\BackendServiceHttpCookie::class); + $this->strong_session_affinity_cookie = $var; + + return $this; + } + /** * Generated from protobuf field optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; * @return \Google\Cloud\Compute\V1\Subsetting|null @@ -1768,6 +1863,8 @@ public function setTimeoutSec($var) } /** + * [Output Only] List of resources referencing given backend service. + * * Generated from protobuf field repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729; * @return \Google\Protobuf\Internal\RepeatedField */ @@ -1777,6 +1874,8 @@ public function getUsedBy() } /** + * [Output Only] List of resources referencing given backend service. + * * Generated from protobuf field repeated .google.cloud.compute.v1.BackendServiceUsedBy used_by = 389320729; * @param array<\Google\Cloud\Compute\V1\BackendServiceUsedBy>|\Google\Protobuf\Internal\RepeatedField $var * @return $this diff --git a/Compute/src/V1/BackendService/IpAddressSelectionPolicy.php b/Compute/src/V1/BackendService/IpAddressSelectionPolicy.php new file mode 100644 index 00000000000..cdc9e4ca56e --- /dev/null +++ b/Compute/src/V1/BackendService/IpAddressSelectionPolicy.php @@ -0,0 +1,76 @@ +google.cloud.compute.v1.BackendService.IpAddressSelectionPolicy + */ +class IpAddressSelectionPolicy +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_IP_ADDRESS_SELECTION_POLICY = 0; + */ + const UNDEFINED_IP_ADDRESS_SELECTION_POLICY = 0; + /** + * Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. + * + * Generated from protobuf enum IPV4_ONLY = 22373798; + */ + const IPV4_ONLY = 22373798; + /** + * Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. + * + * Generated from protobuf enum IPV6_ONLY = 79632100; + */ + const IPV6_ONLY = 79632100; + /** + * Unspecified IP address selection policy. + * + * Generated from protobuf enum IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144; + */ + const IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144; + /** + * Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). + * + * Generated from protobuf enum PREFER_IPV6 = 408601302; + */ + const PREFER_IPV6 = 408601302; + + private static $valueToName = [ + self::UNDEFINED_IP_ADDRESS_SELECTION_POLICY => 'UNDEFINED_IP_ADDRESS_SELECTION_POLICY', + self::IPV4_ONLY => 'IPV4_ONLY', + self::IPV6_ONLY => 'IPV6_ONLY', + self::IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED => 'IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED', + self::PREFER_IPV6 => 'PREFER_IPV6', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/BackendService/LocalityLbPolicy.php b/Compute/src/V1/BackendService/LocalityLbPolicy.php index 19b7b666209..4a5f4357f24 100644 --- a/Compute/src/V1/BackendService/LocalityLbPolicy.php +++ b/Compute/src/V1/BackendService/LocalityLbPolicy.php @@ -7,7 +7,7 @@ use UnexpectedValueException; /** - * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. * * Protobuf type google.cloud.compute.v1.BackendService.LocalityLbPolicy */ diff --git a/Compute/src/V1/BackendService/SessionAffinity.php b/Compute/src/V1/BackendService/SessionAffinity.php index d4ea2999a84..6b76d76901f 100644 --- a/Compute/src/V1/BackendService/SessionAffinity.php +++ b/Compute/src/V1/BackendService/SessionAffinity.php @@ -67,6 +67,12 @@ class SessionAffinity * Generated from protobuf enum NONE = 2402104; */ const NONE = 2402104; + /** + * Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired. + * + * Generated from protobuf enum STRONG_COOKIE_AFFINITY = 438628091; + */ + const STRONG_COOKIE_AFFINITY = 438628091; private static $valueToName = [ self::UNDEFINED_SESSION_AFFINITY => 'UNDEFINED_SESSION_AFFINITY', @@ -78,6 +84,7 @@ class SessionAffinity self::HEADER_FIELD => 'HEADER_FIELD', self::HTTP_COOKIE => 'HTTP_COOKIE', self::NONE => 'NONE', + self::STRONG_COOKIE_AFFINITY => 'STRONG_COOKIE_AFFINITY', ]; public static function name($value) diff --git a/Compute/src/V1/BackendServiceHttpCookie.php b/Compute/src/V1/BackendServiceHttpCookie.php new file mode 100644 index 00000000000..4c0e16aa742 --- /dev/null +++ b/Compute/src/V1/BackendServiceHttpCookie.php @@ -0,0 +1,165 @@ +google.cloud.compute.v1.BackendServiceHttpCookie + */ +class BackendServiceHttpCookie extends \Google\Protobuf\Internal\Message +{ + /** + * Name of the cookie. + * + * Generated from protobuf field optional string name = 3373707; + */ + private $name = null; + /** + * Path to set for the cookie. + * + * Generated from protobuf field optional string path = 3433509; + */ + private $path = null; + /** + * Lifetime of the cookie. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration ttl = 115180; + */ + private $ttl = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Name of the cookie. + * @type string $path + * Path to set for the cookie. + * @type \Google\Cloud\Compute\V1\Duration $ttl + * Lifetime of the cookie. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Name of the cookie. + * + * Generated from protobuf field optional string name = 3373707; + * @return string + */ + public function getName() + { + return isset($this->name) ? $this->name : ''; + } + + public function hasName() + { + return isset($this->name); + } + + public function clearName() + { + unset($this->name); + } + + /** + * Name of the cookie. + * + * Generated from protobuf field optional string name = 3373707; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Path to set for the cookie. + * + * Generated from protobuf field optional string path = 3433509; + * @return string + */ + public function getPath() + { + return isset($this->path) ? $this->path : ''; + } + + public function hasPath() + { + return isset($this->path); + } + + public function clearPath() + { + unset($this->path); + } + + /** + * Path to set for the cookie. + * + * Generated from protobuf field optional string path = 3433509; + * @param string $var + * @return $this + */ + public function setPath($var) + { + GPBUtil::checkString($var, True); + $this->path = $var; + + return $this; + } + + /** + * Lifetime of the cookie. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration ttl = 115180; + * @return \Google\Cloud\Compute\V1\Duration|null + */ + public function getTtl() + { + return $this->ttl; + } + + public function hasTtl() + { + return isset($this->ttl); + } + + public function clearTtl() + { + unset($this->ttl); + } + + /** + * Lifetime of the cookie. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration ttl = 115180; + * @param \Google\Cloud\Compute\V1\Duration $var + * @return $this + */ + public function setTtl($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Duration::class); + $this->ttl = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/BackendServiceUsedBy.php b/Compute/src/V1/BackendServiceUsedBy.php index b959e943a0b..9e874266391 100644 --- a/Compute/src/V1/BackendServiceUsedBy.php +++ b/Compute/src/V1/BackendServiceUsedBy.php @@ -15,6 +15,8 @@ class BackendServiceUsedBy extends \Google\Protobuf\Internal\Message { /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + * * Generated from protobuf field optional string reference = 148586315; */ private $reference = null; @@ -26,6 +28,7 @@ class BackendServiceUsedBy extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $reference + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. * } */ public function __construct($data = NULL) { @@ -34,6 +37,8 @@ public function __construct($data = NULL) { } /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + * * Generated from protobuf field optional string reference = 148586315; * @return string */ @@ -53,6 +58,8 @@ public function clearReference() } /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + * * Generated from protobuf field optional string reference = 148586315; * @param string $var * @return $this diff --git a/Compute/src/V1/Binding.php b/Compute/src/V1/Binding.php index 3761e391169..68f00cb29b8 100644 --- a/Compute/src/V1/Binding.php +++ b/Compute/src/V1/Binding.php @@ -16,8 +16,6 @@ class Binding extends \Google\Protobuf\Internal\Message { /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional string binding_id = 441088277; */ private $binding_id = null; @@ -47,7 +45,6 @@ class Binding extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $binding_id - * This is deprecated and has no effect. Do not use. * @type \Google\Cloud\Compute\V1\Expr $condition * 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). * @type array|\Google\Protobuf\Internal\RepeatedField $members @@ -62,8 +59,6 @@ public function __construct($data = NULL) { } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional string binding_id = 441088277; * @return string */ @@ -83,8 +78,6 @@ public function clearBindingId() } /** - * This is deprecated and has no effect. Do not use. - * * Generated from protobuf field optional string binding_id = 441088277; * @param string $var * @return $this diff --git a/Compute/src/V1/BulkInsertInstanceResource.php b/Compute/src/V1/BulkInsertInstanceResource.php index 36c2d2f1cca..b37ef121a30 100644 --- a/Compute/src/V1/BulkInsertInstanceResource.php +++ b/Compute/src/V1/BulkInsertInstanceResource.php @@ -28,7 +28,7 @@ class BulkInsertInstanceResource extends \Google\Protobuf\Internal\Message */ private $instance_properties = null; /** - * Policy for chosing target zone. For more information, see Create VMs in bulk . + * Policy for choosing target zone. For more information, see Create VMs in bulk. * * Generated from protobuf field optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; */ @@ -69,7 +69,7 @@ class BulkInsertInstanceResource extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Compute\V1\InstanceProperties $instance_properties * The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided. * @type \Google\Cloud\Compute\V1\LocationPolicy $location_policy - * Policy for chosing target zone. For more information, see Create VMs in bulk . + * Policy for choosing target zone. For more information, see Create VMs in bulk. * @type int|string $min_count * The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted. * @type string $name_pattern @@ -158,7 +158,7 @@ public function setInstanceProperties($var) } /** - * Policy for chosing target zone. For more information, see Create VMs in bulk . + * Policy for choosing target zone. For more information, see Create VMs in bulk. * * Generated from protobuf field optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; * @return \Google\Cloud\Compute\V1\LocationPolicy|null @@ -179,7 +179,7 @@ public function clearLocationPolicy() } /** - * Policy for chosing target zone. For more information, see Create VMs in bulk . + * Policy for choosing target zone. For more information, see Create VMs in bulk. * * Generated from protobuf field optional .google.cloud.compute.v1.LocationPolicy location_policy = 465689852; * @param \Google\Cloud\Compute\V1\LocationPolicy $var diff --git a/Compute/src/V1/Client/AcceleratorTypesClient.php b/Compute/src/V1/Client/AcceleratorTypesClient.php index 7123486abeb..dc52ead7f60 100644 --- a/Compute/src/V1/Client/AcceleratorTypesClient.php +++ b/Compute/src/V1/Client/AcceleratorTypesClient.php @@ -47,9 +47,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListAcceleratorTypesRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetAcceleratorTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListAcceleratorTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListAcceleratorTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetAcceleratorTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListAcceleratorTypesRequest $request, array $optionalArgs = []) */ final class AcceleratorTypesClient { diff --git a/Compute/src/V1/Client/AddressesClient.php b/Compute/src/V1/Client/AddressesClient.php index f3b0d61a8a7..7828797dc11 100644 --- a/Compute/src/V1/Client/AddressesClient.php +++ b/Compute/src/V1/Client/AddressesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListAddressesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListAddressesRequest $request, array $optionalArgs = []) - * @method PromiseInterface moveAsync(MoveAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListAddressesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface
getAsync(GetAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListAddressesRequest $request, array $optionalArgs = []) + * @method PromiseInterface moveAsync(MoveAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsAddressRequest $request, array $optionalArgs = []) */ final class AddressesClient { diff --git a/Compute/src/V1/Client/AutoscalersClient.php b/Compute/src/V1/Client/AutoscalersClient.php index afdd473b7bc..3a0f47f7084 100644 --- a/Compute/src/V1/Client/AutoscalersClient.php +++ b/Compute/src/V1/Client/AutoscalersClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListAutoscalersRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListAutoscalersRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListAutoscalersRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListAutoscalersRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateAutoscalerRequest $request, array $optionalArgs = []) */ final class AutoscalersClient { diff --git a/Compute/src/V1/Client/BackendBucketsClient.php b/Compute/src/V1/Client/BackendBucketsClient.php index 9c3841a880b..da0be511720 100644 --- a/Compute/src/V1/Client/BackendBucketsClient.php +++ b/Compute/src/V1/Client/BackendBucketsClient.php @@ -57,18 +57,18 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListBackendBucketsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface setEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsBackendBucketRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface addSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListBackendBucketsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface setEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsBackendBucketRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateBackendBucketRequest $request, array $optionalArgs = []) */ final class BackendBucketsClient { diff --git a/Compute/src/V1/Client/BackendServicesClient.php b/Compute/src/V1/Client/BackendServicesClient.php index 98fa4127632..ed7f64f78c2 100644 --- a/Compute/src/V1/Client/BackendServicesClient.php +++ b/Compute/src/V1/Client/BackendServicesClient.php @@ -62,22 +62,22 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListBackendServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getHealthAsync(GetHealthBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListBackendServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listUsableAsync(ListUsableBackendServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface addSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListBackendServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getHealthAsync(GetHealthBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListBackendServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listUsableAsync(ListUsableBackendServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateBackendServiceRequest $request, array $optionalArgs = []) */ final class BackendServicesClient { @@ -480,7 +480,7 @@ public function list(ListBackendServicesRequest $request, array $callOptions = [ } /** - * Retrieves an aggregated list of all usable backend services in the specified project. + * Retrieves a list of all usable backend services in the specified project. * * The async variant is {@see BackendServicesClient::listUsableAsync()} . * diff --git a/Compute/src/V1/Client/DiskTypesClient.php b/Compute/src/V1/Client/DiskTypesClient.php index 18d2c0299e9..809e1bd8843 100644 --- a/Compute/src/V1/Client/DiskTypesClient.php +++ b/Compute/src/V1/Client/DiskTypesClient.php @@ -44,9 +44,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListDiskTypesRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetDiskTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListDiskTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListDiskTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetDiskTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListDiskTypesRequest $request, array $optionalArgs = []) */ final class DiskTypesClient { diff --git a/Compute/src/V1/Client/DisksClient.php b/Compute/src/V1/Client/DisksClient.php index 079515d22a1..fbd72157b86 100644 --- a/Compute/src/V1/Client/DisksClient.php +++ b/Compute/src/V1/Client/DisksClient.php @@ -63,24 +63,24 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListDisksRequest $request, array $optionalArgs = []) - * @method PromiseInterface bulkInsertAsync(BulkInsertDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSnapshotAsync(CreateSnapshotDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListDisksRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface resizeAsync(ResizeDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface startAsyncReplicationAsync(StartAsyncReplicationDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopAsyncReplicationAsync(StopAsyncReplicationDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopGroupAsyncReplicationAsync(StopGroupAsyncReplicationDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListDisksRequest $request, array $optionalArgs = []) + * @method PromiseInterface bulkInsertAsync(BulkInsertDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSnapshotAsync(CreateSnapshotDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListDisksRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface resizeAsync(ResizeDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface startAsyncReplicationAsync(StartAsyncReplicationDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopAsyncReplicationAsync(StopAsyncReplicationDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopGroupAsyncReplicationAsync(StopGroupAsyncReplicationDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateDiskRequest $request, array $optionalArgs = []) */ final class DisksClient { diff --git a/Compute/src/V1/Client/ExternalVpnGatewaysClient.php b/Compute/src/V1/Client/ExternalVpnGatewaysClient.php index f018d02312f..c79c99f1102 100644 --- a/Compute/src/V1/Client/ExternalVpnGatewaysClient.php +++ b/Compute/src/V1/Client/ExternalVpnGatewaysClient.php @@ -50,12 +50,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteExternalVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetExternalVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertExternalVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListExternalVpnGatewaysRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsExternalVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteExternalVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetExternalVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertExternalVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListExternalVpnGatewaysRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsExternalVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest $request, array $optionalArgs = []) */ final class ExternalVpnGatewaysClient { diff --git a/Compute/src/V1/Client/FirewallPoliciesClient.php b/Compute/src/V1/Client/FirewallPoliciesClient.php index 3b2181313b2..b0da655911f 100644 --- a/Compute/src/V1/Client/FirewallPoliciesClient.php +++ b/Compute/src/V1/Client/FirewallPoliciesClient.php @@ -66,24 +66,24 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addAssociationAsync(AddAssociationFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface addRuleAsync(AddRuleFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface cloneRulesAsync(CloneRulesFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAssociationAsync(GetAssociationFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRuleAsync(GetRuleFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListFirewallPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAssociationsAsync(ListAssociationsFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface moveAsync(MoveFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchRuleAsync(PatchRuleFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeAssociationAsync(RemoveAssociationFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeRuleAsync(RemoveRuleFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addAssociationAsync(AddAssociationFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addRuleAsync(AddRuleFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface cloneRulesAsync(CloneRulesFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAssociationAsync(GetAssociationFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRuleAsync(GetRuleFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListFirewallPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAssociationsAsync(ListAssociationsFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface moveAsync(MoveFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchRuleAsync(PatchRuleFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeAssociationAsync(RemoveAssociationFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeRuleAsync(RemoveRuleFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsFirewallPolicyRequest $request, array $optionalArgs = []) */ final class FirewallPoliciesClient { diff --git a/Compute/src/V1/Client/FirewallsClient.php b/Compute/src/V1/Client/FirewallsClient.php index 7aa437492d6..e329d97a3fe 100644 --- a/Compute/src/V1/Client/FirewallsClient.php +++ b/Compute/src/V1/Client/FirewallsClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteFirewallRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetFirewallRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertFirewallRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListFirewallsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchFirewallRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateFirewallRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteFirewallRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetFirewallRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertFirewallRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListFirewallsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchFirewallRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateFirewallRequest $request, array $optionalArgs = []) */ final class FirewallsClient { diff --git a/Compute/src/V1/Client/ForwardingRulesClient.php b/Compute/src/V1/Client/ForwardingRulesClient.php index 8a8eee0ab09..0e3b5ec4a75 100644 --- a/Compute/src/V1/Client/ForwardingRulesClient.php +++ b/Compute/src/V1/Client/ForwardingRulesClient.php @@ -51,14 +51,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListForwardingRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListForwardingRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface setTargetAsync(SetTargetForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListForwardingRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListForwardingRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface setTargetAsync(SetTargetForwardingRuleRequest $request, array $optionalArgs = []) */ final class ForwardingRulesClient { diff --git a/Compute/src/V1/Client/GlobalAddressesClient.php b/Compute/src/V1/Client/GlobalAddressesClient.php index 5d82e1b1ded..f2fc0e79bac 100644 --- a/Compute/src/V1/Client/GlobalAddressesClient.php +++ b/Compute/src/V1/Client/GlobalAddressesClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteGlobalAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertGlobalAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalAddressesRequest $request, array $optionalArgs = []) - * @method PromiseInterface moveAsync(MoveGlobalAddressRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsGlobalAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface
getAsync(GetGlobalAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertGlobalAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalAddressesRequest $request, array $optionalArgs = []) + * @method PromiseInterface moveAsync(MoveGlobalAddressRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsGlobalAddressRequest $request, array $optionalArgs = []) */ final class GlobalAddressesClient { diff --git a/Compute/src/V1/Client/GlobalForwardingRulesClient.php b/Compute/src/V1/Client/GlobalForwardingRulesClient.php index 0b3d6c051a7..c3d7e3e1694 100644 --- a/Compute/src/V1/Client/GlobalForwardingRulesClient.php +++ b/Compute/src/V1/Client/GlobalForwardingRulesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteGlobalForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertGlobalForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalForwardingRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchGlobalForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsGlobalForwardingRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface setTargetAsync(SetTargetGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalForwardingRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsGlobalForwardingRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface setTargetAsync(SetTargetGlobalForwardingRuleRequest $request, array $optionalArgs = []) */ final class GlobalForwardingRulesClient { diff --git a/Compute/src/V1/Client/GlobalNetworkEndpointGroupsClient.php b/Compute/src/V1/Client/GlobalNetworkEndpointGroupsClient.php index bf45142b9de..1d4c5922a5a 100644 --- a/Compute/src/V1/Client/GlobalNetworkEndpointGroupsClient.php +++ b/Compute/src/V1/Client/GlobalNetworkEndpointGroupsClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalNetworkEndpointGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertGlobalNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest $request, array $optionalArgs = []) */ final class GlobalNetworkEndpointGroupsClient { diff --git a/Compute/src/V1/Client/GlobalOperationsClient.php b/Compute/src/V1/Client/GlobalOperationsClient.php index 0093b203ae8..c65bd799d79 100644 --- a/Compute/src/V1/Client/GlobalOperationsClient.php +++ b/Compute/src/V1/Client/GlobalOperationsClient.php @@ -47,11 +47,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListGlobalOperationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteGlobalOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalOperationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface waitAsync(WaitGlobalOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListGlobalOperationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetGlobalOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalOperationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface waitAsync(WaitGlobalOperationRequest $request, array $optionalArgs = []) */ final class GlobalOperationsClient { diff --git a/Compute/src/V1/Client/GlobalOrganizationOperationsClient.php b/Compute/src/V1/Client/GlobalOrganizationOperationsClient.php index 43e410c3220..791738e5f0c 100644 --- a/Compute/src/V1/Client/GlobalOrganizationOperationsClient.php +++ b/Compute/src/V1/Client/GlobalOrganizationOperationsClient.php @@ -45,9 +45,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteGlobalOrganizationOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalOrganizationOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalOrganizationOperationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalOrganizationOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetGlobalOrganizationOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalOrganizationOperationsRequest $request, array $optionalArgs = []) */ final class GlobalOrganizationOperationsClient { diff --git a/Compute/src/V1/Client/GlobalPublicDelegatedPrefixesClient.php b/Compute/src/V1/Client/GlobalPublicDelegatedPrefixesClient.php index 4c4a7f51a95..c0b485e86eb 100644 --- a/Compute/src/V1/Client/GlobalPublicDelegatedPrefixesClient.php +++ b/Compute/src/V1/Client/GlobalPublicDelegatedPrefixesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListGlobalPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListGlobalPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchGlobalPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) */ final class GlobalPublicDelegatedPrefixesClient { diff --git a/Compute/src/V1/Client/HealthChecksClient.php b/Compute/src/V1/Client/HealthChecksClient.php index 922be56acc3..da04d3351ee 100644 --- a/Compute/src/V1/Client/HealthChecksClient.php +++ b/Compute/src/V1/Client/HealthChecksClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListHealthChecksRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListHealthChecksRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListHealthChecksRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListHealthChecksRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateHealthCheckRequest $request, array $optionalArgs = []) */ final class HealthChecksClient { diff --git a/Compute/src/V1/Client/ImageFamilyViewsClient.php b/Compute/src/V1/Client/ImageFamilyViewsClient.php index 19430ed3153..7e9138f198c 100644 --- a/Compute/src/V1/Client/ImageFamilyViewsClient.php +++ b/Compute/src/V1/Client/ImageFamilyViewsClient.php @@ -41,7 +41,7 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetImageFamilyViewRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetImageFamilyViewRequest $request, array $optionalArgs = []) */ final class ImageFamilyViewsClient { diff --git a/Compute/src/V1/Client/ImagesClient.php b/Compute/src/V1/Client/ImagesClient.php index 0185978c85c..dbf6626d9f9 100644 --- a/Compute/src/V1/Client/ImagesClient.php +++ b/Compute/src/V1/Client/ImagesClient.php @@ -56,17 +56,17 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface deprecateAsync(DeprecateImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface getFromFamilyAsync(GetFromFamilyImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListImagesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface deprecateAsync(DeprecateImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface getFromFamilyAsync(GetFromFamilyImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListImagesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsImageRequest $request, array $optionalArgs = []) */ final class ImagesClient { diff --git a/Compute/src/V1/Client/InstanceGroupManagerResizeRequestsClient.php b/Compute/src/V1/Client/InstanceGroupManagerResizeRequestsClient.php index a9a0cd25131..5767addf640 100644 --- a/Compute/src/V1/Client/InstanceGroupManagerResizeRequestsClient.php +++ b/Compute/src/V1/Client/InstanceGroupManagerResizeRequestsClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface cancelAsync(CancelInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstanceGroupManagerResizeRequestsRequest $request, array $optionalArgs = []) + * @method PromiseInterface cancelAsync(CancelInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstanceGroupManagerResizeRequestRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstanceGroupManagerResizeRequestsRequest $request, array $optionalArgs = []) */ final class InstanceGroupManagerResizeRequestsClient { diff --git a/Compute/src/V1/Client/InstanceGroupManagersClient.php b/Compute/src/V1/Client/InstanceGroupManagersClient.php index 3bc618a75b9..c458cbc86fe 100644 --- a/Compute/src/V1/Client/InstanceGroupManagersClient.php +++ b/Compute/src/V1/Client/InstanceGroupManagersClient.php @@ -63,26 +63,26 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface abandonInstancesAsync(AbandonInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface applyUpdatesToInstancesAsync(ApplyUpdatesToInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface createInstancesAsync(CreateInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteInstancesAsync(DeleteInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deletePerInstanceConfigsAsync(DeletePerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listErrorsAsync(ListErrorsInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listManagedInstancesAsync(ListManagedInstancesInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPerInstanceConfigsAsync(ListPerInstanceConfigsInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchPerInstanceConfigsAsync(PatchPerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface recreateInstancesAsync(RecreateInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface resizeAsync(ResizeInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface setInstanceTemplateAsync(SetInstanceTemplateInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface setTargetPoolsAsync(SetTargetPoolsInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface updatePerInstanceConfigsAsync(UpdatePerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface abandonInstancesAsync(AbandonInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface applyUpdatesToInstancesAsync(ApplyUpdatesToInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface createInstancesAsync(CreateInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteInstancesAsync(DeleteInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deletePerInstanceConfigsAsync(DeletePerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listErrorsAsync(ListErrorsInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listManagedInstancesAsync(ListManagedInstancesInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPerInstanceConfigsAsync(ListPerInstanceConfigsInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchPerInstanceConfigsAsync(PatchPerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface recreateInstancesAsync(RecreateInstancesInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface resizeAsync(ResizeInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface setInstanceTemplateAsync(SetInstanceTemplateInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface setTargetPoolsAsync(SetTargetPoolsInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface updatePerInstanceConfigsAsync(UpdatePerInstanceConfigsInstanceGroupManagerRequest $request, array $optionalArgs = []) */ final class InstanceGroupManagersClient { diff --git a/Compute/src/V1/Client/InstanceGroupsClient.php b/Compute/src/V1/Client/InstanceGroupsClient.php index b625b1f2a05..e410e538ed9 100644 --- a/Compute/src/V1/Client/InstanceGroupsClient.php +++ b/Compute/src/V1/Client/InstanceGroupsClient.php @@ -52,15 +52,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addInstancesAsync(AddInstancesInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstanceGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listInstancesAsync(ListInstancesInstanceGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeInstancesAsync(RemoveInstancesInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface setNamedPortsAsync(SetNamedPortsInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface addInstancesAsync(AddInstancesInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstanceGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listInstancesAsync(ListInstancesInstanceGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeInstancesAsync(RemoveInstancesInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface setNamedPortsAsync(SetNamedPortsInstanceGroupRequest $request, array $optionalArgs = []) */ final class InstanceGroupsClient { diff --git a/Compute/src/V1/Client/InstanceSettingsServiceClient.php b/Compute/src/V1/Client/InstanceSettingsServiceClient.php index 0d37239ad68..fe3e8ccd869 100644 --- a/Compute/src/V1/Client/InstanceSettingsServiceClient.php +++ b/Compute/src/V1/Client/InstanceSettingsServiceClient.php @@ -44,8 +44,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetInstanceSettingRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchInstanceSettingRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceSettingRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchInstanceSettingRequest $request, array $optionalArgs = []) */ final class InstanceSettingsServiceClient { diff --git a/Compute/src/V1/Client/InstanceTemplatesClient.php b/Compute/src/V1/Client/InstanceTemplatesClient.php index ac0ef31754a..fda867d9b4d 100644 --- a/Compute/src/V1/Client/InstanceTemplatesClient.php +++ b/Compute/src/V1/Client/InstanceTemplatesClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceTemplatesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstanceTemplatesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInstanceTemplatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstanceTemplatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstanceTemplateRequest $request, array $optionalArgs = []) */ final class InstanceTemplatesClient { diff --git a/Compute/src/V1/Client/InstancesClient.php b/Compute/src/V1/Client/InstancesClient.php index 0b4536062c9..b586e495911 100644 --- a/Compute/src/V1/Client/InstancesClient.php +++ b/Compute/src/V1/Client/InstancesClient.php @@ -99,54 +99,54 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addAccessConfigAsync(AddAccessConfigInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListInstancesRequest $request, array $optionalArgs = []) - * @method PromiseInterface attachDiskAsync(AttachDiskInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface bulkInsertAsync(BulkInsertInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAccessConfigAsync(DeleteAccessConfigInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface detachDiskAsync(DetachDiskInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getGuestAttributesAsync(GetGuestAttributesInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getScreenshotAsync(GetScreenshotInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getSerialPortOutputAsync(GetSerialPortOutputInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getShieldedInstanceIdentityAsync(GetShieldedInstanceIdentityInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstancesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listReferrersAsync(ListReferrersInstancesRequest $request, array $optionalArgs = []) - * @method PromiseInterface performMaintenanceAsync(PerformMaintenanceInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface resetAsync(ResetInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface resumeAsync(ResumeInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface sendDiagnosticInterruptAsync(SendDiagnosticInterruptInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setDeletionProtectionAsync(SetDeletionProtectionInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setDiskAutoDeleteAsync(SetDiskAutoDeleteInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setMachineResourcesAsync(SetMachineResourcesInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setMachineTypeAsync(SetMachineTypeInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setMetadataAsync(SetMetadataInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setMinCpuPlatformAsync(SetMinCpuPlatformInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setNameAsync(SetNameInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSchedulingAsync(SetSchedulingInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setServiceAccountAsync(SetServiceAccountInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setShieldedInstanceIntegrityPolicyAsync(SetShieldedInstanceIntegrityPolicyInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setTagsAsync(SetTagsInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface simulateMaintenanceEventAsync(SimulateMaintenanceEventInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface startAsync(StartInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface startWithEncryptionKeyAsync(StartWithEncryptionKeyInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopAsync(StopInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface suspendAsync(SuspendInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAccessConfigAsync(UpdateAccessConfigInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDisplayDeviceAsync(UpdateDisplayDeviceInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateNetworkInterfaceAsync(UpdateNetworkInterfaceInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateShieldedInstanceConfigAsync(UpdateShieldedInstanceConfigInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface addAccessConfigAsync(AddAccessConfigInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInstancesRequest $request, array $optionalArgs = []) + * @method PromiseInterface attachDiskAsync(AttachDiskInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface bulkInsertAsync(BulkInsertInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAccessConfigAsync(DeleteAccessConfigInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface detachDiskAsync(DetachDiskInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getGuestAttributesAsync(GetGuestAttributesInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getScreenshotAsync(GetScreenshotInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getSerialPortOutputAsync(GetSerialPortOutputInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getShieldedInstanceIdentityAsync(GetShieldedInstanceIdentityInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstancesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listReferrersAsync(ListReferrersInstancesRequest $request, array $optionalArgs = []) + * @method PromiseInterface performMaintenanceAsync(PerformMaintenanceInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface resetAsync(ResetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface resumeAsync(ResumeInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface sendDiagnosticInterruptAsync(SendDiagnosticInterruptInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setDeletionProtectionAsync(SetDeletionProtectionInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setDiskAutoDeleteAsync(SetDiskAutoDeleteInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setMachineResourcesAsync(SetMachineResourcesInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setMachineTypeAsync(SetMachineTypeInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setMetadataAsync(SetMetadataInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setMinCpuPlatformAsync(SetMinCpuPlatformInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setNameAsync(SetNameInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSchedulingAsync(SetSchedulingInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setServiceAccountAsync(SetServiceAccountInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setShieldedInstanceIntegrityPolicyAsync(SetShieldedInstanceIntegrityPolicyInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setTagsAsync(SetTagsInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface simulateMaintenanceEventAsync(SimulateMaintenanceEventInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface startAsync(StartInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface startWithEncryptionKeyAsync(StartWithEncryptionKeyInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopAsync(StopInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface suspendAsync(SuspendInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAccessConfigAsync(UpdateAccessConfigInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDisplayDeviceAsync(UpdateDisplayDeviceInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateNetworkInterfaceAsync(UpdateNetworkInterfaceInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateShieldedInstanceConfigAsync(UpdateShieldedInstanceConfigInstanceRequest $request, array $optionalArgs = []) */ final class InstancesClient { diff --git a/Compute/src/V1/Client/InstantSnapshotsClient.php b/Compute/src/V1/Client/InstantSnapshotsClient.php index d7f8080a02e..b9ad51179ff 100644 --- a/Compute/src/V1/Client/InstantSnapshotsClient.php +++ b/Compute/src/V1/Client/InstantSnapshotsClient.php @@ -54,15 +54,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListInstantSnapshotsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInstantSnapshotsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInstantSnapshotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInstantSnapshotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest $request, array $optionalArgs = []) */ final class InstantSnapshotsClient { diff --git a/Compute/src/V1/Client/InterconnectAttachmentsClient.php b/Compute/src/V1/Client/InterconnectAttachmentsClient.php index 9e74a892491..78c03cf449e 100644 --- a/Compute/src/V1/Client/InterconnectAttachmentsClient.php +++ b/Compute/src/V1/Client/InterconnectAttachmentsClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListInterconnectAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteInterconnectAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInterconnectAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInterconnectAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInterconnectAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchInterconnectAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsInterconnectAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListInterconnectAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInterconnectAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInterconnectAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInterconnectAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInterconnectAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchInterconnectAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsInterconnectAttachmentRequest $request, array $optionalArgs = []) */ final class InterconnectAttachmentsClient { diff --git a/Compute/src/V1/Client/InterconnectLocationsClient.php b/Compute/src/V1/Client/InterconnectLocationsClient.php index 88af4f7b1b0..279ca2725b3 100644 --- a/Compute/src/V1/Client/InterconnectLocationsClient.php +++ b/Compute/src/V1/Client/InterconnectLocationsClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetInterconnectLocationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInterconnectLocationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInterconnectLocationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInterconnectLocationsRequest $request, array $optionalArgs = []) */ final class InterconnectLocationsClient { diff --git a/Compute/src/V1/Client/InterconnectRemoteLocationsClient.php b/Compute/src/V1/Client/InterconnectRemoteLocationsClient.php index f08b0facc2d..897b517a1aa 100644 --- a/Compute/src/V1/Client/InterconnectRemoteLocationsClient.php +++ b/Compute/src/V1/Client/InterconnectRemoteLocationsClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetInterconnectRemoteLocationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInterconnectRemoteLocationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInterconnectRemoteLocationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInterconnectRemoteLocationsRequest $request, array $optionalArgs = []) */ final class InterconnectRemoteLocationsClient { diff --git a/Compute/src/V1/Client/InterconnectsClient.php b/Compute/src/V1/Client/InterconnectsClient.php index 8242fd8c963..ee301503127 100644 --- a/Compute/src/V1/Client/InterconnectsClient.php +++ b/Compute/src/V1/Client/InterconnectsClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDiagnosticsAsync(GetDiagnosticsInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getMacsecConfigAsync(GetMacsecConfigInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListInterconnectsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchInterconnectRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDiagnosticsAsync(GetDiagnosticsInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getMacsecConfigAsync(GetMacsecConfigInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListInterconnectsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchInterconnectRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsInterconnectRequest $request, array $optionalArgs = []) */ final class InterconnectsClient { diff --git a/Compute/src/V1/Client/LicenseCodesClient.php b/Compute/src/V1/Client/LicenseCodesClient.php index 5528f944bee..49e2c2e758d 100644 --- a/Compute/src/V1/Client/LicenseCodesClient.php +++ b/Compute/src/V1/Client/LicenseCodesClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetLicenseCodeRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsLicenseCodeRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetLicenseCodeRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsLicenseCodeRequest $request, array $optionalArgs = []) */ final class LicenseCodesClient { diff --git a/Compute/src/V1/Client/LicensesClient.php b/Compute/src/V1/Client/LicensesClient.php index 3c1f0b40d08..40814a6fde4 100644 --- a/Compute/src/V1/Client/LicensesClient.php +++ b/Compute/src/V1/Client/LicensesClient.php @@ -52,13 +52,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteLicenseRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetLicenseRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyLicenseRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertLicenseRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListLicensesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyLicenseRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListLicensesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyLicenseRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsLicenseRequest $request, array $optionalArgs = []) */ final class LicensesClient { diff --git a/Compute/src/V1/Client/MachineImagesClient.php b/Compute/src/V1/Client/MachineImagesClient.php index 98483ad18ed..e86c366fa86 100644 --- a/Compute/src/V1/Client/MachineImagesClient.php +++ b/Compute/src/V1/Client/MachineImagesClient.php @@ -52,13 +52,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteMachineImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetMachineImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyMachineImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertMachineImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListMachineImagesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyMachineImageRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListMachineImagesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyMachineImageRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsMachineImageRequest $request, array $optionalArgs = []) */ final class MachineImagesClient { diff --git a/Compute/src/V1/Client/MachineTypesClient.php b/Compute/src/V1/Client/MachineTypesClient.php index 170704115b3..056360630a3 100644 --- a/Compute/src/V1/Client/MachineTypesClient.php +++ b/Compute/src/V1/Client/MachineTypesClient.php @@ -44,9 +44,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListMachineTypesRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetMachineTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListMachineTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListMachineTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetMachineTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListMachineTypesRequest $request, array $optionalArgs = []) */ final class MachineTypesClient { diff --git a/Compute/src/V1/Client/NetworkAttachmentsClient.php b/Compute/src/V1/Client/NetworkAttachmentsClient.php index f1c0b2dc866..cde656105c1 100644 --- a/Compute/src/V1/Client/NetworkAttachmentsClient.php +++ b/Compute/src/V1/Client/NetworkAttachmentsClient.php @@ -54,15 +54,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNetworkAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNetworkAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest $request, array $optionalArgs = []) */ final class NetworkAttachmentsClient { diff --git a/Compute/src/V1/Client/NetworkEdgeSecurityServicesClient.php b/Compute/src/V1/Client/NetworkEdgeSecurityServicesClient.php index a4ec845ffe5..ddeeea77965 100644 --- a/Compute/src/V1/Client/NetworkEdgeSecurityServicesClient.php +++ b/Compute/src/V1/Client/NetworkEdgeSecurityServicesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkEdgeSecurityServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkEdgeSecurityServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchNetworkEdgeSecurityServiceRequest $request, array $optionalArgs = []) */ final class NetworkEdgeSecurityServicesClient { diff --git a/Compute/src/V1/Client/NetworkEndpointGroupsClient.php b/Compute/src/V1/Client/NetworkEndpointGroupsClient.php index d7021b16e70..458b2c4ed9c 100644 --- a/Compute/src/V1/Client/NetworkEndpointGroupsClient.php +++ b/Compute/src/V1/Client/NetworkEndpointGroupsClient.php @@ -53,15 +53,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNetworkEndpointGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest $request, array $optionalArgs = []) */ final class NetworkEndpointGroupsClient { diff --git a/Compute/src/V1/Client/NetworkFirewallPoliciesClient.php b/Compute/src/V1/Client/NetworkFirewallPoliciesClient.php index 5191530d1e9..7d808bae414 100644 --- a/Compute/src/V1/Client/NetworkFirewallPoliciesClient.php +++ b/Compute/src/V1/Client/NetworkFirewallPoliciesClient.php @@ -63,22 +63,22 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addAssociationAsync(AddAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface addRuleAsync(AddRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface cloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAssociationAsync(GetAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRuleAsync(GetRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNetworkFirewallPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchRuleAsync(PatchRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeRuleAsync(RemoveRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addAssociationAsync(AddAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addRuleAsync(AddRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface cloneRulesAsync(CloneRulesNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAssociationAsync(GetAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRuleAsync(GetRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNetworkFirewallPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchRuleAsync(PatchRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeAssociationAsync(RemoveAssociationNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeRuleAsync(RemoveRuleNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNetworkFirewallPolicyRequest $request, array $optionalArgs = []) */ final class NetworkFirewallPoliciesClient { diff --git a/Compute/src/V1/Client/NetworksClient.php b/Compute/src/V1/Client/NetworksClient.php index 274b2d9c3f2..36f047fc61d 100644 --- a/Compute/src/V1/Client/NetworksClient.php +++ b/Compute/src/V1/Client/NetworksClient.php @@ -55,17 +55,17 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addPeeringAsync(AddPeeringNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNetworksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPeeringRoutesAsync(ListPeeringRoutesNetworksRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface removePeeringAsync(RemovePeeringNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface switchToCustomModeAsync(SwitchToCustomModeNetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updatePeeringAsync(UpdatePeeringNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface addPeeringAsync(AddPeeringNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNetworksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPeeringRoutesAsync(ListPeeringRoutesNetworksRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface removePeeringAsync(RemovePeeringNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface switchToCustomModeAsync(SwitchToCustomModeNetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updatePeeringAsync(UpdatePeeringNetworkRequest $request, array $optionalArgs = []) */ final class NetworksClient { @@ -420,7 +420,7 @@ public function listPeeringRoutes(ListPeeringRoutesNetworksRequest $request, arr } /** - * Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. + * Patches the specified network with the data included in the request. Only routingConfig can be modified. * * The async variant is {@see NetworksClient::patchAsync()} . * diff --git a/Compute/src/V1/Client/NodeGroupsClient.php b/Compute/src/V1/Client/NodeGroupsClient.php index 0cb2d5e8c1c..f40ca2c1931 100644 --- a/Compute/src/V1/Client/NodeGroupsClient.php +++ b/Compute/src/V1/Client/NodeGroupsClient.php @@ -60,21 +60,21 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addNodesAsync(AddNodesNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListNodeGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteNodesAsync(DeleteNodesNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNodeGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listNodesAsync(ListNodesNodeGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface performMaintenanceAsync(PerformMaintenanceNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface setNodeTemplateAsync(SetNodeTemplateNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface simulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface addNodesAsync(AddNodesNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNodeGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteNodesAsync(DeleteNodesNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNodeGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listNodesAsync(ListNodesNodeGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface performMaintenanceAsync(PerformMaintenanceNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface setNodeTemplateAsync(SetNodeTemplateNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface simulateMaintenanceEventAsync(SimulateMaintenanceEventNodeGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNodeGroupRequest $request, array $optionalArgs = []) */ final class NodeGroupsClient { diff --git a/Compute/src/V1/Client/NodeTemplatesClient.php b/Compute/src/V1/Client/NodeTemplatesClient.php index a65c3352a86..7afb18530d5 100644 --- a/Compute/src/V1/Client/NodeTemplatesClient.php +++ b/Compute/src/V1/Client/NodeTemplatesClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListNodeTemplatesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteNodeTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNodeTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNodeTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertNodeTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNodeTemplatesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNodeTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNodeTemplatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNodeTemplatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyNodeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest $request, array $optionalArgs = []) */ final class NodeTemplatesClient { diff --git a/Compute/src/V1/Client/NodeTypesClient.php b/Compute/src/V1/Client/NodeTypesClient.php index f8a501a1dbb..446a3bd3c2d 100644 --- a/Compute/src/V1/Client/NodeTypesClient.php +++ b/Compute/src/V1/Client/NodeTypesClient.php @@ -44,9 +44,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListNodeTypesRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetNodeTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListNodeTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListNodeTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetNodeTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListNodeTypesRequest $request, array $optionalArgs = []) */ final class NodeTypesClient { diff --git a/Compute/src/V1/Client/PacketMirroringsClient.php b/Compute/src/V1/Client/PacketMirroringsClient.php index a81618df35d..6c385f21864 100644 --- a/Compute/src/V1/Client/PacketMirroringsClient.php +++ b/Compute/src/V1/Client/PacketMirroringsClient.php @@ -51,13 +51,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListPacketMirroringsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeletePacketMirroringRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetPacketMirroringRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertPacketMirroringRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListPacketMirroringsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchPacketMirroringRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListPacketMirroringsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeletePacketMirroringRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetPacketMirroringRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertPacketMirroringRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListPacketMirroringsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchPacketMirroringRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest $request, array $optionalArgs = []) */ final class PacketMirroringsClient { diff --git a/Compute/src/V1/Client/ProjectsClient.php b/Compute/src/V1/Client/ProjectsClient.php index 4c1f6e2bd00..20e9ebf6b9e 100644 --- a/Compute/src/V1/Client/ProjectsClient.php +++ b/Compute/src/V1/Client/ProjectsClient.php @@ -57,20 +57,20 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface disableXpnHostAsync(DisableXpnHostProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface disableXpnResourceAsync(DisableXpnResourceProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface enableXpnHostAsync(EnableXpnHostProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface enableXpnResourceAsync(EnableXpnResourceProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getXpnHostAsync(GetXpnHostProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface getXpnResourcesAsync(GetXpnResourcesProjectsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listXpnHostsAsync(ListXpnHostsProjectsRequest $request, array $optionalArgs = []) - * @method PromiseInterface moveDiskAsync(MoveDiskProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface moveInstanceAsync(MoveInstanceProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface setCloudArmorTierAsync(SetCloudArmorTierProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface setCommonInstanceMetadataAsync(SetCommonInstanceMetadataProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface setDefaultNetworkTierAsync(SetDefaultNetworkTierProjectRequest $request, array $optionalArgs = []) - * @method PromiseInterface setUsageExportBucketAsync(SetUsageExportBucketProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface disableXpnHostAsync(DisableXpnHostProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface disableXpnResourceAsync(DisableXpnResourceProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface enableXpnHostAsync(EnableXpnHostProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface enableXpnResourceAsync(EnableXpnResourceProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getXpnHostAsync(GetXpnHostProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface getXpnResourcesAsync(GetXpnResourcesProjectsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listXpnHostsAsync(ListXpnHostsProjectsRequest $request, array $optionalArgs = []) + * @method PromiseInterface moveDiskAsync(MoveDiskProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface moveInstanceAsync(MoveInstanceProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface setCloudArmorTierAsync(SetCloudArmorTierProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface setCommonInstanceMetadataAsync(SetCommonInstanceMetadataProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface setDefaultNetworkTierAsync(SetDefaultNetworkTierProjectRequest $request, array $optionalArgs = []) + * @method PromiseInterface setUsageExportBucketAsync(SetUsageExportBucketProjectRequest $request, array $optionalArgs = []) */ final class ProjectsClient { diff --git a/Compute/src/V1/Client/PublicAdvertisedPrefixesClient.php b/Compute/src/V1/Client/PublicAdvertisedPrefixesClient.php index fb96aae7016..22d4ce334f6 100644 --- a/Compute/src/V1/Client/PublicAdvertisedPrefixesClient.php +++ b/Compute/src/V1/Client/PublicAdvertisedPrefixesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface announceAsync(AnnouncePublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeletePublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListPublicAdvertisedPrefixesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface withdrawAsync(WithdrawPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface announceAsync(AnnouncePublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeletePublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListPublicAdvertisedPrefixesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface withdrawAsync(WithdrawPublicAdvertisedPrefixeRequest $request, array $optionalArgs = []) */ final class PublicAdvertisedPrefixesClient { diff --git a/Compute/src/V1/Client/PublicDelegatedPrefixesClient.php b/Compute/src/V1/Client/PublicDelegatedPrefixesClient.php index 12c4cfa060e..ff39d7612d6 100644 --- a/Compute/src/V1/Client/PublicDelegatedPrefixesClient.php +++ b/Compute/src/V1/Client/PublicDelegatedPrefixesClient.php @@ -51,14 +51,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) - * @method PromiseInterface announceAsync(AnnouncePublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeletePublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) - * @method PromiseInterface withdrawAsync(WithdrawPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) + * @method PromiseInterface announceAsync(AnnouncePublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeletePublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListPublicDelegatedPrefixesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) + * @method PromiseInterface withdrawAsync(WithdrawPublicDelegatedPrefixeRequest $request, array $optionalArgs = []) */ final class PublicDelegatedPrefixesClient { diff --git a/Compute/src/V1/Client/RegionAutoscalersClient.php b/Compute/src/V1/Client/RegionAutoscalersClient.php index 64aebe0ab1b..63d72cf3a26 100644 --- a/Compute/src/V1/Client/RegionAutoscalersClient.php +++ b/Compute/src/V1/Client/RegionAutoscalersClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionAutoscalersRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionAutoscalerRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionAutoscalersRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionAutoscalerRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionAutoscalerRequest $request, array $optionalArgs = []) */ final class RegionAutoscalersClient { diff --git a/Compute/src/V1/Client/RegionBackendServicesClient.php b/Compute/src/V1/Client/RegionBackendServicesClient.php index e829aa69a9e..39b70150048 100644 --- a/Compute/src/V1/Client/RegionBackendServicesClient.php +++ b/Compute/src/V1/Client/RegionBackendServicesClient.php @@ -58,18 +58,18 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getHealthAsync(GetHealthRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionBackendServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listUsableAsync(ListUsableRegionBackendServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionBackendServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getHealthAsync(GetHealthRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionBackendServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listUsableAsync(ListUsableRegionBackendServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionBackendServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionBackendServiceRequest $request, array $optionalArgs = []) */ final class RegionBackendServicesClient { @@ -401,7 +401,7 @@ public function list(ListRegionBackendServicesRequest $request, array $callOptio } /** - * Retrieves an aggregated list of all usable backend services in the specified project in the given region. + * Retrieves a list of all usable backend services in the specified project in the given region. * * The async variant is {@see RegionBackendServicesClient::listUsableAsync()} . * diff --git a/Compute/src/V1/Client/RegionCommitmentsClient.php b/Compute/src/V1/Client/RegionCommitmentsClient.php index 41ec92c154f..c7b33840271 100644 --- a/Compute/src/V1/Client/RegionCommitmentsClient.php +++ b/Compute/src/V1/Client/RegionCommitmentsClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListRegionCommitmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionCommitmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionCommitmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionCommitmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionCommitmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListRegionCommitmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionCommitmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionCommitmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionCommitmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionCommitmentRequest $request, array $optionalArgs = []) */ final class RegionCommitmentsClient { diff --git a/Compute/src/V1/Client/RegionDiskTypesClient.php b/Compute/src/V1/Client/RegionDiskTypesClient.php index a2770e96ec0..a16feaf3fe4 100644 --- a/Compute/src/V1/Client/RegionDiskTypesClient.php +++ b/Compute/src/V1/Client/RegionDiskTypesClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetRegionDiskTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionDiskTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionDiskTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionDiskTypesRequest $request, array $optionalArgs = []) */ final class RegionDiskTypesClient { diff --git a/Compute/src/V1/Client/RegionDisksClient.php b/Compute/src/V1/Client/RegionDisksClient.php index b7507dc2b68..91944f30ff6 100644 --- a/Compute/src/V1/Client/RegionDisksClient.php +++ b/Compute/src/V1/Client/RegionDisksClient.php @@ -62,23 +62,23 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface bulkInsertAsync(BulkInsertRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSnapshotAsync(CreateSnapshotRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionDisksRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface resizeAsync(ResizeRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface startAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionDiskRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface addResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface bulkInsertAsync(BulkInsertRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSnapshotAsync(CreateSnapshotRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionDisksRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface resizeAsync(ResizeRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface startAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionDiskRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionDiskRequest $request, array $optionalArgs = []) */ final class RegionDisksClient { diff --git a/Compute/src/V1/Client/RegionHealthCheckServicesClient.php b/Compute/src/V1/Client/RegionHealthCheckServicesClient.php index 8ae34ddefb7..d800d8671ac 100644 --- a/Compute/src/V1/Client/RegionHealthCheckServicesClient.php +++ b/Compute/src/V1/Client/RegionHealthCheckServicesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionHealthCheckServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionHealthCheckServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionHealthCheckServiceRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionHealthCheckServicesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionHealthCheckServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionHealthCheckServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionHealthCheckServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionHealthCheckServiceRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionHealthCheckServicesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionHealthCheckServiceRequest $request, array $optionalArgs = []) */ final class RegionHealthCheckServicesClient { diff --git a/Compute/src/V1/Client/RegionHealthChecksClient.php b/Compute/src/V1/Client/RegionHealthChecksClient.php index 9e34718e924..2e5e2957f30 100644 --- a/Compute/src/V1/Client/RegionHealthChecksClient.php +++ b/Compute/src/V1/Client/RegionHealthChecksClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionHealthChecksRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionHealthCheckRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionHealthChecksRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionHealthCheckRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionHealthCheckRequest $request, array $optionalArgs = []) */ final class RegionHealthChecksClient { diff --git a/Compute/src/V1/Client/RegionInstanceGroupManagersClient.php b/Compute/src/V1/Client/RegionInstanceGroupManagersClient.php index e58d4a4457e..f9a189dc8ef 100644 --- a/Compute/src/V1/Client/RegionInstanceGroupManagersClient.php +++ b/Compute/src/V1/Client/RegionInstanceGroupManagersClient.php @@ -62,25 +62,25 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface abandonInstancesAsync(AbandonInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface applyUpdatesToInstancesAsync(ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface createInstancesAsync(CreateInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteInstancesAsync(DeleteInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface deletePerInstanceConfigsAsync(DeletePerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listErrorsAsync(ListErrorsRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listManagedInstancesAsync(ListManagedInstancesRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPerInstanceConfigsAsync(ListPerInstanceConfigsRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchPerInstanceConfigsAsync(PatchPerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface recreateInstancesAsync(RecreateInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface resizeAsync(ResizeRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface setInstanceTemplateAsync(SetInstanceTemplateRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface setTargetPoolsAsync(SetTargetPoolsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) - * @method PromiseInterface updatePerInstanceConfigsAsync(UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface abandonInstancesAsync(AbandonInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface applyUpdatesToInstancesAsync(ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface createInstancesAsync(CreateInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteInstancesAsync(DeleteInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface deletePerInstanceConfigsAsync(DeletePerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listErrorsAsync(ListErrorsRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listManagedInstancesAsync(ListManagedInstancesRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPerInstanceConfigsAsync(ListPerInstanceConfigsRegionInstanceGroupManagersRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchPerInstanceConfigsAsync(PatchPerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface recreateInstancesAsync(RecreateInstancesRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface resizeAsync(ResizeRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface setInstanceTemplateAsync(SetInstanceTemplateRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface setTargetPoolsAsync(SetTargetPoolsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) + * @method PromiseInterface updatePerInstanceConfigsAsync(UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest $request, array $optionalArgs = []) */ final class RegionInstanceGroupManagersClient { diff --git a/Compute/src/V1/Client/RegionInstanceGroupsClient.php b/Compute/src/V1/Client/RegionInstanceGroupsClient.php index b370cb6cd54..1461eab9738 100644 --- a/Compute/src/V1/Client/RegionInstanceGroupsClient.php +++ b/Compute/src/V1/Client/RegionInstanceGroupsClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetRegionInstanceGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionInstanceGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listInstancesAsync(ListInstancesRegionInstanceGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionInstanceGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionInstanceGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listInstancesAsync(ListInstancesRegionInstanceGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest $request, array $optionalArgs = []) */ final class RegionInstanceGroupsClient { diff --git a/Compute/src/V1/Client/RegionInstanceTemplatesClient.php b/Compute/src/V1/Client/RegionInstanceTemplatesClient.php index 15a1e23cabb..b39df549f8b 100644 --- a/Compute/src/V1/Client/RegionInstanceTemplatesClient.php +++ b/Compute/src/V1/Client/RegionInstanceTemplatesClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionInstanceTemplateRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionInstanceTemplatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionInstanceTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionInstanceTemplatesRequest $request, array $optionalArgs = []) */ final class RegionInstanceTemplatesClient { diff --git a/Compute/src/V1/Client/RegionInstancesClient.php b/Compute/src/V1/Client/RegionInstancesClient.php index 11fed84940a..8f97283b0bd 100644 --- a/Compute/src/V1/Client/RegionInstancesClient.php +++ b/Compute/src/V1/Client/RegionInstancesClient.php @@ -42,7 +42,7 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface bulkInsertAsync(BulkInsertRegionInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface bulkInsertAsync(BulkInsertRegionInstanceRequest $request, array $optionalArgs = []) */ final class RegionInstancesClient { diff --git a/Compute/src/V1/Client/RegionInstantSnapshotsClient.php b/Compute/src/V1/Client/RegionInstantSnapshotsClient.php index 4532eff547c..b72a3a3deaf 100644 --- a/Compute/src/V1/Client/RegionInstantSnapshotsClient.php +++ b/Compute/src/V1/Client/RegionInstantSnapshotsClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionInstantSnapshotsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsRegionInstantSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionInstantSnapshotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsRegionInstantSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionInstantSnapshotRequest $request, array $optionalArgs = []) */ final class RegionInstantSnapshotsClient { diff --git a/Compute/src/V1/Client/RegionNetworkEndpointGroupsClient.php b/Compute/src/V1/Client/RegionNetworkEndpointGroupsClient.php index ea1603f569d..c5c362033cc 100644 --- a/Compute/src/V1/Client/RegionNetworkEndpointGroupsClient.php +++ b/Compute/src/V1/Client/RegionNetworkEndpointGroupsClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionNetworkEndpointGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface attachNetworkEndpointsAsync(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface detachNetworkEndpointsAsync(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionNetworkEndpointGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionNetworkEndpointGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listNetworkEndpointsAsync(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest $request, array $optionalArgs = []) */ final class RegionNetworkEndpointGroupsClient { diff --git a/Compute/src/V1/Client/RegionNetworkFirewallPoliciesClient.php b/Compute/src/V1/Client/RegionNetworkFirewallPoliciesClient.php index 91628aa6c00..afe1d4fbdd1 100644 --- a/Compute/src/V1/Client/RegionNetworkFirewallPoliciesClient.php +++ b/Compute/src/V1/Client/RegionNetworkFirewallPoliciesClient.php @@ -65,23 +65,23 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface addRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface cloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionNetworkFirewallPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addAssociationAsync(AddAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addRuleAsync(AddRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface cloneRulesAsync(CloneRulesRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAssociationAsync(GetAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEffectiveFirewallsAsync(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRuleAsync(GetRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionNetworkFirewallPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchRuleAsync(PatchRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeAssociationAsync(RemoveAssociationRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeRuleAsync(RemoveRuleRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRegionNetworkFirewallPolicyRequest $request, array $optionalArgs = []) */ final class RegionNetworkFirewallPoliciesClient { diff --git a/Compute/src/V1/Client/RegionNotificationEndpointsClient.php b/Compute/src/V1/Client/RegionNotificationEndpointsClient.php index c9c9c5d6f5e..a82bbf258f2 100644 --- a/Compute/src/V1/Client/RegionNotificationEndpointsClient.php +++ b/Compute/src/V1/Client/RegionNotificationEndpointsClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionNotificationEndpointRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionNotificationEndpointRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionNotificationEndpointRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionNotificationEndpointsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionNotificationEndpointRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionNotificationEndpointRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionNotificationEndpointRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionNotificationEndpointsRequest $request, array $optionalArgs = []) */ final class RegionNotificationEndpointsClient { diff --git a/Compute/src/V1/Client/RegionOperationsClient.php b/Compute/src/V1/Client/RegionOperationsClient.php index 92dd739bd74..572a031787d 100644 --- a/Compute/src/V1/Client/RegionOperationsClient.php +++ b/Compute/src/V1/Client/RegionOperationsClient.php @@ -46,10 +46,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionOperationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface waitAsync(WaitRegionOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionOperationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface waitAsync(WaitRegionOperationRequest $request, array $optionalArgs = []) */ final class RegionOperationsClient { diff --git a/Compute/src/V1/Client/RegionSecurityPoliciesClient.php b/Compute/src/V1/Client/RegionSecurityPoliciesClient.php index 45ff79e42c9..397c6cc46d8 100644 --- a/Compute/src/V1/Client/RegionSecurityPoliciesClient.php +++ b/Compute/src/V1/Client/RegionSecurityPoliciesClient.php @@ -53,15 +53,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addRuleAsync(AddRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRuleAsync(GetRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionSecurityPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchRuleAsync(PatchRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeRuleAsync(RemoveRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addRuleAsync(AddRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRuleAsync(GetRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionSecurityPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchRuleAsync(PatchRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeRuleAsync(RemoveRuleRegionSecurityPolicyRequest $request, array $optionalArgs = []) */ final class RegionSecurityPoliciesClient { diff --git a/Compute/src/V1/Client/RegionSslCertificatesClient.php b/Compute/src/V1/Client/RegionSslCertificatesClient.php index c82732a00cb..66c8c2ecbde 100644 --- a/Compute/src/V1/Client/RegionSslCertificatesClient.php +++ b/Compute/src/V1/Client/RegionSslCertificatesClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionSslCertificatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionSslCertificatesRequest $request, array $optionalArgs = []) */ final class RegionSslCertificatesClient { diff --git a/Compute/src/V1/Client/RegionSslPoliciesClient.php b/Compute/src/V1/Client/RegionSslPoliciesClient.php index 4efc84c2edb..55b408a9e90 100644 --- a/Compute/src/V1/Client/RegionSslPoliciesClient.php +++ b/Compute/src/V1/Client/RegionSslPoliciesClient.php @@ -50,12 +50,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionSslPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionSslPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionSslPolicyRequest $request, array $optionalArgs = []) */ final class RegionSslPoliciesClient { diff --git a/Compute/src/V1/Client/RegionTargetHttpProxiesClient.php b/Compute/src/V1/Client/RegionTargetHttpProxiesClient.php index 44354946778..3b37e86078a 100644 --- a/Compute/src/V1/Client/RegionTargetHttpProxiesClient.php +++ b/Compute/src/V1/Client/RegionTargetHttpProxiesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionTargetHttpProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionTargetHttpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest $request, array $optionalArgs = []) */ final class RegionTargetHttpProxiesClient { diff --git a/Compute/src/V1/Client/RegionTargetHttpsProxiesClient.php b/Compute/src/V1/Client/RegionTargetHttpsProxiesClient.php index 3848490518a..5b57f85e75e 100644 --- a/Compute/src/V1/Client/RegionTargetHttpsProxiesClient.php +++ b/Compute/src/V1/Client/RegionTargetHttpsProxiesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionTargetHttpsProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setUrlMapAsync(SetUrlMapRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionTargetHttpsProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setUrlMapAsync(SetUrlMapRegionTargetHttpsProxyRequest $request, array $optionalArgs = []) */ final class RegionTargetHttpsProxiesClient { diff --git a/Compute/src/V1/Client/RegionTargetTcpProxiesClient.php b/Compute/src/V1/Client/RegionTargetTcpProxiesClient.php index 246f95019da..09448247720 100644 --- a/Compute/src/V1/Client/RegionTargetTcpProxiesClient.php +++ b/Compute/src/V1/Client/RegionTargetTcpProxiesClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionTargetTcpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionTargetTcpProxiesRequest $request, array $optionalArgs = []) */ final class RegionTargetTcpProxiesClient { diff --git a/Compute/src/V1/Client/RegionUrlMapsClient.php b/Compute/src/V1/Client/RegionUrlMapsClient.php index 398af0cda22..2fa11a601e9 100644 --- a/Compute/src/V1/Client/RegionUrlMapsClient.php +++ b/Compute/src/V1/Client/RegionUrlMapsClient.php @@ -51,13 +51,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRegionUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRegionUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRegionUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionUrlMapsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRegionUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRegionUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface validateAsync(ValidateRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionUrlMapsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRegionUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface validateAsync(ValidateRegionUrlMapRequest $request, array $optionalArgs = []) */ final class RegionUrlMapsClient { diff --git a/Compute/src/V1/Client/RegionZonesClient.php b/Compute/src/V1/Client/RegionZonesClient.php index 680b1aa3824..675c31fbe7b 100644 --- a/Compute/src/V1/Client/RegionZonesClient.php +++ b/Compute/src/V1/Client/RegionZonesClient.php @@ -41,7 +41,7 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface listAsync(ListRegionZonesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionZonesRequest $request, array $optionalArgs = []) */ final class RegionZonesClient { diff --git a/Compute/src/V1/Client/RegionsClient.php b/Compute/src/V1/Client/RegionsClient.php index 96fc3f6b948..1226110cc8a 100644 --- a/Compute/src/V1/Client/RegionsClient.php +++ b/Compute/src/V1/Client/RegionsClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetRegionRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRegionsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRegionRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRegionsRequest $request, array $optionalArgs = []) */ final class RegionsClient { @@ -178,7 +178,7 @@ public function __call($method, $args) } /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * The async variant is {@see RegionsClient::getAsync()} . * @@ -202,7 +202,7 @@ public function get(GetRegionRequest $request, array $callOptions = []): Region } /** - * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * The async variant is {@see RegionsClient::listAsync()} . * diff --git a/Compute/src/V1/Client/ReservationsClient.php b/Compute/src/V1/Client/ReservationsClient.php index 8be4f534058..4d8b10692d9 100644 --- a/Compute/src/V1/Client/ReservationsClient.php +++ b/Compute/src/V1/Client/ReservationsClient.php @@ -55,16 +55,16 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListReservationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListReservationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface resizeAsync(ResizeReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsReservationRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListReservationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListReservationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface resizeAsync(ResizeReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsReservationRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateReservationRequest $request, array $optionalArgs = []) */ final class ReservationsClient { diff --git a/Compute/src/V1/Client/ResourcePoliciesClient.php b/Compute/src/V1/Client/ResourcePoliciesClient.php index 0e2dec87469..f4149fd79ca 100644 --- a/Compute/src/V1/Client/ResourcePoliciesClient.php +++ b/Compute/src/V1/Client/ResourcePoliciesClient.php @@ -54,15 +54,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListResourcePoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListResourcePoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyResourcePolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListResourcePoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListResourcePoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyResourcePolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsResourcePolicyRequest $request, array $optionalArgs = []) */ final class ResourcePoliciesClient { diff --git a/Compute/src/V1/Client/RoutersClient.php b/Compute/src/V1/Client/RoutersClient.php index 8e2910b96af..3a8a1aa2f23 100644 --- a/Compute/src/V1/Client/RoutersClient.php +++ b/Compute/src/V1/Client/RoutersClient.php @@ -57,17 +57,17 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListRoutersRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface getNatIpInfoAsync(GetNatIpInfoRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface getNatMappingInfoAsync(GetNatMappingInfoRoutersRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRouterStatusAsync(GetRouterStatusRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRoutersRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface previewAsync(PreviewRouterRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListRoutersRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface getNatIpInfoAsync(GetNatIpInfoRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface getNatMappingInfoAsync(GetNatMappingInfoRoutersRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRouterStatusAsync(GetRouterStatusRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRoutersRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface previewAsync(PreviewRouterRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateRouterRequest $request, array $optionalArgs = []) */ final class RoutersClient { diff --git a/Compute/src/V1/Client/RoutesClient.php b/Compute/src/V1/Client/RoutesClient.php index 072d8fb9151..4e88c130b66 100644 --- a/Compute/src/V1/Client/RoutesClient.php +++ b/Compute/src/V1/Client/RoutesClient.php @@ -47,10 +47,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteRouteRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetRouteRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertRouteRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListRoutesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteRouteRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetRouteRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertRouteRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListRoutesRequest $request, array $optionalArgs = []) */ final class RoutesClient { diff --git a/Compute/src/V1/Client/SecurityPoliciesClient.php b/Compute/src/V1/Client/SecurityPoliciesClient.php index cd6ae0277a5..32a1ce4502b 100644 --- a/Compute/src/V1/Client/SecurityPoliciesClient.php +++ b/Compute/src/V1/Client/SecurityPoliciesClient.php @@ -57,18 +57,18 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addRuleAsync(AddRuleSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListSecurityPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRuleAsync(GetRuleSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListSecurityPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPreconfiguredExpressionSetsAsync(ListPreconfiguredExpressionSetsSecurityPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchRuleAsync(PatchRuleSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeRuleAsync(RemoveRuleSecurityPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface addRuleAsync(AddRuleSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListSecurityPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRuleAsync(GetRuleSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListSecurityPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPreconfiguredExpressionSetsAsync(ListPreconfiguredExpressionSetsSecurityPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchRuleAsync(PatchRuleSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeRuleAsync(RemoveRuleSecurityPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsSecurityPolicyRequest $request, array $optionalArgs = []) */ final class SecurityPoliciesClient { diff --git a/Compute/src/V1/Client/ServiceAttachmentsClient.php b/Compute/src/V1/Client/ServiceAttachmentsClient.php index bc00f30f7da..ff6e0ee2c0b 100644 --- a/Compute/src/V1/Client/ServiceAttachmentsClient.php +++ b/Compute/src/V1/Client/ServiceAttachmentsClient.php @@ -54,15 +54,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListServiceAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListServiceAttachmentsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyServiceAttachmentRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListServiceAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListServiceAttachmentsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyServiceAttachmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsServiceAttachmentRequest $request, array $optionalArgs = []) */ final class ServiceAttachmentsClient { diff --git a/Compute/src/V1/Client/SnapshotSettingsServiceClient.php b/Compute/src/V1/Client/SnapshotSettingsServiceClient.php index adf412a9b09..c6b3ef74f96 100644 --- a/Compute/src/V1/Client/SnapshotSettingsServiceClient.php +++ b/Compute/src/V1/Client/SnapshotSettingsServiceClient.php @@ -44,8 +44,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetSnapshotSettingRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchSnapshotSettingRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSnapshotSettingRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchSnapshotSettingRequest $request, array $optionalArgs = []) */ final class SnapshotSettingsServiceClient { diff --git a/Compute/src/V1/Client/SnapshotsClient.php b/Compute/src/V1/Client/SnapshotsClient.php index 4995465e8d0..1ba3afe8dcb 100644 --- a/Compute/src/V1/Client/SnapshotsClient.php +++ b/Compute/src/V1/Client/SnapshotsClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicySnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListSnapshotsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicySnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsSnapshotRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicySnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListSnapshotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicySnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsSnapshotRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsSnapshotRequest $request, array $optionalArgs = []) */ final class SnapshotsClient { diff --git a/Compute/src/V1/Client/SslCertificatesClient.php b/Compute/src/V1/Client/SslCertificatesClient.php index 9562fd895b0..c3d0f63cf1e 100644 --- a/Compute/src/V1/Client/SslCertificatesClient.php +++ b/Compute/src/V1/Client/SslCertificatesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListSslCertificatesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertSslCertificateRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListSslCertificatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListSslCertificatesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertSslCertificateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListSslCertificatesRequest $request, array $optionalArgs = []) */ final class SslCertificatesClient { diff --git a/Compute/src/V1/Client/SslPoliciesClient.php b/Compute/src/V1/Client/SslPoliciesClient.php index 72e57a799f3..bc4ece5cc7a 100644 --- a/Compute/src/V1/Client/SslPoliciesClient.php +++ b/Compute/src/V1/Client/SslPoliciesClient.php @@ -51,13 +51,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListSslPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertSslPolicyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListSslPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListSslPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertSslPolicyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListSslPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchSslPolicyRequest $request, array $optionalArgs = []) */ final class SslPoliciesClient { diff --git a/Compute/src/V1/Client/StoragePoolTypesClient.php b/Compute/src/V1/Client/StoragePoolTypesClient.php index cb07eaaf1f6..580780decbe 100644 --- a/Compute/src/V1/Client/StoragePoolTypesClient.php +++ b/Compute/src/V1/Client/StoragePoolTypesClient.php @@ -44,9 +44,9 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListStoragePoolTypesRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetStoragePoolTypeRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListStoragePoolTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListStoragePoolTypesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetStoragePoolTypeRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListStoragePoolTypesRequest $request, array $optionalArgs = []) */ final class StoragePoolTypesClient { diff --git a/Compute/src/V1/Client/StoragePoolsClient.php b/Compute/src/V1/Client/StoragePoolsClient.php index b29af1e9519..a83c088e4c4 100644 --- a/Compute/src/V1/Client/StoragePoolsClient.php +++ b/Compute/src/V1/Client/StoragePoolsClient.php @@ -57,16 +57,16 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListStoragePoolsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicyStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListStoragePoolsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listDisksAsync(ListDisksStoragePoolsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicyStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsStoragePoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListStoragePoolsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicyStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListStoragePoolsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDisksAsync(ListDisksStoragePoolsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicyStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsStoragePoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateStoragePoolRequest $request, array $optionalArgs = []) */ final class StoragePoolsClient { @@ -470,7 +470,7 @@ public function testIamPermissions(TestIamPermissionsStoragePoolRequest $request } /** - * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. + * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput. * * The async variant is {@see StoragePoolsClient::updateAsync()} . * diff --git a/Compute/src/V1/Client/SubnetworksClient.php b/Compute/src/V1/Client/SubnetworksClient.php index e9c14cd67fe..577ba17b964 100644 --- a/Compute/src/V1/Client/SubnetworksClient.php +++ b/Compute/src/V1/Client/SubnetworksClient.php @@ -57,18 +57,18 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListSubnetworksRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface expandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getIamPolicyAsync(GetIamPolicySubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListSubnetworksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listUsableAsync(ListUsableSubnetworksRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface setIamPolicyAsync(SetIamPolicySubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface setPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListSubnetworksRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface expandIpCidrRangeAsync(ExpandIpCidrRangeSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getIamPolicyAsync(GetIamPolicySubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListSubnetworksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listUsableAsync(ListUsableSubnetworksRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface setIamPolicyAsync(SetIamPolicySubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface setPrivateIpGoogleAccessAsync(SetPrivateIpGoogleAccessSubnetworkRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsSubnetworkRequest $request, array $optionalArgs = []) */ final class SubnetworksClient { diff --git a/Compute/src/V1/Client/TargetGrpcProxiesClient.php b/Compute/src/V1/Client/TargetGrpcProxiesClient.php index e1de89d8859..49ad7b9aaf4 100644 --- a/Compute/src/V1/Client/TargetGrpcProxiesClient.php +++ b/Compute/src/V1/Client/TargetGrpcProxiesClient.php @@ -48,11 +48,11 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteTargetGrpcProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetGrpcProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetGrpcProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetGrpcProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchTargetGrpcProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetGrpcProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetGrpcProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetGrpcProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetGrpcProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchTargetGrpcProxyRequest $request, array $optionalArgs = []) */ final class TargetGrpcProxiesClient { diff --git a/Compute/src/V1/Client/TargetHttpProxiesClient.php b/Compute/src/V1/Client/TargetHttpProxiesClient.php index fad727fe4e8..7c137aa86df 100644 --- a/Compute/src/V1/Client/TargetHttpProxiesClient.php +++ b/Compute/src/V1/Client/TargetHttpProxiesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetHttpProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetHttpProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchTargetHttpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setUrlMapAsync(SetUrlMapTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetHttpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetHttpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchTargetHttpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setUrlMapAsync(SetUrlMapTargetHttpProxyRequest $request, array $optionalArgs = []) */ final class TargetHttpProxiesClient { diff --git a/Compute/src/V1/Client/TargetHttpsProxiesClient.php b/Compute/src/V1/Client/TargetHttpsProxiesClient.php index 0fd497aa35c..6c16958e13a 100644 --- a/Compute/src/V1/Client/TargetHttpsProxiesClient.php +++ b/Compute/src/V1/Client/TargetHttpsProxiesClient.php @@ -54,17 +54,17 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetHttpsProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetHttpsProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setCertificateMapAsync(SetCertificateMapTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSslPolicyAsync(SetSslPolicyTargetHttpsProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setUrlMapAsync(SetUrlMapTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetHttpsProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetHttpsProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setCertificateMapAsync(SetCertificateMapTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setQuicOverrideAsync(SetQuicOverrideTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSslPolicyAsync(SetSslPolicyTargetHttpsProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setUrlMapAsync(SetUrlMapTargetHttpsProxyRequest $request, array $optionalArgs = []) */ final class TargetHttpsProxiesClient { diff --git a/Compute/src/V1/Client/TargetInstancesClient.php b/Compute/src/V1/Client/TargetInstancesClient.php index 85447f521ed..8181292accd 100644 --- a/Compute/src/V1/Client/TargetInstancesClient.php +++ b/Compute/src/V1/Client/TargetInstancesClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetInstancesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetInstanceRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetInstancesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyTargetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetInstancesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetInstanceRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetInstancesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyTargetInstanceRequest $request, array $optionalArgs = []) */ final class TargetInstancesClient { diff --git a/Compute/src/V1/Client/TargetPoolsClient.php b/Compute/src/V1/Client/TargetPoolsClient.php index ce732c9dd63..69aed2be524 100644 --- a/Compute/src/V1/Client/TargetPoolsClient.php +++ b/Compute/src/V1/Client/TargetPoolsClient.php @@ -56,18 +56,18 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface addHealthCheckAsync(AddHealthCheckTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface addInstanceAsync(AddInstanceTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetPoolsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface getHealthAsync(GetHealthTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetPoolsRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeHealthCheckAsync(RemoveHealthCheckTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface removeInstanceAsync(RemoveInstanceTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface setBackupAsync(SetBackupTargetPoolRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface addHealthCheckAsync(AddHealthCheckTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface addInstanceAsync(AddInstanceTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetPoolsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface getHealthAsync(GetHealthTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetPoolsRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeHealthCheckAsync(RemoveHealthCheckTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeInstanceAsync(RemoveInstanceTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface setBackupAsync(SetBackupTargetPoolRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest $request, array $optionalArgs = []) */ final class TargetPoolsClient { diff --git a/Compute/src/V1/Client/TargetSslProxiesClient.php b/Compute/src/V1/Client/TargetSslProxiesClient.php index 89161f52e10..74fb4c581ec 100644 --- a/Compute/src/V1/Client/TargetSslProxiesClient.php +++ b/Compute/src/V1/Client/TargetSslProxiesClient.php @@ -52,15 +52,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetSslProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setBackendServiceAsync(SetBackendServiceTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setCertificateMapAsync(SetCertificateMapTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setSslPolicyAsync(SetSslPolicyTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetSslProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setBackendServiceAsync(SetBackendServiceTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setCertificateMapAsync(SetCertificateMapTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setSslPolicyAsync(SetSslPolicyTargetSslProxyRequest $request, array $optionalArgs = []) */ final class TargetSslProxiesClient { diff --git a/Compute/src/V1/Client/TargetTcpProxiesClient.php b/Compute/src/V1/Client/TargetTcpProxiesClient.php index c4920600a5d..4855b6d64c4 100644 --- a/Compute/src/V1/Client/TargetTcpProxiesClient.php +++ b/Compute/src/V1/Client/TargetTcpProxiesClient.php @@ -50,13 +50,13 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetTcpProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetTcpProxiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface setBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest $request, array $optionalArgs = []) - * @method PromiseInterface setProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetTcpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetTcpProxiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface setBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest $request, array $optionalArgs = []) + * @method PromiseInterface setProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest $request, array $optionalArgs = []) */ final class TargetTcpProxiesClient { diff --git a/Compute/src/V1/Client/TargetVpnGatewaysClient.php b/Compute/src/V1/Client/TargetVpnGatewaysClient.php index 7b8a6283b77..67050e64eca 100644 --- a/Compute/src/V1/Client/TargetVpnGatewaysClient.php +++ b/Compute/src/V1/Client/TargetVpnGatewaysClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListTargetVpnGatewaysRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteTargetVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetTargetVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertTargetVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListTargetVpnGatewaysRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsTargetVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListTargetVpnGatewaysRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteTargetVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetTargetVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertTargetVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListTargetVpnGatewaysRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsTargetVpnGatewayRequest $request, array $optionalArgs = []) */ final class TargetVpnGatewaysClient { diff --git a/Compute/src/V1/Client/UrlMapsClient.php b/Compute/src/V1/Client/UrlMapsClient.php index 52ca9f05cea..1d0f47b3dc8 100644 --- a/Compute/src/V1/Client/UrlMapsClient.php +++ b/Compute/src/V1/Client/UrlMapsClient.php @@ -53,15 +53,15 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListUrlMapsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface invalidateCacheAsync(InvalidateCacheUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListUrlMapsRequest $request, array $optionalArgs = []) - * @method PromiseInterface patchAsync(PatchUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAsync(UpdateUrlMapRequest $request, array $optionalArgs = []) - * @method PromiseInterface validateAsync(ValidateUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListUrlMapsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface invalidateCacheAsync(InvalidateCacheUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListUrlMapsRequest $request, array $optionalArgs = []) + * @method PromiseInterface patchAsync(PatchUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAsync(UpdateUrlMapRequest $request, array $optionalArgs = []) + * @method PromiseInterface validateAsync(ValidateUrlMapRequest $request, array $optionalArgs = []) */ final class UrlMapsClient { diff --git a/Compute/src/V1/Client/VpnGatewaysClient.php b/Compute/src/V1/Client/VpnGatewaysClient.php index 4f76c571973..8b8eb4932c2 100644 --- a/Compute/src/V1/Client/VpnGatewaysClient.php +++ b/Compute/src/V1/Client/VpnGatewaysClient.php @@ -53,14 +53,14 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListVpnGatewaysRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface getStatusAsync(GetStatusVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListVpnGatewaysRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsVpnGatewayRequest $request, array $optionalArgs = []) - * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListVpnGatewaysRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface getStatusAsync(GetStatusVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListVpnGatewaysRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsVpnGatewayRequest $request, array $optionalArgs = []) + * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsVpnGatewayRequest $request, array $optionalArgs = []) */ final class VpnGatewaysClient { diff --git a/Compute/src/V1/Client/VpnTunnelsClient.php b/Compute/src/V1/Client/VpnTunnelsClient.php index 0dd62b4ed84..daadaf59db3 100644 --- a/Compute/src/V1/Client/VpnTunnelsClient.php +++ b/Compute/src/V1/Client/VpnTunnelsClient.php @@ -49,12 +49,12 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface aggregatedListAsync(AggregatedListVpnTunnelsRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAsync(DeleteVpnTunnelRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetVpnTunnelRequest $request, array $optionalArgs = []) - * @method PromiseInterface insertAsync(InsertVpnTunnelRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListVpnTunnelsRequest $request, array $optionalArgs = []) - * @method PromiseInterface setLabelsAsync(SetLabelsVpnTunnelRequest $request, array $optionalArgs = []) + * @method PromiseInterface aggregatedListAsync(AggregatedListVpnTunnelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteVpnTunnelRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetVpnTunnelRequest $request, array $optionalArgs = []) + * @method PromiseInterface insertAsync(InsertVpnTunnelRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListVpnTunnelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface setLabelsAsync(SetLabelsVpnTunnelRequest $request, array $optionalArgs = []) */ final class VpnTunnelsClient { diff --git a/Compute/src/V1/Client/ZoneOperationsClient.php b/Compute/src/V1/Client/ZoneOperationsClient.php index 2e7ff6f097c..839cb699a1b 100644 --- a/Compute/src/V1/Client/ZoneOperationsClient.php +++ b/Compute/src/V1/Client/ZoneOperationsClient.php @@ -46,10 +46,10 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface deleteAsync(DeleteZoneOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAsync(GetZoneOperationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListZoneOperationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface waitAsync(WaitZoneOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAsync(DeleteZoneOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetZoneOperationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListZoneOperationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface waitAsync(WaitZoneOperationRequest $request, array $optionalArgs = []) */ final class ZoneOperationsClient { diff --git a/Compute/src/V1/Client/ZonesClient.php b/Compute/src/V1/Client/ZonesClient.php index e92d8cb66ea..f7cd14753c9 100644 --- a/Compute/src/V1/Client/ZonesClient.php +++ b/Compute/src/V1/Client/ZonesClient.php @@ -43,8 +43,8 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface getAsync(GetZoneRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAsync(ListZonesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAsync(GetZoneRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAsync(ListZonesRequest $request, array $optionalArgs = []) */ final class ZonesClient { diff --git a/Compute/src/V1/Commitment.php b/Compute/src/V1/Commitment.php index 87e380bbd86..ce8396d1267 100644 --- a/Compute/src/V1/Commitment.php +++ b/Compute/src/V1/Commitment.php @@ -34,6 +34,12 @@ class Commitment extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string creation_timestamp = 30525366; */ private $creation_timestamp = null; + /** + * [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. + * + * Generated from protobuf field optional string custom_end_timestamp = 181770852; + */ + private $custom_end_timestamp = null; /** * An optional description of this resource. Provide this property when you create the resource. * @@ -101,6 +107,12 @@ class Commitment extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.cloud.compute.v1.Reservation reservations = 399717927; */ private $reservations; + /** + * [Output Only] Status information for Commitment resource. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315; + */ + private $resource_status = null; /** * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. * @@ -159,6 +171,8 @@ class Commitment extends \Google\Protobuf\Internal\Message * Check the Category enum for the list of possible values. * @type string $creation_timestamp * [Output Only] Creation timestamp in RFC3339 text format. + * @type string $custom_end_timestamp + * [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. * @type string $description * An optional description of this resource. Provide this property when you create the resource. * @type string $end_timestamp @@ -182,6 +196,8 @@ class Commitment extends \Google\Protobuf\Internal\Message * [Output Only] URL of the region where this commitment may be used. * @type array<\Google\Cloud\Compute\V1\Reservation>|\Google\Protobuf\Internal\RepeatedField $reservations * List of create-on-create reservations for this commitment. + * @type \Google\Cloud\Compute\V1\CommitmentResourceStatus $resource_status + * [Output Only] Status information for Commitment resource. * @type array<\Google\Cloud\Compute\V1\ResourceCommitment>|\Google\Protobuf\Internal\RepeatedField $resources * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. * @type string $self_link @@ -315,6 +331,42 @@ public function setCreationTimestamp($var) return $this; } + /** + * [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. + * + * Generated from protobuf field optional string custom_end_timestamp = 181770852; + * @return string + */ + public function getCustomEndTimestamp() + { + return isset($this->custom_end_timestamp) ? $this->custom_end_timestamp : ''; + } + + public function hasCustomEndTimestamp() + { + return isset($this->custom_end_timestamp); + } + + public function clearCustomEndTimestamp() + { + unset($this->custom_end_timestamp); + } + + /** + * [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. + * + * Generated from protobuf field optional string custom_end_timestamp = 181770852; + * @param string $var + * @return $this + */ + public function setCustomEndTimestamp($var) + { + GPBUtil::checkString($var, True); + $this->custom_end_timestamp = $var; + + return $this; + } + /** * An optional description of this resource. Provide this property when you create the resource. * @@ -683,6 +735,42 @@ public function setReservations($var) return $this; } + /** + * [Output Only] Status information for Commitment resource. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315; + * @return \Google\Cloud\Compute\V1\CommitmentResourceStatus|null + */ + public function getResourceStatus() + { + return $this->resource_status; + } + + public function hasResourceStatus() + { + return isset($this->resource_status); + } + + public function clearResourceStatus() + { + unset($this->resource_status); + } + + /** + * [Output Only] Status information for Commitment resource. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315; + * @param \Google\Cloud\Compute\V1\CommitmentResourceStatus $var + * @return $this + */ + public function setResourceStatus($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CommitmentResourceStatus::class); + $this->resource_status = $var; + + return $this; + } + /** * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. * diff --git a/Compute/src/V1/Commitment/Type.php b/Compute/src/V1/Commitment/Type.php index ff94574567b..7bd6b22b019 100644 --- a/Compute/src/V1/Commitment/Type.php +++ b/Compute/src/V1/Commitment/Type.php @@ -55,6 +55,10 @@ class Type * Generated from protobuf enum GENERAL_PURPOSE = 299793543; */ const GENERAL_PURPOSE = 299793543; + /** + * Generated from protobuf enum GENERAL_PURPOSE_C4 = 301911817; + */ + const GENERAL_PURPOSE_C4 = 301911817; /** * Generated from protobuf enum GENERAL_PURPOSE_E2 = 301911877; */ @@ -107,6 +111,7 @@ class Type self::COMPUTE_OPTIMIZED_C3D => 'COMPUTE_OPTIMIZED_C3D', self::COMPUTE_OPTIMIZED_H3 => 'COMPUTE_OPTIMIZED_H3', self::GENERAL_PURPOSE => 'GENERAL_PURPOSE', + self::GENERAL_PURPOSE_C4 => 'GENERAL_PURPOSE_C4', self::GENERAL_PURPOSE_E2 => 'GENERAL_PURPOSE_E2', self::GENERAL_PURPOSE_N2 => 'GENERAL_PURPOSE_N2', self::GENERAL_PURPOSE_N2D => 'GENERAL_PURPOSE_N2D', diff --git a/Compute/src/V1/CommitmentResourceStatus.php b/Compute/src/V1/CommitmentResourceStatus.php new file mode 100644 index 00000000000..8c40ab7f6b1 --- /dev/null +++ b/Compute/src/V1/CommitmentResourceStatus.php @@ -0,0 +1,77 @@ +google.cloud.compute.v1.CommitmentResourceStatus + */ +class CommitmentResourceStatus extends \Google\Protobuf\Internal\Message +{ + /** + * [Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. + * + * Generated from protobuf field optional string custom_term_eligibility_end_timestamp = 363976187; + */ + private $custom_term_eligibility_end_timestamp = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $custom_term_eligibility_end_timestamp + * [Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * [Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. + * + * Generated from protobuf field optional string custom_term_eligibility_end_timestamp = 363976187; + * @return string + */ + public function getCustomTermEligibilityEndTimestamp() + { + return isset($this->custom_term_eligibility_end_timestamp) ? $this->custom_term_eligibility_end_timestamp : ''; + } + + public function hasCustomTermEligibilityEndTimestamp() + { + return isset($this->custom_term_eligibility_end_timestamp); + } + + public function clearCustomTermEligibilityEndTimestamp() + { + unset($this->custom_term_eligibility_end_timestamp); + } + + /** + * [Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. + * + * Generated from protobuf field optional string custom_term_eligibility_end_timestamp = 363976187; + * @param string $var + * @return $this + */ + public function setCustomTermEligibilityEndTimestamp($var) + { + GPBUtil::checkString($var, True); + $this->custom_term_eligibility_end_timestamp = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/ConfidentialInstanceConfig.php b/Compute/src/V1/ConfidentialInstanceConfig.php index 57a075a9951..da315589680 100644 --- a/Compute/src/V1/ConfidentialInstanceConfig.php +++ b/Compute/src/V1/ConfidentialInstanceConfig.php @@ -15,6 +15,13 @@ */ class ConfidentialInstanceConfig extends \Google\Protobuf\Internal\Message { + /** + * Defines the type of technology used by the confidential instance. + * Check the ConfidentialInstanceType enum for the list of possible values. + * + * Generated from protobuf field optional string confidential_instance_type = 43484717; + */ + private $confidential_instance_type = null; /** * Defines whether the instance should have confidential compute enabled. * @@ -28,6 +35,9 @@ class ConfidentialInstanceConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type string $confidential_instance_type + * Defines the type of technology used by the confidential instance. + * Check the ConfidentialInstanceType enum for the list of possible values. * @type bool $enable_confidential_compute * Defines whether the instance should have confidential compute enabled. * } @@ -37,6 +47,44 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * Defines the type of technology used by the confidential instance. + * Check the ConfidentialInstanceType enum for the list of possible values. + * + * Generated from protobuf field optional string confidential_instance_type = 43484717; + * @return string + */ + public function getConfidentialInstanceType() + { + return isset($this->confidential_instance_type) ? $this->confidential_instance_type : ''; + } + + public function hasConfidentialInstanceType() + { + return isset($this->confidential_instance_type); + } + + public function clearConfidentialInstanceType() + { + unset($this->confidential_instance_type); + } + + /** + * Defines the type of technology used by the confidential instance. + * Check the ConfidentialInstanceType enum for the list of possible values. + * + * Generated from protobuf field optional string confidential_instance_type = 43484717; + * @param string $var + * @return $this + */ + public function setConfidentialInstanceType($var) + { + GPBUtil::checkString($var, True); + $this->confidential_instance_type = $var; + + return $this; + } + /** * Defines whether the instance should have confidential compute enabled. * diff --git a/Compute/src/V1/ConfidentialInstanceConfig/ConfidentialInstanceType.php b/Compute/src/V1/ConfidentialInstanceConfig/ConfidentialInstanceType.php new file mode 100644 index 00000000000..4fcc489754a --- /dev/null +++ b/Compute/src/V1/ConfidentialInstanceConfig/ConfidentialInstanceType.php @@ -0,0 +1,76 @@ +google.cloud.compute.v1.ConfidentialInstanceConfig.ConfidentialInstanceType + */ +class ConfidentialInstanceType +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE = 0; + */ + const UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE = 0; + /** + * No type specified. Do not use this value. + * + * Generated from protobuf enum CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED = 115021829; + */ + const CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED = 115021829; + /** + * AMD Secure Encrypted Virtualization. + * + * Generated from protobuf enum SEV = 81988; + */ + const SEV = 81988; + /** + * AMD Secure Encrypted Virtualization - Secure Nested Paging. + * + * Generated from protobuf enum SEV_SNP = 21753562; + */ + const SEV_SNP = 21753562; + /** + * Intel Trust Domain eXtension. + * + * Generated from protobuf enum TDX = 82920; + */ + const TDX = 82920; + + private static $valueToName = [ + self::UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE => 'UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE', + self::CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED => 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED', + self::SEV => 'SEV', + self::SEV_SNP => 'SEV_SNP', + self::TDX => 'TDX', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/CustomErrorResponsePolicy.php b/Compute/src/V1/CustomErrorResponsePolicy.php new file mode 100644 index 00000000000..eb63b50c662 --- /dev/null +++ b/Compute/src/V1/CustomErrorResponsePolicy.php @@ -0,0 +1,111 @@ +google.cloud.compute.v1.CustomErrorResponsePolicy + */ +class CustomErrorResponsePolicy extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.CustomErrorResponsePolicyCustomErrorResponseRule error_response_rules = 14620304; + */ + private $error_response_rules; + /** + * The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers. + * + * Generated from protobuf field optional string error_service = 164214654; + */ + private $error_service = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Cloud\Compute\V1\CustomErrorResponsePolicyCustomErrorResponseRule>|\Google\Protobuf\Internal\RepeatedField $error_response_rules + * Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. + * @type string $error_service + * The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.CustomErrorResponsePolicyCustomErrorResponseRule error_response_rules = 14620304; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getErrorResponseRules() + { + return $this->error_response_rules; + } + + /** + * Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.CustomErrorResponsePolicyCustomErrorResponseRule error_response_rules = 14620304; + * @param array<\Google\Cloud\Compute\V1\CustomErrorResponsePolicyCustomErrorResponseRule>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setErrorResponseRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\CustomErrorResponsePolicyCustomErrorResponseRule::class); + $this->error_response_rules = $arr; + + return $this; + } + + /** + * The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers. + * + * Generated from protobuf field optional string error_service = 164214654; + * @return string + */ + public function getErrorService() + { + return isset($this->error_service) ? $this->error_service : ''; + } + + public function hasErrorService() + { + return isset($this->error_service); + } + + public function clearErrorService() + { + unset($this->error_service); + } + + /** + * The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers. + * + * Generated from protobuf field optional string error_service = 164214654; + * @param string $var + * @return $this + */ + public function setErrorService($var) + { + GPBUtil::checkString($var, True); + $this->error_service = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/CustomErrorResponsePolicyCustomErrorResponseRule.php b/Compute/src/V1/CustomErrorResponsePolicyCustomErrorResponseRule.php new file mode 100644 index 00000000000..4a17fd4f579 --- /dev/null +++ b/Compute/src/V1/CustomErrorResponsePolicyCustomErrorResponseRule.php @@ -0,0 +1,155 @@ +google.cloud.compute.v1.CustomErrorResponsePolicyCustomErrorResponseRule + */ +class CustomErrorResponsePolicyCustomErrorResponseRule extends \Google\Protobuf\Internal\Message +{ + /** + * Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. + * + * Generated from protobuf field repeated string match_response_codes = 104973410; + */ + private $match_response_codes; + /** + * The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client. + * + * Generated from protobuf field optional int32 override_response_code = 530328568; + */ + private $override_response_code = null; + /** + * The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters + * + * Generated from protobuf field optional string path = 3433509; + */ + private $path = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\RepeatedField $match_response_codes + * Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. + * @type int $override_response_code + * The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client. + * @type string $path + * The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. + * + * Generated from protobuf field repeated string match_response_codes = 104973410; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMatchResponseCodes() + { + return $this->match_response_codes; + } + + /** + * Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. + * + * Generated from protobuf field repeated string match_response_codes = 104973410; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMatchResponseCodes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->match_response_codes = $arr; + + return $this; + } + + /** + * The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client. + * + * Generated from protobuf field optional int32 override_response_code = 530328568; + * @return int + */ + public function getOverrideResponseCode() + { + return isset($this->override_response_code) ? $this->override_response_code : 0; + } + + public function hasOverrideResponseCode() + { + return isset($this->override_response_code); + } + + public function clearOverrideResponseCode() + { + unset($this->override_response_code); + } + + /** + * The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client. + * + * Generated from protobuf field optional int32 override_response_code = 530328568; + * @param int $var + * @return $this + */ + public function setOverrideResponseCode($var) + { + GPBUtil::checkInt32($var); + $this->override_response_code = $var; + + return $this; + } + + /** + * The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters + * + * Generated from protobuf field optional string path = 3433509; + * @return string + */ + public function getPath() + { + return isset($this->path) ? $this->path : ''; + } + + public function hasPath() + { + return isset($this->path); + } + + public function clearPath() + { + unset($this->path); + } + + /** + * The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters + * + * Generated from protobuf field optional string path = 3433509; + * @param string $var + * @return $this + */ + public function setPath($var) + { + GPBUtil::checkString($var, True); + $this->path = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/DeleteGlobalOperationRequest.php b/Compute/src/V1/DeleteGlobalOperationRequest.php index f19840f8e7e..2235c555fe0 100644 --- a/Compute/src/V1/DeleteGlobalOperationRequest.php +++ b/Compute/src/V1/DeleteGlobalOperationRequest.php @@ -16,7 +16,7 @@ class DeleteGlobalOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -30,7 +30,7 @@ class DeleteGlobalOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\DeleteGlobalOperationRequest * @@ -50,7 +50,7 @@ public static function build(string $project, string $operation): self * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * @type string $project * Project ID for this request. * } @@ -61,7 +61,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -72,7 +72,7 @@ public function getOperation() } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/DeleteGlobalOrganizationOperationRequest.php b/Compute/src/V1/DeleteGlobalOrganizationOperationRequest.php index 0924271ba34..f10e27998ea 100644 --- a/Compute/src/V1/DeleteGlobalOrganizationOperationRequest.php +++ b/Compute/src/V1/DeleteGlobalOrganizationOperationRequest.php @@ -16,7 +16,7 @@ class DeleteGlobalOrganizationOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -29,7 +29,7 @@ class DeleteGlobalOrganizationOperationRequest extends \Google\Protobuf\Internal private $parent_id = null; /** - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\DeleteGlobalOrganizationOperationRequest * @@ -48,7 +48,7 @@ public static function build(string $operation): self * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * @type string $parent_id * Parent ID for this request. * } @@ -59,7 +59,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -70,7 +70,7 @@ public function getOperation() } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/DeleteRegionOperationRequest.php b/Compute/src/V1/DeleteRegionOperationRequest.php index 20d8c24eb93..cff37a72b2c 100644 --- a/Compute/src/V1/DeleteRegionOperationRequest.php +++ b/Compute/src/V1/DeleteRegionOperationRequest.php @@ -16,7 +16,7 @@ class DeleteRegionOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -37,7 +37,7 @@ class DeleteRegionOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $region Name of the region for this request. - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\DeleteRegionOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $region, string $operation) * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $region @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/DeleteZoneOperationRequest.php b/Compute/src/V1/DeleteZoneOperationRequest.php index 1d4add53259..7ca7c2cb541 100644 --- a/Compute/src/V1/DeleteZoneOperationRequest.php +++ b/Compute/src/V1/DeleteZoneOperationRequest.php @@ -16,7 +16,7 @@ class DeleteZoneOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -37,7 +37,7 @@ class DeleteZoneOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\DeleteZoneOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $zone, string $operation): * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $zone @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to delete. + * Name of the Operations resource to delete, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/Disk.php b/Compute/src/V1/Disk.php index 4b604a559bc..d389ece0a50 100644 --- a/Compute/src/V1/Disk.php +++ b/Compute/src/V1/Disk.php @@ -15,6 +15,13 @@ */ class Disk extends \Google\Protobuf\Internal\Message { + /** + * The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types. + * Check the AccessMode enum for the list of possible values. + * + * Generated from protobuf field optional string access_mode = 41155486; + */ + private $access_mode = null; /** * The architecture of the disk. Valid values are ARM64 or X86_64. * Check the Architecture enum for the list of possible values. @@ -318,6 +325,9 @@ class Disk extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type string $access_mode + * The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types. + * Check the AccessMode enum for the list of possible values. * @type string $architecture * The architecture of the disk. Valid values are ARM64 or X86_64. * Check the Architecture enum for the list of possible values. @@ -425,6 +435,44 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types. + * Check the AccessMode enum for the list of possible values. + * + * Generated from protobuf field optional string access_mode = 41155486; + * @return string + */ + public function getAccessMode() + { + return isset($this->access_mode) ? $this->access_mode : ''; + } + + public function hasAccessMode() + { + return isset($this->access_mode); + } + + public function clearAccessMode() + { + unset($this->access_mode); + } + + /** + * The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types. + * Check the AccessMode enum for the list of possible values. + * + * Generated from protobuf field optional string access_mode = 41155486; + * @param string $var + * @return $this + */ + public function setAccessMode($var) + { + GPBUtil::checkString($var, True); + $this->access_mode = $var; + + return $this; + } + /** * The architecture of the disk. Valid values are ARM64 or X86_64. * Check the Architecture enum for the list of possible values. diff --git a/Compute/src/V1/Disk/AccessMode.php b/Compute/src/V1/Disk/AccessMode.php new file mode 100644 index 00000000000..7a814f80432 --- /dev/null +++ b/Compute/src/V1/Disk/AccessMode.php @@ -0,0 +1,69 @@ +google.cloud.compute.v1.Disk.AccessMode + */ +class AccessMode +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_ACCESS_MODE = 0; + */ + const UNDEFINED_ACCESS_MODE = 0; + /** + * The AccessMode means the disk can be attached to multiple instances in RO mode. + * + * Generated from protobuf enum READ_ONLY_MANY = 63460265; + */ + const READ_ONLY_MANY = 63460265; + /** + * The AccessMode means the disk can be attached to multiple instances in RW mode. + * + * Generated from protobuf enum READ_WRITE_MANY = 488743208; + */ + const READ_WRITE_MANY = 488743208; + /** + * The default AccessMode, means the disk can be attached to single instance in RW mode. + * + * Generated from protobuf enum READ_WRITE_SINGLE = 99323089; + */ + const READ_WRITE_SINGLE = 99323089; + + private static $valueToName = [ + self::UNDEFINED_ACCESS_MODE => 'UNDEFINED_ACCESS_MODE', + self::READ_ONLY_MANY => 'READ_ONLY_MANY', + self::READ_WRITE_MANY => 'READ_WRITE_MANY', + self::READ_WRITE_SINGLE => 'READ_WRITE_SINGLE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/Enums/AdvancedMachineFeatures/PerformanceMonitoringUnit.php b/Compute/src/V1/Enums/AdvancedMachineFeatures/PerformanceMonitoringUnit.php new file mode 100644 index 00000000000..fae83ac731c --- /dev/null +++ b/Compute/src/V1/Enums/AdvancedMachineFeatures/PerformanceMonitoringUnit.php @@ -0,0 +1,44 @@ +optional string action = 187661878; */ @@ -47,7 +47,7 @@ class FirewallPolicyRule extends \Google\Protobuf\Internal\Message */ private $enable_logging = null; /** - * [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules + * [Output only] Type of the resource. Returns compute#firewallPolicyRule for firewall rules and compute#packetMirroringRule for packet mirroring rules. * * Generated from protobuf field optional string kind = 3292052; */ @@ -59,7 +59,7 @@ class FirewallPolicyRule extends \Google\Protobuf\Internal\Message */ private $match = null; /** - * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. + * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. * * Generated from protobuf field optional int32 priority = 445151652; */ @@ -77,7 +77,7 @@ class FirewallPolicyRule extends \Google\Protobuf\Internal\Message */ private $rule_tuple_count = null; /** - * 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. + * 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 is one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for other actions. * * Generated from protobuf field optional string security_profile_group = 207411626; */ @@ -114,7 +114,7 @@ class FirewallPolicyRule extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $action - * The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". + * The Action to perform when the client connection triggers the rule. Valid actions for firewall rules are: "allow", "deny", "apply_security_profile_group" and "goto_next". Valid actions for packet mirroring rules are: "mirror", "do_not_mirror" and "goto_next". * @type string $description * An optional description for this resource. * @type string $direction @@ -125,17 +125,17 @@ class FirewallPolicyRule extends \Google\Protobuf\Internal\Message * @type bool $enable_logging * Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. * @type string $kind - * [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules + * [Output only] Type of the resource. Returns compute#firewallPolicyRule for firewall rules and compute#packetMirroringRule for packet mirroring rules. * @type \Google\Cloud\Compute\V1\FirewallPolicyRuleMatcher $match * A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. * @type int $priority - * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. + * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. * @type string $rule_name * An optional name for the rule. This field is not a unique identifier and can be updated. * @type int $rule_tuple_count * [Output Only] Calculation of the complexity of a single firewall policy rule. * @type string $security_profile_group - * 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. + * 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 is one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for other actions. * @type array|\Google\Protobuf\Internal\RepeatedField $target_resources * 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. * @type array<\Google\Cloud\Compute\V1\FirewallPolicyRuleSecureTag>|\Google\Protobuf\Internal\RepeatedField $target_secure_tags @@ -152,7 +152,7 @@ public function __construct($data = NULL) { } /** - * The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". + * The Action to perform when the client connection triggers the rule. Valid actions for firewall rules are: "allow", "deny", "apply_security_profile_group" and "goto_next". Valid actions for packet mirroring rules are: "mirror", "do_not_mirror" and "goto_next". * * Generated from protobuf field optional string action = 187661878; * @return string @@ -173,7 +173,7 @@ public function clearAction() } /** - * The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". + * The Action to perform when the client connection triggers the rule. Valid actions for firewall rules are: "allow", "deny", "apply_security_profile_group" and "goto_next". Valid actions for packet mirroring rules are: "mirror", "do_not_mirror" and "goto_next". * * Generated from protobuf field optional string action = 187661878; * @param string $var @@ -334,7 +334,7 @@ public function setEnableLogging($var) } /** - * [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules + * [Output only] Type of the resource. Returns compute#firewallPolicyRule for firewall rules and compute#packetMirroringRule for packet mirroring rules. * * Generated from protobuf field optional string kind = 3292052; * @return string @@ -355,7 +355,7 @@ public function clearKind() } /** - * [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules + * [Output only] Type of the resource. Returns compute#firewallPolicyRule for firewall rules and compute#packetMirroringRule for packet mirroring rules. * * Generated from protobuf field optional string kind = 3292052; * @param string $var @@ -406,7 +406,7 @@ public function setMatch($var) } /** - * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. + * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. * * Generated from protobuf field optional int32 priority = 445151652; * @return int @@ -427,7 +427,7 @@ public function clearPriority() } /** - * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. + * An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. * * Generated from protobuf field optional int32 priority = 445151652; * @param int $var @@ -514,7 +514,7 @@ public function setRuleTupleCount($var) } /** - * 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. + * 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 is one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for other actions. * * Generated from protobuf field optional string security_profile_group = 207411626; * @return string @@ -535,7 +535,7 @@ public function clearSecurityProfileGroup() } /** - * 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. + * 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 is one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for other actions. * * Generated from protobuf field optional string security_profile_group = 207411626; * @param string $var diff --git a/Compute/src/V1/Gapic/BackendServicesGapicClient.php b/Compute/src/V1/Gapic/BackendServicesGapicClient.php index 47af2d7356a..fbc01acfa24 100644 --- a/Compute/src/V1/Gapic/BackendServicesGapicClient.php +++ b/Compute/src/V1/Gapic/BackendServicesGapicClient.php @@ -892,7 +892,7 @@ public function list($project, array $optionalArgs = []) } /** - * Retrieves an aggregated list of all usable backend services in the specified project. + * Retrieves a list of all usable backend services in the specified project. * * Sample code: * ``` diff --git a/Compute/src/V1/Gapic/GlobalOperationsGapicClient.php b/Compute/src/V1/Gapic/GlobalOperationsGapicClient.php index 8743ee3be83..8230cd17901 100644 --- a/Compute/src/V1/Gapic/GlobalOperationsGapicClient.php +++ b/Compute/src/V1/Gapic/GlobalOperationsGapicClient.php @@ -302,7 +302,7 @@ public function aggregatedList($project, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. * @param array $optionalArgs { * Optional. @@ -345,7 +345,7 @@ public function delete($operation, $project, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param array $optionalArgs { * Optional. @@ -472,7 +472,7 @@ public function list($project, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param array $optionalArgs { * Optional. diff --git a/Compute/src/V1/Gapic/GlobalOrganizationOperationsGapicClient.php b/Compute/src/V1/Gapic/GlobalOrganizationOperationsGapicClient.php index 1093d5069a0..cbdaacbdc78 100644 --- a/Compute/src/V1/Gapic/GlobalOrganizationOperationsGapicClient.php +++ b/Compute/src/V1/Gapic/GlobalOrganizationOperationsGapicClient.php @@ -190,7 +190,7 @@ public function __construct(array $options = []) * } * ``` * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param array $optionalArgs { * Optional. * @@ -235,7 +235,7 @@ public function delete($operation, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param array $optionalArgs { * Optional. * diff --git a/Compute/src/V1/Gapic/NetworksGapicClient.php b/Compute/src/V1/Gapic/NetworksGapicClient.php index 97d449b9fde..44b9e4c5508 100644 --- a/Compute/src/V1/Gapic/NetworksGapicClient.php +++ b/Compute/src/V1/Gapic/NetworksGapicClient.php @@ -766,7 +766,7 @@ public function listPeeringRoutes($network, $project, array $optionalArgs = []) } /** - * Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. + * Patches the specified network with the data included in the request. Only routingConfig can be modified. * * Sample code: * ``` diff --git a/Compute/src/V1/Gapic/RegionBackendServicesGapicClient.php b/Compute/src/V1/Gapic/RegionBackendServicesGapicClient.php index 16934d2cffe..4ab93bc2c85 100644 --- a/Compute/src/V1/Gapic/RegionBackendServicesGapicClient.php +++ b/Compute/src/V1/Gapic/RegionBackendServicesGapicClient.php @@ -665,7 +665,7 @@ public function list($project, $region, array $optionalArgs = []) } /** - * Retrieves an aggregated list of all usable backend services in the specified project in the given region. + * Retrieves a list of all usable backend services in the specified project in the given region. * * Sample code: * ``` diff --git a/Compute/src/V1/Gapic/RegionOperationsGapicClient.php b/Compute/src/V1/Gapic/RegionOperationsGapicClient.php index 4dd06fed7b2..8b30f44522b 100644 --- a/Compute/src/V1/Gapic/RegionOperationsGapicClient.php +++ b/Compute/src/V1/Gapic/RegionOperationsGapicClient.php @@ -195,7 +195,7 @@ public function __construct(array $options = []) * } * ``` * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. * @param array $optionalArgs { @@ -242,7 +242,7 @@ public function delete($operation, $project, $region, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. * @param array $optionalArgs { @@ -377,7 +377,7 @@ public function list($project, $region, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $region Name of the region for this request. * @param array $optionalArgs { diff --git a/Compute/src/V1/Gapic/RegionsGapicClient.php b/Compute/src/V1/Gapic/RegionsGapicClient.php index cfc373a1506..e1a8cb070d3 100644 --- a/Compute/src/V1/Gapic/RegionsGapicClient.php +++ b/Compute/src/V1/Gapic/RegionsGapicClient.php @@ -177,7 +177,7 @@ public function __construct(array $options = []) } /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * Sample code: * ``` @@ -220,7 +220,7 @@ public function get($project, $region, array $optionalArgs = []) } /** - * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * Sample code: * ``` diff --git a/Compute/src/V1/Gapic/StoragePoolsGapicClient.php b/Compute/src/V1/Gapic/StoragePoolsGapicClient.php index bfcb752f50c..9e0b78f9902 100644 --- a/Compute/src/V1/Gapic/StoragePoolsGapicClient.php +++ b/Compute/src/V1/Gapic/StoragePoolsGapicClient.php @@ -856,7 +856,7 @@ public function testIamPermissions($project, $resource, $testPermissionsRequestR } /** - * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. + * Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput. * * Sample code: * ``` diff --git a/Compute/src/V1/Gapic/ZoneOperationsGapicClient.php b/Compute/src/V1/Gapic/ZoneOperationsGapicClient.php index b42825cb0a4..e437a84c6c4 100644 --- a/Compute/src/V1/Gapic/ZoneOperationsGapicClient.php +++ b/Compute/src/V1/Gapic/ZoneOperationsGapicClient.php @@ -195,7 +195,7 @@ public function __construct(array $options = []) * } * ``` * - * @param string $operation Name of the Operations resource to delete. + * @param string $operation Name of the Operations resource to delete, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. * @param array $optionalArgs { @@ -242,7 +242,7 @@ public function delete($operation, $project, $zone, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. * @param array $optionalArgs { @@ -377,7 +377,7 @@ public function list($project, $zone, array $optionalArgs = []) * } * ``` * - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. * @param array $optionalArgs { diff --git a/Compute/src/V1/GetGlobalOperationRequest.php b/Compute/src/V1/GetGlobalOperationRequest.php index c97f2307868..a42a0fd6a3f 100644 --- a/Compute/src/V1/GetGlobalOperationRequest.php +++ b/Compute/src/V1/GetGlobalOperationRequest.php @@ -16,7 +16,7 @@ class GetGlobalOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; */ @@ -30,7 +30,7 @@ class GetGlobalOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\GetGlobalOperationRequest * @@ -50,7 +50,7 @@ public static function build(string $project, string $operation): self * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * } @@ -61,7 +61,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @return string @@ -72,7 +72,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @param string $var diff --git a/Compute/src/V1/GetGlobalOrganizationOperationRequest.php b/Compute/src/V1/GetGlobalOrganizationOperationRequest.php index d8df15e54e3..313d7f32189 100644 --- a/Compute/src/V1/GetGlobalOrganizationOperationRequest.php +++ b/Compute/src/V1/GetGlobalOrganizationOperationRequest.php @@ -16,7 +16,7 @@ class GetGlobalOrganizationOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; */ @@ -29,7 +29,7 @@ class GetGlobalOrganizationOperationRequest extends \Google\Protobuf\Internal\Me private $parent_id = null; /** - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\GetGlobalOrganizationOperationRequest * @@ -48,7 +48,7 @@ public static function build(string $operation): self * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $parent_id * Parent ID for this request. * } @@ -59,7 +59,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @return string @@ -70,7 +70,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @param string $var diff --git a/Compute/src/V1/GetRegionOperationRequest.php b/Compute/src/V1/GetRegionOperationRequest.php index d773bf3af99..9cec9398a71 100644 --- a/Compute/src/V1/GetRegionOperationRequest.php +++ b/Compute/src/V1/GetRegionOperationRequest.php @@ -16,7 +16,7 @@ class GetRegionOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; */ @@ -37,7 +37,7 @@ class GetRegionOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $region Name of the region for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\GetRegionOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $region, string $operation) * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $region @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @param string $var diff --git a/Compute/src/V1/GetZoneOperationRequest.php b/Compute/src/V1/GetZoneOperationRequest.php index ca0e5d27f39..9fb49eb15b6 100644 --- a/Compute/src/V1/GetZoneOperationRequest.php +++ b/Compute/src/V1/GetZoneOperationRequest.php @@ -16,7 +16,7 @@ class GetZoneOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; */ @@ -37,7 +37,7 @@ class GetZoneOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\GetZoneOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $zone, string $operation): * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $zone @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"]; * @param string $var diff --git a/Compute/src/V1/GuestOsFeature/Type.php b/Compute/src/V1/GuestOsFeature/Type.php index 12ee8211e99..3f735441d50 100644 --- a/Compute/src/V1/GuestOsFeature/Type.php +++ b/Compute/src/V1/GuestOsFeature/Type.php @@ -55,6 +55,10 @@ class Type * Generated from protobuf enum SEV_SNP_CAPABLE = 426919; */ const SEV_SNP_CAPABLE = 426919; + /** + * Generated from protobuf enum TDX_CAPABLE = 240446133; + */ + const TDX_CAPABLE = 240446133; /** * Generated from protobuf enum UEFI_COMPATIBLE = 195865408; */ @@ -79,6 +83,7 @@ class Type self::SEV_LIVE_MIGRATABLE => 'SEV_LIVE_MIGRATABLE', self::SEV_LIVE_MIGRATABLE_V2 => 'SEV_LIVE_MIGRATABLE_V2', self::SEV_SNP_CAPABLE => 'SEV_SNP_CAPABLE', + self::TDX_CAPABLE => 'TDX_CAPABLE', self::UEFI_COMPATIBLE => 'UEFI_COMPATIBLE', self::VIRTIO_SCSI_MULTIQUEUE => 'VIRTIO_SCSI_MULTIQUEUE', self::WINDOWS => 'WINDOWS', diff --git a/Compute/src/V1/HealthCheck.php b/Compute/src/V1/HealthCheck.php index edf90c5abba..d3e37ad14f3 100644 --- a/Compute/src/V1/HealthCheck.php +++ b/Compute/src/V1/HealthCheck.php @@ -91,6 +91,12 @@ class HealthCheck extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string self_link = 456214797; */ private $self_link = null; + /** + * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. + * + * Generated from protobuf field repeated string source_regions = 405568475; + */ + private $source_regions; /** * Generated from protobuf field optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; */ @@ -149,6 +155,8 @@ class HealthCheck extends \Google\Protobuf\Internal\Message * [Output Only] Region where the health check resides. Not applicable to global health checks. * @type string $self_link * [Output Only] Server-defined URL for the resource. + * @type array|\Google\Protobuf\Internal\RepeatedField $source_regions + * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. * @type \Google\Cloud\Compute\V1\SSLHealthCheck $ssl_health_check * @type \Google\Cloud\Compute\V1\TCPHealthCheck $tcp_health_check * @type int $timeout_sec @@ -653,6 +661,32 @@ public function setSelfLink($var) return $this; } + /** + * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. + * + * Generated from protobuf field repeated string source_regions = 405568475; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSourceRegions() + { + return $this->source_regions; + } + + /** + * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing. + * + * Generated from protobuf field repeated string source_regions = 405568475; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSourceRegions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->source_regions = $arr; + + return $this; + } + /** * Generated from protobuf field optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; * @return \Google\Cloud\Compute\V1\SSLHealthCheck|null diff --git a/Compute/src/V1/HealthStatus.php b/Compute/src/V1/HealthStatus.php index afd152502df..49dc4c7e0ec 100644 --- a/Compute/src/V1/HealthStatus.php +++ b/Compute/src/V1/HealthStatus.php @@ -51,6 +51,17 @@ class HealthStatus extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string ip_address = 406272220; */ private $ip_address = null; + /** + * Generated from protobuf field optional string ipv6_address = 341563804; + */ + private $ipv6_address = null; + /** + * Health state of the IPv6 address of the instance. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + */ + private $ipv6_health_state = null; /** * The named port of the instance group, not necessarily the port that is health-checked. * @@ -88,6 +99,10 @@ class HealthStatus extends \Google\Protobuf\Internal\Message * URL of the instance resource. * @type string $ip_address * For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. + * @type string $ipv6_address + * @type string $ipv6_health_state + * Health state of the IPv6 address of the instance. + * Check the Ipv6HealthState enum for the list of possible values. * @type int $port * The named port of the instance group, not necessarily the port that is health-checked. * @type string $weight @@ -309,6 +324,76 @@ public function setIpAddress($var) return $this; } + /** + * Generated from protobuf field optional string ipv6_address = 341563804; + * @return string + */ + public function getIpv6Address() + { + return isset($this->ipv6_address) ? $this->ipv6_address : ''; + } + + public function hasIpv6Address() + { + return isset($this->ipv6_address); + } + + public function clearIpv6Address() + { + unset($this->ipv6_address); + } + + /** + * Generated from protobuf field optional string ipv6_address = 341563804; + * @param string $var + * @return $this + */ + public function setIpv6Address($var) + { + GPBUtil::checkString($var, True); + $this->ipv6_address = $var; + + return $this; + } + + /** + * Health state of the IPv6 address of the instance. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + * @return string + */ + public function getIpv6HealthState() + { + return isset($this->ipv6_health_state) ? $this->ipv6_health_state : ''; + } + + public function hasIpv6HealthState() + { + return isset($this->ipv6_health_state); + } + + public function clearIpv6HealthState() + { + unset($this->ipv6_health_state); + } + + /** + * Health state of the IPv6 address of the instance. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + * @param string $var + * @return $this + */ + public function setIpv6HealthState($var) + { + GPBUtil::checkString($var, True); + $this->ipv6_health_state = $var; + + return $this; + } + /** * The named port of the instance group, not necessarily the port that is health-checked. * diff --git a/Compute/src/V1/HealthStatus/HealthState.php b/Compute/src/V1/HealthStatus/HealthState.php index b4267b7503d..115a54e966b 100644 --- a/Compute/src/V1/HealthStatus/HealthState.php +++ b/Compute/src/V1/HealthStatus/HealthState.php @@ -8,6 +8,9 @@ /** * Health state of the IPv4 address of the instance. + * Additional supported values which may be not listed in the enum directly due to technical reasons: + * HEALTHY + * UNHEALTHY * * Protobuf type google.cloud.compute.v1.HealthStatus.HealthState */ diff --git a/Compute/src/V1/HealthStatus/Ipv6HealthState.php b/Compute/src/V1/HealthStatus/Ipv6HealthState.php new file mode 100644 index 00000000000..780d17146ec --- /dev/null +++ b/Compute/src/V1/HealthStatus/Ipv6HealthState.php @@ -0,0 +1,51 @@ +google.cloud.compute.v1.HealthStatus.Ipv6HealthState + */ +class Ipv6HealthState +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_IPV6_HEALTH_STATE = 0; + */ + const UNDEFINED_IPV6_HEALTH_STATE = 0; + + private static $valueToName = [ + self::UNDEFINED_IPV6_HEALTH_STATE => 'UNDEFINED_IPV6_HEALTH_STATE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/HealthStatusForNetworkEndpoint.php b/Compute/src/V1/HealthStatusForNetworkEndpoint.php index 48c129c6c95..1371816da1e 100644 --- a/Compute/src/V1/HealthStatusForNetworkEndpoint.php +++ b/Compute/src/V1/HealthStatusForNetworkEndpoint.php @@ -45,6 +45,13 @@ class HealthStatusForNetworkEndpoint extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string health_state = 324007150; */ private $health_state = null; + /** + * Health state of the ipv6 network endpoint determined based on the health checks configured. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + */ + private $ipv6_health_state = null; /** * Constructor. @@ -63,6 +70,9 @@ class HealthStatusForNetworkEndpoint extends \Google\Protobuf\Internal\Message * @type string $health_state * Health state of the network endpoint determined based on the health checks configured. * Check the HealthState enum for the list of possible values. + * @type string $ipv6_health_state + * Health state of the ipv6 network endpoint determined based on the health checks configured. + * Check the Ipv6HealthState enum for the list of possible values. * } */ public function __construct($data = NULL) { @@ -252,5 +262,43 @@ public function setHealthState($var) return $this; } + /** + * Health state of the ipv6 network endpoint determined based on the health checks configured. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + * @return string + */ + public function getIpv6HealthState() + { + return isset($this->ipv6_health_state) ? $this->ipv6_health_state : ''; + } + + public function hasIpv6HealthState() + { + return isset($this->ipv6_health_state); + } + + public function clearIpv6HealthState() + { + unset($this->ipv6_health_state); + } + + /** + * Health state of the ipv6 network endpoint determined based on the health checks configured. + * Check the Ipv6HealthState enum for the list of possible values. + * + * Generated from protobuf field optional string ipv6_health_state = 190316614; + * @param string $var + * @return $this + */ + public function setIpv6HealthState($var) + { + GPBUtil::checkString($var, True); + $this->ipv6_health_state = $var; + + return $this; + } + } diff --git a/Compute/src/V1/HealthStatusForNetworkEndpoint/HealthState.php b/Compute/src/V1/HealthStatusForNetworkEndpoint/HealthState.php index c2c48cfd29d..d3f5ab347ba 100644 --- a/Compute/src/V1/HealthStatusForNetworkEndpoint/HealthState.php +++ b/Compute/src/V1/HealthStatusForNetworkEndpoint/HealthState.php @@ -8,6 +8,11 @@ /** * Health state of the network endpoint determined based on the health checks configured. + * Additional supported values which may be not listed in the enum directly due to technical reasons: + * DRAINING + * HEALTHY + * UNHEALTHY + * UNKNOWN * * Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint.HealthState */ @@ -20,26 +25,18 @@ class HealthState */ const UNDEFINED_HEALTH_STATE = 0; /** - * Endpoint is being drained. - * * Generated from protobuf enum DRAINING = 480455402; */ const DRAINING = 480455402; /** - * Endpoint is healthy. - * * Generated from protobuf enum HEALTHY = 439801213; */ const HEALTHY = 439801213; /** - * Endpoint is unhealthy. - * * Generated from protobuf enum UNHEALTHY = 462118084; */ const UNHEALTHY = 462118084; /** - * Health status of the endpoint is unknown. - * * Generated from protobuf enum UNKNOWN = 433141802; */ const UNKNOWN = 433141802; diff --git a/Compute/src/V1/HealthStatusForNetworkEndpoint/Ipv6HealthState.php b/Compute/src/V1/HealthStatusForNetworkEndpoint/Ipv6HealthState.php new file mode 100644 index 00000000000..311d9bb3d5d --- /dev/null +++ b/Compute/src/V1/HealthStatusForNetworkEndpoint/Ipv6HealthState.php @@ -0,0 +1,53 @@ +google.cloud.compute.v1.HealthStatusForNetworkEndpoint.Ipv6HealthState + */ +class Ipv6HealthState +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_IPV6_HEALTH_STATE = 0; + */ + const UNDEFINED_IPV6_HEALTH_STATE = 0; + + private static $valueToName = [ + self::UNDEFINED_IPV6_HEALTH_STATE => 'UNDEFINED_IPV6_HEALTH_STATE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/HttpRouteRule.php b/Compute/src/V1/HttpRouteRule.php index 835d3a8e1d6..e793c10ba75 100644 --- a/Compute/src/V1/HttpRouteRule.php +++ b/Compute/src/V1/HttpRouteRule.php @@ -15,6 +15,12 @@ */ class HttpRouteRule extends \Google\Protobuf\Internal\Message { + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + */ + private $custom_error_response_policy = null; /** * The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. * @@ -64,6 +70,8 @@ class HttpRouteRule extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $custom_error_response_policy + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers. * @type string $description * The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. * @type \Google\Cloud\Compute\V1\HttpHeaderAction $header_action @@ -85,6 +93,42 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + * @return \Google\Cloud\Compute\V1\CustomErrorResponsePolicy|null + */ + public function getCustomErrorResponsePolicy() + { + return $this->custom_error_response_policy; + } + + public function hasCustomErrorResponsePolicy() + { + return isset($this->custom_error_response_policy); + } + + public function clearCustomErrorResponsePolicy() + { + unset($this->custom_error_response_policy); + } + + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + * @param \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $var + * @return $this + */ + public function setCustomErrorResponsePolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CustomErrorResponsePolicy::class); + $this->custom_error_response_policy = $var; + + return $this; + } + /** * The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. * diff --git a/Compute/src/V1/InstanceGroupManager.php b/Compute/src/V1/InstanceGroupManager.php index 236c7044125..815f28e6c1a 100644 --- a/Compute/src/V1/InstanceGroupManager.php +++ b/Compute/src/V1/InstanceGroupManager.php @@ -28,7 +28,7 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message */ private $auto_healing_policies; /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?)) * * Generated from protobuf field optional string base_instance_name = 389106439; */ @@ -69,6 +69,12 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional uint64 id = 3355; */ private $id = null; + /** + * Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; + */ + private $instance_flexibility_policy = null; /** * [Output Only] The URL of the Instance Group resource. * @@ -107,7 +113,7 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message */ private $name = null; /** - * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + * [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. * * Generated from protobuf field repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; */ @@ -118,6 +124,18 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string region = 138946292; */ private $region = null; + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzi = 480964257; + */ + private $satisfies_pzi = null; + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzs = 480964267; + */ + private $satisfies_pzs = null; /** * [Output Only] The URL for this managed instance group. The server defines this URL. * @@ -178,7 +196,7 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message * @type array<\Google\Cloud\Compute\V1\InstanceGroupManagerAutoHealingPolicy>|\Google\Protobuf\Internal\RepeatedField $auto_healing_policies * The autohealing policy for this managed instance group. You can specify only one value. * @type string $base_instance_name - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?)) * @type string $creation_timestamp * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. * @type \Google\Cloud\Compute\V1\InstanceGroupManagerActionsSummary $current_actions @@ -191,6 +209,8 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. * @type int|string $id * [Output Only] A unique identifier for this resource type. The server generates this identifier. + * @type \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceFlexibilityPolicy $instance_flexibility_policy + * Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. * @type string $instance_group * [Output Only] The URL of the Instance Group resource. * @type \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceLifecyclePolicy $instance_lifecycle_policy @@ -205,9 +225,13 @@ class InstanceGroupManager extends \Google\Protobuf\Internal\Message * @type string $name * The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. * @type array<\Google\Cloud\Compute\V1\NamedPort>|\Google\Protobuf\Internal\RepeatedField $named_ports - * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + * [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. * @type string $region * [Output Only] The URL of the region where the managed instance group resides (for regional resources). + * @type bool $satisfies_pzi + * [Output Only] Reserved for future use. + * @type bool $satisfies_pzs + * [Output Only] Reserved for future use. * @type string $self_link * [Output Only] The URL for this managed instance group. The server defines this URL. * @type \Google\Cloud\Compute\V1\StatefulPolicy $stateful_policy @@ -294,7 +318,7 @@ public function setAutoHealingPolicies($var) } /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?)) * * Generated from protobuf field optional string base_instance_name = 389106439; * @return string @@ -315,7 +339,7 @@ public function clearBaseInstanceName() } /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?)) * * Generated from protobuf field optional string base_instance_name = 389106439; * @param string $var @@ -545,6 +569,42 @@ public function setId($var) return $this; } + /** + * Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; + * @return \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceFlexibilityPolicy|null + */ + public function getInstanceFlexibilityPolicy() + { + return $this->instance_flexibility_policy; + } + + public function hasInstanceFlexibilityPolicy() + { + return isset($this->instance_flexibility_policy); + } + + public function clearInstanceFlexibilityPolicy() + { + unset($this->instance_flexibility_policy); + } + + /** + * Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; + * @param \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceFlexibilityPolicy $var + * @return $this + */ + public function setInstanceFlexibilityPolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceFlexibilityPolicy::class); + $this->instance_flexibility_policy = $var; + + return $this; + } + /** * [Output Only] The URL of the Instance Group resource. * @@ -764,7 +824,7 @@ public function setName($var) } /** - * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + * [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. * * Generated from protobuf field repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; * @return \Google\Protobuf\Internal\RepeatedField @@ -775,7 +835,7 @@ public function getNamedPorts() } /** - * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + * [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. * * Generated from protobuf field repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; * @param array<\Google\Cloud\Compute\V1\NamedPort>|\Google\Protobuf\Internal\RepeatedField $var @@ -825,6 +885,78 @@ public function setRegion($var) return $this; } + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzi = 480964257; + * @return bool + */ + public function getSatisfiesPzi() + { + return isset($this->satisfies_pzi) ? $this->satisfies_pzi : false; + } + + public function hasSatisfiesPzi() + { + return isset($this->satisfies_pzi); + } + + public function clearSatisfiesPzi() + { + unset($this->satisfies_pzi); + } + + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzi = 480964257; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzi($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzi = $var; + + return $this; + } + + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzs = 480964267; + * @return bool + */ + public function getSatisfiesPzs() + { + return isset($this->satisfies_pzs) ? $this->satisfies_pzs : false; + } + + public function hasSatisfiesPzs() + { + return isset($this->satisfies_pzs); + } + + public function clearSatisfiesPzs() + { + unset($this->satisfies_pzs); + } + + /** + * [Output Only] Reserved for future use. + * + * Generated from protobuf field optional bool satisfies_pzs = 480964267; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzs($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzs = $var; + + return $this; + } + /** * [Output Only] The URL for this managed instance group. The server defines this URL. * diff --git a/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicy.php b/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicy.php new file mode 100644 index 00000000000..db544835c61 --- /dev/null +++ b/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicy.php @@ -0,0 +1,66 @@ +google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy + */ +class InstanceGroupManagerInstanceFlexibilityPolicy extends \Google\Protobuf\Internal\Message +{ + /** + * Named instance selections configuring properties that the group will use when creating new VMs. + * + * Generated from protobuf field map instance_selections = 22954577; + */ + private $instance_selections; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\MapField $instance_selections + * Named instance selections configuring properties that the group will use when creating new VMs. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Named instance selections configuring properties that the group will use when creating new VMs. + * + * Generated from protobuf field map instance_selections = 22954577; + * @return \Google\Protobuf\Internal\MapField + */ + public function getInstanceSelections() + { + return $this->instance_selections; + } + + /** + * Named instance selections configuring properties that the group will use when creating new VMs. + * + * Generated from protobuf field map instance_selections = 22954577; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setInstanceSelections($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::class); + $this->instance_selections = $arr; + + return $this; + } + +} + diff --git a/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.php b/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.php new file mode 100644 index 00000000000..3cb094dee9e --- /dev/null +++ b/Compute/src/V1/InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.php @@ -0,0 +1,110 @@ +google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection + */ +class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection extends \Google\Protobuf\Internal\Message +{ + /** + * Full machine-type names, e.g. "n1-standard-16". + * + * Generated from protobuf field repeated string machine_types = 79720065; + */ + private $machine_types; + /** + * Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference. + * + * Generated from protobuf field optional int32 rank = 3492908; + */ + private $rank = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\RepeatedField $machine_types + * Full machine-type names, e.g. "n1-standard-16". + * @type int $rank + * Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Full machine-type names, e.g. "n1-standard-16". + * + * Generated from protobuf field repeated string machine_types = 79720065; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMachineTypes() + { + return $this->machine_types; + } + + /** + * Full machine-type names, e.g. "n1-standard-16". + * + * Generated from protobuf field repeated string machine_types = 79720065; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMachineTypes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->machine_types = $arr; + + return $this; + } + + /** + * Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference. + * + * Generated from protobuf field optional int32 rank = 3492908; + * @return int + */ + public function getRank() + { + return isset($this->rank) ? $this->rank : 0; + } + + public function hasRank() + { + return isset($this->rank); + } + + public function clearRank() + { + unset($this->rank); + } + + /** + * Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference. + * + * Generated from protobuf field optional int32 rank = 3492908; + * @param int $var + * @return $this + */ + public function setRank($var) + { + GPBUtil::checkInt32($var); + $this->rank = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/InstanceGroupManagerResizeRequest.php b/Compute/src/V1/InstanceGroupManagerResizeRequest.php index 6fb64ac4396..844fd11d49b 100644 --- a/Compute/src/V1/InstanceGroupManagerResizeRequest.php +++ b/Compute/src/V1/InstanceGroupManagerResizeRequest.php @@ -52,7 +52,7 @@ class InstanceGroupManagerResizeRequest extends \Google\Protobuf\Internal\Messag */ private $requested_run_duration = null; /** - * The number of instances to be created by this resize request. The group's target size will be increased by this number. + * The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'. * * Generated from protobuf field optional int32 resize_by = 533735362; */ @@ -108,7 +108,7 @@ class InstanceGroupManagerResizeRequest extends \Google\Protobuf\Internal\Messag * @type \Google\Cloud\Compute\V1\Duration $requested_run_duration * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. * @type int $resize_by - * The number of instances to be created by this resize request. The group's target size will be increased by this number. + * The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'. * @type string $self_link * [Output Only] The URL for this resize request. The server defines this URL. * @type string $self_link_with_id @@ -344,7 +344,7 @@ public function setRequestedRunDuration($var) } /** - * The number of instances to be created by this resize request. The group's target size will be increased by this number. + * The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'. * * Generated from protobuf field optional int32 resize_by = 533735362; * @return int @@ -365,7 +365,7 @@ public function clearResizeBy() } /** - * The number of instances to be created by this resize request. The group's target size will be increased by this number. + * The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'. * * Generated from protobuf field optional int32 resize_by = 533735362; * @param int $var diff --git a/Compute/src/V1/InstanceProperties.php b/Compute/src/V1/InstanceProperties.php index e22b719f268..b518ba627f2 100644 --- a/Compute/src/V1/InstanceProperties.php +++ b/Compute/src/V1/InstanceProperties.php @@ -64,7 +64,7 @@ class InstanceProperties extends \Google\Protobuf\Internal\Message */ private $labels; /** - * The machine type to use for instances that are created from these properties. + * The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`. * * Generated from protobuf field optional string machine_type = 227711026; */ @@ -167,7 +167,7 @@ class InstanceProperties extends \Google\Protobuf\Internal\Message * @type array|\Google\Protobuf\Internal\MapField $labels * Labels to apply to instances that are created from these properties. * @type string $machine_type - * The machine type to use for instances that are created from these properties. + * The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`. * @type \Google\Cloud\Compute\V1\Metadata $metadata * The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. * @type string $min_cpu_platform @@ -461,7 +461,7 @@ public function setLabels($var) } /** - * The machine type to use for instances that are created from these properties. + * The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`. * * Generated from protobuf field optional string machine_type = 227711026; * @return string @@ -482,7 +482,7 @@ public function clearMachineType() } /** - * The machine type to use for instances that are created from these properties. + * The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`. * * Generated from protobuf field optional string machine_type = 227711026; * @param string $var diff --git a/Compute/src/V1/InstancesGetEffectiveFirewallsResponse.php b/Compute/src/V1/InstancesGetEffectiveFirewallsResponse.php index b564751eab7..765e1dc39e0 100644 --- a/Compute/src/V1/InstancesGetEffectiveFirewallsResponse.php +++ b/Compute/src/V1/InstancesGetEffectiveFirewallsResponse.php @@ -15,7 +15,7 @@ class InstancesGetEffectiveFirewallsResponse extends \Google\Protobuf\Internal\Message { /** - * Effective firewalls from firewall policies. + * [Output Only] Effective firewalls from firewall policies. * * Generated from protobuf field repeated .google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; */ @@ -34,7 +34,7 @@ class InstancesGetEffectiveFirewallsResponse extends \Google\Protobuf\Internal\M * Optional. Data for populating the Message object. * * @type array<\Google\Cloud\Compute\V1\InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $firewall_policys - * Effective firewalls from firewall policies. + * [Output Only] Effective firewalls from firewall policies. * @type array<\Google\Cloud\Compute\V1\Firewall>|\Google\Protobuf\Internal\RepeatedField $firewalls * Effective firewalls on the instance. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { } /** - * Effective firewalls from firewall policies. + * [Output Only] Effective firewalls from firewall policies. * * Generated from protobuf field repeated .google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @return \Google\Protobuf\Internal\RepeatedField @@ -56,7 +56,7 @@ public function getFirewallPolicys() } /** - * Effective firewalls from firewall policies. + * [Output Only] Effective firewalls from firewall policies. * * Generated from protobuf field repeated .google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @param array<\Google\Cloud\Compute\V1\InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php b/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php index 7688cfb964d..aaf163dad68 100644 --- a/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php +++ b/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php @@ -27,7 +27,13 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goo */ private $name = null; /** - * The rules that apply to the network. + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + */ + private $priority = null; + /** + * [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; */ @@ -56,8 +62,10 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goo * [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. * @type string $name * [Output Only] The name of the firewall policy. + * @type int $priority + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. * @type array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $rules - * The rules that apply to the network. + * [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules. * @type string $short_name * [Output Only] The short name of the firewall policy. * @type string $type @@ -143,7 +151,43 @@ public function setName($var) } /** - * The rules that apply to the network. + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + * @return int + */ + public function getPriority() + { + return isset($this->priority) ? $this->priority : 0; + } + + public function hasPriority() + { + return isset($this->priority); + } + + public function clearPriority() + { + unset($this->priority); + } + + /** + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + * @param int $var + * @return $this + */ + public function setPriority($var) + { + GPBUtil::checkInt32($var); + $this->priority = $var; + + return $this; + } + + /** + * [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @return \Google\Protobuf\Internal\RepeatedField @@ -154,7 +198,7 @@ public function getRules() } /** - * The rules that apply to the network. + * [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @param array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php b/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php index 00d339e66e2..166ce64cb02 100644 --- a/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php +++ b/Compute/src/V1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php @@ -31,6 +31,14 @@ class Type * Generated from protobuf enum NETWORK_REGIONAL = 190804272; */ const NETWORK_REGIONAL = 190804272; + /** + * Generated from protobuf enum SYSTEM_GLOBAL = 60099507; + */ + const SYSTEM_GLOBAL = 60099507; + /** + * Generated from protobuf enum SYSTEM_REGIONAL = 161777199; + */ + const SYSTEM_REGIONAL = 161777199; /** * Generated from protobuf enum UNSPECIFIED = 526786327; */ @@ -41,6 +49,8 @@ class Type self::HIERARCHY => 'HIERARCHY', self::NETWORK => 'NETWORK', self::NETWORK_REGIONAL => 'NETWORK_REGIONAL', + self::SYSTEM_GLOBAL => 'SYSTEM_GLOBAL', + self::SYSTEM_REGIONAL => 'SYSTEM_REGIONAL', self::UNSPECIFIED => 'UNSPECIFIED', ]; diff --git a/Compute/src/V1/Interconnect.php b/Compute/src/V1/Interconnect.php index 823e57ea438..052cc42ed9c 100644 --- a/Compute/src/V1/Interconnect.php +++ b/Compute/src/V1/Interconnect.php @@ -22,7 +22,7 @@ class Interconnect extends \Google\Protobuf\Internal\Message */ private $admin_enabled = null; /** - * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. + * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * Check the AvailableFeatures enum for the list of possible values. * * Generated from protobuf field repeated string available_features = 496344307; @@ -170,7 +170,7 @@ class Interconnect extends \Google\Protobuf\Internal\Message */ private $remote_location = null; /** - * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. + * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. * Check the RequestedFeatures enum for the list of possible values. * * Generated from protobuf field repeated string requested_features = 461240814; @@ -211,7 +211,7 @@ class Interconnect extends \Google\Protobuf\Internal\Message * @type bool $admin_enabled * Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. * @type array|\Google\Protobuf\Internal\RepeatedField $available_features - * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. + * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * Check the AvailableFeatures enum for the list of possible values. * @type array<\Google\Cloud\Compute\V1\InterconnectCircuitInfo>|\Google\Protobuf\Internal\RepeatedField $circuit_infos * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. @@ -263,7 +263,7 @@ class Interconnect extends \Google\Protobuf\Internal\Message * @type string $remote_location * Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to. * @type array|\Google\Protobuf\Internal\RepeatedField $requested_features - * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. + * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. * Check the RequestedFeatures enum for the list of possible values. * @type int $requested_link_count * Target number of physical links in the link bundle, as requested by the customer. @@ -318,7 +318,7 @@ public function setAdminEnabled($var) } /** - * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. + * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * Check the AvailableFeatures enum for the list of possible values. * * Generated from protobuf field repeated string available_features = 496344307; @@ -330,7 +330,7 @@ public function getAvailableFeatures() } /** - * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. + * [Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * Check the AvailableFeatures enum for the list of possible values. * * Generated from protobuf field repeated string available_features = 496344307; @@ -1140,7 +1140,7 @@ public function setRemoteLocation($var) } /** - * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. + * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. * Check the RequestedFeatures enum for the list of possible values. * * Generated from protobuf field repeated string requested_features = 461240814; @@ -1152,7 +1152,7 @@ public function getRequestedFeatures() } /** - * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. + * Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. * Check the RequestedFeatures enum for the list of possible values. * * Generated from protobuf field repeated string requested_features = 461240814; diff --git a/Compute/src/V1/MachineType.php b/Compute/src/V1/MachineType.php index b7376043f2c..341d55dfb0b 100644 --- a/Compute/src/V1/MachineType.php +++ b/Compute/src/V1/MachineType.php @@ -21,6 +21,13 @@ class MachineType extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064; */ private $accelerators; + /** + * [Output Only] The architecture of the machine type. + * Check the Architecture enum for the list of possible values. + * + * Generated from protobuf field optional string architecture = 302803283; + */ + private $architecture = null; /** * [Output Only] Creation timestamp in RFC3339 text format. * @@ -120,6 +127,9 @@ class MachineType extends \Google\Protobuf\Internal\Message * * @type array<\Google\Cloud\Compute\V1\Accelerators>|\Google\Protobuf\Internal\RepeatedField $accelerators * [Output Only] A list of accelerator configurations assigned to this machine type. + * @type string $architecture + * [Output Only] The architecture of the machine type. + * Check the Architecture enum for the list of possible values. * @type string $creation_timestamp * [Output Only] Creation timestamp in RFC3339 text format. * @type \Google\Cloud\Compute\V1\DeprecationStatus $deprecated @@ -183,6 +193,44 @@ public function setAccelerators($var) return $this; } + /** + * [Output Only] The architecture of the machine type. + * Check the Architecture enum for the list of possible values. + * + * Generated from protobuf field optional string architecture = 302803283; + * @return string + */ + public function getArchitecture() + { + return isset($this->architecture) ? $this->architecture : ''; + } + + public function hasArchitecture() + { + return isset($this->architecture); + } + + public function clearArchitecture() + { + unset($this->architecture); + } + + /** + * [Output Only] The architecture of the machine type. + * Check the Architecture enum for the list of possible values. + * + * Generated from protobuf field optional string architecture = 302803283; + * @param string $var + * @return $this + */ + public function setArchitecture($var) + { + GPBUtil::checkString($var, True); + $this->architecture = $var; + + return $this; + } + /** * [Output Only] Creation timestamp in RFC3339 text format. * diff --git a/Compute/src/V1/MachineType/Architecture.php b/Compute/src/V1/MachineType/Architecture.php new file mode 100644 index 00000000000..1e262602718 --- /dev/null +++ b/Compute/src/V1/MachineType/Architecture.php @@ -0,0 +1,69 @@ +google.cloud.compute.v1.MachineType.Architecture + */ +class Architecture +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_ARCHITECTURE = 0; + */ + const UNDEFINED_ARCHITECTURE = 0; + /** + * Default value indicating Architecture is not set. + * + * Generated from protobuf enum ARCHITECTURE_UNSPECIFIED = 394750507; + */ + const ARCHITECTURE_UNSPECIFIED = 394750507; + /** + * Machines with architecture ARM64 + * + * Generated from protobuf enum ARM64 = 62547450; + */ + const ARM64 = 62547450; + /** + * Machines with architecture X86_64 + * + * Generated from protobuf enum X86_64 = 425300551; + */ + const X86_64 = 425300551; + + private static $valueToName = [ + self::UNDEFINED_ARCHITECTURE => 'UNDEFINED_ARCHITECTURE', + self::ARCHITECTURE_UNSPECIFIED => 'ARCHITECTURE_UNSPECIFIED', + self::ARM64 => 'ARM64', + self::X86_64 => 'X86_64', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/ManagedInstance.php b/Compute/src/V1/ManagedInstance.php index 28024411715..c68d4c5af4f 100644 --- a/Compute/src/V1/ManagedInstance.php +++ b/Compute/src/V1/ManagedInstance.php @@ -71,6 +71,12 @@ class ManagedInstance extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954; */ private $preserved_state_from_policy = null; + /** + * [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. + * + * Generated from protobuf field optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; + */ + private $properties_from_flexibility_policy = null; /** * [Output Only] Intended version of this instance. * @@ -104,6 +110,8 @@ class ManagedInstance extends \Google\Protobuf\Internal\Message * [Output Only] Preserved state applied from per-instance config for this instance. * @type \Google\Cloud\Compute\V1\PreservedState $preserved_state_from_policy * [Output Only] Preserved state generated based on stateful policy for this instance. + * @type \Google\Cloud\Compute\V1\ManagedInstancePropertiesFromFlexibilityPolicy $properties_from_flexibility_policy + * [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. * @type \Google\Cloud\Compute\V1\ManagedInstanceVersion $version * [Output Only] Intended version of this instance. * } @@ -431,6 +439,42 @@ public function setPreservedStateFromPolicy($var) return $this; } + /** + * [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. + * + * Generated from protobuf field optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; + * @return \Google\Cloud\Compute\V1\ManagedInstancePropertiesFromFlexibilityPolicy|null + */ + public function getPropertiesFromFlexibilityPolicy() + { + return $this->properties_from_flexibility_policy; + } + + public function hasPropertiesFromFlexibilityPolicy() + { + return isset($this->properties_from_flexibility_policy); + } + + public function clearPropertiesFromFlexibilityPolicy() + { + unset($this->properties_from_flexibility_policy); + } + + /** + * [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. + * + * Generated from protobuf field optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; + * @param \Google\Cloud\Compute\V1\ManagedInstancePropertiesFromFlexibilityPolicy $var + * @return $this + */ + public function setPropertiesFromFlexibilityPolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\ManagedInstancePropertiesFromFlexibilityPolicy::class); + $this->properties_from_flexibility_policy = $var; + + return $this; + } + /** * [Output Only] Intended version of this instance. * diff --git a/Compute/src/V1/ManagedInstancePropertiesFromFlexibilityPolicy.php b/Compute/src/V1/ManagedInstancePropertiesFromFlexibilityPolicy.php new file mode 100644 index 00000000000..fdecb3c08f6 --- /dev/null +++ b/Compute/src/V1/ManagedInstancePropertiesFromFlexibilityPolicy.php @@ -0,0 +1,76 @@ +google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy + */ +class ManagedInstancePropertiesFromFlexibilityPolicy extends \Google\Protobuf\Internal\Message +{ + /** + * The machine type to be used for this instance. + * + * Generated from protobuf field optional string machine_type = 227711026; + */ + private $machine_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $machine_type + * The machine type to be used for this instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * The machine type to be used for this instance. + * + * Generated from protobuf field optional string machine_type = 227711026; + * @return string + */ + public function getMachineType() + { + return isset($this->machine_type) ? $this->machine_type : ''; + } + + public function hasMachineType() + { + return isset($this->machine_type); + } + + public function clearMachineType() + { + unset($this->machine_type); + } + + /** + * The machine type to be used for this instance. + * + * Generated from protobuf field optional string machine_type = 227711026; + * @param string $var + * @return $this + */ + public function setMachineType($var) + { + GPBUtil::checkString($var, True); + $this->machine_type = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/NetworkEndpoint.php b/Compute/src/V1/NetworkEndpoint.php index a0606e564d7..39e11db8871 100644 --- a/Compute/src/V1/NetworkEndpoint.php +++ b/Compute/src/V1/NetworkEndpoint.php @@ -21,6 +21,12 @@ class NetworkEndpoint extends \Google\Protobuf\Internal\Message * Generated from protobuf field map annotations = 112032548; */ private $annotations; + /** + * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. + * + * Generated from protobuf field optional int32 client_destination_port = 123765766; + */ + private $client_destination_port = null; /** * Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. * @@ -39,6 +45,12 @@ class NetworkEndpoint extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string ip_address = 406272220; */ private $ip_address = null; + /** + * Optional IPv6 address of network endpoint. + * + * Generated from protobuf field optional string ipv6_address = 341563804; + */ + private $ipv6_address = null; /** * 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. * @@ -54,12 +66,16 @@ class NetworkEndpoint extends \Google\Protobuf\Internal\Message * * @type array|\Google\Protobuf\Internal\MapField $annotations * Metadata defined as annotations on the network endpoint. + * @type int $client_destination_port + * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. * @type string $fqdn * Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. * @type string $instance * 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. * @type string $ip_address * 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. + * @type string $ipv6_address + * Optional IPv6 address of network endpoint. * @type int $port * 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. * } @@ -95,6 +111,42 @@ public function setAnnotations($var) return $this; } + /** + * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. + * + * Generated from protobuf field optional int32 client_destination_port = 123765766; + * @return int + */ + public function getClientDestinationPort() + { + return isset($this->client_destination_port) ? $this->client_destination_port : 0; + } + + public function hasClientDestinationPort() + { + return isset($this->client_destination_port); + } + + public function clearClientDestinationPort() + { + unset($this->client_destination_port); + } + + /** + * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. + * + * Generated from protobuf field optional int32 client_destination_port = 123765766; + * @param int $var + * @return $this + */ + public function setClientDestinationPort($var) + { + GPBUtil::checkInt32($var); + $this->client_destination_port = $var; + + return $this; + } + /** * Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. * @@ -203,6 +255,42 @@ public function setIpAddress($var) return $this; } + /** + * Optional IPv6 address of network endpoint. + * + * Generated from protobuf field optional string ipv6_address = 341563804; + * @return string + */ + public function getIpv6Address() + { + return isset($this->ipv6_address) ? $this->ipv6_address : ''; + } + + public function hasIpv6Address() + { + return isset($this->ipv6_address); + } + + public function clearIpv6Address() + { + unset($this->ipv6_address); + } + + /** + * Optional IPv6 address of network endpoint. + * + * Generated from protobuf field optional string ipv6_address = 341563804; + * @param string $var + * @return $this + */ + public function setIpv6Address($var) + { + GPBUtil::checkString($var, True); + $this->ipv6_address = $var; + + return $this; + } + /** * 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. * diff --git a/Compute/src/V1/NetworkEndpointGroup/NetworkEndpointType.php b/Compute/src/V1/NetworkEndpointGroup/NetworkEndpointType.php index edc0ebde556..00265a011ce 100644 --- a/Compute/src/V1/NetworkEndpointGroup/NetworkEndpointType.php +++ b/Compute/src/V1/NetworkEndpointGroup/NetworkEndpointType.php @@ -31,6 +31,12 @@ class NetworkEndpointType * Generated from protobuf enum GCE_VM_IP_PORT = 501838375; */ const GCE_VM_IP_PORT = 501838375; + /** + * The network endpoint is represented by an IP, Port and Client Destination Port. + * + * Generated from protobuf enum GCE_VM_IP_PORTMAP = 22819253; + */ + const GCE_VM_IP_PORTMAP = 22819253; /** * The network endpoint is represented by fully qualified domain name and port. * @@ -66,6 +72,7 @@ class NetworkEndpointType self::UNDEFINED_NETWORK_ENDPOINT_TYPE => 'UNDEFINED_NETWORK_ENDPOINT_TYPE', self::GCE_VM_IP => 'GCE_VM_IP', self::GCE_VM_IP_PORT => 'GCE_VM_IP_PORT', + self::GCE_VM_IP_PORTMAP => 'GCE_VM_IP_PORTMAP', self::INTERNET_FQDN_PORT => 'INTERNET_FQDN_PORT', self::INTERNET_IP_PORT => 'INTERNET_IP_PORT', self::NON_GCP_PRIVATE_IP_PORT => 'NON_GCP_PRIVATE_IP_PORT', diff --git a/Compute/src/V1/NetworkEndpointGroupPscData.php b/Compute/src/V1/NetworkEndpointGroupPscData.php index d1defec8df4..50c18014ec9 100644 --- a/Compute/src/V1/NetworkEndpointGroupPscData.php +++ b/Compute/src/V1/NetworkEndpointGroupPscData.php @@ -21,6 +21,12 @@ class NetworkEndpointGroupPscData extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string consumer_psc_address = 452646572; */ private $consumer_psc_address = null; + /** + * The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type + * + * Generated from protobuf field optional int32 producer_port = 410021134; + */ + private $producer_port = null; /** * [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. * @@ -43,6 +49,8 @@ class NetworkEndpointGroupPscData extends \Google\Protobuf\Internal\Message * * @type string $consumer_psc_address * [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. + * @type int $producer_port + * The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type * @type int|string $psc_connection_id * [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. * @type string $psc_connection_status @@ -91,6 +99,42 @@ public function setConsumerPscAddress($var) return $this; } + /** + * The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type + * + * Generated from protobuf field optional int32 producer_port = 410021134; + * @return int + */ + public function getProducerPort() + { + return isset($this->producer_port) ? $this->producer_port : 0; + } + + public function hasProducerPort() + { + return isset($this->producer_port); + } + + public function clearProducerPort() + { + unset($this->producer_port); + } + + /** + * The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type + * + * Generated from protobuf field optional int32 producer_port = 410021134; + * @param int $var + * @return $this + */ + public function setProducerPort($var) + { + GPBUtil::checkInt32($var); + $this->producer_port = $var; + + return $this; + } + /** * [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. * diff --git a/Compute/src/V1/NetworkInterface/NicType.php b/Compute/src/V1/NetworkInterface/NicType.php index c0c6b05b98a..872b8900903 100644 --- a/Compute/src/V1/NetworkInterface/NicType.php +++ b/Compute/src/V1/NetworkInterface/NicType.php @@ -25,6 +25,12 @@ class NicType * Generated from protobuf enum GVNIC = 68209305; */ const GVNIC = 68209305; + /** + * IDPF + * + * Generated from protobuf enum IDPF = 2242641; + */ + const IDPF = 2242641; /** * No type specified. * @@ -41,6 +47,7 @@ class NicType private static $valueToName = [ self::UNDEFINED_NIC_TYPE => 'UNDEFINED_NIC_TYPE', self::GVNIC => 'GVNIC', + self::IDPF => 'IDPF', self::UNSPECIFIED_NIC_TYPE => 'UNSPECIFIED_NIC_TYPE', self::VIRTIO_NET => 'VIRTIO_NET', ]; diff --git a/Compute/src/V1/NetworkInterface/StackType.php b/Compute/src/V1/NetworkInterface/StackType.php index fce99beb21f..8d5b4621876 100644 --- a/Compute/src/V1/NetworkInterface/StackType.php +++ b/Compute/src/V1/NetworkInterface/StackType.php @@ -26,11 +26,17 @@ class StackType */ const IPV4_IPV6 = 22197249; /** - * The network interface will be assigned IPv4 address. + * The network interface will only be assigned IPv4 addresses. * * Generated from protobuf enum IPV4_ONLY = 22373798; */ const IPV4_ONLY = 22373798; + /** + * The network interface will only be assigned IPv6 addresses. + * + * Generated from protobuf enum IPV6_ONLY = 79632100; + */ + const IPV6_ONLY = 79632100; /** * Generated from protobuf enum UNSPECIFIED_STACK_TYPE = 298084569; */ @@ -40,6 +46,7 @@ class StackType self::UNDEFINED_STACK_TYPE => 'UNDEFINED_STACK_TYPE', self::IPV4_IPV6 => 'IPV4_IPV6', self::IPV4_ONLY => 'IPV4_ONLY', + self::IPV6_ONLY => 'IPV6_ONLY', self::UNSPECIFIED_STACK_TYPE => 'UNSPECIFIED_STACK_TYPE', ]; diff --git a/Compute/src/V1/NetworksGetEffectiveFirewallsResponse.php b/Compute/src/V1/NetworksGetEffectiveFirewallsResponse.php index a478968c221..e61eeb5d026 100644 --- a/Compute/src/V1/NetworksGetEffectiveFirewallsResponse.php +++ b/Compute/src/V1/NetworksGetEffectiveFirewallsResponse.php @@ -15,7 +15,7 @@ class NetworksGetEffectiveFirewallsResponse extends \Google\Protobuf\Internal\Message { /** - * Effective firewalls from firewall policy. + * [Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well. * * Generated from protobuf field repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; */ @@ -34,7 +34,7 @@ class NetworksGetEffectiveFirewallsResponse extends \Google\Protobuf\Internal\Me * Optional. Data for populating the Message object. * * @type array<\Google\Cloud\Compute\V1\NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $firewall_policys - * Effective firewalls from firewall policy. + * [Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well. * @type array<\Google\Cloud\Compute\V1\Firewall>|\Google\Protobuf\Internal\RepeatedField $firewalls * Effective firewalls on the network. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { } /** - * Effective firewalls from firewall policy. + * [Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well. * * Generated from protobuf field repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @return \Google\Protobuf\Internal\RepeatedField @@ -56,7 +56,7 @@ public function getFirewallPolicys() } /** - * Effective firewalls from firewall policy. + * [Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well. * * Generated from protobuf field repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @param array<\Google\Cloud\Compute\V1\NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php b/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php index dcde2feb960..5d65aadce36 100644 --- a/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php +++ b/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php @@ -27,7 +27,13 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goog */ private $name = null; /** - * The rules that apply to the network. + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + */ + private $priority = null; + /** + * [Output Only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; */ @@ -56,8 +62,10 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy extends \Goog * [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. * @type string $name * [Output Only] The name of the firewall policy. + * @type int $priority + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. * @type array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $rules - * The rules that apply to the network. + * [Output Only] The rules that apply to the network. * @type string $short_name * [Output Only] The short name of the firewall policy. * @type string $type @@ -143,7 +151,43 @@ public function setName($var) } /** - * The rules that apply to the network. + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + * @return int + */ + public function getPriority() + { + return isset($this->priority) ? $this->priority : 0; + } + + public function hasPriority() + { + return isset($this->priority); + } + + public function clearPriority() + { + unset($this->priority); + } + + /** + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + * + * Generated from protobuf field optional int32 priority = 445151652; + * @param int $var + * @return $this + */ + public function setPriority($var) + { + GPBUtil::checkInt32($var); + $this->priority = $var; + + return $this; + } + + /** + * [Output Only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @return \Google\Protobuf\Internal\RepeatedField @@ -154,7 +198,7 @@ public function getRules() } /** - * The rules that apply to the network. + * [Output Only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @param array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php b/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php index 1acdf3c4ccb..39ecdd1f17e 100644 --- a/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php +++ b/Compute/src/V1/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/Type.php @@ -27,6 +27,10 @@ class Type * Generated from protobuf enum NETWORK = 413984270; */ const NETWORK = 413984270; + /** + * Generated from protobuf enum SYSTEM = 313484847; + */ + const SYSTEM = 313484847; /** * Generated from protobuf enum UNSPECIFIED = 526786327; */ @@ -36,6 +40,7 @@ class Type self::UNDEFINED_TYPE => 'UNDEFINED_TYPE', self::HIERARCHY => 'HIERARCHY', self::NETWORK => 'NETWORK', + self::SYSTEM => 'SYSTEM', self::UNSPECIFIED => 'UNSPECIFIED', ]; diff --git a/Compute/src/V1/Operation.php b/Compute/src/V1/Operation.php index 38ca6c0efd5..958c4f7a838 100644 --- a/Compute/src/V1/Operation.php +++ b/Compute/src/V1/Operation.php @@ -146,7 +146,7 @@ class Operation extends \Google\Protobuf\Internal\Message */ private $target_id = null; /** - * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from. * * Generated from protobuf field optional string target_link = 62671336; */ @@ -220,7 +220,7 @@ class Operation extends \Google\Protobuf\Internal\Message * @type int|string $target_id * [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. * @type string $target_link - * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from. * @type string $user * [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. * @type array<\Google\Cloud\Compute\V1\Warnings>|\Google\Protobuf\Internal\RepeatedField $warnings @@ -1023,7 +1023,7 @@ public function setTargetId($var) } /** - * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from. * * Generated from protobuf field optional string target_link = 62671336; * @return string @@ -1044,7 +1044,7 @@ public function clearTargetLink() } /** - * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from. * * Generated from protobuf field optional string target_link = 62671336; * @param string $var diff --git a/Compute/src/V1/PathMatcher.php b/Compute/src/V1/PathMatcher.php index e5e8540f96e..09c6e4e1436 100644 --- a/Compute/src/V1/PathMatcher.php +++ b/Compute/src/V1/PathMatcher.php @@ -15,6 +15,12 @@ */ class PathMatcher extends \Google\Protobuf\Internal\Message { + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + */ + private $default_custom_error_response_policy = null; /** * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. * @@ -70,6 +76,8 @@ class PathMatcher extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $default_custom_error_response_policy + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. * @type \Google\Cloud\Compute\V1\HttpRouteAction $default_route_action * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. * @type string $default_service @@ -93,6 +101,42 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + * @return \Google\Cloud\Compute\V1\CustomErrorResponsePolicy|null + */ + public function getDefaultCustomErrorResponsePolicy() + { + return $this->default_custom_error_response_policy; + } + + public function hasDefaultCustomErrorResponsePolicy() + { + return isset($this->default_custom_error_response_policy); + } + + public function clearDefaultCustomErrorResponsePolicy() + { + unset($this->default_custom_error_response_policy); + } + + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + * @param \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $var + * @return $this + */ + public function setDefaultCustomErrorResponsePolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CustomErrorResponsePolicy::class); + $this->default_custom_error_response_policy = $var; + + return $this; + } + /** * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. * diff --git a/Compute/src/V1/PathRule.php b/Compute/src/V1/PathRule.php index b25d89e27ed..69ebb0b2028 100644 --- a/Compute/src/V1/PathRule.php +++ b/Compute/src/V1/PathRule.php @@ -15,6 +15,12 @@ */ class PathRule extends \Google\Protobuf\Internal\Message { + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + */ + private $custom_error_response_policy = null; /** * The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. * @@ -46,6 +52,8 @@ class PathRule extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $custom_error_response_policy + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers. * @type array|\Google\Protobuf\Internal\RepeatedField $paths * The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. * @type \Google\Cloud\Compute\V1\HttpRouteAction $route_action @@ -61,6 +69,42 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + * @return \Google\Cloud\Compute\V1\CustomErrorResponsePolicy|null + */ + public function getCustomErrorResponsePolicy() + { + return $this->custom_error_response_policy; + } + + public function hasCustomErrorResponsePolicy() + { + return isset($this->custom_error_response_policy); + } + + public function clearCustomErrorResponsePolicy() + { + unset($this->custom_error_response_policy); + } + + /** + * customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy custom_error_response_policy = 202816619; + * @param \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $var + * @return $this + */ + public function setCustomErrorResponsePolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CustomErrorResponsePolicy::class); + $this->custom_error_response_policy = $var; + + return $this; + } + /** * The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. * diff --git a/Compute/src/V1/Policy.php b/Compute/src/V1/Policy.php index 06a53e3c2bd..adfe84f7809 100644 --- a/Compute/src/V1/Policy.php +++ b/Compute/src/V1/Policy.php @@ -37,12 +37,6 @@ class Policy extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional bool iam_owned = 450566203; */ private $iam_owned = null; - /** - * This is deprecated and has no effect. Do not use. - * - * Generated from protobuf field repeated .google.cloud.compute.v1.Rule rules = 108873975; - */ - private $rules; /** * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * @@ -63,8 +57,6 @@ class Policy extends \Google\Protobuf\Internal\Message * @type string $etag * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. * @type bool $iam_owned - * @type array<\Google\Cloud\Compute\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $rules - * This is deprecated and has no effect. Do not use. * @type int $version * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * } @@ -194,32 +186,6 @@ public function setIamOwned($var) return $this; } - /** - * This is deprecated and has no effect. Do not use. - * - * Generated from protobuf field repeated .google.cloud.compute.v1.Rule rules = 108873975; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRules() - { - return $this->rules; - } - - /** - * This is deprecated and has no effect. Do not use. - * - * Generated from protobuf field repeated .google.cloud.compute.v1.Rule rules = 108873975; - * @param array<\Google\Cloud\Compute\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\Rule::class); - $this->rules = $arr; - - return $this; - } - /** * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * diff --git a/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.php b/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.php index bc85f35dc19..4da35401010 100644 --- a/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.php +++ b/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.php @@ -15,7 +15,7 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse extends \Google\Protobuf\Internal\Message { /** - * Effective firewalls from firewall policy. + * [Output only] Effective firewalls from firewall policy. It applies to Regional Network Firewall Policies in the specified region, Global Network Firewall Policies and Hierachial Firewall Policies which are associated with the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; */ @@ -34,7 +34,7 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse extends \Google * Optional. Data for populating the Message object. * * @type array<\Google\Cloud\Compute\V1\RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $firewall_policys - * Effective firewalls from firewall policy. + * [Output only] Effective firewalls from firewall policy. It applies to Regional Network Firewall Policies in the specified region, Global Network Firewall Policies and Hierachial Firewall Policies which are associated with the network. * @type array<\Google\Cloud\Compute\V1\Firewall>|\Google\Protobuf\Internal\RepeatedField $firewalls * Effective firewalls on the network. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { } /** - * Effective firewalls from firewall policy. + * [Output only] Effective firewalls from firewall policy. It applies to Regional Network Firewall Policies in the specified region, Global Network Firewall Policies and Hierachial Firewall Policies which are associated with the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @return \Google\Protobuf\Internal\RepeatedField @@ -56,7 +56,7 @@ public function getFirewallPolicys() } /** - * Effective firewalls from firewall policy. + * [Output only] Effective firewalls from firewall policy. It applies to Regional Network Firewall Policies in the specified region, Global Network Firewall Policies and Hierachial Firewall Policies which are associated with the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; * @param array<\Google\Cloud\Compute\V1\RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php b/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php index 835f497de2b..8ab25c4dead 100644 --- a/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php +++ b/Compute/src/V1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.php @@ -27,7 +27,7 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal */ private $name = null; /** - * The rules that apply to the network. + * [Output only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; */ @@ -51,7 +51,7 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal * @type string $name * [Output Only] The name of the firewall policy. * @type array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $rules - * The rules that apply to the network. + * [Output only] The rules that apply to the network. * @type string $type * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. * Check the Type enum for the list of possible values. @@ -135,7 +135,7 @@ public function setName($var) } /** - * The rules that apply to the network. + * [Output only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @return \Google\Protobuf\Internal\RepeatedField @@ -146,7 +146,7 @@ public function getRules() } /** - * The rules that apply to the network. + * [Output only] The rules that apply to the network. * * Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; * @param array<\Google\Cloud\Compute\V1\FirewallPolicyRule>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/Reservation.php b/Compute/src/V1/Reservation.php index 5025a116656..95ff70b0a86 100644 --- a/Compute/src/V1/Reservation.php +++ b/Compute/src/V1/Reservation.php @@ -100,7 +100,7 @@ class Reservation extends \Google\Protobuf\Internal\Message */ private $specific_reservation_required = null; /** - * [Output Only] The status of the reservation. + * [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. * Check the Status enum for the list of possible values. * * Generated from protobuf field optional string status = 181260274; @@ -148,7 +148,7 @@ class Reservation extends \Google\Protobuf\Internal\Message * @type bool $specific_reservation_required * Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation. * @type string $status - * [Output Only] The status of the reservation. + * [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. * Check the Status enum for the list of possible values. * @type string $zone * Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. @@ -654,7 +654,7 @@ public function setSpecificReservationRequired($var) } /** - * [Output Only] The status of the reservation. + * [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. * Check the Status enum for the list of possible values. * * Generated from protobuf field optional string status = 181260274; @@ -676,7 +676,7 @@ public function clearStatus() } /** - * [Output Only] The status of the reservation. + * [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. * Check the Status enum for the list of possible values. * * Generated from protobuf field optional string status = 181260274; diff --git a/Compute/src/V1/Reservation/Status.php b/Compute/src/V1/Reservation/Status.php index 271609220a9..eb97b36fdee 100644 --- a/Compute/src/V1/Reservation/Status.php +++ b/Compute/src/V1/Reservation/Status.php @@ -7,7 +7,7 @@ use UnexpectedValueException; /** - * [Output Only] The status of the reservation. + * [Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. * * Protobuf type google.cloud.compute.v1.Reservation.Status */ @@ -20,13 +20,13 @@ class Status */ const UNDEFINED_STATUS = 0; /** - * Resources are being allocated for the reservation. + * Reservation resources are being allocated. * * Generated from protobuf enum CREATING = 455564985; */ const CREATING = 455564985; /** - * Reservation is currently being deleted. + * Reservation deletion is in progress. * * Generated from protobuf enum DELETING = 528602024; */ @@ -36,13 +36,13 @@ class Status */ const INVALID = 530283991; /** - * Reservation has allocated all its resources. + * Reservation resources have been allocated, and the reservation is ready for use. * * Generated from protobuf enum READY = 77848963; */ const READY = 77848963; /** - * Reservation is currently being resized. + * Reservation update is in progress. * * Generated from protobuf enum UPDATING = 494614342; */ diff --git a/Compute/src/V1/ResourceStatus.php b/Compute/src/V1/ResourceStatus.php index 5f51a5807ab..0e003b02551 100644 --- a/Compute/src/V1/ResourceStatus.php +++ b/Compute/src/V1/ResourceStatus.php @@ -21,6 +21,10 @@ class ResourceStatus extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string physical_host = 464370704; */ private $physical_host = null; + /** + * Generated from protobuf field optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; + */ + private $scheduling = null; /** * Generated from protobuf field optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; */ @@ -34,6 +38,7 @@ class ResourceStatus extends \Google\Protobuf\Internal\Message * * @type string $physical_host * [Output Only] An opaque ID of the host on which the VM is running. + * @type \Google\Cloud\Compute\V1\ResourceStatusScheduling $scheduling * @type \Google\Cloud\Compute\V1\UpcomingMaintenance $upcoming_maintenance * } */ @@ -78,6 +83,38 @@ public function setPhysicalHost($var) return $this; } + /** + * Generated from protobuf field optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; + * @return \Google\Cloud\Compute\V1\ResourceStatusScheduling|null + */ + public function getScheduling() + { + return $this->scheduling; + } + + public function hasScheduling() + { + return isset($this->scheduling); + } + + public function clearScheduling() + { + unset($this->scheduling); + } + + /** + * Generated from protobuf field optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; + * @param \Google\Cloud\Compute\V1\ResourceStatusScheduling $var + * @return $this + */ + public function setScheduling($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\ResourceStatusScheduling::class); + $this->scheduling = $var; + + return $this; + } + /** * Generated from protobuf field optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; * @return \Google\Cloud\Compute\V1\UpcomingMaintenance|null diff --git a/Compute/src/V1/ResourceStatusScheduling.php b/Compute/src/V1/ResourceStatusScheduling.php new file mode 100644 index 00000000000..3e3c6552f89 --- /dev/null +++ b/Compute/src/V1/ResourceStatusScheduling.php @@ -0,0 +1,76 @@ +google.cloud.compute.v1.ResourceStatusScheduling + */ +class ResourceStatusScheduling extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + */ + private $availability_domain = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $availability_domain + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + * @return int + */ + public function getAvailabilityDomain() + { + return isset($this->availability_domain) ? $this->availability_domain : 0; + } + + public function hasAvailabilityDomain() + { + return isset($this->availability_domain); + } + + public function clearAvailabilityDomain() + { + unset($this->availability_domain); + } + + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + * @param int $var + * @return $this + */ + public function setAvailabilityDomain($var) + { + GPBUtil::checkInt32($var); + $this->availability_domain = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/Route.php b/Compute/src/V1/Route.php index 9b04741a150..44de523291b 100644 --- a/Compute/src/V1/Route.php +++ b/Compute/src/V1/Route.php @@ -76,7 +76,7 @@ class Route extends \Google\Protobuf\Internal\Message */ private $next_hop_hub = null; /** - * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule + * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. * * Generated from protobuf field optional string next_hop_ilb = 198679901; */ @@ -177,7 +177,7 @@ class Route extends \Google\Protobuf\Internal\Message * @type string $next_hop_hub * [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. * @type string $next_hop_ilb - * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule + * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. * @type string $next_hop_instance * The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ * @type string $next_hop_ip @@ -560,7 +560,7 @@ public function setNextHopHub($var) } /** - * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule + * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. * * Generated from protobuf field optional string next_hop_ilb = 198679901; * @return string @@ -581,7 +581,7 @@ public function clearNextHopIlb() } /** - * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule + * The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. * * Generated from protobuf field optional string next_hop_ilb = 198679901; * @param string $var diff --git a/Compute/src/V1/RouterNatRule.php b/Compute/src/V1/RouterNatRule.php index 3255668d270..777319d547c 100644 --- a/Compute/src/V1/RouterNatRule.php +++ b/Compute/src/V1/RouterNatRule.php @@ -27,7 +27,7 @@ class RouterNatRule extends \Google\Protobuf\Internal\Message */ private $description = null; /** - * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" + * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'` * * Generated from protobuf field optional string match = 103668165; */ @@ -50,7 +50,7 @@ class RouterNatRule extends \Google\Protobuf\Internal\Message * @type string $description * An optional description of this rule. * @type string $match - * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" + * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'` * @type int $rule_number * An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT. * } @@ -133,7 +133,7 @@ public function setDescription($var) } /** - * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" + * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'` * * Generated from protobuf field optional string match = 103668165; * @return string @@ -154,7 +154,7 @@ public function clearMatch() } /** - * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" + * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'` * * Generated from protobuf field optional string match = 103668165; * @param string $var diff --git a/Compute/src/V1/RouterStatus.php b/Compute/src/V1/RouterStatus.php index babc3337f70..b38a5386ab6 100644 --- a/Compute/src/V1/RouterStatus.php +++ b/Compute/src/V1/RouterStatus.php @@ -15,13 +15,13 @@ class RouterStatus extends \Google\Protobuf\Internal\Message { /** - * Best routes for this router's network. + * A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes = 395826693; */ private $best_routes; /** - * Best routes learned by this router. + * A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689; */ @@ -48,9 +48,9 @@ class RouterStatus extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type array<\Google\Cloud\Compute\V1\Route>|\Google\Protobuf\Internal\RepeatedField $best_routes - * Best routes for this router's network. + * A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. * @type array<\Google\Cloud\Compute\V1\Route>|\Google\Protobuf\Internal\RepeatedField $best_routes_for_router - * Best routes learned by this router. + * A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. * @type array<\Google\Cloud\Compute\V1\RouterStatusBgpPeerStatus>|\Google\Protobuf\Internal\RepeatedField $bgp_peer_status * @type array<\Google\Cloud\Compute\V1\RouterStatusNatStatus>|\Google\Protobuf\Internal\RepeatedField $nat_status * @type string $network @@ -63,7 +63,7 @@ public function __construct($data = NULL) { } /** - * Best routes for this router's network. + * A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes = 395826693; * @return \Google\Protobuf\Internal\RepeatedField @@ -74,7 +74,7 @@ public function getBestRoutes() } /** - * Best routes for this router's network. + * A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes = 395826693; * @param array<\Google\Cloud\Compute\V1\Route>|\Google\Protobuf\Internal\RepeatedField $var @@ -89,7 +89,7 @@ public function setBestRoutes($var) } /** - * Best routes learned by this router. + * A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689; * @return \Google\Protobuf\Internal\RepeatedField @@ -100,7 +100,7 @@ public function getBestRoutesForRouter() } /** - * Best routes learned by this router. + * A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. * * Generated from protobuf field repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689; * @param array<\Google\Cloud\Compute\V1\Route>|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Compute/src/V1/Scheduling.php b/Compute/src/V1/Scheduling.php index 6c3bfae08ee..5ee0ced02df 100644 --- a/Compute/src/V1/Scheduling.php +++ b/Compute/src/V1/Scheduling.php @@ -21,6 +21,12 @@ class Scheduling extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional bool automatic_restart = 350821371; */ private $automatic_restart = null; + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + */ + private $availability_domain = null; /** * Specifies the termination action for the instance. * Check the InstanceTerminationAction enum for the list of possible values. @@ -40,6 +46,12 @@ class Scheduling extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string location_hint = 350519505; */ private $location_hint = null; + /** + * Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration max_run_duration = 430839747; + */ + private $max_run_duration = null; /** * The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. * @@ -59,6 +71,10 @@ class Scheduling extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string on_host_maintenance = 64616796; */ private $on_host_maintenance = null; + /** + * Generated from protobuf field optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681; + */ + private $on_instance_stop_action = null; /** * Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. * @@ -72,6 +88,12 @@ class Scheduling extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string provisioning_model = 494423; */ private $provisioning_model = null; + /** + * Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. + * + * Generated from protobuf field optional string termination_time = 428082984; + */ + private $termination_time = null; /** * Constructor. @@ -81,6 +103,8 @@ class Scheduling extends \Google\Protobuf\Internal\Message * * @type bool $automatic_restart * Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. + * @type int $availability_domain + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. * @type string $instance_termination_action * Specifies the termination action for the instance. * Check the InstanceTerminationAction enum for the list of possible values. @@ -88,6 +112,8 @@ class Scheduling extends \Google\Protobuf\Internal\Message * Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour. * @type string $location_hint * An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API. + * @type \Google\Cloud\Compute\V1\Duration $max_run_duration + * Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration. * @type int $min_node_cpus * The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. * @type array<\Google\Cloud\Compute\V1\SchedulingNodeAffinity>|\Google\Protobuf\Internal\RepeatedField $node_affinities @@ -95,11 +121,14 @@ class Scheduling extends \Google\Protobuf\Internal\Message * @type string $on_host_maintenance * Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. * Check the OnHostMaintenance enum for the list of possible values. + * @type \Google\Cloud\Compute\V1\SchedulingOnInstanceStopAction $on_instance_stop_action * @type bool $preemptible * Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. * @type string $provisioning_model * Specifies the provisioning model of the instance. * Check the ProvisioningModel enum for the list of possible values. + * @type string $termination_time + * Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. * } */ public function __construct($data = NULL) { @@ -143,6 +172,42 @@ public function setAutomaticRestart($var) return $this; } + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + * @return int + */ + public function getAvailabilityDomain() + { + return isset($this->availability_domain) ? $this->availability_domain : 0; + } + + public function hasAvailabilityDomain() + { + return isset($this->availability_domain); + } + + public function clearAvailabilityDomain() + { + unset($this->availability_domain); + } + + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + * + * Generated from protobuf field optional int32 availability_domain = 252514344; + * @param int $var + * @return $this + */ + public function setAvailabilityDomain($var) + { + GPBUtil::checkInt32($var); + $this->availability_domain = $var; + + return $this; + } + /** * Specifies the termination action for the instance. * Check the InstanceTerminationAction enum for the list of possible values. @@ -253,6 +318,42 @@ public function setLocationHint($var) return $this; } + /** + * Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration max_run_duration = 430839747; + * @return \Google\Cloud\Compute\V1\Duration|null + */ + public function getMaxRunDuration() + { + return $this->max_run_duration; + } + + public function hasMaxRunDuration() + { + return isset($this->max_run_duration); + } + + public function clearMaxRunDuration() + { + unset($this->max_run_duration); + } + + /** + * Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration. + * + * Generated from protobuf field optional .google.cloud.compute.v1.Duration max_run_duration = 430839747; + * @param \Google\Cloud\Compute\V1\Duration $var + * @return $this + */ + public function setMaxRunDuration($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Duration::class); + $this->max_run_duration = $var; + + return $this; + } + /** * The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. * @@ -353,6 +454,38 @@ public function setOnHostMaintenance($var) return $this; } + /** + * Generated from protobuf field optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681; + * @return \Google\Cloud\Compute\V1\SchedulingOnInstanceStopAction|null + */ + public function getOnInstanceStopAction() + { + return $this->on_instance_stop_action; + } + + public function hasOnInstanceStopAction() + { + return isset($this->on_instance_stop_action); + } + + public function clearOnInstanceStopAction() + { + unset($this->on_instance_stop_action); + } + + /** + * Generated from protobuf field optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681; + * @param \Google\Cloud\Compute\V1\SchedulingOnInstanceStopAction $var + * @return $this + */ + public function setOnInstanceStopAction($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\SchedulingOnInstanceStopAction::class); + $this->on_instance_stop_action = $var; + + return $this; + } + /** * Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. * @@ -427,5 +560,41 @@ public function setProvisioningModel($var) return $this; } + /** + * Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. + * + * Generated from protobuf field optional string termination_time = 428082984; + * @return string + */ + public function getTerminationTime() + { + return isset($this->termination_time) ? $this->termination_time : ''; + } + + public function hasTerminationTime() + { + return isset($this->termination_time); + } + + public function clearTerminationTime() + { + unset($this->termination_time); + } + + /** + * Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time. + * + * Generated from protobuf field optional string termination_time = 428082984; + * @param string $var + * @return $this + */ + public function setTerminationTime($var) + { + GPBUtil::checkString($var, True); + $this->termination_time = $var; + + return $this; + } + } diff --git a/Compute/src/V1/SchedulingOnInstanceStopAction.php b/Compute/src/V1/SchedulingOnInstanceStopAction.php new file mode 100644 index 00000000000..419bcf881df --- /dev/null +++ b/Compute/src/V1/SchedulingOnInstanceStopAction.php @@ -0,0 +1,77 @@ +google.cloud.compute.v1.SchedulingOnInstanceStopAction + */ +class SchedulingOnInstanceStopAction extends \Google\Protobuf\Internal\Message +{ + /** + * If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time. + * + * Generated from protobuf field optional bool discard_local_ssd = 319517903; + */ + private $discard_local_ssd = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $discard_local_ssd + * If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time. + * + * Generated from protobuf field optional bool discard_local_ssd = 319517903; + * @return bool + */ + public function getDiscardLocalSsd() + { + return isset($this->discard_local_ssd) ? $this->discard_local_ssd : false; + } + + public function hasDiscardLocalSsd() + { + return isset($this->discard_local_ssd); + } + + public function clearDiscardLocalSsd() + { + unset($this->discard_local_ssd); + } + + /** + * If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time. + * + * Generated from protobuf field optional bool discard_local_ssd = 319517903; + * @param bool $var + * @return $this + */ + public function setDiscardLocalSsd($var) + { + GPBUtil::checkBool($var); + $this->discard_local_ssd = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.php b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.php index db9dfc1d66e..7cf8da27053 100644 --- a/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.php +++ b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.php @@ -30,12 +30,30 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConf * Generated from protobuf field optional float auto_deploy_load_threshold = 522227738; */ private $auto_deploy_load_threshold = null; + /** + * Generated from protobuf field optional float detection_absolute_qps = 383123174; + */ + private $detection_absolute_qps = null; + /** + * Generated from protobuf field optional float detection_load_threshold = 430499148; + */ + private $detection_load_threshold = null; + /** + * Generated from protobuf field optional float detection_relative_to_baseline_qps = 291343749; + */ + private $detection_relative_to_baseline_qps = null; /** * The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy. * * Generated from protobuf field optional string name = 3373707; */ private $name = null; + /** + * Configuration options for enabling Adaptive Protection to operate on specified granular traffic units. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig traffic_granularity_configs = 85367358; + */ + private $traffic_granularity_configs; /** * Constructor. @@ -47,8 +65,13 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConf * @type int $auto_deploy_expiration_sec * @type float $auto_deploy_impacted_baseline_threshold * @type float $auto_deploy_load_threshold + * @type float $detection_absolute_qps + * @type float $detection_load_threshold + * @type float $detection_relative_to_baseline_qps * @type string $name * The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy. + * @type array<\Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>|\Google\Protobuf\Internal\RepeatedField $traffic_granularity_configs + * Configuration options for enabling Adaptive Protection to operate on specified granular traffic units. * } */ public function __construct($data = NULL) { @@ -184,6 +207,102 @@ public function setAutoDeployLoadThreshold($var) return $this; } + /** + * Generated from protobuf field optional float detection_absolute_qps = 383123174; + * @return float + */ + public function getDetectionAbsoluteQps() + { + return isset($this->detection_absolute_qps) ? $this->detection_absolute_qps : 0.0; + } + + public function hasDetectionAbsoluteQps() + { + return isset($this->detection_absolute_qps); + } + + public function clearDetectionAbsoluteQps() + { + unset($this->detection_absolute_qps); + } + + /** + * Generated from protobuf field optional float detection_absolute_qps = 383123174; + * @param float $var + * @return $this + */ + public function setDetectionAbsoluteQps($var) + { + GPBUtil::checkFloat($var); + $this->detection_absolute_qps = $var; + + return $this; + } + + /** + * Generated from protobuf field optional float detection_load_threshold = 430499148; + * @return float + */ + public function getDetectionLoadThreshold() + { + return isset($this->detection_load_threshold) ? $this->detection_load_threshold : 0.0; + } + + public function hasDetectionLoadThreshold() + { + return isset($this->detection_load_threshold); + } + + public function clearDetectionLoadThreshold() + { + unset($this->detection_load_threshold); + } + + /** + * Generated from protobuf field optional float detection_load_threshold = 430499148; + * @param float $var + * @return $this + */ + public function setDetectionLoadThreshold($var) + { + GPBUtil::checkFloat($var); + $this->detection_load_threshold = $var; + + return $this; + } + + /** + * Generated from protobuf field optional float detection_relative_to_baseline_qps = 291343749; + * @return float + */ + public function getDetectionRelativeToBaselineQps() + { + return isset($this->detection_relative_to_baseline_qps) ? $this->detection_relative_to_baseline_qps : 0.0; + } + + public function hasDetectionRelativeToBaselineQps() + { + return isset($this->detection_relative_to_baseline_qps); + } + + public function clearDetectionRelativeToBaselineQps() + { + unset($this->detection_relative_to_baseline_qps); + } + + /** + * Generated from protobuf field optional float detection_relative_to_baseline_qps = 291343749; + * @param float $var + * @return $this + */ + public function setDetectionRelativeToBaselineQps($var) + { + GPBUtil::checkFloat($var); + $this->detection_relative_to_baseline_qps = $var; + + return $this; + } + /** * The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy. * @@ -220,5 +339,31 @@ public function setName($var) return $this; } + /** + * Configuration options for enabling Adaptive Protection to operate on specified granular traffic units. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig traffic_granularity_configs = 85367358; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getTrafficGranularityConfigs() + { + return $this->traffic_granularity_configs; + } + + /** + * Configuration options for enabling Adaptive Protection to operate on specified granular traffic units. + * + * Generated from protobuf field repeated .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig traffic_granularity_configs = 85367358; + * @param array<\Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setTrafficGranularityConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig::class); + $this->traffic_granularity_configs = $arr; + + return $this; + } + } diff --git a/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php new file mode 100644 index 00000000000..5899c77e3ba --- /dev/null +++ b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php @@ -0,0 +1,169 @@ +google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig + */ +class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig extends \Google\Protobuf\Internal\Message +{ + /** + * If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. + * + * Generated from protobuf field optional bool enable_each_unique_value = 469206341; + */ + private $enable_each_unique_value = null; + /** + * Type of this configuration. + * Check the Type enum for the list of possible values. + * + * Generated from protobuf field optional string type = 3575610; + */ + private $type = null; + /** + * Requests that match this value constitute a granular traffic unit. + * + * Generated from protobuf field optional string value = 111972721; + */ + private $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $enable_each_unique_value + * If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. + * @type string $type + * Type of this configuration. + * Check the Type enum for the list of possible values. + * @type string $value + * Requests that match this value constitute a granular traffic unit. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce(); + parent::__construct($data); + } + + /** + * If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. + * + * Generated from protobuf field optional bool enable_each_unique_value = 469206341; + * @return bool + */ + public function getEnableEachUniqueValue() + { + return isset($this->enable_each_unique_value) ? $this->enable_each_unique_value : false; + } + + public function hasEnableEachUniqueValue() + { + return isset($this->enable_each_unique_value); + } + + public function clearEnableEachUniqueValue() + { + unset($this->enable_each_unique_value); + } + + /** + * If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. + * + * Generated from protobuf field optional bool enable_each_unique_value = 469206341; + * @param bool $var + * @return $this + */ + public function setEnableEachUniqueValue($var) + { + GPBUtil::checkBool($var); + $this->enable_each_unique_value = $var; + + return $this; + } + + /** + * Type of this configuration. + * Check the Type enum for the list of possible values. + * + * Generated from protobuf field optional string type = 3575610; + * @return string + */ + public function getType() + { + return isset($this->type) ? $this->type : ''; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Type of this configuration. + * Check the Type enum for the list of possible values. + * + * Generated from protobuf field optional string type = 3575610; + * @param string $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkString($var, True); + $this->type = $var; + + return $this; + } + + /** + * Requests that match this value constitute a granular traffic unit. + * + * Generated from protobuf field optional string value = 111972721; + * @return string + */ + public function getValue() + { + return isset($this->value) ? $this->value : ''; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Requests that match this value constitute a granular traffic unit. + * + * Generated from protobuf field optional string value = 111972721; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig/Type.php b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig/Type.php new file mode 100644 index 00000000000..b9038d734b3 --- /dev/null +++ b/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig/Type.php @@ -0,0 +1,63 @@ +google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.Type + */ +class Type +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_TYPE = 0; + */ + const UNDEFINED_TYPE = 0; + /** + * Generated from protobuf enum HTTP_HEADER_HOST = 374321891; + */ + const HTTP_HEADER_HOST = 374321891; + /** + * Generated from protobuf enum HTTP_PATH = 311503228; + */ + const HTTP_PATH = 311503228; + /** + * Generated from protobuf enum UNSPECIFIED_TYPE = 53933922; + */ + const UNSPECIFIED_TYPE = 53933922; + + private static $valueToName = [ + self::UNDEFINED_TYPE => 'UNDEFINED_TYPE', + self::HTTP_HEADER_HOST => 'HTTP_HEADER_HOST', + self::HTTP_PATH => 'HTTP_PATH', + self::UNSPECIFIED_TYPE => 'UNSPECIFIED_TYPE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/ServiceAttachment.php b/Compute/src/V1/ServiceAttachment.php index edcf19a0917..bf42e5e81f5 100644 --- a/Compute/src/V1/ServiceAttachment.php +++ b/Compute/src/V1/ServiceAttachment.php @@ -100,6 +100,12 @@ class ServiceAttachment extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string producer_forwarding_rule = 247927889; */ private $producer_forwarding_rule = null; + /** + * The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. + * + * Generated from protobuf field optional uint32 propagated_connection_limit = 332719230; + */ + private $propagated_connection_limit = null; /** * [Output Only] An 128-bit global unique ID of the PSC service attachment. * @@ -166,6 +172,8 @@ class ServiceAttachment extends \Google\Protobuf\Internal\Message * An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment. * @type string $producer_forwarding_rule * The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment. + * @type int $propagated_connection_limit + * The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. * @type \Google\Cloud\Compute\V1\Uint128 $psc_service_attachment_id * [Output Only] An 128-bit global unique ID of the PSC service attachment. * @type bool $reconcile_connections @@ -639,6 +647,42 @@ public function setProducerForwardingRule($var) return $this; } + /** + * The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. + * + * Generated from protobuf field optional uint32 propagated_connection_limit = 332719230; + * @return int + */ + public function getPropagatedConnectionLimit() + { + return isset($this->propagated_connection_limit) ? $this->propagated_connection_limit : 0; + } + + public function hasPropagatedConnectionLimit() + { + return isset($this->propagated_connection_limit); + } + + public function clearPropagatedConnectionLimit() + { + unset($this->propagated_connection_limit); + } + + /** + * The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250. + * + * Generated from protobuf field optional uint32 propagated_connection_limit = 332719230; + * @param int $var + * @return $this + */ + public function setPropagatedConnectionLimit($var) + { + GPBUtil::checkUint32($var); + $this->propagated_connection_limit = $var; + + return $this; + } + /** * [Output Only] An 128-bit global unique ID of the PSC service attachment. * diff --git a/Compute/src/V1/ServiceAttachmentConnectedEndpoint.php b/Compute/src/V1/ServiceAttachmentConnectedEndpoint.php index 4c73e49944b..810321f2893 100644 --- a/Compute/src/V1/ServiceAttachmentConnectedEndpoint.php +++ b/Compute/src/V1/ServiceAttachmentConnectedEndpoint.php @@ -27,6 +27,12 @@ class ServiceAttachmentConnectedEndpoint extends \Google\Protobuf\Internal\Messa * Generated from protobuf field optional string endpoint = 130489749; */ private $endpoint = null; + /** + * The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to. + * + * Generated from protobuf field optional uint32 propagated_connection_count = 324594130; + */ + private $propagated_connection_count = null; /** * The PSC connection id of the connected endpoint. * @@ -51,6 +57,8 @@ class ServiceAttachmentConnectedEndpoint extends \Google\Protobuf\Internal\Messa * The url of the consumer network. * @type string $endpoint * The url of a connected endpoint. + * @type int $propagated_connection_count + * The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to. * @type int|string $psc_connection_id * The PSC connection id of the connected endpoint. * @type string $status @@ -135,6 +143,42 @@ public function setEndpoint($var) return $this; } + /** + * The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to. + * + * Generated from protobuf field optional uint32 propagated_connection_count = 324594130; + * @return int + */ + public function getPropagatedConnectionCount() + { + return isset($this->propagated_connection_count) ? $this->propagated_connection_count : 0; + } + + public function hasPropagatedConnectionCount() + { + return isset($this->propagated_connection_count); + } + + public function clearPropagatedConnectionCount() + { + unset($this->propagated_connection_count); + } + + /** + * The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to. + * + * Generated from protobuf field optional uint32 propagated_connection_count = 324594130; + * @param int $var + * @return $this + */ + public function setPropagatedConnectionCount($var) + { + GPBUtil::checkUint32($var); + $this->propagated_connection_count = $var; + + return $this; + } + /** * The PSC connection id of the connected endpoint. * diff --git a/Compute/src/V1/StoragePool.php b/Compute/src/V1/StoragePool.php index 69212b2834b..3f7a43ad98f 100644 --- a/Compute/src/V1/StoragePool.php +++ b/Compute/src/V1/StoragePool.php @@ -72,7 +72,7 @@ class StoragePool extends \Google\Protobuf\Internal\Message */ private $performance_provisioning_type = null; /** - * Size, in GiB, of the storage pool. + * Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_provisioned_capacity_gb = 478537682; */ @@ -160,7 +160,7 @@ class StoragePool extends \Google\Protobuf\Internal\Message * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. * Check the PerformanceProvisioningType enum for the list of possible values. * @type int|string $pool_provisioned_capacity_gb - * Size, in GiB, of the storage pool. + * Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. * @type int|string $pool_provisioned_iops * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. * @type int|string $pool_provisioned_throughput @@ -506,7 +506,7 @@ public function setPerformanceProvisioningType($var) } /** - * Size, in GiB, of the storage pool. + * Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_provisioned_capacity_gb = 478537682; * @return int|string @@ -527,7 +527,7 @@ public function clearPoolProvisionedCapacityGb() } /** - * Size, in GiB, of the storage pool. + * Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_provisioned_capacity_gb = 478537682; * @param int|string $var diff --git a/Compute/src/V1/StoragePoolResourceStatus.php b/Compute/src/V1/StoragePoolResourceStatus.php index 8dfb231b130..618ee04d90e 100644 --- a/Compute/src/V1/StoragePoolResourceStatus.php +++ b/Compute/src/V1/StoragePoolResourceStatus.php @@ -40,7 +40,7 @@ class StoragePoolResourceStatus extends \Google\Protobuf\Internal\Message */ private $pool_used_capacity_bytes = null; /** - * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. + * [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_used_iops = 99558536; */ @@ -91,7 +91,7 @@ class StoragePoolResourceStatus extends \Google\Protobuf\Internal\Message * @type int|string $pool_used_capacity_bytes * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks. * @type int|string $pool_used_iops - * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. + * [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. * @type int|string $pool_used_throughput * [Output Only] Sum of all the disks' provisioned throughput in MB/s. * @type int|string $pool_user_written_bytes @@ -254,7 +254,7 @@ public function setPoolUsedCapacityBytes($var) } /** - * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. + * [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_used_iops = 99558536; * @return int|string @@ -275,7 +275,7 @@ public function clearPoolUsedIops() } /** - * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. + * [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools. * * Generated from protobuf field optional int64 pool_used_iops = 99558536; * @param int|string $var diff --git a/Compute/src/V1/Subnetwork.php b/Compute/src/V1/Subnetwork.php index a4daacd7fe8..59ef7613be2 100644 --- a/Compute/src/V1/Subnetwork.php +++ b/Compute/src/V1/Subnetwork.php @@ -58,7 +58,7 @@ class Subnetwork extends \Google\Protobuf\Internal\Message */ private $id = null; /** - * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + * The internal IPv6 address range that is owned by this subnetwork. * * Generated from protobuf field optional string internal_ipv6_prefix = 506270056; */ @@ -193,7 +193,7 @@ class Subnetwork extends \Google\Protobuf\Internal\Message * @type int|string $id * [Output Only] The unique identifier for the resource. This identifier is defined by the server. * @type string $internal_ipv6_prefix - * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + * The internal IPv6 address range that is owned by this subnetwork. * @type string $ip_cidr_range * The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. * @type string $ipv6_access_type @@ -494,7 +494,7 @@ public function setId($var) } /** - * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + * The internal IPv6 address range that is owned by this subnetwork. * * Generated from protobuf field optional string internal_ipv6_prefix = 506270056; * @return string @@ -515,7 +515,7 @@ public function clearInternalIpv6Prefix() } /** - * [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + * The internal IPv6 address range that is owned by this subnetwork. * * Generated from protobuf field optional string internal_ipv6_prefix = 506270056; * @param string $var diff --git a/Compute/src/V1/Subnetwork/StackType.php b/Compute/src/V1/Subnetwork/StackType.php index 35716498827..2d8a2f456cb 100644 --- a/Compute/src/V1/Subnetwork/StackType.php +++ b/Compute/src/V1/Subnetwork/StackType.php @@ -31,6 +31,12 @@ class StackType * Generated from protobuf enum IPV4_ONLY = 22373798; */ const IPV4_ONLY = 22373798; + /** + * New VMs in this subnet will only be assigned IPv6 addresses. + * + * Generated from protobuf enum IPV6_ONLY = 79632100; + */ + const IPV6_ONLY = 79632100; /** * Generated from protobuf enum UNSPECIFIED_STACK_TYPE = 298084569; */ @@ -40,6 +46,7 @@ class StackType self::UNDEFINED_STACK_TYPE => 'UNDEFINED_STACK_TYPE', self::IPV4_IPV6 => 'IPV4_IPV6', self::IPV4_ONLY => 'IPV4_ONLY', + self::IPV6_ONLY => 'IPV6_ONLY', self::UNSPECIFIED_STACK_TYPE => 'UNSPECIFIED_STACK_TYPE', ]; diff --git a/Compute/src/V1/TargetHttpsProxy.php b/Compute/src/V1/TargetHttpsProxy.php index 5041816e0da..58b66f8e6f8 100644 --- a/Compute/src/V1/TargetHttpsProxy.php +++ b/Compute/src/V1/TargetHttpsProxy.php @@ -22,7 +22,7 @@ class TargetHttpsProxy extends \Google\Protobuf\Internal\Message */ private $authorization_policy = null; /** - * 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}. + * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for Global external Application Load Balancer or Classic Application Load Balancer. For other products use Certificate Manager Certificates instead. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. * * Generated from protobuf field optional string certificate_map = 156463796; */ @@ -101,7 +101,7 @@ class TargetHttpsProxy extends \Google\Protobuf\Internal\Message */ private $server_tls_policy = null; /** - * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. * * Generated from protobuf field repeated string ssl_certificates = 366006543; */ @@ -112,6 +112,13 @@ class TargetHttpsProxy extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string ssl_policy = 295190213; */ private $ssl_policy = null; + /** + * Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted for this service. Early Data allows a TLS resumption handshake to include the initial application payload (a HTTP request) alongside the handshake, reducing the effective round trips to "zero". This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application performance, especially on networks where interruptions may be common, such as on mobile. Requests with Early Data will have the "Early-Data" HTTP header set on the request, with a value of "1", to allow the backend to determine whether Early Data was included. Note: TLS Early Data may allow requests to be replayed, as the data is sent to the backend before the handshake has fully completed. Applications that allow idempotent HTTP methods to make non-idempotent changes, such as a GET request updating a database, should not accept Early Data on those requests, and reject requests with the "Early-Data: 1" HTTP header by returning a HTTP 425 (Too Early) status code, in order to remain RFC compliant. The default value is DISABLED. + * Check the TlsEarlyData enum for the list of possible values. + * + * Generated from protobuf field optional string tls_early_data = 61108426; + */ + private $tls_early_data = null; /** * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map * @@ -128,7 +135,7 @@ class TargetHttpsProxy extends \Google\Protobuf\Internal\Message * @type string $authorization_policy * Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. * @type string $certificate_map - * 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}. + * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for Global external Application Load Balancer or Classic Application Load Balancer. For other products use Certificate Manager Certificates instead. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. * @type string $creation_timestamp * [Output Only] Creation timestamp in RFC3339 text format. * @type string $description @@ -155,9 +162,12 @@ class TargetHttpsProxy extends \Google\Protobuf\Internal\Message * @type string $server_tls_policy * Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. * @type array|\Google\Protobuf\Internal\RepeatedField $ssl_certificates - * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. * @type string $ssl_policy * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured. + * @type string $tls_early_data + * Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted for this service. Early Data allows a TLS resumption handshake to include the initial application payload (a HTTP request) alongside the handshake, reducing the effective round trips to "zero". This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application performance, especially on networks where interruptions may be common, such as on mobile. Requests with Early Data will have the "Early-Data" HTTP header set on the request, with a value of "1", to allow the backend to determine whether Early Data was included. Note: TLS Early Data may allow requests to be replayed, as the data is sent to the backend before the handshake has fully completed. Applications that allow idempotent HTTP methods to make non-idempotent changes, such as a GET request updating a database, should not accept Early Data on those requests, and reject requests with the "Early-Data: 1" HTTP header by returning a HTTP 425 (Too Early) status code, in order to remain RFC compliant. The default value is DISABLED. + * Check the TlsEarlyData enum for the list of possible values. * @type string $url_map * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map * } @@ -204,7 +214,7 @@ public function setAuthorizationPolicy($var) } /** - * 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}. + * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for Global external Application Load Balancer or Classic Application Load Balancer. For other products use Certificate Manager Certificates instead. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. * * Generated from protobuf field optional string certificate_map = 156463796; * @return string @@ -225,7 +235,7 @@ public function clearCertificateMap() } /** - * 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}. + * URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for Global external Application Load Balancer or Classic Application Load Balancer. For other products use Certificate Manager Certificates instead. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. * * Generated from protobuf field optional string certificate_map = 156463796; * @param string $var @@ -674,7 +684,7 @@ public function setServerTlsPolicy($var) } /** - * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. * * Generated from protobuf field repeated string ssl_certificates = 366006543; * @return \Google\Protobuf\Internal\RepeatedField @@ -685,7 +695,7 @@ public function getSslCertificates() } /** - * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. * * Generated from protobuf field repeated string ssl_certificates = 366006543; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -735,6 +745,44 @@ public function setSslPolicy($var) return $this; } + /** + * Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted for this service. Early Data allows a TLS resumption handshake to include the initial application payload (a HTTP request) alongside the handshake, reducing the effective round trips to "zero". This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application performance, especially on networks where interruptions may be common, such as on mobile. Requests with Early Data will have the "Early-Data" HTTP header set on the request, with a value of "1", to allow the backend to determine whether Early Data was included. Note: TLS Early Data may allow requests to be replayed, as the data is sent to the backend before the handshake has fully completed. Applications that allow idempotent HTTP methods to make non-idempotent changes, such as a GET request updating a database, should not accept Early Data on those requests, and reject requests with the "Early-Data: 1" HTTP header by returning a HTTP 425 (Too Early) status code, in order to remain RFC compliant. The default value is DISABLED. + * Check the TlsEarlyData enum for the list of possible values. + * + * Generated from protobuf field optional string tls_early_data = 61108426; + * @return string + */ + public function getTlsEarlyData() + { + return isset($this->tls_early_data) ? $this->tls_early_data : ''; + } + + public function hasTlsEarlyData() + { + return isset($this->tls_early_data); + } + + public function clearTlsEarlyData() + { + unset($this->tls_early_data); + } + + /** + * Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted for this service. Early Data allows a TLS resumption handshake to include the initial application payload (a HTTP request) alongside the handshake, reducing the effective round trips to "zero". This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application performance, especially on networks where interruptions may be common, such as on mobile. Requests with Early Data will have the "Early-Data" HTTP header set on the request, with a value of "1", to allow the backend to determine whether Early Data was included. Note: TLS Early Data may allow requests to be replayed, as the data is sent to the backend before the handshake has fully completed. Applications that allow idempotent HTTP methods to make non-idempotent changes, such as a GET request updating a database, should not accept Early Data on those requests, and reject requests with the "Early-Data: 1" HTTP header by returning a HTTP 425 (Too Early) status code, in order to remain RFC compliant. The default value is DISABLED. + * Check the TlsEarlyData enum for the list of possible values. + * + * Generated from protobuf field optional string tls_early_data = 61108426; + * @param string $var + * @return $this + */ + public function setTlsEarlyData($var) + { + GPBUtil::checkString($var, True); + $this->tls_early_data = $var; + + return $this; + } + /** * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map * diff --git a/Compute/src/V1/TargetHttpsProxy/TlsEarlyData.php b/Compute/src/V1/TargetHttpsProxy/TlsEarlyData.php new file mode 100644 index 00000000000..597594335f9 --- /dev/null +++ b/Compute/src/V1/TargetHttpsProxy/TlsEarlyData.php @@ -0,0 +1,69 @@ +google.cloud.compute.v1.TargetHttpsProxy.TlsEarlyData + */ +class TlsEarlyData +{ + /** + * A value indicating that the enum field is not set. + * + * Generated from protobuf enum UNDEFINED_TLS_EARLY_DATA = 0; + */ + const UNDEFINED_TLS_EARLY_DATA = 0; + /** + * TLS 1.3 Early Data is not advertised, and any (invalid) attempts to send Early Data will be rejected by closing the connection. + * + * Generated from protobuf enum DISABLED = 516696700; + */ + const DISABLED = 516696700; + /** + * This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE). This mode does not enforce any other limitations for requests with Early Data. The application owner should validate that Early Data is acceptable for a given request path. + * + * Generated from protobuf enum PERMISSIVE = 504345247; + */ + const PERMISSIVE = 504345247; + /** + * This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query parameters. Requests that send Early Data with non-idempotent HTTP methods or with query parameters will be rejected with a HTTP 425. + * + * Generated from protobuf enum STRICT = 308826825; + */ + const STRICT = 308826825; + + private static $valueToName = [ + self::UNDEFINED_TLS_EARLY_DATA => 'UNDEFINED_TLS_EARLY_DATA', + self::DISABLED => 'DISABLED', + self::PERMISSIVE => 'PERMISSIVE', + self::STRICT => 'STRICT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + + diff --git a/Compute/src/V1/TargetPool/SessionAffinity.php b/Compute/src/V1/TargetPool/SessionAffinity.php index 684ca5ad240..cbccd93dcce 100644 --- a/Compute/src/V1/TargetPool/SessionAffinity.php +++ b/Compute/src/V1/TargetPool/SessionAffinity.php @@ -67,6 +67,12 @@ class SessionAffinity * Generated from protobuf enum NONE = 2402104; */ const NONE = 2402104; + /** + * Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired. + * + * Generated from protobuf enum STRONG_COOKIE_AFFINITY = 438628091; + */ + const STRONG_COOKIE_AFFINITY = 438628091; private static $valueToName = [ self::UNDEFINED_SESSION_AFFINITY => 'UNDEFINED_SESSION_AFFINITY', @@ -78,6 +84,7 @@ class SessionAffinity self::HEADER_FIELD => 'HEADER_FIELD', self::HTTP_COOKIE => 'HTTP_COOKIE', self::NONE => 'NONE', + self::STRONG_COOKIE_AFFINITY => 'STRONG_COOKIE_AFFINITY', ]; public static function name($value) diff --git a/Compute/src/V1/UrlMap.php b/Compute/src/V1/UrlMap.php index 8d9315562a9..96cd3660d52 100644 --- a/Compute/src/V1/UrlMap.php +++ b/Compute/src/V1/UrlMap.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. + * Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL, EXTERNAL_MANAGED, or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. * * Generated from protobuf message google.cloud.compute.v1.UrlMap */ @@ -21,6 +21,12 @@ class UrlMap extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional string creation_timestamp = 30525366; */ private $creation_timestamp = null; + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + */ + private $default_custom_error_response_policy = null; /** * defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * @@ -28,7 +34,7 @@ class UrlMap extends \Google\Protobuf\Internal\Message */ private $default_route_action = null; /** - * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * * Generated from protobuf field optional string default_service = 370242231; */ @@ -114,10 +120,12 @@ class UrlMap extends \Google\Protobuf\Internal\Message * * @type string $creation_timestamp * [Output Only] Creation timestamp in RFC3339 text format. + * @type \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $default_custom_error_response_policy + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. * @type \Google\Cloud\Compute\V1\HttpRouteAction $default_route_action * defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * @type string $default_service - * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * @type \Google\Cloud\Compute\V1\HttpRedirectAction $default_url_redirect * When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. * @type string $description @@ -185,6 +193,42 @@ public function setCreationTimestamp($var) return $this; } + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + * @return \Google\Cloud\Compute\V1\CustomErrorResponsePolicy|null + */ + public function getDefaultCustomErrorResponsePolicy() + { + return $this->default_custom_error_response_policy; + } + + public function hasDefaultCustomErrorResponsePolicy() + { + return isset($this->default_custom_error_response_policy); + } + + public function clearDefaultCustomErrorResponsePolicy() + { + unset($this->default_custom_error_response_policy); + } + + /** + * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers. + * + * Generated from protobuf field optional .google.cloud.compute.v1.CustomErrorResponsePolicy default_custom_error_response_policy = 81266089; + * @param \Google\Cloud\Compute\V1\CustomErrorResponsePolicy $var + * @return $this + */ + public function setDefaultCustomErrorResponsePolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CustomErrorResponsePolicy::class); + $this->default_custom_error_response_policy = $var; + + return $this; + } + /** * defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * @@ -222,7 +266,7 @@ public function setDefaultRouteAction($var) } /** - * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * * Generated from protobuf field optional string default_service = 370242231; * @return string @@ -243,7 +287,7 @@ public function clearDefaultService() } /** - * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. * * Generated from protobuf field optional string default_service = 370242231; * @param string $var diff --git a/Compute/src/V1/UsableSubnetwork/StackType.php b/Compute/src/V1/UsableSubnetwork/StackType.php index d196ba2e12e..87d458ded8c 100644 --- a/Compute/src/V1/UsableSubnetwork/StackType.php +++ b/Compute/src/V1/UsableSubnetwork/StackType.php @@ -31,11 +31,18 @@ class StackType * Generated from protobuf enum IPV4_ONLY = 22373798; */ const IPV4_ONLY = 22373798; + /** + * New VMs in this subnet will only be assigned IPv6 addresses. + * + * Generated from protobuf enum IPV6_ONLY = 79632100; + */ + const IPV6_ONLY = 79632100; private static $valueToName = [ self::UNDEFINED_STACK_TYPE => 'UNDEFINED_STACK_TYPE', self::IPV4_IPV6 => 'IPV4_IPV6', self::IPV4_ONLY => 'IPV4_ONLY', + self::IPV6_ONLY => 'IPV6_ONLY', ]; public static function name($value) diff --git a/Compute/src/V1/VpnGateway.php b/Compute/src/V1/VpnGateway.php index 997c65b32a8..a708dff9b77 100644 --- a/Compute/src/V1/VpnGateway.php +++ b/Compute/src/V1/VpnGateway.php @@ -83,7 +83,7 @@ class VpnGateway extends \Google\Protobuf\Internal\Message */ private $self_link = null; /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. * Check the StackType enum for the list of possible values. * * Generated from protobuf field optional string stack_type = 425908881; @@ -126,7 +126,7 @@ class VpnGateway extends \Google\Protobuf\Internal\Message * @type string $self_link * [Output Only] Server-defined URL for the resource. * @type string $stack_type - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. * Check the StackType enum for the list of possible values. * @type array<\Google\Cloud\Compute\V1\VpnGatewayVpnGatewayInterface>|\Google\Protobuf\Internal\RepeatedField $vpn_interfaces * The list of VPN interfaces associated with this VPN gateway. @@ -526,7 +526,7 @@ public function setSelfLink($var) } /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. * Check the StackType enum for the list of possible values. * * Generated from protobuf field optional string stack_type = 425908881; @@ -548,7 +548,7 @@ public function clearStackType() } /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. * Check the StackType enum for the list of possible values. * * Generated from protobuf field optional string stack_type = 425908881; diff --git a/Compute/src/V1/VpnGateway/StackType.php b/Compute/src/V1/VpnGateway/StackType.php index cc20747a7dc..d672cbc2762 100644 --- a/Compute/src/V1/VpnGateway/StackType.php +++ b/Compute/src/V1/VpnGateway/StackType.php @@ -7,7 +7,7 @@ use UnexpectedValueException; /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. * * Protobuf type google.cloud.compute.v1.VpnGateway.StackType */ @@ -31,11 +31,18 @@ class StackType * Generated from protobuf enum IPV4_ONLY = 22373798; */ const IPV4_ONLY = 22373798; + /** + * Enable VPN gateway with only IPv6 protocol. + * + * Generated from protobuf enum IPV6_ONLY = 79632100; + */ + const IPV6_ONLY = 79632100; private static $valueToName = [ self::UNDEFINED_STACK_TYPE => 'UNDEFINED_STACK_TYPE', self::IPV4_IPV6 => 'IPV4_IPV6', self::IPV4_ONLY => 'IPV4_ONLY', + self::IPV6_ONLY => 'IPV6_ONLY', ]; public static function name($value) diff --git a/Compute/src/V1/VpnTunnel.php b/Compute/src/V1/VpnTunnel.php index 1ed69b1b4af..c22c7d03dd6 100644 --- a/Compute/src/V1/VpnTunnel.php +++ b/Compute/src/V1/VpnTunnel.php @@ -64,7 +64,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message */ private $labels; /** - * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. + * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string local_traffic_selector = 317314613; */ @@ -94,7 +94,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message */ private $peer_gcp_gateway = null; /** - * IP address of the peer VPN gateway. Only IPv4 is supported. + * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string peer_ip = 383249700; */ @@ -106,7 +106,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message */ private $region = null; /** - * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string remote_traffic_selector = 358887098; */ @@ -143,7 +143,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message */ private $status = null; /** - * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string target_vpn_gateway = 532512843; */ @@ -184,7 +184,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message * @type array|\Google\Protobuf\Internal\MapField $labels * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. * @type array|\Google\Protobuf\Internal\RepeatedField $local_traffic_selector - * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. + * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * @type string $name * 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. * @type string $peer_external_gateway @@ -194,11 +194,11 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message * @type string $peer_gcp_gateway * URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway. * @type string $peer_ip - * IP address of the peer VPN gateway. Only IPv4 is supported. + * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. * @type string $region * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. * @type array|\Google\Protobuf\Internal\RepeatedField $remote_traffic_selector - * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * @type string $router * URL of the router resource to be used for dynamic routing. * @type string $self_link @@ -211,7 +211,7 @@ class VpnTunnel extends \Google\Protobuf\Internal\Message * [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. * Check the Status enum for the list of possible values. * @type string $target_vpn_gateway - * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. * @type string $vpn_gateway * URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created. * @type int $vpn_gateway_interface @@ -502,7 +502,7 @@ public function setLabels($var) } /** - * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. + * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string local_traffic_selector = 317314613; * @return \Google\Protobuf\Internal\RepeatedField @@ -513,7 +513,7 @@ public function getLocalTrafficSelector() } /** - * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. + * Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string local_traffic_selector = 317314613; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -672,7 +672,7 @@ public function setPeerGcpGateway($var) } /** - * IP address of the peer VPN gateway. Only IPv4 is supported. + * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string peer_ip = 383249700; * @return string @@ -693,7 +693,7 @@ public function clearPeerIp() } /** - * IP address of the peer VPN gateway. Only IPv4 is supported. + * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string peer_ip = 383249700; * @param string $var @@ -744,7 +744,7 @@ public function setRegion($var) } /** - * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string remote_traffic_selector = 358887098; * @return \Google\Protobuf\Internal\RepeatedField @@ -755,7 +755,7 @@ public function getRemoteTrafficSelector() } /** - * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + * Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels. * * Generated from protobuf field repeated string remote_traffic_selector = 358887098; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -952,7 +952,7 @@ public function setStatus($var) } /** - * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string target_vpn_gateway = 532512843; * @return string @@ -973,7 +973,7 @@ public function clearTargetVpnGateway() } /** - * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels. * * Generated from protobuf field optional string target_vpn_gateway = 532512843; * @param string $var diff --git a/Compute/src/V1/WaitGlobalOperationRequest.php b/Compute/src/V1/WaitGlobalOperationRequest.php index f1729233bb8..95107919ebf 100644 --- a/Compute/src/V1/WaitGlobalOperationRequest.php +++ b/Compute/src/V1/WaitGlobalOperationRequest.php @@ -16,7 +16,7 @@ class WaitGlobalOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -30,7 +30,7 @@ class WaitGlobalOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\WaitGlobalOperationRequest * @@ -50,7 +50,7 @@ public static function build(string $project, string $operation): self * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * } @@ -61,7 +61,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -72,7 +72,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/WaitRegionOperationRequest.php b/Compute/src/V1/WaitRegionOperationRequest.php index 6e065f9d0b1..86b96744ccb 100644 --- a/Compute/src/V1/WaitRegionOperationRequest.php +++ b/Compute/src/V1/WaitRegionOperationRequest.php @@ -16,7 +16,7 @@ class WaitRegionOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -37,7 +37,7 @@ class WaitRegionOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $region Name of the region for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\WaitRegionOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $region, string $operation) * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $region @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/WaitZoneOperationRequest.php b/Compute/src/V1/WaitZoneOperationRequest.php index c14adb3636f..6a2f5974646 100644 --- a/Compute/src/V1/WaitZoneOperationRequest.php +++ b/Compute/src/V1/WaitZoneOperationRequest.php @@ -16,7 +16,7 @@ class WaitZoneOperationRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; */ @@ -37,7 +37,7 @@ class WaitZoneOperationRequest extends \Google\Protobuf\Internal\Message /** * @param string $project Project ID for this request. * @param string $zone Name of the zone for this request. - * @param string $operation Name of the Operations resource to return. + * @param string $operation Name of the Operations resource to return, or its unique numeric identifier. * * @return \Google\Cloud\Compute\V1\WaitZoneOperationRequest * @@ -58,7 +58,7 @@ public static function build(string $project, string $zone, string $operation): * Optional. Data for populating the Message object. * * @type string $operation - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * @type string $project * Project ID for this request. * @type string $zone @@ -71,7 +71,7 @@ public function __construct($data = NULL) { } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -82,7 +82,7 @@ public function getOperation() } /** - * Name of the Operations resource to return. + * Name of the Operations resource to return, or its unique numeric identifier. * * Generated from protobuf field string operation = 52090215 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Compute/src/V1/WeightedBackendService.php b/Compute/src/V1/WeightedBackendService.php index 651414a1bf4..377b8102f99 100644 --- a/Compute/src/V1/WeightedBackendService.php +++ b/Compute/src/V1/WeightedBackendService.php @@ -28,7 +28,7 @@ class WeightedBackendService extends \Google\Protobuf\Internal\Message */ private $header_action = null; /** - * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. + * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. * * Generated from protobuf field optional uint32 weight = 282149496; */ @@ -45,7 +45,7 @@ class WeightedBackendService extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Compute\V1\HttpHeaderAction $header_action * Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. * @type int $weight - * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. + * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. * } */ public function __construct($data = NULL) { @@ -126,7 +126,7 @@ public function setHeaderAction($var) } /** - * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. + * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. * * Generated from protobuf field optional uint32 weight = 282149496; * @return int @@ -147,7 +147,7 @@ public function clearWeight() } /** - * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. + * Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000. * * Generated from protobuf field optional uint32 weight = 282149496; * @param int $var diff --git a/Compute/src/V1/Zone.php b/Compute/src/V1/Zone.php index c092a15fde1..50344d8f043 100644 --- a/Compute/src/V1/Zone.php +++ b/Compute/src/V1/Zone.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones. + * Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-b is located in the us-east1 region. For more information, read Regions and Zones. * * Generated from protobuf message google.cloud.compute.v1.Zone */ diff --git a/Compute/tests/Unit/V1/BackendServicesClientTest.php b/Compute/tests/Unit/V1/BackendServicesClientTest.php index 50c55891e36..1e7e20ad978 100644 --- a/Compute/tests/Unit/V1/BackendServicesClientTest.php +++ b/Compute/tests/Unit/V1/BackendServicesClientTest.php @@ -517,6 +517,7 @@ public function getTest() $enableCDN = false; $fingerprint = 'fingerprint-1375934236'; $id = 3355; + $ipAddressSelectionPolicy = 'ipAddressSelectionPolicy614471752'; $kind = 'kind3292052'; $loadBalancingScheme = 'loadBalancingScheme1974502980'; $localityLbPolicy = 'localityLbPolicy-2016052161'; @@ -540,6 +541,7 @@ public function getTest() $expectedResponse->setEnableCDN($enableCDN); $expectedResponse->setFingerprint($fingerprint); $expectedResponse->setId($id); + $expectedResponse->setIpAddressSelectionPolicy($ipAddressSelectionPolicy); $expectedResponse->setKind($kind); $expectedResponse->setLoadBalancingScheme($loadBalancingScheme); $expectedResponse->setLocalityLbPolicy($localityLbPolicy); diff --git a/Compute/tests/Unit/V1/Client/BackendServicesClientTest.php b/Compute/tests/Unit/V1/Client/BackendServicesClientTest.php index e23414dcfd3..93120a38738 100644 --- a/Compute/tests/Unit/V1/Client/BackendServicesClientTest.php +++ b/Compute/tests/Unit/V1/Client/BackendServicesClientTest.php @@ -559,6 +559,7 @@ public function getTest() $enableCDN = false; $fingerprint = 'fingerprint-1375934236'; $id = 3355; + $ipAddressSelectionPolicy = 'ipAddressSelectionPolicy614471752'; $kind = 'kind3292052'; $loadBalancingScheme = 'loadBalancingScheme1974502980'; $localityLbPolicy = 'localityLbPolicy-2016052161'; @@ -582,6 +583,7 @@ public function getTest() $expectedResponse->setEnableCDN($enableCDN); $expectedResponse->setFingerprint($fingerprint); $expectedResponse->setId($id); + $expectedResponse->setIpAddressSelectionPolicy($ipAddressSelectionPolicy); $expectedResponse->setKind($kind); $expectedResponse->setLoadBalancingScheme($loadBalancingScheme); $expectedResponse->setLocalityLbPolicy($localityLbPolicy); diff --git a/Compute/tests/Unit/V1/Client/DisksClientTest.php b/Compute/tests/Unit/V1/Client/DisksClientTest.php index 2fdef39b91a..cb7b35cce77 100644 --- a/Compute/tests/Unit/V1/Client/DisksClientTest.php +++ b/Compute/tests/Unit/V1/Client/DisksClientTest.php @@ -704,6 +704,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $accessMode = 'accessMode-1032586338'; $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; @@ -740,6 +741,7 @@ public function getTest() $type = 'type3575610'; $zone2 = 'zone2-696322977'; $expectedResponse = new Disk(); + $expectedResponse->setAccessMode($accessMode); $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); diff --git a/Compute/tests/Unit/V1/Client/InstanceGroupManagersClientTest.php b/Compute/tests/Unit/V1/Client/InstanceGroupManagersClientTest.php index ac07cd22d5c..4c8d9b0d203 100644 --- a/Compute/tests/Unit/V1/Client/InstanceGroupManagersClientTest.php +++ b/Compute/tests/Unit/V1/Client/InstanceGroupManagersClientTest.php @@ -993,6 +993,8 @@ public function getTest() $listManagedInstancesResults = 'listManagedInstancesResults832918068'; $name = 'name3373707'; $region = 'region-934795532'; + $satisfiesPzi = false; + $satisfiesPzs = false; $selfLink = 'selfLink-1691268851'; $targetSize = 2084603409; $zone2 = 'zone2-696322977'; @@ -1008,6 +1010,8 @@ public function getTest() $expectedResponse->setListManagedInstancesResults($listManagedInstancesResults); $expectedResponse->setName($name); $expectedResponse->setRegion($region); + $expectedResponse->setSatisfiesPzi($satisfiesPzi); + $expectedResponse->setSatisfiesPzs($satisfiesPzs); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetSize($targetSize); $expectedResponse->setZone($zone2); diff --git a/Compute/tests/Unit/V1/Client/MachineTypesClientTest.php b/Compute/tests/Unit/V1/Client/MachineTypesClientTest.php index 744aa675fb1..8dcc2fda5ad 100644 --- a/Compute/tests/Unit/V1/Client/MachineTypesClientTest.php +++ b/Compute/tests/Unit/V1/Client/MachineTypesClientTest.php @@ -153,6 +153,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; $guestCpus = 1754126894; @@ -167,6 +168,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $zone2 = 'zone2-696322977'; $expectedResponse = new MachineType(); + $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); $expectedResponse->setGuestCpus($guestCpus); diff --git a/Compute/tests/Unit/V1/Client/RegionBackendServicesClientTest.php b/Compute/tests/Unit/V1/Client/RegionBackendServicesClientTest.php index 429a8fafd7b..c0a5325cf8a 100644 --- a/Compute/tests/Unit/V1/Client/RegionBackendServicesClientTest.php +++ b/Compute/tests/Unit/V1/Client/RegionBackendServicesClientTest.php @@ -228,6 +228,7 @@ public function getTest() $enableCDN = false; $fingerprint = 'fingerprint-1375934236'; $id = 3355; + $ipAddressSelectionPolicy = 'ipAddressSelectionPolicy614471752'; $kind = 'kind3292052'; $loadBalancingScheme = 'loadBalancingScheme1974502980'; $localityLbPolicy = 'localityLbPolicy-2016052161'; @@ -251,6 +252,7 @@ public function getTest() $expectedResponse->setEnableCDN($enableCDN); $expectedResponse->setFingerprint($fingerprint); $expectedResponse->setId($id); + $expectedResponse->setIpAddressSelectionPolicy($ipAddressSelectionPolicy); $expectedResponse->setKind($kind); $expectedResponse->setLoadBalancingScheme($loadBalancingScheme); $expectedResponse->setLocalityLbPolicy($localityLbPolicy); diff --git a/Compute/tests/Unit/V1/Client/RegionCommitmentsClientTest.php b/Compute/tests/Unit/V1/Client/RegionCommitmentsClientTest.php index 5a509153c42..d3b4847fa69 100644 --- a/Compute/tests/Unit/V1/Client/RegionCommitmentsClientTest.php +++ b/Compute/tests/Unit/V1/Client/RegionCommitmentsClientTest.php @@ -162,6 +162,7 @@ public function getTest() $autoRenew = false; $category = 'category50511102'; $creationTimestamp = 'creationTimestamp567396278'; + $customEndTimestamp = 'customEndTimestamp-1965712796'; $description = 'description-1724546052'; $endTimestamp = 'endTimestamp1004967602'; $id = 3355; @@ -179,6 +180,7 @@ public function getTest() $expectedResponse->setAutoRenew($autoRenew); $expectedResponse->setCategory($category); $expectedResponse->setCreationTimestamp($creationTimestamp); + $expectedResponse->setCustomEndTimestamp($customEndTimestamp); $expectedResponse->setDescription($description); $expectedResponse->setEndTimestamp($endTimestamp); $expectedResponse->setId($id); diff --git a/Compute/tests/Unit/V1/Client/RegionDisksClientTest.php b/Compute/tests/Unit/V1/Client/RegionDisksClientTest.php index 944e3b410b7..69f49293dcc 100644 --- a/Compute/tests/Unit/V1/Client/RegionDisksClientTest.php +++ b/Compute/tests/Unit/V1/Client/RegionDisksClientTest.php @@ -622,6 +622,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $accessMode = 'accessMode-1032586338'; $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; @@ -658,6 +659,7 @@ public function getTest() $type = 'type3575610'; $zone = 'zone3744684'; $expectedResponse = new Disk(); + $expectedResponse->setAccessMode($accessMode); $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); diff --git a/Compute/tests/Unit/V1/Client/RegionInstanceGroupManagersClientTest.php b/Compute/tests/Unit/V1/Client/RegionInstanceGroupManagersClientTest.php index 6a385097d20..61fa103be17 100644 --- a/Compute/tests/Unit/V1/Client/RegionInstanceGroupManagersClientTest.php +++ b/Compute/tests/Unit/V1/Client/RegionInstanceGroupManagersClientTest.php @@ -911,6 +911,8 @@ public function getTest() $listManagedInstancesResults = 'listManagedInstancesResults832918068'; $name = 'name3373707'; $region2 = 'region2-690338393'; + $satisfiesPzi = false; + $satisfiesPzs = false; $selfLink = 'selfLink-1691268851'; $targetSize = 2084603409; $zone = 'zone3744684'; @@ -926,6 +928,8 @@ public function getTest() $expectedResponse->setListManagedInstancesResults($listManagedInstancesResults); $expectedResponse->setName($name); $expectedResponse->setRegion($region2); + $expectedResponse->setSatisfiesPzi($satisfiesPzi); + $expectedResponse->setSatisfiesPzs($satisfiesPzs); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetSize($targetSize); $expectedResponse->setZone($zone); diff --git a/Compute/tests/Unit/V1/Client/RegionTargetHttpsProxiesClientTest.php b/Compute/tests/Unit/V1/Client/RegionTargetHttpsProxiesClientTest.php index d797873f799..834ce229f90 100644 --- a/Compute/tests/Unit/V1/Client/RegionTargetHttpsProxiesClientTest.php +++ b/Compute/tests/Unit/V1/Client/RegionTargetHttpsProxiesClientTest.php @@ -224,6 +224,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $serverTlsPolicy = 'serverTlsPolicy1906438002'; $sslPolicy = 'sslPolicy-1852293435'; + $tlsEarlyData = 'tlsEarlyData-1549504310'; $urlMap = 'urlMap-169850228'; $expectedResponse = new TargetHttpsProxy(); $expectedResponse->setAuthorizationPolicy($authorizationPolicy); @@ -241,6 +242,7 @@ public function getTest() $expectedResponse->setSelfLink($selfLink); $expectedResponse->setServerTlsPolicy($serverTlsPolicy); $expectedResponse->setSslPolicy($sslPolicy); + $expectedResponse->setTlsEarlyData($tlsEarlyData); $expectedResponse->setUrlMap($urlMap); $transport->addResponse($expectedResponse); // Mock request diff --git a/Compute/tests/Unit/V1/Client/ServiceAttachmentsClientTest.php b/Compute/tests/Unit/V1/Client/ServiceAttachmentsClientTest.php index 79726cadf3a..87aa08bcb61 100644 --- a/Compute/tests/Unit/V1/Client/ServiceAttachmentsClientTest.php +++ b/Compute/tests/Unit/V1/Client/ServiceAttachmentsClientTest.php @@ -303,6 +303,7 @@ public function getTest() $kind = 'kind3292052'; $name = 'name3373707'; $producerForwardingRule = 'producerForwardingRule-825813935'; + $propagatedConnectionLimit = 1814764418; $reconcileConnections = true; $region2 = 'region2-690338393'; $selfLink = 'selfLink-1691268851'; @@ -317,6 +318,7 @@ public function getTest() $expectedResponse->setKind($kind); $expectedResponse->setName($name); $expectedResponse->setProducerForwardingRule($producerForwardingRule); + $expectedResponse->setPropagatedConnectionLimit($propagatedConnectionLimit); $expectedResponse->setReconcileConnections($reconcileConnections); $expectedResponse->setRegion($region2); $expectedResponse->setSelfLink($selfLink); diff --git a/Compute/tests/Unit/V1/Client/TargetHttpsProxiesClientTest.php b/Compute/tests/Unit/V1/Client/TargetHttpsProxiesClientTest.php index ebffedbec52..6eeee417a31 100644 --- a/Compute/tests/Unit/V1/Client/TargetHttpsProxiesClientTest.php +++ b/Compute/tests/Unit/V1/Client/TargetHttpsProxiesClientTest.php @@ -305,6 +305,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $serverTlsPolicy = 'serverTlsPolicy1906438002'; $sslPolicy = 'sslPolicy-1852293435'; + $tlsEarlyData = 'tlsEarlyData-1549504310'; $urlMap = 'urlMap-169850228'; $expectedResponse = new TargetHttpsProxy(); $expectedResponse->setAuthorizationPolicy($authorizationPolicy); @@ -322,6 +323,7 @@ public function getTest() $expectedResponse->setSelfLink($selfLink); $expectedResponse->setServerTlsPolicy($serverTlsPolicy); $expectedResponse->setSslPolicy($sslPolicy); + $expectedResponse->setTlsEarlyData($tlsEarlyData); $expectedResponse->setUrlMap($urlMap); $transport->addResponse($expectedResponse); // Mock request diff --git a/Compute/tests/Unit/V1/DisksClientTest.php b/Compute/tests/Unit/V1/DisksClientTest.php index 135dae76679..473002bfd6c 100644 --- a/Compute/tests/Unit/V1/DisksClientTest.php +++ b/Compute/tests/Unit/V1/DisksClientTest.php @@ -646,6 +646,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $accessMode = 'accessMode-1032586338'; $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; @@ -682,6 +683,7 @@ public function getTest() $type = 'type3575610'; $zone2 = 'zone2-696322977'; $expectedResponse = new Disk(); + $expectedResponse->setAccessMode($accessMode); $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); diff --git a/Compute/tests/Unit/V1/InstanceGroupManagersClientTest.php b/Compute/tests/Unit/V1/InstanceGroupManagersClientTest.php index 6cf0dc0288d..aef3bcdfdf0 100644 --- a/Compute/tests/Unit/V1/InstanceGroupManagersClientTest.php +++ b/Compute/tests/Unit/V1/InstanceGroupManagersClientTest.php @@ -911,6 +911,8 @@ public function getTest() $listManagedInstancesResults = 'listManagedInstancesResults832918068'; $name = 'name3373707'; $region = 'region-934795532'; + $satisfiesPzi = false; + $satisfiesPzs = false; $selfLink = 'selfLink-1691268851'; $targetSize = 2084603409; $zone2 = 'zone2-696322977'; @@ -926,6 +928,8 @@ public function getTest() $expectedResponse->setListManagedInstancesResults($listManagedInstancesResults); $expectedResponse->setName($name); $expectedResponse->setRegion($region); + $expectedResponse->setSatisfiesPzi($satisfiesPzi); + $expectedResponse->setSatisfiesPzs($satisfiesPzs); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetSize($targetSize); $expectedResponse->setZone($zone2); diff --git a/Compute/tests/Unit/V1/MachineTypesClientTest.php b/Compute/tests/Unit/V1/MachineTypesClientTest.php index d53b913629f..4e9136c0607 100644 --- a/Compute/tests/Unit/V1/MachineTypesClientTest.php +++ b/Compute/tests/Unit/V1/MachineTypesClientTest.php @@ -146,6 +146,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; $guestCpus = 1754126894; @@ -160,6 +161,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $zone2 = 'zone2-696322977'; $expectedResponse = new MachineType(); + $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); $expectedResponse->setGuestCpus($guestCpus); diff --git a/Compute/tests/Unit/V1/RegionBackendServicesClientTest.php b/Compute/tests/Unit/V1/RegionBackendServicesClientTest.php index b59bcec32fc..4bceef4c235 100644 --- a/Compute/tests/Unit/V1/RegionBackendServicesClientTest.php +++ b/Compute/tests/Unit/V1/RegionBackendServicesClientTest.php @@ -208,6 +208,7 @@ public function getTest() $enableCDN = false; $fingerprint = 'fingerprint-1375934236'; $id = 3355; + $ipAddressSelectionPolicy = 'ipAddressSelectionPolicy614471752'; $kind = 'kind3292052'; $loadBalancingScheme = 'loadBalancingScheme1974502980'; $localityLbPolicy = 'localityLbPolicy-2016052161'; @@ -231,6 +232,7 @@ public function getTest() $expectedResponse->setEnableCDN($enableCDN); $expectedResponse->setFingerprint($fingerprint); $expectedResponse->setId($id); + $expectedResponse->setIpAddressSelectionPolicy($ipAddressSelectionPolicy); $expectedResponse->setKind($kind); $expectedResponse->setLoadBalancingScheme($loadBalancingScheme); $expectedResponse->setLocalityLbPolicy($localityLbPolicy); diff --git a/Compute/tests/Unit/V1/RegionCommitmentsClientTest.php b/Compute/tests/Unit/V1/RegionCommitmentsClientTest.php index f22b3acd0a3..6d65bd11f0b 100644 --- a/Compute/tests/Unit/V1/RegionCommitmentsClientTest.php +++ b/Compute/tests/Unit/V1/RegionCommitmentsClientTest.php @@ -153,6 +153,7 @@ public function getTest() $autoRenew = false; $category = 'category50511102'; $creationTimestamp = 'creationTimestamp567396278'; + $customEndTimestamp = 'customEndTimestamp-1965712796'; $description = 'description-1724546052'; $endTimestamp = 'endTimestamp1004967602'; $id = 3355; @@ -170,6 +171,7 @@ public function getTest() $expectedResponse->setAutoRenew($autoRenew); $expectedResponse->setCategory($category); $expectedResponse->setCreationTimestamp($creationTimestamp); + $expectedResponse->setCustomEndTimestamp($customEndTimestamp); $expectedResponse->setDescription($description); $expectedResponse->setEndTimestamp($endTimestamp); $expectedResponse->setId($id); diff --git a/Compute/tests/Unit/V1/RegionDisksClientTest.php b/Compute/tests/Unit/V1/RegionDisksClientTest.php index 45f266e1bff..cf2869b246a 100644 --- a/Compute/tests/Unit/V1/RegionDisksClientTest.php +++ b/Compute/tests/Unit/V1/RegionDisksClientTest.php @@ -569,6 +569,7 @@ public function getTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response + $accessMode = 'accessMode-1032586338'; $architecture = 'architecture839674195'; $creationTimestamp = 'creationTimestamp567396278'; $description = 'description-1724546052'; @@ -605,6 +606,7 @@ public function getTest() $type = 'type3575610'; $zone = 'zone3744684'; $expectedResponse = new Disk(); + $expectedResponse->setAccessMode($accessMode); $expectedResponse->setArchitecture($architecture); $expectedResponse->setCreationTimestamp($creationTimestamp); $expectedResponse->setDescription($description); diff --git a/Compute/tests/Unit/V1/RegionInstanceGroupManagersClientTest.php b/Compute/tests/Unit/V1/RegionInstanceGroupManagersClientTest.php index a593a9c0cbc..39494c65b94 100644 --- a/Compute/tests/Unit/V1/RegionInstanceGroupManagersClientTest.php +++ b/Compute/tests/Unit/V1/RegionInstanceGroupManagersClientTest.php @@ -834,6 +834,8 @@ public function getTest() $listManagedInstancesResults = 'listManagedInstancesResults832918068'; $name = 'name3373707'; $region2 = 'region2-690338393'; + $satisfiesPzi = false; + $satisfiesPzs = false; $selfLink = 'selfLink-1691268851'; $targetSize = 2084603409; $zone = 'zone3744684'; @@ -849,6 +851,8 @@ public function getTest() $expectedResponse->setListManagedInstancesResults($listManagedInstancesResults); $expectedResponse->setName($name); $expectedResponse->setRegion($region2); + $expectedResponse->setSatisfiesPzi($satisfiesPzi); + $expectedResponse->setSatisfiesPzs($satisfiesPzs); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetSize($targetSize); $expectedResponse->setZone($zone); diff --git a/Compute/tests/Unit/V1/RegionTargetHttpsProxiesClientTest.php b/Compute/tests/Unit/V1/RegionTargetHttpsProxiesClientTest.php index aebd18fe5e9..79ed0933f7c 100644 --- a/Compute/tests/Unit/V1/RegionTargetHttpsProxiesClientTest.php +++ b/Compute/tests/Unit/V1/RegionTargetHttpsProxiesClientTest.php @@ -209,6 +209,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $serverTlsPolicy = 'serverTlsPolicy1906438002'; $sslPolicy = 'sslPolicy-1852293435'; + $tlsEarlyData = 'tlsEarlyData-1549504310'; $urlMap = 'urlMap-169850228'; $expectedResponse = new TargetHttpsProxy(); $expectedResponse->setAuthorizationPolicy($authorizationPolicy); @@ -226,6 +227,7 @@ public function getTest() $expectedResponse->setSelfLink($selfLink); $expectedResponse->setServerTlsPolicy($serverTlsPolicy); $expectedResponse->setSslPolicy($sslPolicy); + $expectedResponse->setTlsEarlyData($tlsEarlyData); $expectedResponse->setUrlMap($urlMap); $transport->addResponse($expectedResponse); // Mock request diff --git a/Compute/tests/Unit/V1/ServiceAttachmentsClientTest.php b/Compute/tests/Unit/V1/ServiceAttachmentsClientTest.php index d90dd255734..ec5ffe147c5 100644 --- a/Compute/tests/Unit/V1/ServiceAttachmentsClientTest.php +++ b/Compute/tests/Unit/V1/ServiceAttachmentsClientTest.php @@ -282,6 +282,7 @@ public function getTest() $kind = 'kind3292052'; $name = 'name3373707'; $producerForwardingRule = 'producerForwardingRule-825813935'; + $propagatedConnectionLimit = 1814764418; $reconcileConnections = true; $region2 = 'region2-690338393'; $selfLink = 'selfLink-1691268851'; @@ -296,6 +297,7 @@ public function getTest() $expectedResponse->setKind($kind); $expectedResponse->setName($name); $expectedResponse->setProducerForwardingRule($producerForwardingRule); + $expectedResponse->setPropagatedConnectionLimit($propagatedConnectionLimit); $expectedResponse->setReconcileConnections($reconcileConnections); $expectedResponse->setRegion($region2); $expectedResponse->setSelfLink($selfLink); diff --git a/Compute/tests/Unit/V1/TargetHttpsProxiesClientTest.php b/Compute/tests/Unit/V1/TargetHttpsProxiesClientTest.php index e6c84fe10c0..b4116ebb74f 100644 --- a/Compute/tests/Unit/V1/TargetHttpsProxiesClientTest.php +++ b/Compute/tests/Unit/V1/TargetHttpsProxiesClientTest.php @@ -284,6 +284,7 @@ public function getTest() $selfLink = 'selfLink-1691268851'; $serverTlsPolicy = 'serverTlsPolicy1906438002'; $sslPolicy = 'sslPolicy-1852293435'; + $tlsEarlyData = 'tlsEarlyData-1549504310'; $urlMap = 'urlMap-169850228'; $expectedResponse = new TargetHttpsProxy(); $expectedResponse->setAuthorizationPolicy($authorizationPolicy); @@ -301,6 +302,7 @@ public function getTest() $expectedResponse->setSelfLink($selfLink); $expectedResponse->setServerTlsPolicy($serverTlsPolicy); $expectedResponse->setSslPolicy($sslPolicy); + $expectedResponse->setTlsEarlyData($tlsEarlyData); $expectedResponse->setUrlMap($urlMap); $transport->addResponse($expectedResponse); // Mock request