Skip to content

Commit cc7eb5b

Browse files
feat: Automated regeneration of compute alpha client
1 parent 02e4a01 commit cc7eb5b

File tree

6 files changed

+94
-16
lines changed

6 files changed

+94
-16
lines changed

api_names_out.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86278,6 +86278,7 @@
8627886278
"/compute:alpha/Address/creationTimestamp": creation_timestamp
8627986279
"/compute:alpha/Address/description": description
8628086280
"/compute:alpha/Address/id": id
86281+
"/compute:alpha/Address/ipCollection": ip_collection
8628186282
"/compute:alpha/Address/ipVersion": ip_version
8628286283
"/compute:alpha/Address/ipv6EndpointType": ipv6_endpoint_type
8628386284
"/compute:alpha/Address/kind": kind
@@ -91160,6 +91161,7 @@
9116091161
"/compute:alpha/NamedPort/name": name
9116191162
"/compute:alpha/NamedPort/port": port
9116291163
"/compute:alpha/NamedSet": named_set
91164+
"/compute:alpha/NamedSet/description": description
9116391165
"/compute:alpha/NamedSet/elements": elements
9116491166
"/compute:alpha/NamedSet/elements/element": element
9116591167
"/compute:alpha/NamedSet/fingerprint": fingerprint
@@ -91462,6 +91464,7 @@
9146291464
"/compute:alpha/NetworkInterface/accessConfigs/access_config": access_config
9146391465
"/compute:alpha/NetworkInterface/aliasIpRanges": alias_ip_ranges
9146491466
"/compute:alpha/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range
91467+
"/compute:alpha/NetworkInterface/enableVpcScopedDns": enable_vpc_scoped_dns
9146591468
"/compute:alpha/NetworkInterface/fingerprint": fingerprint
9146691469
"/compute:alpha/NetworkInterface/igmpQuery": igmp_query
9146791470
"/compute:alpha/NetworkInterface/internalIpv6PrefixLength": internal_ipv6_prefix_length
@@ -91655,8 +91658,11 @@
9165591658
"/compute:alpha/NetworkPolicyTrafficClassificationRule/targetServiceAccounts": target_service_accounts
9165691659
"/compute:alpha/NetworkPolicyTrafficClassificationRule/targetServiceAccounts/target_service_account": target_service_account
9165791660
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction": network_policy_traffic_classification_rule_action
91661+
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/dscpMode": dscp_mode
91662+
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/dscpValue": dscp_value
9165891663
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/fieldType": field_type
9165991664
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/fieldValue": field_value
91665+
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/trafficClass": traffic_class
9166091666
"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/type": type
9166191667
"/compute:alpha/NetworkPolicyTrafficClassificationRuleMatcher": network_policy_traffic_classification_rule_matcher
9166291668
"/compute:alpha/NetworkPolicyTrafficClassificationRuleMatcher/destIpRanges": dest_ip_ranges
@@ -92531,6 +92537,7 @@
9253192537
"/compute:alpha/PublicDelegatedPrefix/byoipApiVersion": byoip_api_version
9253292538
"/compute:alpha/PublicDelegatedPrefix/creationTimestamp": creation_timestamp
9253392539
"/compute:alpha/PublicDelegatedPrefix/description": description
92540+
"/compute:alpha/PublicDelegatedPrefix/enableEnhancedIpv4Allocation": enable_enhanced_ipv4_allocation
9253492541
"/compute:alpha/PublicDelegatedPrefix/fingerprint": fingerprint
9253592542
"/compute:alpha/PublicDelegatedPrefix/id": id
9253692543
"/compute:alpha/PublicDelegatedPrefix/ipCidrRange": ip_cidr_range
@@ -92581,6 +92588,7 @@
9258192588
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/allocatablePrefixLength": allocatable_prefix_length
9258292589
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/delegateeProject": delegatee_project
9258392590
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/description": description
92591+
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/enableEnhancedIpv4Allocation": enable_enhanced_ipv4_allocation
9258492592
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/ipCidrRange": ip_cidr_range
9258592593
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/ipv6AccessType": ipv6_access_type
9258692594
"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/isAddress": is_address
@@ -96702,6 +96710,11 @@
9670296710
"/compute:alpha/compute.disks.update/requestId": request_id
9670396711
"/compute:alpha/compute.disks.update/updateMask": update_mask
9670496712
"/compute:alpha/compute.disks.update/zone": zone
96713+
"/compute:alpha/compute.disks.updateKmsKey": update_disk_kms_key
96714+
"/compute:alpha/compute.disks.updateKmsKey/disk": disk
96715+
"/compute:alpha/compute.disks.updateKmsKey/project": project
96716+
"/compute:alpha/compute.disks.updateKmsKey/requestId": request_id
96717+
"/compute:alpha/compute.disks.updateKmsKey/zone": zone
9670596718
"/compute:alpha/compute.disks.updateKmskey": update_disk_kmskey
9670696719
"/compute:alpha/compute.disks.updateKmskey/disk": disk
9670796720
"/compute:alpha/compute.disks.updateKmskey/project": project

