From 6e851e6a4b7d31b28afcceaf7ac1156c1992fb11 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 26 Jun 2024 22:36:45 +0000 Subject: [PATCH] feat: Automated regeneration of compute beta client --- .../google-apis-compute_beta/CHANGELOG.md | 4 ++ .../lib/google/apis/compute_beta/classes.rb | 45 ++++++++++++------- .../google/apis/compute_beta/gem_version.rb | 4 +- .../lib/google/apis/compute_beta/service.rb | 3 +- 4 files changed, 38 insertions(+), 18 deletions(-) diff --git a/generated/google-apis-compute_beta/CHANGELOG.md b/generated/google-apis-compute_beta/CHANGELOG.md index 79903a28fcd..9555f2d99f9 100644 --- a/generated/google-apis-compute_beta/CHANGELOG.md +++ b/generated/google-apis-compute_beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-compute_beta +### v0.105.0 (2024-06-26) + +* Regenerated from discovery document revision 20240618 + ### v0.104.0 (2024-06-16) * Regenerated from discovery document revision 20240604 diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb index 29bf3534f0b..ae3a0f4554d 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb @@ -18896,9 +18896,10 @@ class InstanceProperties attr_accessor :labels # The machine type to use for instances that are created from these properties. - # This field only accept machine types name. e.g. n2-standard-4 and does not - # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/ - # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR. + # 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`. # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type @@ -36414,9 +36415,14 @@ class Route # 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 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. # Corresponds to the JSON property `nextHopIlb` # @return [String] attr_accessor :next_hop_ilb @@ -37913,11 +37919,11 @@ class RouterNatRule # 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 == + # `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'" + # hubs/hub-1'` # Corresponds to the JSON property `match` # @return [String] attr_accessor :match @@ -38028,12 +38034,19 @@ def update!(**args) class RouterStatus include Google::Apis::Core::Hashable - # 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. # Corresponds to the JSON property `bestRoutes` # @return [Array] attr_accessor :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. # Corresponds to the JSON property `bestRoutesForRouter` # @return [Array] attr_accessor :best_routes_for_router @@ -44191,7 +44204,8 @@ class StoragePool # @return [String] attr_accessor :performance_provisioning_type - # 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. # Corresponds to the JSON property `poolProvisionedCapacityGb` # @return [Fixnum] attr_accessor :pool_provisioned_capacity_gb @@ -44773,8 +44787,9 @@ class StoragePoolResourceStatus # @return [Fixnum] attr_accessor :pool_used_capacity_bytes - # 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. # Corresponds to the JSON property `poolUsedIops` # @return [Fixnum] attr_accessor :pool_used_iops diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb index 6bd8e017c4c..15af2fe0be6 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ComputeBeta # Version of the google-apis-compute_beta gem - GEM_VERSION = "0.104.0" + GEM_VERSION = "0.105.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.0" # Revision of the discovery document this client was generated from - REVISION = "20240604" + REVISION = "20240618" end end end diff --git a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb index 0d54532a551..f99a2c5d3df 100644 --- a/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb +++ b/generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb @@ -43002,7 +43002,8 @@ def test_storage_pool_iam_permissions(project, zone, resource, test_permissions_ # 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. + # 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] zone