google-apis-compute_v1 0.96.0 → 0.97.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81070ba0b83873016a0221a3a538f1f0fd63188e20fdaf558a40f634f461d504
4
- data.tar.gz: eb6a4aab37465f86d70ec9400d1f67f57c7aa3e27edad9b6037b449e0de6061c
3
+ metadata.gz: 2cfe663077e3061156b77877080c7d44a5a69f8a0ad668d6303713efcb3636bd
4
+ data.tar.gz: 199be7ba756651eea596096d7b763918dff20fc21d86866ef2dac963e3f4527b
5
5
  SHA512:
6
- metadata.gz: b9853dbb34493083e0501f2835e8a9e7cbe4c5bf6de753491dc265015e99a2380d845b55059176cbb157f26e2a487496e1281ef4f2f6c1316cc426fb56f68685
7
- data.tar.gz: d33e04a9037edac789145b20f2a7b474bcf9078484ed86012ce4243887e7227aaa63f65e03bda4db619731ef56fb7f4d2c99ea29c6a45fad5a53212a5551bc59
6
+ metadata.gz: d5f9b47754a8ae3fa0bdef34f5ecdb7da3c8a4285af6482bf8577e8c4638f46039750488a5a7b2c349cca38fccfdf235770ee2d33d1b466258c2d7bc4cb6d11f
7
+ data.tar.gz: c304205c164ab5a943cf441021c99bef277e5d042db467be0e9821d8fcaf340c5bff9ce9b810a7bf4135831012b37aa0a1266c0e732a508ba67af3deb02562c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.97.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240421
6
+
3
7
  ### v0.96.0 (2024-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20240407
@@ -1401,7 +1401,6 @@ module Google
1401
1401
  end
1402
1402
 
1403
1403
  # This reservation type allows to pre allocate specific instance configuration.
1404
- # Next ID: 6
1405
1404
  class AllocationSpecificSkuReservation
1406
1405
  include Google::Apis::Core::Hashable
1407
1406
 
@@ -9636,6 +9635,17 @@ module Google
9636
9635
  # @return [Fixnum]
9637
9636
  attr_accessor :id
9638
9637
 
9638
+ # Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in
9639
+ # EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats
9640
+ # to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP:
9641
+ # Full resource URL, as in https://www.googleapis.com/compute/v1/projects/
9642
+ # project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL,
9643
+ # as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-
9644
+ # name - regions/region/publicDelegatedPrefixes/sub-pdp-name
9645
+ # Corresponds to the JSON property `ipCollection`
9646
+ # @return [String]
9647
+ attr_accessor :ip_collection
9648
+
9639
9649
  # The IP Version that will be used by this forwarding rule. Valid options are
9640
9650
  # IPV4 or IPV6.
9641
9651
  # Corresponds to the JSON property `ipVersion`
@@ -9880,6 +9890,7 @@ module Google
9880
9890
  @description = args[:description] if args.key?(:description)
9881
9891
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
9882
9892
  @id = args[:id] if args.key?(:id)
9893
+ @ip_collection = args[:ip_collection] if args.key?(:ip_collection)
9883
9894
  @ip_version = args[:ip_version] if args.key?(:ip_version)
9884
9895
  @is_mirroring_collector = args[:is_mirroring_collector] if args.key?(:is_mirroring_collector)
9885
9896
  @kind = args[:kind] if args.key?(:kind)
@@ -25591,6 +25602,12 @@ module Google
25591
25602
  # @return [String]
25592
25603
  attr_accessor :location_hint
25593
25604
 
25605
+ # Specifies the frequency of planned maintenance events. The accepted values are:
25606
+ # `AS_NEEDED` and `RECURRENT`.
25607
+ # Corresponds to the JSON property `maintenanceInterval`
25608
+ # @return [String]
25609
+ attr_accessor :maintenance_interval
25610
+
25594
25611
  # Specifies how to handle instances when a node in the group undergoes
25595
25612
  # maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or
25596
25613
  # MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information,
