google-apis-compute_v1 0.95.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: 754721d65872d0f2df62dc6def5e2ba63f310274c5f7718ab0a45ee4deac7ef8
4
- data.tar.gz: fd35fc8e793d5dc9a8ad20bd179e810f59ae53ed1a891f521322161ee0d6753b
3
+ metadata.gz: 2cfe663077e3061156b77877080c7d44a5a69f8a0ad668d6303713efcb3636bd
4
+ data.tar.gz: 199be7ba756651eea596096d7b763918dff20fc21d86866ef2dac963e3f4527b
5
5
  SHA512:
6
- metadata.gz: 87b1a3c4bb2a293b3df21b06de4914d12318abfe6e70994c4ec327764b01725e2108c1c51ffbcc27e433cc1a1602d0b5dceaefc65fa7ec7f9aeb731dc8311d96
7
- data.tar.gz: d74602a440d2cbf69cfd121713106b0806da4c5504d28f0306ef0688bcd829c92a67f974fc8d136da833c9c9212fff5bb5dfa5188ca4b7b6db5b689f1fda5ef8
6
+ metadata.gz: d5f9b47754a8ae3fa0bdef34f5ecdb7da3c8a4285af6482bf8577e8c4638f46039750488a5a7b2c349cca38fccfdf235770ee2d33d1b466258c2d7bc4cb6d11f
7
+ data.tar.gz: c304205c164ab5a943cf441021c99bef277e5d042db467be0e9821d8fcaf340c5bff9ce9b810a7bf4135831012b37aa0a1266c0e732a508ba67af3deb02562c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.96.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240407
10
+
3
11
  ### v0.95.0 (2024-04-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20240326
@@ -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)
@@ -24198,7 +24209,7 @@ module Google
24198
24209
 
24199
24210
  # Type of network endpoints in this network endpoint group. Can be one of
24200
24211
  # GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
24201
- # INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
24212
+ # INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
24202
24213
  # Corresponds to the JSON property `networkEndpointType`
24203
24214
  # @return [String]
24204
24215
  attr_accessor :network_endpoint_type
@@ -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,12 +28691,11 @@ 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
28649
- # mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note:
28650
- # Support for IPv6 traffic is in preview.
28698
+ # mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
28651
28699
  # Corresponds to the JSON property `cidrRanges`
28652
28700
  # @return [Array<String>]
28653
28701
  attr_accessor :cidr_ranges
@@ -30013,6 +30061,13 @@ module Google
30013
30061
  class PublicDelegatedPrefix
30014
30062
  include Google::Apis::Core::Hashable
30015
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
+
30016
30071
  # [Output Only] The version of BYOIP API.
30017
30072
  # Corresponds to the JSON property `byoipApiVersion`
30018
30073
  # @return [String]
@@ -30064,6 +30119,11 @@ module Google
30064
30119
  # @return [String]
30065
30120
  attr_accessor :kind
30066
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
+
30067
30127
  # Name of the resource. Provided by the client when the resource is created. The
30068
30128
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
30069
30129
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -30115,6 +30175,7 @@ module Google
30115
30175
 
30116
30176
  # Update properties of this object
30117
30177
  def update!(**args)
30178
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
30118
30179
  @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
30119
30180
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
30120
30181
  @description = args[:description] if args.key?(:description)
@@ -30123,6 +30184,7 @@ module Google
30123
30184
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
30124
30185
  @is_live_migration = args[:is_live_migration] if args.key?(:is_live_migration)
30125
30186
  @kind = args[:kind] if args.key?(:kind)
30187
+ @mode = args[:mode] if args.key?(:mode)
30126
30188
  @name = args[:name] if args.key?(:name)
30127
30189
  @parent_prefix = args[:parent_prefix] if args.key?(:parent_prefix)
30128
30190
  @public_delegated_sub_prefixs = args[:public_delegated_sub_prefixs] if args.key?(:public_delegated_sub_prefixs)
@@ -30379,6 +30441,11 @@ module Google
30379
30441
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
30380
30442
  include Google::Apis::Core::Hashable
30381
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
+
30382
30449
  # Name of the project scoping this PublicDelegatedSubPrefix.
30383
30450
  # Corresponds to the JSON property `delegateeProject`
30384
30451
  # @return [String]
@@ -30403,6 +30470,11 @@ module Google
30403
30470
  attr_accessor :is_address
30404
30471
  alias_method :is_address?, :is_address
30405
30472
 