generated/google-apis-compute_alpha/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_alpha
22

3+
### v0.123.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250916
6+
37
### v0.122.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250909

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

Lines changed: 62 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,18 @@ class Address
663663
# @return [Fixnum]
664664
attr_accessor :id
665665

666+
# Reference to the source of external IPv4 addresses, like a
667+
# PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4
668+
# allocations. Use one of the following formats to specify a PDP when reserving
669+
# an external IPv4 address using BYOIP. - Full resource URL, as in https://www.
670+
# googleapis.com/compute/v1/projects/projectId/regions/region /
671+
# publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/
672+
# regions/region/publicDelegatedPrefixes/pdp-name - regions/region/
673+
# publicDelegatedPrefixes/pdp-name
674+
# Corresponds to the JSON property `ipCollection`
675+
# @return [String]
676+
attr_accessor :ip_collection
677+
666678
# The IP version that will be used by this address. Valid options are IPV4 or
667679
# IPV6.
668680
# Corresponds to the JSON property `ipVersion`
@@ -798,6 +810,7 @@ def update!(**args)
798810
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
799811
@description = args[:description] if args.key?(:description)
800812
@id = args[:id] if args.key?(:id)
813+
@ip_collection = args[:ip_collection] if args.key?(:ip_collection)
801814
@ip_version = args[:ip_version] if args.key?(:ip_version)
802815
@ipv6_endpoint_type = args[:ipv6_endpoint_type] if args.key?(:ipv6_endpoint_type)
803816
@kind = args[:kind] if args.key?(:kind)
@@ -13554,13 +13567,6 @@ class ForwardingRule
1355413567
# @return [String]
1355513568
attr_accessor :target
1355613569

13557-
# [PSC for VPC-hosted services only] Determines if clients are allowed to access
13558-
# the producer service via this PSC endpoint.
13559-
# Corresponds to the JSON property `trafficDisabled`
13560-
# @return [Boolean]
13561-
attr_accessor :traffic_disabled
13562-
alias_method :traffic_disabled?, :traffic_disabled
13563-
1356413570
def initialize(**args)
1356513571
update!(**args)
1356613572
end
@@ -13606,7 +13612,6 @@ def update!(**args)
1360613612
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
1360713613
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1360813614
@target = args[:target] if args.key?(:target)
13609-
@traffic_disabled = args[:traffic_disabled] if args.key?(:traffic_disabled)
1361013615
end
1361113616
end
1361213617

@@ -35831,6 +35836,11 @@ def update!(**args)
3583135836
class NamedSet
3583235837
include Google::Apis::Core::Hashable
3583335838