@@ -25660,6 +25677,7 @@ module Google
25660
25677
  @id = args[:id] if args.key?(:id)
25661
25678
  @kind = args[:kind] if args.key?(:kind)
25662
25679
  @location_hint = args[:location_hint] if args.key?(:location_hint)
25680
+ @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
25663
25681
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
25664
25682
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
25665
25683
  @name = args[:name] if args.key?(:name)
@@ -26048,6 +26066,11 @@ module Google
26048
26066
  # @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
26049
26067
  attr_accessor :total_resources
26050
26068
 
26069
+ # Upcoming Maintenance notification information.
26070
+ # Corresponds to the JSON property `upcomingMaintenance`
26071
+ # @return [Google::Apis::ComputeV1::UpcomingMaintenance]
26072
+ attr_accessor :upcoming_maintenance
26073
+
26051
26074
  def initialize(**args)
26052
26075
  update!(**args)
26053
26076
  end
@@ -26067,6 +26090,7 @@ module Google
26067
26090
  @server_id = args[:server_id] if args.key?(:server_id)
26068
26091
  @status = args[:status] if args.key?(:status)
26069
26092
  @total_resources = args[:total_resources] if args.key?(:total_resources)
26093
+ @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
26070
26094
  end
26071
26095
  end
26072
26096
 
@@ -26226,6 +26250,31 @@ module Google
26226
26250
  end
26227
26251
  end
26228
26252
 
26253
+ #
26254
+ class NodeGroupsPerformMaintenanceRequest
26255
+ include Google::Apis::Core::Hashable
26256
+
26257
+ # [Required] List of nodes affected by the call.
26258
+ # Corresponds to the JSON property `nodes`
26259
+ # @return [Array<String>]
26260
+ attr_accessor :nodes
26261
+
26262
+ # The start time of the schedule. The timestamp is an RFC3339 string.
26263
+ # Corresponds to the JSON property `startTime`
26264
+ # @return [String]
26265
+ attr_accessor :start_time
26266
+
26267
+ def initialize(**args)
26268
+ update!(**args)
26269
+ end
26270
+
26271
+ # Update properties of this object
26272
+ def update!(**args)
26273
+ @nodes = args[:nodes] if args.key?(:nodes)
26274
+ @start_time = args[:start_time] if args.key?(:start_time)
26275
+ end
26276
+ end
26277
+
26229
26278
  #
26230
26279
  class NodeGroupsScopedList
26231
26280
  include Google::Apis::Core::Hashable
@@ -28427,7 +28476,7 @@ module Google
28427
28476
  # @return [String]
28428
28477
  attr_accessor :enable
28429
28478
 
28430
- # Filter for mirrored traffic. If unspecified, all traffic is mirrored.
28479
+ # Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
28431
28480
  # Corresponds to the JSON property `filter`
28432
28481
  # @return [Google::Apis::ComputeV1::PacketMirroringFilter]
28433
28482
  attr_accessor :filter
@@ -28642,7 +28691,7 @@ module Google
28642
28691
  # @return [Array<String>]
28643
28692
  attr_accessor :ip_protocols
28644
28693
 