30473
+ # The PublicDelegatedSubPrefix mode for IPv6 only.
30474
+ # Corresponds to the JSON property `mode`
30475
+ # @return [String]
30476
+ attr_accessor :mode
30477
+
30406
30478
  # The name of the sub public delegated prefix.
30407
30479
  # Corresponds to the JSON property `name`
30408
30480
  # @return [String]
@@ -30425,10 +30497,12 @@ module Google
30425
30497
 
30426
30498
  # Update properties of this object
30427
30499
  def update!(**args)
30500
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
30428
30501
  @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
30429
30502
  @description = args[:description] if args.key?(:description)
30430
30503
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
30431
30504
  @is_address = args[:is_address] if args.key?(:is_address)
30505
+ @mode = args[:mode] if args.key?(:mode)
30432
30506
  @name = args[:name] if args.key?(:name)
30433
30507
  @region = args[:region] if args.key?(:region)
30434
30508
  @status = args[:status] if args.key?(:status)
@@ -30689,6 +30763,12 @@ module Google
30689
30763
  # @return [String]
30690
30764
  attr_accessor :name
30691
30765
 
30766
+ # [Output Only] Warning of fetching the `quotas` field for this region. This
30767
+ # field is populated only if fetching of the `quotas` field fails.
30768
+ # Corresponds to the JSON property `quotaStatusWarning`
30769
+ # @return [Google::Apis::ComputeV1::Region::QuotaStatusWarning]
30770
+ attr_accessor :quota_status_warning
30771
+
30692
30772
  # [Output Only] Quotas assigned to this region.
30693
30773
  # Corresponds to the JSON property `quotas`
30694
30774
  # @return [Array<Google::Apis::ComputeV1::Quota>]
@@ -30728,12 +30808,78 @@ module Google
30728
30808
  @id = args[:id] if args.key?(:id)
30729
30809
  @kind = args[:kind] if args.key?(:kind)
30730
30810
  @name = args[:name] if args.key?(:name)
30811
+ @quota_status_warning = args[:quota_status_warning] if args.key?(:quota_status_warning)
30731
30812
  @quotas = args[:quotas] if args.key?(:quotas)
30732
30813
  @self_link = args[:self_link] if args.key?(:self_link)
30733
30814
  @status = args[:status] if args.key?(:status)
30734
30815
  @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
30735
30816
  @zones = args[:zones] if args.key?(:zones)
30736
30817
  end
30818
+
30819
+ # [Output Only] Warning of fetching the `quotas` field for this region. This
30820
+ # field is populated only if fetching of the `quotas` field fails.
30821
+ class QuotaStatusWarning
30822
+ include Google::Apis::Core::Hashable
30823
+
30824
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
30825
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
30826
+ # Corresponds to the JSON property `code`
30827
+ # @return [String]
30828
+ attr_accessor :code
30829
+
30830
+ # [Output Only] Metadata about this warning in key: value format. For example: "
30831
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
30832
+ # Corresponds to the JSON property `data`
30833
+ # @return [Array<Google::Apis::ComputeV1::Region::QuotaStatusWarning::Datum>]
30834
+ attr_accessor :data
30835
+
30836
+ # [Output Only] A human-readable description of the warning code.
30837
+ # Corresponds to the JSON property `message`
30838
+ # @return [String]
30839
+ attr_accessor :message
30840
+
30841
+ def initialize(**args)
30842
+ update!(**args)
30843
+ end
30844
+
30845
+ # Update properties of this object
30846
+ def update!(**args)
30847
+ @code = args[:code] if args.key?(:code)
30848
+ @data = args[:data] if args.key?(:data)
30849
+ @message = args[:message] if args.key?(:message)
30850
+ end
30851
+
30852
+ #
30853
+ class Datum
30854
+ include Google::Apis::Core::Hashable
30855
+
30856
+ # [Output Only] A key that provides more detail on the warning being returned.
30857
+ # For example, for warnings where there are no results in a list request for a
30858
+ # particular zone, this key might be scope and the key value might be the zone
30859
+ # name. Other examples might be a key indicating a deprecated resource and a
30860
+ # suggested replacement, or a warning about invalid network settings (for
30861
+ # example, if an instance attempts to perform IP forwarding but is not enabled
30862
+ # for IP forwarding).
30863
+ # Corresponds to the JSON property `key`
30864
+ # @return [String]
30865
+ attr_accessor :key
30866
+
30867
+ # [Output Only] A warning data value corresponding to the key.
30868
+ # Corresponds to the JSON property `value`
30869
+ # @return [String]
30870
+ attr_accessor :value
30871
+
30872
+ def initialize(**args)
30873
+ update!(**args)
30874
+ end
30875
+
30876
+ # Update properties of this object
30877
+ def update!(**args)
30878
+ @key = args[:key] if args.key?(:key)
30879
+ @value = args[:value] if args.key?(:value)
30880
+ end
30881
+ end
30882
+ end
30737
30883
  end