35839+
# An optional description of named set.
35840+
# Corresponds to the JSON property `description`
35841+
# @return [String]
35842+
attr_accessor :description
35843+
3583435844
# CEL expressions that are comparable to constructs of this set's type (see
3583535845
# Policy Language).
3583635846
# Corresponds to the JSON property `elements`
@@ -35865,6 +35875,7 @@ def initialize(**args)
3586535875

3586635876
# Update properties of this object
3586735877
def update!(**args)
35878+
@description = args[:description] if args.key?(:description)
3586835879
@elements = args[:elements] if args.key?(:elements)
3586935880
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3587035881
@name = args[:name] if args.key?(:name)
@@ -38163,6 +38174,13 @@ class NetworkInterface
3816338174
# @return [Array<Google::Apis::ComputeAlpha::AliasIpRange>]
3816438175
attr_accessor :alias_ip_ranges
3816538176

38177+
# Optional. If true, DNS resolution will be enabled over this interface. Only
38178+
# valid with network_attachment.
38179+
# Corresponds to the JSON property `enableVpcScopedDns`
38180+
# @return [Boolean]
38181+
attr_accessor :enable_vpc_scoped_dns
38182+
alias_method :enable_vpc_scoped_dns?, :enable_vpc_scoped_dns
38183+
3816638184
# Fingerprint hash of contents stored in this network interface. This field will
3816738185
# be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
3816838186
# date fingerprint must be provided in order to update the NetworkInterface. The
@@ -38305,6 +38323,7 @@ def initialize(**args)
3830538323
def update!(**args)
3830638324
@access_configs = args[:access_configs] if args.key?(:access_configs)
3830738325
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
38326+
@enable_vpc_scoped_dns = args[:enable_vpc_scoped_dns] if args.key?(:enable_vpc_scoped_dns)
3830838327
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3830938328
@igmp_query = args[:igmp_query] if args.key?(:igmp_query)
3831038329
@internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length)
@@ -39331,6 +39350,16 @@ def update!(**args)
3933139350
class NetworkPolicyTrafficClassificationRuleAction
3933239351
include Google::Apis::Core::Hashable
3933339352

39353+
# The traffic class that should be applied to the matching packet.
39354+
# Corresponds to the JSON property `dscpMode`
39355+
# @return [String]
39356+
attr_accessor :dscp_mode
39357+
39358+
# Custom DSCP value from 0-63 range.
39359+
# Corresponds to the JSON property `dscpValue`
39360+
# @return [Fixnum]
39361+
attr_accessor :dscp_value
39362+
3933439363
# The field type could be one of: TRAFFIC_CLASS or DSCP.
3933539364
# Corresponds to the JSON property `fieldType`
3933639365
# @return [String]
@@ -39341,6 +39370,11 @@ class NetworkPolicyTrafficClassificationRuleAction
3934139370
# @return [Fixnum]
3934239371
attr_accessor :field_value
3934339372

39373+
# The traffic class that should be applied to the matching packet.
39374+
# Corresponds to the JSON property `trafficClass`
39375+
# @return [String]
39376+
attr_accessor :traffic_class
39377+
3934439378
# Always "apply_traffic_classification" for traffic classification rules.
3934539379
# Corresponds to the JSON property `type`
3934639380
# @return [String]
@@ -39352,8 +39386,11 @@ def initialize(**args)
3935239386

3935339387
# Update properties of this object
3935439388
def update!(**args)
39389+
@dscp_mode = args[:dscp_mode] if args.key?(:dscp_mode)
39390+
@dscp_value = args[:dscp_value] if args.key?(:dscp_value)
3935539391
@field_type = args[:field_type] if args.key?(:field_type)
3935639392
@field_value = args[:field_value] if args.key?(:field_value)
39393+
@traffic_class = args[:traffic_class] if args.key?(:traffic_class)
3935739394
@type = args[:type] if args.key?(:type)
3935839395
end
3935939396
end
@@ -45667,6 +45704,13 @@ class PublicDelegatedPrefix
4566745704
# @return [String]
4566845705
attr_accessor :description
4566945706

