Skip to content

Commit f3b345b

Browse files
feat: Automated regeneration of compute v1 client (googleapis#22101)
Auto-created at 2025-03-16 10:11:24 +0000 using the toys pull request generator.
1 parent 62ffb1f commit f3b345b

File tree

5 files changed

+108
-2
lines changed

5 files changed

+108
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111691,8 +111691,14 @@
111691111691
"/compute:v1/ResourcePolicyWeeklyCycleDayOfWeek/startTime": start_time
111692111692
"/compute:v1/ResourceStatus": resource_status
111693111693
"/compute:v1/ResourceStatus/physicalHost": physical_host
111694+
"/compute:v1/ResourceStatus/physicalHostTopology": physical_host_topology
111694111695
"/compute:v1/ResourceStatus/scheduling": scheduling
111695111696
"/compute:v1/ResourceStatus/upcomingMaintenance": upcoming_maintenance
111697+
"/compute:v1/ResourceStatusPhysicalHostTopology": resource_status_physical_host_topology
111698+
"/compute:v1/ResourceStatusPhysicalHostTopology/block": block
111699+
"/compute:v1/ResourceStatusPhysicalHostTopology/cluster": cluster
111700+
"/compute:v1/ResourceStatusPhysicalHostTopology/host": host
111701+
"/compute:v1/ResourceStatusPhysicalHostTopology/subblock": subblock
111696111702
"/compute:v1/ResourceStatusScheduling": resource_status_scheduling
111697111703
"/compute:v1/ResourceStatusScheduling/availabilityDomain": availability_domain
111698111704
"/compute:v1/Route": route
@@ -112843,8 +112849,10 @@
112843112849
"/compute:v1/Subnetwork/id": id
112844112850
"/compute:v1/Subnetwork/internalIpv6Prefix": internal_ipv6_prefix
112845112851
"/compute:v1/Subnetwork/ipCidrRange": ip_cidr_range
112852+
"/compute:v1/Subnetwork/ipCollection": ip_collection
112846112853
"/compute:v1/Subnetwork/ipv6AccessType": ipv6_access_type
112847112854
"/compute:v1/Subnetwork/ipv6CidrRange": ipv6_cidr_range
112855+
"/compute:v1/Subnetwork/ipv6GceEndpoint": ipv6_gce_endpoint
112848112856
"/compute:v1/Subnetwork/kind": kind
112849112857
"/compute:v1/Subnetwork/logConfig": log_config
112850112858
"/compute:v1/Subnetwork/name": name

generated/google-apis-compute_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-compute_v1
22

3+
### v0.116.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250302
6+
37
### v0.115.0 (2025-03-02)
48

59
* Regenerated from discovery document revision 20250224

generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35378,6 +35378,11 @@ class ResourceStatus
3537835378
# @return [String]
3537935379
attr_accessor :physical_host
3538035380

35381+
# Represents the physical host topology of the host on which the VM is running.
35382+
# Corresponds to the JSON property `physicalHostTopology`
35383+
# @return [Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopology]
35384+
attr_accessor :physical_host_topology
35385+
3538135386
#
3538235387
# Corresponds to the JSON property `scheduling`
3538335388
# @return [Google::Apis::ComputeV1::ResourceStatusScheduling]
@@ -35395,11 +35400,54 @@ def initialize(**args)
3539535400
# Update properties of this object
3539635401
def update!(**args)
3539735402
@physical_host = args[:physical_host] if args.key?(:physical_host)
35403+
@physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
3539835404
@scheduling = args[:scheduling] if args.key?(:scheduling)
3539935405
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
3540035406
end
3540135407
end
3540235408

35409+
# Represents the physical host topology of the host on which the VM is running.
35410+
class ResourceStatusPhysicalHostTopology
35411+
include Google::Apis::Core::Hashable
35412+
35413+
# [Output Only] The ID of the block in which the running instance is located.
35414+
# Instances within the same block experience low network latency.
35415+
# Corresponds to the JSON property `block`
35416+
# @return [String]
35417+
attr_accessor :block
35418+
35419+
# [Output Only] The global name of the Compute Engine cluster where the running
35420+
# instance is located.
35421+
# Corresponds to the JSON property `cluster`
35422+
# @return [String]
35423+
attr_accessor :cluster
35424+
35425+
# [Output Only] The ID of the host on which the running instance is located.
35426+
# Instances on the same host experience the lowest possible network latency.
35427+
# Corresponds to the JSON property `host`
35428+
# @return [String]
35429+
attr_accessor :host
35430+
35431+
# [Output Only] The ID of the sub-block in which the running instance is located.
35432+
# Instances in the same sub-block experience lower network latency than
35433+
# instances in the same block.
35434+
# Corresponds to the JSON property `subblock`
35435+
# @return [String]
35436+
attr_accessor :subblock
35437+
35438+
def initialize(**args)
35439+
update!(**args)
35440+
end
35441+
35442+
# Update properties of this object
35443+
def update!(**args)
35444+
@block = args[:block] if args.key?(:block)
35445+
@cluster = args[:cluster] if args.key?(:cluster)
35446+
@host = args[:host] if args.key?(:host)
35447+
@subblock = args[:subblock] if args.key?(:subblock)
35448+
end
35449+
end
35450+
3540335451
#
3540435452
class ResourceStatusScheduling
3540535453
include Google::Apis::Core::Hashable
@@ -44056,6 +44104,18 @@ class Subnetwork
4405644104
# @return [String]
4405744105
attr_accessor :ip_cidr_range
4405844106

44107+
# Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.
44108+
# The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one
44109+
# of the following formats to specify a sub-PDP when creating a dual stack
44110+
# subnetwork with external access using BYOIP: - Full resource URL, as in https:/
44111+
# /www.googleapis.com/compute/v1/projects/projectId/regions/region /
44112+
# publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/
44113+
# regions/region/publicDelegatedPrefixes/ sub-pdp-name - regions/region/
44114+
# publicDelegatedPrefixes/sub-pdp-name
44115+
# Corresponds to the JSON property `ipCollection`
44116+
# @return [String]
44117+
attr_accessor :ip_collection
44118+
4405944119
# The access type of IPv6 address this subnet holds. It's immutable and can only
4406044120
# be specified during creation or the first time the subnet is updated into
4406144121
# IPV4_IPV6 dual stack.
@@ -44068,6 +44128,18 @@ class Subnetwork
4406844128
# @return [String]
4406944129
attr_accessor :ipv6_cidr_range
4407044130

44131+
# [Output Only] Possible endpoints of this subnetwork. It can be one of the
44132+
# following: - VM_ONLY: The subnetwork can be used for creating instances and
44133+
# IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6
44134+
# ranges from a public delegated prefix and cannot be used to create NetLb. -
44135+
# VM_AND_FR: The subnetwork can be used for creating both VM instances and
44136+
# Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM
44137+
# and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP
44138+
# Pool directly.
44139+
# Corresponds to the JSON property `ipv6GceEndpoint`
44140+
# @return [String]
44141+
attr_accessor :ipv6_gce_endpoint
44142+
4407144143
# [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork
4407244144
# resources.
4407344145
# Corresponds to the JSON property `kind`
@@ -44195,8 +44267,10 @@ def update!(**args)
4419544267
@id = args[:id] if args.key?(:id)
4419644268
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
4419744269
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
44270+
@ip_collection = args[:ip_collection] if args.key?(:ip_collection)
4419844271
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
4419944272
@ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
44273+
@ipv6_gce_endpoint = args[:ipv6_gce_endpoint] if args.key?(:ipv6_gce_endpoint)
4420044274
@kind = args[:kind] if args.key?(:kind)
4420144275
@log_config = args[:log_config] if args.key?(:log_config)
4420244276
@name = args[:name] if args.key?(:name)

generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComputeV1
1818
# Version of the google-apis-compute_v1 gem
19-
GEM_VERSION = "0.115.0"
19+
GEM_VERSION = "0.116.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250224"
25+
REVISION = "20250302"
2626
end
2727
end
2828
end

generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4642,6 +4642,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
46424642
include Google::Apis::Core::JsonObjectSupport
46434643
end
46444644

4645+
class ResourceStatusPhysicalHostTopology
4646+
class Representation < Google::Apis::Core::JsonRepresentation; end
4647+
4648+
include Google::Apis::Core::JsonObjectSupport
4649+
end
4650+
46454651
class ResourceStatusScheduling
46464652
class Representation < Google::Apis::Core::JsonRepresentation; end
46474653

@@ -15403,13 +15409,25 @@ class ResourceStatus
1540315409
# @private
1540415410
class Representation < Google::Apis::Core::JsonRepresentation
1540515411
property :physical_host, as: 'physicalHost'
15412+
property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopology, decorator: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopology::Representation
15413+
1540615414
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::ResourceStatusScheduling, decorator: Google::Apis::ComputeV1::ResourceStatusScheduling::Representation
1540715415

1540815416
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
1540915417

1541015418
end
1541115419
end
1541215420

15421+
class ResourceStatusPhysicalHostTopology
15422+
# @private
15423+
class Representation < Google::Apis::Core::JsonRepresentation
15424+
property :block, as: 'block'
15425+
property :cluster, as: 'cluster'
15426+
property :host, as: 'host'
15427+
property :subblock, as: 'subblock'
15428+
end
15429+
end
15430+
1541315431
class ResourceStatusScheduling
1541415432
# @private
1541515433
class Representation < Google::Apis::Core::JsonRepresentation
@@ -17521,8 +17539,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
1752117539
property :id, :numeric_string => true, as: 'id'
1752217540
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
1752317541
property :ip_cidr_range, as: 'ipCidrRange'
17542+
property :ip_collection, as: 'ipCollection'
1752417543
property :ipv6_access_type, as: 'ipv6AccessType'
1752517544
property :ipv6_cidr_range, as: 'ipv6CidrRange'
17545+
property :ipv6_gce_endpoint, as: 'ipv6GceEndpoint'
1752617546
property :kind, as: 'kind'
1752717547
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::SubnetworkLogConfig, decorator: Google::Apis::ComputeV1::SubnetworkLogConfig::Representation
1752817548

0 commit comments

Comments
 (0)