30738
30884
 
30739
30885
  #
@@ -32378,7 +32524,6 @@ module Google
32378
32524
  attr_accessor :share_settings
32379
32525
 
32380
32526
  # This reservation type allows to pre allocate specific instance configuration.
32381
- # Next ID: 6
32382
32527
  # Corresponds to the JSON property `specificReservation`
32383
32528
  # @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
32384
32529
  attr_accessor :specific_reservation
@@ -32988,7 +33133,7 @@ module Google
32988
33133
  attr_accessor :disk_consistency_group_policy
32989
33134
 
32990
33135
  # A GroupPlacementPolicy specifies resource placement configuration. It
32991
- # specifies the failure bucket separation as well as network locality
33136
+ # specifies the failure bucket separation
32992
33137
  # Corresponds to the JSON property `groupPlacementPolicy`
32993
33138
  # @return [Google::Apis::ComputeV1::ResourcePolicyGroupPlacementPolicy]
32994
33139
  attr_accessor :group_placement_policy
@@ -33251,7 +33396,7 @@ module Google
33251
33396
  end
33252
33397
 
33253
33398
  # A GroupPlacementPolicy specifies resource placement configuration. It
33254
- # specifies the failure bucket separation as well as network locality
33399
+ # specifies the failure bucket separation
33255
33400
  class ResourcePolicyGroupPlacementPolicy
33256
33401
  include Google::Apis::Core::Hashable
33257
33402
 
@@ -34460,6 +34605,14 @@ module Google
34460
34605
  # @return [Fixnum]
34461
34606
  attr_accessor :asn
34462
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
+
34463
34616
  # The interval in seconds between BGP keepalive messages that are sent to the
34464
34617
  # peer. Hold time is three times the interval at which keepalive messages are
34465
34618
  # sent, and the hold time is the maximum number of seconds allowed to elapse
@@ -34481,6 +34634,7 @@ module Google
34481
34634
  @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
34482
34635
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
34483
34636
  @asn = args[:asn] if args.key?(:asn)
34637
+ @identifier_range = args[:identifier_range] if args.key?(:identifier_range)
34484
34638
  @keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
34485
34639
  end
34486
34640
  end
@@ -34548,23 +34702,51 @@ module Google
34548
34702
  # @return [String]
34549
34703
  attr_accessor :enable
34550
34704
 
34551
- # 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.
34552
34714
  # Corresponds to the JSON property `enableIpv6`
34553
34715
  # @return [Boolean]
34554
34716
  attr_accessor :enable_ipv6
34555
34717
  alias_method :enable_ipv6?, :enable_ipv6
34556
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
+
34557
34735
  # Name of the interface the BGP peer is associated with.
34558
34736
  # Corresponds to the JSON property `interfaceName`
34559
34737
  # @return [String]
34560
34738
  attr_accessor :interface_name
34561
34739
 
34562
- # IP address of the interface inside Google Cloud Platform. Only IPv4 is
34563
- # supported.
34740
+ # IP address of the interface inside Google Cloud Platform.
34564
34741
  # Corresponds to the JSON property `ipAddress`
34565
34742
  # @return [String]
34566
34743
  attr_accessor :ip_address
34567
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
+
34568
34750
  # IPv6 address of the interface inside Google Cloud Platform.
34569
34751
  # Corresponds to the JSON property `ipv6NexthopAddress`
34570
34752
  # @return [String]
@@ -34603,12 +34785,16 @@ module Google
34603
34785
  # @return [Fixnum]
34604
34786
  attr_accessor :peer_asn
34605
34787
 
34606
- # IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
34607
- # supported.
34788
+ # IP address of the BGP interface outside Google Cloud Platform.
34608
34789
  # Corresponds to the JSON property `peerIpAddress`
34609
34790
  # @return [String]
34610
34791
  attr_accessor :peer_ip_address
34611
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
+
34612
34798
  # IPv6 address of the BGP interface outside Google Cloud Platform.