45707+
# [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable
45708+
# for IPv4 PDPs only.
45709+
# Corresponds to the JSON property `enableEnhancedIpv4Allocation`
45710+
# @return [Boolean]
45711+
attr_accessor :enable_enhanced_ipv4_allocation
45712+
alias_method :enable_enhanced_ipv4_allocation?, :enable_enhanced_ipv4_allocation
45713+
4567045714
# Fingerprint of this resource. A hash of the contents stored in this object.
4567145715
# This field is used in optimistic locking. This field will be ignored when
4567245716
# inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be
@@ -45791,6 +45835,7 @@ def update!(**args)
4579145835
@byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
4579245836
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
4579345837
@description = args[:description] if args.key?(:description)
45838+
@enable_enhanced_ipv4_allocation = args[:enable_enhanced_ipv4_allocation] if args.key?(:enable_enhanced_ipv4_allocation)
4579445839
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
4579545840
@id = args[:id] if args.key?(:id)
4579645841
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@@ -46072,6 +46117,13 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix
4607246117
# @return [String]
4607346118
attr_accessor :description
4607446119

46120+
# [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable
46121+
# for IPv4 PDPs only.
46122+
# Corresponds to the JSON property `enableEnhancedIpv4Allocation`
46123+
# @return [Boolean]
46124+
attr_accessor :enable_enhanced_ipv4_allocation
46125+
alias_method :enable_enhanced_ipv4_allocation?, :enable_enhanced_ipv4_allocation
46126+
4607546127
# The IP address range, in CIDR format, represented by this sub public delegated
4607646128
# prefix.
4607746129
# Corresponds to the JSON property `ipCidrRange`
@@ -46127,6 +46179,7 @@ def update!(**args)
4612746179
@allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
4612846180
@delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
4612946181
@description = args[:description] if args.key?(:description)
46182+
@enable_enhanced_ipv4_allocation = args[:enable_enhanced_ipv4_allocation] if args.key?(:enable_enhanced_ipv4_allocation)
4613046183
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
4613146184
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
4613246185
@is_address = args[:is_address] if args.key?(:is_address)
@@ -59919,7 +59972,7 @@ def update!(**args)
5991959972

5992059973
# Represents a Persistent Disk Snapshot resource. You can use snapshots to back
5992159974
# up data on a regular interval. For more information, read Creating persistent
59922-
# disk snapshots. LINT.IfChange
59975+
# disk snapshots.
5992359976
class Snapshot
5992459977
include Google::Apis::Core::Hashable
5992559978

generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/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 ComputeAlpha
1818
# Version of the google-apis-compute_alpha gem
19-
GEM_VERSION = "0.122.0"
19+
GEM_VERSION = "0.123.0"
2020

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

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

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9890,6 +9890,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
98909890
property :creation_timestamp, as: 'creationTimestamp'
98919891
property :description, as: 'description'
98929892
property :id, :numeric_string => true, as: 'id'
9893+
property :ip_collection, as: 'ipCollection'
98939894
property :ip_version, as: 'ipVersion'
98949895
property :ipv6_endpoint_type, as: 'ipv6EndpointType'
98959896
property :kind, as: 'kind'
@@ -12845,7 +12846,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
1284512846
collection :source_ip_ranges, as: 'sourceIpRanges'
1284612847
property :subnetwork, as: 'subnetwork'
1284712848
property :target, as: 'target'
12848-
property :traffic_disabled, as: 'trafficDisabled'
1284912849
end
1285012850
end
1285112851

@@ -18480,6 +18480,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1848018480
class NamedSet
1848118481
# @private
1848218482
class Representation < Google::Apis::Core::JsonRepresentation
18483+
property :description, as: 'description'
1848318484
collection :elements, as: 'elements', class: Google::Apis::ComputeAlpha::Expr, decorator: Google::Apis::ComputeAlpha::Expr::Representation
1848418485