28645
- # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (
28694
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (
28646
28695
  # ingress) or destination (egress) IP in the IP header. If no ranges are
28647
28696
  # specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
28648
28697
  # If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
@@ -30012,6 +30061,13 @@ module Google
30012
30061
  class PublicDelegatedPrefix
30013
30062
  include Google::Apis::Core::Hashable
30014
30063
 
30064
+ # The allocatable prefix length supported by this public delegated prefix. This
30065
+ # field is optional and cannot be set for prefixes in DELEGATION mode. It cannot
30066
+ # be set for IPv4 prefixes either, and it always defaults to 32.
30067
+ # Corresponds to the JSON property `allocatablePrefixLength`
30068
+ # @return [Fixnum]
30069
+ attr_accessor :allocatable_prefix_length
30070
+
30015
30071
  # [Output Only] The version of BYOIP API.
30016
30072
  # Corresponds to the JSON property `byoipApiVersion`
30017
30073
  # @return [String]
@@ -30063,6 +30119,11 @@ module Google
30063
30119
  # @return [String]
30064
30120
  attr_accessor :kind
30065
30121
 
30122
+ # The public delegated prefix mode for IPv6 only.
30123
+ # Corresponds to the JSON property `mode`
30124
+ # @return [String]
30125
+ attr_accessor :mode
30126
+
30066
30127
  # Name of the resource. Provided by the client when the resource is created. The
30067
30128
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
30068
30129
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -30114,6 +30175,7 @@ module Google
30114
30175
 
30115
30176
  # Update properties of this object
30116
30177
  def update!(**args)
30178
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
30117
30179
  @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
30118
30180
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
30119
30181
  @description = args[:description] if args.key?(:description)
@@ -30122,6 +30184,7 @@ module Google
30122
30184
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
30123
30185
  @is_live_migration = args[:is_live_migration] if args.key?(:is_live_migration)
30124
30186
  @kind = args[:kind] if args.key?(:kind)
30187
+ @mode = args[:mode] if args.key?(:mode)
30125
30188
  @name = args[:name] if args.key?(:name)
30126
30189
  @parent_prefix = args[:parent_prefix] if args.key?(:parent_prefix)
30127
30190
  @public_delegated_sub_prefixs = args[:public_delegated_sub_prefixs] if args.key?(:public_delegated_sub_prefixs)
@@ -30378,6 +30441,11 @@ module Google
30378
30441
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
30379
30442
  include Google::Apis::Core::Hashable
30380
30443
 
30444
+ # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
30445
+ # Corresponds to the JSON property `allocatablePrefixLength`
30446
+ # @return [Fixnum]
30447
+ attr_accessor :allocatable_prefix_length
30448
+
30381
30449
  # Name of the project scoping this PublicDelegatedSubPrefix.
30382
30450
  # Corresponds to the JSON property `delegateeProject`
30383
30451
  # @return [String]
@@ -30402,6 +30470,11 @@ module Google
30402
30470
  attr_accessor :is_address
30403
30471
  alias_method :is_address?, :is_address
30404
30472
 
30473
+ # The PublicDelegatedSubPrefix mode for IPv6 only.
30474
+ # Corresponds to the JSON property `mode`
30475
+ # @return [String]
30476
+ attr_accessor :mode
30477
+
30405
30478
  # The name of the sub public delegated prefix.
30406
30479
  # Corresponds to the JSON property `name`
30407
30480
  # @return [String]
@@ -30424,10 +30497,12 @@ module Google
30424
30497
 
30425
30498
  # Update properties of this object
30426
30499
  def update!(**args)
30500
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
30427
30501
  @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
30428
30502
  @description = args[:description] if args.key?(:description)
30429
30503
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
30430
30504
  @is_address = args[:is_address] if args.key?(:is_address)
30505
+ @mode = args[:mode] if args.key?(:mode)
30431
30506
  @name = args[:name] if args.key?(:name)
30432
30507
  @region = args[:region] if args.key?(:region)
30433
30508
  @status = args[:status] if args.key?(:status)
@@ -32449,7 +32524,6 @@ module Google
32449
32524
  attr_accessor :share_settings
32450
32525
 
32451
32526
  # This reservation type allows to pre allocate specific instance configuration.
32452
- # Next ID: 6
32453
32527
  # Corresponds to the JSON property `specificReservation`
32454
32528
  # @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
32455
32529
  attr_accessor :specific_reservation
@@ -34531,6 +34605,14 @@ module Google
34531
34605
  # @return [Fixnum]
34532
34606
  attr_accessor :asn
34533
34607
 
34608
+ # Explicitly specifies a range of valid BGP Identifiers for this Router. It is
34609
+ # provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /
34610
+ # 30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4
34611
+ # BGP session ranges. Other vendors commonly call this "router ID".
34612
+ # Corresponds to the JSON property `identifierRange`
34613
+ # @return [String]
34614
+ attr_accessor :identifier_range
34615
+
34534
34616
  # The interval in seconds between BGP keepalive messages that are sent to the
34535
34617
  # peer. Hold time is three times the interval at which keepalive messages are
34536
34618
  # sent, and the hold time is the maximum number of seconds allowed to elapse
@@ -34552,6 +34634,7 @@ module Google
34552
34634
  @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
34553
34635
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
34554
34636
  @asn = args[:asn] if args.key?(:asn)
34637
+ @identifier_range = args[:identifier_range] if args.key?(:identifier_range)
34555
34638
  @keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
34556
34639
  end
34557
34640
  end
@@ -34619,23 +34702,51 @@ module Google
34619
34702
  # @return [String]
34620
34703
  attr_accessor :enable
34621
34704
 
34622
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
34705
+ # Enable IPv4 traffic over BGP Peer. It is enabled by default if the
34706
+ # peerIpAddress is version 4.
34707
+ # Corresponds to the JSON property `enableIpv4`
34708
+ # @return [Boolean]
34709
+ attr_accessor :enable_ipv4
34710
+ alias_method :enable_ipv4?, :enable_ipv4
34711
+
34712
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
34713
+ # peerIpAddress is version 6.
34623
34714
  # Corresponds to the JSON property `enableIpv6`
34624
34715
  # @return [Boolean]
34625
34716
  attr_accessor :enable_ipv6
34626
34717
  alias_method :enable_ipv6?, :enable_ipv6
34627
34718
 
34719
+ # List of export policies applied to this peer, in the order they must be
34720
+ # evaluated. The name must correspond to an existing policy that has
34721
+ # ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently
34722
+ # available in preview. Please use Beta API to use Route Policies.
34723
+ # Corresponds to the JSON property `exportPolicies`
34724
+ # @return [Array<String>]
34725
+ attr_accessor :export_policies
34726
+
34727
+ # List of import policies applied to this peer, in the order they must be
34728
+ # evaluated. The name must correspond to an existing policy that has
34729
+ # ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently
34730
+ # available in preview. Please use Beta API to use Route Policies.
34731
+ # Corresponds to the JSON property `importPolicies`
34732
+ # @return [Array<String>]
34733
+ attr_accessor :import_policies
34734
+
34628
34735
  # Name of the interface the BGP peer is associated with.
34629
34736
  # Corresponds to the JSON property `interfaceName`
34630
34737
  # @return [String]
34631
34738
  attr_accessor :interface_name
34632
34739
 
34633
- # IP address of the interface inside Google Cloud Platform. Only IPv4 is
34634
- # supported.
34740
+ # IP address of the interface inside Google Cloud Platform.
34635
34741
  # Corresponds to the JSON property `ipAddress`
34636
34742
  # @return [String]
34637
34743
  attr_accessor :ip_address
34638
34744
 
34745
+ # IPv4 address of the interface inside Google Cloud Platform.
34746
+ # Corresponds to the JSON property `ipv4NexthopAddress`
34747
+ # @return [String]
34748
+ attr_accessor :ipv4_nexthop_address
34749
+
34639
34750
  # IPv6 address of the interface inside Google Cloud Platform.
34640
34751
  # Corresponds to the JSON property `ipv6NexthopAddress`
34641
34752
  # @return [String]
@@ -34674,12 +34785,16 @@ module Google
34674
34785
  # @return [Fixnum]
34675
34786
  attr_accessor :peer_asn
34676
34787
 
34677
- # IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
34678
- # supported.
34788
+ # IP address of the BGP interface outside Google Cloud Platform.
34679
34789
  # Corresponds to the JSON property `peerIpAddress`
34680
34790
  # @return [String]
34681
34791
  attr_accessor :peer_ip_address
34682
34792
 
34793
+ # IPv4 address of the BGP interface outside Google Cloud Platform.
34794
+ # Corresponds to the JSON property `peerIpv4NexthopAddress`
34795
+ # @return [String]
34796
+ attr_accessor :peer_ipv4_nexthop_address
34797
+
34683
34798
  # IPv6 address of the BGP interface outside Google Cloud Platform.
34684
34799
  # Corresponds to the JSON property `peerIpv6NexthopAddress`
34685
34800
  # @return [String]
@@ -34707,15 +34822,20 @@ module Google
34707
34822
  @custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
34708
34823
  @custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
34709
34824
  @enable = args[:enable] if args.key?(:enable)
34825
+ @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
34710
34826
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
34827
+ @export_policies = args[:export_policies] if args.key?(:export_policies)
34828
+ @import_policies = args[:import_policies] if args.key?(:import_policies)
34711
34829
  @interface_name = args[:interface_name] if args.key?(:interface_name)
34712
34830
  @ip_address = args[:ip_address] if args.key?(:ip_address)
34831
+ @ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
34713
34832
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
34714
34833
  @management_type = args[:management_type] if args.key?(:management_type)
34715
34834
  @md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
34716
34835
  @name = args[:name] if args.key?(:name)
34717
34836
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
34718
34837
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
34838
+ @peer_ipv4_nexthop_address = args[:peer_ipv4_nexthop_address] if args.key?(:peer_ipv4_nexthop_address)
34719
34839
  @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
34720
34840
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
34721
34841
  end
@@ -34797,14 +34917,24 @@ module Google
34797
34917
  class RouterInterface
34798
34918
  include Google::Apis::Core::Hashable
34799
34919
 
34800
- # IP address and range of the interface. The IP range must be in the RFC3927
34801
- # link-local IP address space. The value must be a CIDR-formatted string, for
34802
- # example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
34803
- # the IP address of the interface.
34920
+ # IP address and range of the interface. - For Internet Protocol version 4 (IPv4)
34921
+ # , the IP range must be in the RFC3927 link-local IP address space. The value
34922
+ # must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not
34923
+ # truncate the IP address, as it represents the IP address of the interface. -
34924
+ # For Internet Protocol version 6 (IPv6), the value must be a unique local
34925
+ # address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This
34926
+ # value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112.
34927
+ # Within the router's VPC, this IPv6 prefix will be reserved exclusively for
34928
+ # this connection and cannot be used for any other purpose.
34804
34929
  # Corresponds to the JSON property `ipRange`
34805
34930
  # @return [String]
34806
34931
  attr_accessor :ip_range
34807
34932
 
34933
+ # IP version of this interface.
34934
+ # Corresponds to the JSON property `ipVersion`
34935
+ # @return [String]
34936
+ attr_accessor :ip_version
34937
+
34808
34938
  # URI of the linked Interconnect attachment. It must be in the same region as
34809
34939
  # the router. Each interface can have one linked resource, which can be a VPN
34810
34940
  # tunnel, an Interconnect attachment, or a subnetwork.
@@ -34875,6 +35005,7 @@ module Google
34875
35005
  # Update properties of this object
34876
35006
  def update!(**args)
34877
35007
  @ip_range = args[:ip_range] if args.key?(:ip_range)
35008
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
34878
35009
  @linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment)