34613
34799
  # Corresponds to the JSON property `peerIpv6NexthopAddress`
34614
34800
  # @return [String]
@@ -34636,15 +34822,20 @@ module Google
34636
34822
  @custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
34637
34823
  @custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
34638
34824
  @enable = args[:enable] if args.key?(:enable)
34825
+ @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
34639
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)
34640
34829
  @interface_name = args[:interface_name] if args.key?(:interface_name)
34641
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)
34642
34832
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
34643
34833
  @management_type = args[:management_type] if args.key?(:management_type)
34644
34834
  @md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
34645
34835
  @name = args[:name] if args.key?(:name)
34646
34836
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
34647
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)
34648
34839
  @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
34649
34840
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
34650
34841
  end
@@ -34726,14 +34917,24 @@ module Google
34726
34917
  class RouterInterface
34727
34918
  include Google::Apis::Core::Hashable
34728
34919
 
34729
- # IP address and range of the interface. The IP range must be in the RFC3927
34730
- # link-local IP address space. The value must be a CIDR-formatted string, for
34731
- # example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
34732
- # 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.
34733
34929
  # Corresponds to the JSON property `ipRange`
34734
34930
  # @return [String]
34735
34931
  attr_accessor :ip_range
34736
34932
 
34933
+ # IP version of this interface.
34934
+ # Corresponds to the JSON property `ipVersion`
34935
+ # @return [String]
34936
+ attr_accessor :ip_version
34937
+
34737
34938
  # URI of the linked Interconnect attachment. It must be in the same region as
34738
34939
  # the router. Each interface can have one linked resource, which can be a VPN
34739
34940
  # tunnel, an Interconnect attachment, or a subnetwork.
@@ -34804,6 +35005,7 @@ module Google
34804
35005
  # Update properties of this object
34805
35006
  def update!(**args)
34806
35007
  @ip_range = args[:ip_range] if args.key?(:ip_range)
35008
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
34807
35009
  @linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment)
34808
35010
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
34809
35011
  @management_type = args[:management_type] if args.key?(:management_type)
@@ -35352,7 +35554,15 @@ module Google
35352
35554
  # @return [Google::Apis::ComputeV1::BfdStatus]
35353
35555
  attr_accessor :bfd_status
35354
35556
 
35355
- # 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.
35356
35566
  # Corresponds to the JSON property `enableIpv6`
35357
35567
  # @return [Boolean]
35358
35568
  attr_accessor :enable_ipv6
@@ -35363,6 +35573,11 @@ module Google
35363
35573
  # @return [String]
35364
35574
  attr_accessor :ip_address
35365
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
+
35366
35581
  # IPv6 address of the local BGP interface.
35367
35582
  # Corresponds to the JSON property `ipv6NexthopAddress`
35368
35583
  # @return [String]
@@ -35394,6 +35609,11 @@ module Google
35394
35609
  # @return [String]
35395
35610
  attr_accessor :peer_ip_address
35396
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
+
35397
35617
  # IPv6 address of the remote BGP interface.
35398
35618
  # Corresponds to the JSON property `peerIpv6NexthopAddress`
35399
35619
  # @return [String]
@@ -35441,14 +35661,17 @@ module Google
35441
35661
  def update!(**args)
35442
35662
  @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
35443
35663
  @bfd_status = args[:bfd_status] if args.key?(:bfd_status)
35664
+ @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
35444
35665
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
35445
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)
35446
35668
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
35447
35669
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
35448
35670
  @md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
35449
35671
  @name = args[:name] if args.key?(:name)
35450
35672
  @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
35451
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)
35452
35675
  @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
35453
35676
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
35454
35677
  @state = args[:state] if args.key?(:state)
@@ -37853,13 +38076,21 @@ module Google
37853
38076
  # @return [String]
37854
38077
  attr_accessor :connection_preference
37855
38078
 
37856
- # Projects that are allowed to connect to this service attachment.
38079
+ # Specifies which consumer projects or networks are allowed to connect to the
38080
+ # service attachment. Each project or network has a connection limit. A given
38081
+ # service attachment can manage connections at either the project or network
38082
+ # level. Therefore, both the accept and reject lists for a given service
38083
+ # attachment must contain either only projects or only networks.
37857
38084
  # Corresponds to the JSON property `consumerAcceptLists`
37858
38085
  # @return [Array<Google::Apis::ComputeV1::ServiceAttachmentConsumerProjectLimit>]
37859
38086
  attr_accessor :consumer_accept_lists