1848518486
property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -19060,6 +19061,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1906019061

1906119062
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeAlpha::AliasIpRange, decorator: Google::Apis::ComputeAlpha::AliasIpRange::Representation
1906219063

19064+
property :enable_vpc_scoped_dns, as: 'enableVpcScopedDns'
1906319065
property :fingerprint, :base64 => true, as: 'fingerprint'
1906419066
property :igmp_query, as: 'igmpQuery'
1906519067
property :internal_ipv6_prefix_length, as: 'internalIpv6PrefixLength'
@@ -19333,8 +19335,11 @@ class Representation < Google::Apis::Core::JsonRepresentation
1933319335
class NetworkPolicyTrafficClassificationRuleAction
1933419336
# @private
1933519337
class Representation < Google::Apis::Core::JsonRepresentation
19338+
property :dscp_mode, as: 'dscpMode'
19339+
property :dscp_value, as: 'dscpValue'
1933619340
property :field_type, as: 'fieldType'
1933719341
property :field_value, as: 'fieldValue'
19342+
property :traffic_class, as: 'trafficClass'
1933819343
property :type, as: 'type'
1933919344
end
1934019345
end
@@ -20965,6 +20970,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
2096520970
property :byoip_api_version, as: 'byoipApiVersion'
2096620971
property :creation_timestamp, as: 'creationTimestamp'
2096720972
property :description, as: 'description'
20973+
property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation'
2096820974
property :fingerprint, :base64 => true, as: 'fingerprint'
2096920975
property :id, :numeric_string => true, as: 'id'
2097020976
property :ip_cidr_range, as: 'ipCidrRange'
@@ -21055,6 +21061,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
2105521061
property :allocatable_prefix_length, as: 'allocatablePrefixLength'
2105621062
property :delegatee_project, as: 'delegateeProject'
2105721063
property :description, as: 'description'
21064+
property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation'
2105821065
property :ip_cidr_range, as: 'ipCidrRange'
2105921066
property :ipv6_access_type, as: 'ipv6AccessType'
2106021067
property :is_address, as: 'isAddress'

generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4829,7 +4829,7 @@ def update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id:
48294829
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
48304830
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
48314831
# @raise [Google::Apis::AuthorizationError] Authorization is required
4832-
def update_disk_kmskey(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4832+
def update_disk_kms_key(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
48334833
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/updateKmsKey', options)
48344834
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
48354835
command.response_class = Google::Apis::ComputeAlpha::Operation
@@ -42709,8 +42709,8 @@ def add_region_network_policy_traffic_classification_rule(project, region, netwo
4270942709
execute_or_queue_command(command, &block)
4271042710
end
4271142711

42712-
# Retrieves an aggregated list of network policies. To prevent failure, Google
42713-
# recommends that you set the `returnPartialSuccess` parameter to `true`.
42712+
# Retrieves an aggregated list of network policies. To prevent failure, it's
42713+
# recommended that you set the `returnPartialSuccess` parameter to `true`.
4271442714
# @param [String] project
4271542715
# Project ID for this request.
4271642716
# @param [String] filter
@@ -43194,7 +43194,8 @@ def patch_region_network_policy(project, region, network_policy, network_policy_
4319443194
# Name of the network policy resource to update.
4319543195
# @param [Google::Apis::ComputeAlpha::NetworkPolicyTrafficClassificationRule] network_policy_traffic_classification_rule_object
4319643196
# @param [Fixnum] priority
43197-
# The priority of the rule to patch.
43197+
# The priority of the traffic classification rule to patch. Only rules with a
43198+
# priority value between 1 and 2147482647 (inclusive) can be patched.
4319843199
# @param [String] request_id
4319943200
# An optional request ID to identify requests. Specify a unique request ID so
4320043201
# that if you must retry your request, the server will know to ignore the

0 commit comments

Comments
 (0)