34879
35010
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
34880
35011
  @management_type = args[:management_type] if args.key?(:management_type)
@@ -35423,7 +35554,15 @@ module Google
35423
35554
  # @return [Google::Apis::ComputeV1::BfdStatus]
35424
35555
  attr_accessor :bfd_status
35425
35556
 
35426
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
35557
+ # Enable IPv4 traffic over BGP Peer. It is enabled by default if the
35558
+ # peerIpAddress is version 4.
35559
+ # Corresponds to the JSON property `enableIpv4`
35560
+ # @return [Boolean]
35561
+ attr_accessor :enable_ipv4
35562
+ alias_method :enable_ipv4?, :enable_ipv4
35563
+
35564
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
35565
+ # peerIpAddress is version 6.
35427
35566
  # Corresponds to the JSON property `enableIpv6`
35428
35567
  # @return [Boolean]
35429
35568
  attr_accessor :enable_ipv6
@@ -35434,6 +35573,11 @@ module Google
35434
35573
  # @return [String]
35435
35574
  attr_accessor :ip_address
35436
35575
 
35576
+ # IPv4 address of the local BGP interface.
35577
+ # Corresponds to the JSON property `ipv4NexthopAddress`
35578
+ # @return [String]
35579
+ attr_accessor :ipv4_nexthop_address
35580
+
35437
35581
  # IPv6 address of the local BGP interface.
