diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..aa6b6315ed3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -86278,6 +86278,7 @@ "/compute:alpha/Address/creationTimestamp": creation_timestamp "/compute:alpha/Address/description": description "/compute:alpha/Address/id": id +"/compute:alpha/Address/ipCollection": ip_collection "/compute:alpha/Address/ipVersion": ip_version "/compute:alpha/Address/ipv6EndpointType": ipv6_endpoint_type "/compute:alpha/Address/kind": kind @@ -91160,6 +91161,7 @@ "/compute:alpha/NamedPort/name": name "/compute:alpha/NamedPort/port": port "/compute:alpha/NamedSet": named_set +"/compute:alpha/NamedSet/description": description "/compute:alpha/NamedSet/elements": elements "/compute:alpha/NamedSet/elements/element": element "/compute:alpha/NamedSet/fingerprint": fingerprint @@ -91462,6 +91464,7 @@ "/compute:alpha/NetworkInterface/accessConfigs/access_config": access_config "/compute:alpha/NetworkInterface/aliasIpRanges": alias_ip_ranges "/compute:alpha/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range +"/compute:alpha/NetworkInterface/enableVpcScopedDns": enable_vpc_scoped_dns "/compute:alpha/NetworkInterface/fingerprint": fingerprint "/compute:alpha/NetworkInterface/igmpQuery": igmp_query "/compute:alpha/NetworkInterface/internalIpv6PrefixLength": internal_ipv6_prefix_length @@ -91655,8 +91658,11 @@ "/compute:alpha/NetworkPolicyTrafficClassificationRule/targetServiceAccounts": target_service_accounts "/compute:alpha/NetworkPolicyTrafficClassificationRule/targetServiceAccounts/target_service_account": target_service_account "/compute:alpha/NetworkPolicyTrafficClassificationRuleAction": network_policy_traffic_classification_rule_action +"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/dscpMode": dscp_mode +"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/dscpValue": dscp_value "/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/fieldType": field_type "/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/fieldValue": field_value +"/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/trafficClass": traffic_class "/compute:alpha/NetworkPolicyTrafficClassificationRuleAction/type": type "/compute:alpha/NetworkPolicyTrafficClassificationRuleMatcher": network_policy_traffic_classification_rule_matcher "/compute:alpha/NetworkPolicyTrafficClassificationRuleMatcher/destIpRanges": dest_ip_ranges @@ -92531,6 +92537,7 @@ "/compute:alpha/PublicDelegatedPrefix/byoipApiVersion": byoip_api_version "/compute:alpha/PublicDelegatedPrefix/creationTimestamp": creation_timestamp "/compute:alpha/PublicDelegatedPrefix/description": description +"/compute:alpha/PublicDelegatedPrefix/enableEnhancedIpv4Allocation": enable_enhanced_ipv4_allocation "/compute:alpha/PublicDelegatedPrefix/fingerprint": fingerprint "/compute:alpha/PublicDelegatedPrefix/id": id "/compute:alpha/PublicDelegatedPrefix/ipCidrRange": ip_cidr_range @@ -92581,6 +92588,7 @@ "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/allocatablePrefixLength": allocatable_prefix_length "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/delegateeProject": delegatee_project "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/description": description +"/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/enableEnhancedIpv4Allocation": enable_enhanced_ipv4_allocation "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/ipCidrRange": ip_cidr_range "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/ipv6AccessType": ipv6_access_type "/compute:alpha/PublicDelegatedPrefixPublicDelegatedSubPrefix/isAddress": is_address @@ -96702,6 +96710,11 @@ "/compute:alpha/compute.disks.update/requestId": request_id "/compute:alpha/compute.disks.update/updateMask": update_mask "/compute:alpha/compute.disks.update/zone": zone +"/compute:alpha/compute.disks.updateKmsKey": update_disk_kms_key +"/compute:alpha/compute.disks.updateKmsKey/disk": disk +"/compute:alpha/compute.disks.updateKmsKey/project": project +"/compute:alpha/compute.disks.updateKmsKey/requestId": request_id +"/compute:alpha/compute.disks.updateKmsKey/zone": zone "/compute:alpha/compute.disks.updateKmskey": update_disk_kmskey "/compute:alpha/compute.disks.updateKmskey/disk": disk "/compute:alpha/compute.disks.updateKmskey/project": project diff --git a/generated/google-apis-compute_alpha/CHANGELOG.md b/generated/google-apis-compute_alpha/CHANGELOG.md index 1eea053847b..f499ac67d37 100644 --- a/generated/google-apis-compute_alpha/CHANGELOG.md +++ b/generated/google-apis-compute_alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-compute_alpha +### v0.123.0 (2025-09-28) + +* Regenerated from discovery document revision 20250916 + ### v0.122.0 (2025-09-21) * Regenerated from discovery document revision 20250909 diff --git a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb index 437afdab131..08a84155a8d 100644 --- a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb +++ b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/classes.rb @@ -663,6 +663,18 @@ class Address # @return [Fixnum] attr_accessor :id + # Reference to the source of external IPv4 addresses, like a + # PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 + # allocations. Use one of the following formats to specify a PDP when reserving + # an external IPv4 address using BYOIP. - Full resource URL, as in https://www. + # googleapis.com/compute/v1/projects/projectId/regions/region / + # publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/ + # regions/region/publicDelegatedPrefixes/pdp-name - regions/region/ + # publicDelegatedPrefixes/pdp-name + # Corresponds to the JSON property `ipCollection` + # @return [String] + attr_accessor :ip_collection + # The IP version that will be used by this address. Valid options are IPV4 or # IPV6. # Corresponds to the JSON property `ipVersion` @@ -798,6 +810,7 @@ def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) + @ip_collection = args[:ip_collection] if args.key?(:ip_collection) @ip_version = args[:ip_version] if args.key?(:ip_version) @ipv6_endpoint_type = args[:ipv6_endpoint_type] if args.key?(:ipv6_endpoint_type) @kind = args[:kind] if args.key?(:kind) @@ -13554,13 +13567,6 @@ class ForwardingRule # @return [String] attr_accessor :target - # [PSC for VPC-hosted services only] Determines if clients are allowed to access - # the producer service via this PSC endpoint. - # Corresponds to the JSON property `trafficDisabled` - # @return [Boolean] - attr_accessor :traffic_disabled - alias_method :traffic_disabled?, :traffic_disabled - def initialize(**args) update!(**args) end @@ -13606,7 +13612,6 @@ def update!(**args) @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @target = args[:target] if args.key?(:target) - @traffic_disabled = args[:traffic_disabled] if args.key?(:traffic_disabled) end end @@ -35831,6 +35836,11 @@ def update!(**args) class NamedSet include Google::Apis::Core::Hashable + # An optional description of named set. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # CEL expressions that are comparable to constructs of this set's type (see # Policy Language). # Corresponds to the JSON property `elements` @@ -35865,6 +35875,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @description = args[:description] if args.key?(:description) @elements = args[:elements] if args.key?(:elements) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @@ -38163,6 +38174,13 @@ class NetworkInterface # @return [Array] attr_accessor :alias_ip_ranges + # Optional. If true, DNS resolution will be enabled over this interface. Only + # valid with network_attachment. + # Corresponds to the JSON property `enableVpcScopedDns` + # @return [Boolean] + attr_accessor :enable_vpc_scoped_dns + alias_method :enable_vpc_scoped_dns?, :enable_vpc_scoped_dns + # Fingerprint hash of contents stored in this network interface. This field will # be ignored when inserting an Instance or adding a NetworkInterface. An up-to- # date fingerprint must be provided in order to update the NetworkInterface. The @@ -38305,6 +38323,7 @@ def initialize(**args) def update!(**args) @access_configs = args[:access_configs] if args.key?(:access_configs) @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges) + @enable_vpc_scoped_dns = args[:enable_vpc_scoped_dns] if args.key?(:enable_vpc_scoped_dns) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @igmp_query = args[:igmp_query] if args.key?(:igmp_query) @internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length) @@ -39331,6 +39350,16 @@ def update!(**args) class NetworkPolicyTrafficClassificationRuleAction include Google::Apis::Core::Hashable + # The traffic class that should be applied to the matching packet. + # Corresponds to the JSON property `dscpMode` + # @return [String] + attr_accessor :dscp_mode + + # Custom DSCP value from 0-63 range. + # Corresponds to the JSON property `dscpValue` + # @return [Fixnum] + attr_accessor :dscp_value + # The field type could be one of: TRAFFIC_CLASS or DSCP. # Corresponds to the JSON property `fieldType` # @return [String] @@ -39341,6 +39370,11 @@ class NetworkPolicyTrafficClassificationRuleAction # @return [Fixnum] attr_accessor :field_value + # The traffic class that should be applied to the matching packet. + # Corresponds to the JSON property `trafficClass` + # @return [String] + attr_accessor :traffic_class + # Always "apply_traffic_classification" for traffic classification rules. # Corresponds to the JSON property `type` # @return [String] @@ -39352,8 +39386,11 @@ def initialize(**args) # Update properties of this object def update!(**args) + @dscp_mode = args[:dscp_mode] if args.key?(:dscp_mode) + @dscp_value = args[:dscp_value] if args.key?(:dscp_value) @field_type = args[:field_type] if args.key?(:field_type) @field_value = args[:field_value] if args.key?(:field_value) + @traffic_class = args[:traffic_class] if args.key?(:traffic_class) @type = args[:type] if args.key?(:type) end end @@ -45667,6 +45704,13 @@ class PublicDelegatedPrefix # @return [String] attr_accessor :description + # [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable + # for IPv4 PDPs only. + # Corresponds to the JSON property `enableEnhancedIpv4Allocation` + # @return [Boolean] + attr_accessor :enable_enhanced_ipv4_allocation + alias_method :enable_enhanced_ipv4_allocation?, :enable_enhanced_ipv4_allocation + # Fingerprint of this resource. A hash of the contents stored in this object. # This field is used in optimistic locking. This field will be ignored when # inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be @@ -45791,6 +45835,7 @@ def update!(**args) @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) + @enable_enhanced_ipv4_allocation = args[:enable_enhanced_ipv4_allocation] if args.key?(:enable_enhanced_ipv4_allocation) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @@ -46072,6 +46117,13 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix # @return [String] attr_accessor :description + # [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable + # for IPv4 PDPs only. + # Corresponds to the JSON property `enableEnhancedIpv4Allocation` + # @return [Boolean] + attr_accessor :enable_enhanced_ipv4_allocation + alias_method :enable_enhanced_ipv4_allocation?, :enable_enhanced_ipv4_allocation + # The IP address range, in CIDR format, represented by this sub public delegated # prefix. # Corresponds to the JSON property `ipCidrRange` @@ -46127,6 +46179,7 @@ def update!(**args) @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length) @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project) @description = args[:description] if args.key?(:description) + @enable_enhanced_ipv4_allocation = args[:enable_enhanced_ipv4_allocation] if args.key?(:enable_enhanced_ipv4_allocation) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type) @is_address = args[:is_address] if args.key?(:is_address) @@ -59919,7 +59972,7 @@ def update!(**args) # Represents a Persistent Disk Snapshot resource. You can use snapshots to back # up data on a regular interval. For more information, read Creating persistent - # disk snapshots. LINT.IfChange + # disk snapshots. class Snapshot include Google::Apis::Core::Hashable diff --git a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb index 0ad9270f113..76a1e817587 100644 --- a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb +++ b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ComputeAlpha # Version of the google-apis-compute_alpha gem - GEM_VERSION = "0.122.0" + GEM_VERSION = "0.123.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250909" + REVISION = "20250916" end end end diff --git a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb index adedc450df4..c308c1596fa 100644 --- a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb +++ b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb @@ -9890,6 +9890,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :id, :numeric_string => true, as: 'id' + property :ip_collection, as: 'ipCollection' property :ip_version, as: 'ipVersion' property :ipv6_endpoint_type, as: 'ipv6EndpointType' property :kind, as: 'kind' @@ -12845,7 +12846,6 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :source_ip_ranges, as: 'sourceIpRanges' property :subnetwork, as: 'subnetwork' property :target, as: 'target' - property :traffic_disabled, as: 'trafficDisabled' end end @@ -18480,6 +18480,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class NamedSet # @private class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' collection :elements, as: 'elements', class: Google::Apis::ComputeAlpha::Expr, decorator: Google::Apis::ComputeAlpha::Expr::Representation property :fingerprint, :base64 => true, as: 'fingerprint' @@ -19060,6 +19061,7 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeAlpha::AliasIpRange, decorator: Google::Apis::ComputeAlpha::AliasIpRange::Representation + property :enable_vpc_scoped_dns, as: 'enableVpcScopedDns' property :fingerprint, :base64 => true, as: 'fingerprint' property :igmp_query, as: 'igmpQuery' property :internal_ipv6_prefix_length, as: 'internalIpv6PrefixLength' @@ -19333,8 +19335,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class NetworkPolicyTrafficClassificationRuleAction # @private class Representation < Google::Apis::Core::JsonRepresentation + property :dscp_mode, as: 'dscpMode' + property :dscp_value, as: 'dscpValue' property :field_type, as: 'fieldType' property :field_value, as: 'fieldValue' + property :traffic_class, as: 'trafficClass' property :type, as: 'type' end end @@ -20965,6 +20970,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :byoip_api_version, as: 'byoipApiVersion' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' + property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation' property :fingerprint, :base64 => true, as: 'fingerprint' property :id, :numeric_string => true, as: 'id' property :ip_cidr_range, as: 'ipCidrRange' @@ -21055,6 +21061,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :allocatable_prefix_length, as: 'allocatablePrefixLength' property :delegatee_project, as: 'delegateeProject' property :description, as: 'description' + property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation' property :ip_cidr_range, as: 'ipCidrRange' property :ipv6_access_type, as: 'ipv6AccessType' property :is_address, as: 'isAddress' diff --git a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb index 76dc2e4d1b8..713b125f1bb 100644 --- a/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb +++ b/generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/service.rb @@ -4829,7 +4829,7 @@ def update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_disk_kmskey(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_disk_kms_key(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/updateKmsKey', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation @@ -42709,8 +42709,8 @@ def add_region_network_policy_traffic_classification_rule(project, region, netwo execute_or_queue_command(command, &block) end - # Retrieves an aggregated list of network policies. To prevent failure, Google - # recommends that you set the `returnPartialSuccess` parameter to `true`. + # Retrieves an aggregated list of network policies. To prevent failure, it's + # recommended that you set the `returnPartialSuccess` parameter to `true`. # @param [String] project # Project ID for this request. # @param [String] filter @@ -43194,7 +43194,8 @@ def patch_region_network_policy(project, region, network_policy, network_policy_ # Name of the network policy resource to update. # @param [Google::Apis::ComputeAlpha::NetworkPolicyTrafficClassificationRule] network_policy_traffic_classification_rule_object # @param [Fixnum] priority - # The priority of the rule to patch. + # The priority of the traffic classification rule to patch. Only rules with a + # priority value between 1 and 2147482647 (inclusive) can be patched. # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the