37860
38087
 
37861
- # Projects that are not allowed to connect to this service attachment. The
37862
- # project can be specified using its id or number.
38088
+ # Specifies a list of projects or networks that are not allowed to connect to
38089
+ # this service attachment. The project can be specified using its project ID or
38090
+ # project number and the network can be specified using its URL. A given service
38091
+ # attachment can manage connections at either the project or network level.
38092
+ # Therefore, both the reject and accept lists for a given service attachment
38093
+ # must contain either only projects or only networks.
37863
38094
  # Corresponds to the JSON property `consumerRejectLists`
37864
38095
  # @return [Array<String>]
37865
38096
  attr_accessor :consumer_reject_lists
@@ -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.95.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 = "20240326"
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
 
@@ -3906,6 +3912,18 @@ module Google
3906
3912
 
3907
3913
  class Region
3908
3914
  class Representation < Google::Apis::Core::JsonRepresentation; end
3915
+
3916
+ class QuotaStatusWarning
3917
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3918
+
3919
+ class Datum
3920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3921
+
3922
+ include Google::Apis::Core::JsonObjectSupport
3923
+ end
3924
+
3925
+ include Google::Apis::Core::JsonObjectSupport
3926
+ end
3909
3927
 
3910
3928
  include Google::Apis::Core::JsonObjectSupport
3911
3929
  end
@@ -8656,6 +8674,7 @@ module Google
8656
8674
  property :description, as: 'description'
8657
8675
  property :fingerprint, :base64 => true, as: 'fingerprint'
8658
8676
  property :id, :numeric_string => true, as: 'id'
8677
+ property :ip_collection, as: 'ipCollection'
8659
8678
  property :ip_version, as: 'ipVersion'
8660
8679
  property :is_mirroring_collector, as: 'isMirroringCollector'
8661
8680
  property :kind, as: 'kind'
@@ -12591,6 +12610,7 @@ module Google
12591
12610
  property :id, :numeric_string => true, as: 'id'
12592
12611
  property :kind, as: 'kind'
12593
12612
  property :location_hint, as: 'locationHint'
12613
+ property :maintenance_interval, as: 'maintenanceInterval'
12594
12614
  property :maintenance_policy, as: 'maintenancePolicy'
12595
12615
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow, decorator: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow::Representation
12596
12616
 
@@ -12710,6 +12730,8 @@ module Google
12710
12730
  property :status, as: 'status'
12711
12731
  property :total_resources, as: 'totalResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
12712
12732
 
12733
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
12734
+
12713
12735
  end
12714
12736
  end
12715
12737
 
@@ -12759,6 +12781,14 @@ module Google
12759
12781
  end
12760
12782
  end
12761
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
+
12762
12792
  class NodeGroupsScopedList
12763
12793
  # @private
12764
12794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13720,6 +13750,7 @@ module Google
13720
13750
  class PublicDelegatedPrefix
13721
13751
  # @private
13722
13752
  class Representation < Google::Apis::Core::JsonRepresentation
13753
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
13723
13754
  property :byoip_api_version, as: 'byoipApiVersion'
13724
13755
  property :creation_timestamp, as: 'creationTimestamp'
13725
13756
  property :description, as: 'description'
@@ -13728,6 +13759,7 @@ module Google
13728
13759
  property :ip_cidr_range, as: 'ipCidrRange'
13729
13760
  property :is_live_migration, as: 'isLiveMigration'
13730
13761
  property :kind, as: 'kind'
13762
+ property :mode, as: 'mode'
13731
13763
  property :name, as: 'name'
13732
13764
  property :parent_prefix, as: 'parentPrefix'
13733
13765
  collection :public_delegated_sub_prefixs, as: 'publicDelegatedSubPrefixs', class: Google::Apis::ComputeV1::PublicDelegatedPrefixPublicDelegatedSubPrefix, decorator: Google::Apis::ComputeV1::PublicDelegatedPrefixPublicDelegatedSubPrefix::Representation
@@ -13806,10 +13838,12 @@ module Google
13806
13838
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
13807
13839
  # @private
13808
13840
  class Representation < Google::Apis::Core::JsonRepresentation
13841
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
13809
13842
  property :delegatee_project, as: 'delegateeProject'
13810
13843
  property :description, as: 'description'
13811
13844
  property :ip_cidr_range, as: 'ipCidrRange'
13812
13845
  property :is_address, as: 'isAddress'