35438
35582
  # Corresponds to the JSON property `ipv6NexthopAddress`
35439
35583
  # @return [String]
@@ -35465,6 +35609,11 @@ module Google
35465
35609
  # @return [String]
35466
35610
  attr_accessor :peer_ip_address
35467
35611
 
35612
+ # IPv4 address of the remote BGP interface.
35613
+ # Corresponds to the JSON property `peerIpv4NexthopAddress`
35614
+ # @return [String]
35615
+ attr_accessor :peer_ipv4_nexthop_address
35616
+
35468
35617
  # IPv6 address of the remote BGP interface.
35469
35618
  # Corresponds to the JSON property `peerIpv6NexthopAddress`
35470
35619
  # @return [String]
@@ -35512,14 +35661,17 @@ module Google
35512
35661
  def update!(**args)
35513
35662
  @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
35514
35663
  @bfd_status = args[:bfd_status] if args.key?(:bfd_status)
35664
+ @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
35515
35665
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
35516
35666
  @ip_address = args[:ip_address] if args.key?(:ip_address)
35667
+ @ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
35517
35668
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
35518
35669
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
35519
35670
  @md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
35520
35671
  @name = args[:name] if args.key?(:name)
35521
35672
  @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
35522
35673
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
35674
+ @peer_ipv4_nexthop_address = args[:peer_ipv4_nexthop_address] if args.key?(:peer_ipv4_nexthop_address)
35523
35675
  @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