13846
+ property :mode, as: 'mode'
13813
13847
  property :name, as: 'name'
13814
13848
  property :region, as: 'region'
13815
13849
  property :status, as: 'status'
@@ -13886,6 +13920,8 @@ module Google
13886
13920
  property :id, :numeric_string => true, as: 'id'
13887
13921
  property :kind, as: 'kind'
13888
13922
  property :name, as: 'name'
13923
+ property :quota_status_warning, as: 'quotaStatusWarning', class: Google::Apis::ComputeV1::Region::QuotaStatusWarning, decorator: Google::Apis::ComputeV1::Region::QuotaStatusWarning::Representation
13924
+
13889
13925
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation
13890
13926
 
13891
13927
  property :self_link, as: 'selfLink'
@@ -13893,6 +13929,24 @@ module Google
13893
13929
  property :supports_pzs, as: 'supportsPzs'
13894
13930
  collection :zones, as: 'zones'
13895
13931
  end
13932
+
13933
+ class QuotaStatusWarning
13934
+ # @private
13935
+ class Representation < Google::Apis::Core::JsonRepresentation
13936
+ property :code, as: 'code'
13937
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::Region::QuotaStatusWarning::Datum, decorator: Google::Apis::ComputeV1::Region::QuotaStatusWarning::Datum::Representation
13938
+
13939
+ property :message, as: 'message'
13940
+ end
13941
+
13942
+ class Datum
13943
+ # @private
13944
+ class Representation < Google::Apis::Core::JsonRepresentation
13945
+ property :key, as: 'key'
13946
+ property :value, as: 'value'
13947
+ end
13948
+ end
13949
+ end
13896
13950
  end
13897
13951
 
13898
13952
  class RegionAddressesMoveRequest
@@ -14912,6 +14966,7 @@ module Google
14912
14966
  collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
14913
14967
 
14914
14968
  property :asn, as: 'asn'
14969
+ property :identifier_range, as: 'identifierRange'
14915
14970
  property :keepalive_interval, as: 'keepaliveInterval'
14916
14971
  end
14917
14972
  end
@@ -14930,15 +14985,20 @@ module Google
14930
14985
 
14931
14986
  property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
14932
14987
  property :enable, as: 'enable'
14988
+ property :enable_ipv4, as: 'enableIpv4'
14933
14989
  property :enable_ipv6, as: 'enableIpv6'
14990
+ collection :export_policies, as: 'exportPolicies'
14991
+ collection :import_policies, as: 'importPolicies'
14934
14992
  property :interface_name, as: 'interfaceName'
14935
14993
  property :ip_address, as: 'ipAddress'
14994
+ property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
14936
14995
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
14937
14996
  property :management_type, as: 'managementType'
14938
14997
  property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
14939
14998
  property :name, as: 'name'
14940
14999
  property :peer_asn, as: 'peerAsn'
14941
15000
  property :peer_ip_address, as: 'peerIpAddress'
15001
+ property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
14942
15002
  property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
14943
15003
  property :router_appliance_instance, as: 'routerApplianceInstance'
14944
15004
  end
@@ -14965,6 +15025,7 @@ module Google
14965
15025
  # @private
14966
15026
  class Representation < Google::Apis::Core::JsonRepresentation
14967
15027
  property :ip_range, as: 'ipRange'
15028
+ property :ip_version, as: 'ipVersion'
14968
15029
  property :linked_interconnect_attachment, as: 'linkedInterconnectAttachment'
14969
15030
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
14970
15031
  property :management_type, as: 'managementType'
@@ -15104,14 +15165,17 @@ module Google
15104
15165
 
15105
15166
  property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeV1::BfdStatus, decorator: Google::Apis::ComputeV1::BfdStatus::Representation
15106
15167
 
15168
+ property :enable_ipv4, as: 'enableIpv4'
15107
15169
  property :enable_ipv6, as: 'enableIpv6'
15108
15170
  property :ip_address, as: 'ipAddress'
15171
+ property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
15109
15172
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
15110
15173
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
15111
15174
  property :md5_auth_enabled, as: 'md5AuthEnabled'
15112
15175
  property :name, as: 'name'
15113
15176
  property :num_learned_routes, as: 'numLearnedRoutes'
15114
15177
  property :peer_ip_address, as: 'peerIpAddress'
15178
+ property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
15115
15179
  property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
15116
15180
  property :router_appliance_instance, as: 'routerApplianceInstance'
15117
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.95.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-07 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.95.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: []