35524
35676
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
35525
35677
  @state = args[:state] if args.key?(:state)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.96.0"
19
+ GEM_VERSION = "0.97.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240407"
25
+ REVISION = "20240421"
26
26
  end
27
27
  end
28
28
  end
@@ -3310,6 +3310,12 @@ module Google
3310
3310
  include Google::Apis::Core::JsonObjectSupport
3311
3311
  end
3312
3312
 
3313
+ class NodeGroupsPerformMaintenanceRequest
3314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3315
+
3316
+ include Google::Apis::Core::JsonObjectSupport
3317
+ end
3318
+
3313
3319
  class NodeGroupsScopedList
3314
3320
  class Representation < Google::Apis::Core::JsonRepresentation; end
3315
3321
 
@@ -8668,6 +8674,7 @@ module Google
8668
8674
  property :description, as: 'description'
8669
8675
  property :fingerprint, :base64 => true, as: 'fingerprint'
8670
8676
  property :id, :numeric_string => true, as: 'id'
8677
+ property :ip_collection, as: 'ipCollection'
8671
8678
  property :ip_version, as: 'ipVersion'
8672
8679
  property :is_mirroring_collector, as: 'isMirroringCollector'
8673
8680
  property :kind, as: 'kind'
@@ -12603,6 +12610,7 @@ module Google
12603
12610
  property :id, :numeric_string => true, as: 'id'
12604
12611
  property :kind, as: 'kind'
12605
12612
  property :location_hint, as: 'locationHint'
12613
+ property :maintenance_interval, as: 'maintenanceInterval'
12606
12614
  property :maintenance_policy, as: 'maintenancePolicy'
12607
12615
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow, decorator: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow::Representation
12608
12616
 
@@ -12722,6 +12730,8 @@ module Google
12722
12730
  property :status, as: 'status'
12723
12731
  property :total_resources, as: 'totalResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
12724
12732
 
12733
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
12734
+
12725
12735
  end
12726
12736
  end
12727
12737
 
@@ -12771,6 +12781,14 @@ module Google
12771
12781
  end
12772
12782
  end
12773
12783
 
12784
+ class NodeGroupsPerformMaintenanceRequest
12785
+ # @private
12786
+ class Representation < Google::Apis::Core::JsonRepresentation
12787
+ collection :nodes, as: 'nodes'
12788
+ property :start_time, as: 'startTime'
12789
+ end
12790
+ end
12791
+
12774
12792
  class NodeGroupsScopedList
12775
12793
  # @private
12776
12794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13732,6 +13750,7 @@ module Google
13732
13750
  class PublicDelegatedPrefix
13733
13751
  # @private
13734
13752
  class Representation < Google::Apis::Core::JsonRepresentation
13753
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
13735
13754
  property :byoip_api_version, as: 'byoipApiVersion'
13736
13755
  property :creation_timestamp, as: 'creationTimestamp'
13737
13756
  property :description, as: 'description'
@@ -13740,6 +13759,7 @@ module Google
13740
13759
  property :ip_cidr_range, as: 'ipCidrRange'
13741
13760
  property :is_live_migration, as: 'isLiveMigration'
13742
13761
  property :kind, as: 'kind'
13762
+ property :mode, as: 'mode'
13743
13763
  property :name, as: 'name'
13744
13764
  property :parent_prefix, as: 'parentPrefix'
13745
13765
  collection :public_delegated_sub_prefixs, as: 'publicDelegatedSubPrefixs', class: Google::Apis::ComputeV1::PublicDelegatedPrefixPublicDelegatedSubPrefix, decorator: Google::Apis::ComputeV1::PublicDelegatedPrefixPublicDelegatedSubPrefix::Representation
@@ -13818,10 +13838,12 @@ module Google
13818
13838
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
13819
13839
  # @private
13820
13840
  class Representation < Google::Apis::Core::JsonRepresentation
13841
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
13821
13842
  property :delegatee_project, as: 'delegateeProject'
13822
13843
  property :description, as: 'description'
13823
13844
  property :ip_cidr_range, as: 'ipCidrRange'
13824
13845
  property :is_address, as: 'isAddress'
13846
+ property :mode, as: 'mode'
13825
13847
  property :name, as: 'name'
13826
13848
  property :region, as: 'region'
13827
13849
  property :status, as: 'status'
@@ -14944,6 +14966,7 @@ module Google
14944
14966
  collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
14945
14967
 
14946
14968
  property :asn, as: 'asn'
14969
+ property :identifier_range, as: 'identifierRange'
14947
14970
  property :keepalive_interval, as: 'keepaliveInterval'
14948
14971
  end
14949
14972
  end
@@ -14962,15 +14985,20 @@ module Google
14962
14985
 
14963
14986
  property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
14964
14987
  property :enable, as: 'enable'
14988
+ property :enable_ipv4, as: 'enableIpv4'
14965
14989
  property :enable_ipv6, as: 'enableIpv6'
14990
+ collection :export_policies, as: 'exportPolicies'
14991
+ collection :import_policies, as: 'importPolicies'
14966
14992
  property :interface_name, as: 'interfaceName'
14967
14993
  property :ip_address, as: 'ipAddress'
14994
+ property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
14968
14995
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
14969
14996
  property :management_type, as: 'managementType'
14970
14997
  property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
14971
14998
  property :name, as: 'name'
14972
14999
  property :peer_asn, as: 'peerAsn'
14973
15000
  property :peer_ip_address, as: 'peerIpAddress'
15001
+ property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
14974
15002
  property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
14975
15003
  property :router_appliance_instance, as: 'routerApplianceInstance'
14976
15004
  end
@@ -14997,6 +15025,7 @@ module Google
14997
15025
  # @private
14998
15026
  class Representation < Google::Apis::Core::JsonRepresentation
14999
15027
  property :ip_range, as: 'ipRange'
15028
+ property :ip_version, as: 'ipVersion'
15000
15029
  property :linked_interconnect_attachment, as: 'linkedInterconnectAttachment'
15001
15030
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
15002
15031
  property :management_type, as: 'managementType'
@@ -15136,14 +15165,17 @@ module Google
15136
15165
 
15137
15166
  property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeV1::BfdStatus, decorator: Google::Apis::ComputeV1::BfdStatus::Representation
15138
15167
 
15168
+ property :enable_ipv4, as: 'enableIpv4'
15139
15169
  property :enable_ipv6, as: 'enableIpv6'
15140
15170
  property :ip_address, as: 'ipAddress'
15171
+ property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
15141
15172
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
15142
15173
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
15143
15174
  property :md5_auth_enabled, as: 'md5AuthEnabled'
15144
15175
  property :name, as: 'name'
15145
15176
  property :num_learned_routes, as: 'numLearnedRoutes'
15146
15177
  property :peer_ip_address, as: 'peerIpAddress'
15178
+ property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
15147
15179
  property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
15148
15180
  property :router_appliance_instance, as: 'routerApplianceInstance'
15149
15181
  property :state, as: 'state'
@@ -20965,6 +20965,59 @@ module Google
20965
20965
  execute_or_queue_command(command, &block)
20966
20966
  end
20967
20967
 
20968
+ # Perform maintenance on a subset of nodes in the node group.
20969
+ # @param [String] project
20970
+ # Project ID for this request.
20971
+ # @param [String] zone
20972
+ # The name of the zone for this request.
20973
+ # @param [String] node_group
20974
+ # Name of the node group scoping this request.
20975
+ # @param [Google::Apis::ComputeV1::NodeGroupsPerformMaintenanceRequest] node_groups_perform_maintenance_request_object
20976
+ # @param [String] request_id
20977
+ # An optional request ID to identify requests. Specify a unique request ID so
20978
+ # that if you must retry your request, the server will know to ignore the
20979
+ # request if it has already been completed. For example, consider a situation
20980
+ # where you make an initial request and the request times out. If you make the
20981
+ # request again with the same request ID, the server can check if original
20982
+ # operation with the same request ID was received, and if so, will ignore the
20983
+ # second request. This prevents clients from accidentally creating duplicate
20984
+ # commitments. The request ID must be a valid UUID with the exception that zero
20985
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
20986
+ # @param [String] fields
20987
+ # Selector specifying which fields to include in a partial response.
20988
+ # @param [String] quota_user
20989
+ # Available to use for quota purposes for server-side applications. Can be any
20990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20991
+ # @param [String] user_ip
20992
+ # Legacy name for parameter that has been superseded by `quotaUser`.
20993
+ # @param [Google::Apis::RequestOptions] options
20994
+ # Request-specific options
20995
+ #
20996
+ # @yield [result, err] Result & error if block supplied
20997
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
20998
+ # @yieldparam err [StandardError] error object if request failed
20999
+ #
21000
+ # @return [Google::Apis::ComputeV1::Operation]
21001
+ #
21002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21005
+ def perform_node_group_maintenance(project, zone, node_group, node_groups_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21006
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance', options)
21007
+ command.request_representation = Google::Apis::ComputeV1::NodeGroupsPerformMaintenanceRequest::Representation
21008
+ command.request_object = node_groups_perform_maintenance_request_object
21009
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
21010
+ command.response_class = Google::Apis::ComputeV1::Operation
21011
+ command.params['project'] = project unless project.nil?
21012
+ command.params['zone'] = zone unless zone.nil?
21013
+ command.params['nodeGroup'] = node_group unless node_group.nil?
21014
+ command.query['requestId'] = request_id unless request_id.nil?
21015
+ command.query['fields'] = fields unless fields.nil?
21016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21017
+ command.query['userIp'] = user_ip unless user_ip.nil?
21018
+ execute_or_queue_command(command, &block)
21019
+ end
21020
+
20968
21021
  # Sets the access control policy on the specified resource. Replaces any
20969
21022
  # existing policy.
20970
21023
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.96.0
4
+ version: 0.97.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.96.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.97.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []