google-apis-compute_v1 0.70.0 → 0.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6c5c1526696c5845a810830db39d916b6781f3cb8e51d56e89bdbc10cb1b1fd
4
- data.tar.gz: 28eb9f35a9f9d57ca1fdfb467c2b94639bf15cd734ddb17052ab64ae206ab7a5
3
+ metadata.gz: 611cb43bbd1739a40d584773487d7498c7f68871b09fc26afe74b630b6b945bf
4
+ data.tar.gz: 76435ced3ac8b6784bb91cd3ae284b22cd94785a8a264f382b6d55c53fffce40
5
5
  SHA512:
6
- metadata.gz: aea9b53ff6982cb0c4f2fc0ea73e070748860fa48ba6069fcc97661c17e32b3d61c482a401a328b446b45979ca8f29cd063486ca67e3cc905cbdf819dc675687
7
- data.tar.gz: 8dc05f1a2619d3919481c799dadfacd1756cf01eaa7285a87493d130a36090995a720e17b4bd38b888fe5ce169d7e2df8c8523d8b06f8c7cf15ff1cfd09a2e43
6
+ metadata.gz: 7fd41ba633223f3d1ccdef1f148851796f0a2fcdbba3d8f433a6ae8e999cf0566ac1a8b13544a158a267e7d97d659b4c2b308b692bda0b3034fce40f74150cc2
7
+ data.tar.gz: 6c62111e669064ce058f60797ab05c608b39b376d6215c97d728055fe2f40436662dcdfd3ddefc7a7b0dd4a3730f5387bc1605b39874f4726938dfee78ca5844
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.72.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230610
6
+
7
+ ### v0.71.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230606
10
+
3
11
  ### v0.70.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230530
@@ -592,7 +592,7 @@ module Google
592
592
  attr_accessor :id
593
593
 
594
594
  # The IP version that will be used by this address. Valid options are IPV4 or
595
- # IPV6. This can only be specified for a global address.
595
+ # IPV6.
596
596
  # Corresponds to the JSON property `ipVersion`
597
597
  # @return [String]
598
598
  attr_accessor :ip_version
@@ -5762,7 +5762,9 @@ module Google
5762
5762
 
5763
5763
  # The name of the encryption key that is stored in Google Cloud KMS. For example:
5764
5764
  # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
5765
- # cryptoKeys/key
5765
+ # cryptoKeys/key The fully-qualifed key name may be returned for resource GET
5766
+ # requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
5767
+ # keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
5766
5768
  # Corresponds to the JSON property `kmsKeyName`
5767
5769
  # @return [String]
5768
5770
  attr_accessor :kms_key_name
@@ -13188,6 +13190,16 @@ module Google
13188
13190
  # @return [Fixnum]
13189
13191
  attr_accessor :id
13190
13192
 
13193
+ # Encrypts suspended data for an instance with a customer-managed encryption key.
13194
+ # If you are creating a new instance, this field will encrypt the local SSD and
13195
+ # in-memory contents of the instance during the suspend operation. If you do not
13196
+ # provide an encryption key when creating the instance, then the local SSD and
13197
+ # in-memory contents will be encrypted using an automatically generated key
13198
+ # during the suspend operation.
13199
+ # Corresponds to the JSON property `instanceEncryptionKey`
13200
+ # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
13201
+ attr_accessor :instance_encryption_key
13202
+
13191
13203
  # KeyRevocationActionType of the instance. Supported options are "STOP" and "
13192
13204
  # NONE". The default value is "NONE" if it is not specified.
13193
13205
  # Corresponds to the JSON property `keyRevocationActionType`
@@ -13407,6 +13419,7 @@ module Google
13407
13419
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
13408
13420
  @hostname = args[:hostname] if args.key?(:hostname)
13409
13421
  @id = args[:id] if args.key?(:id)
13422
+ @instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
13410
13423
  @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
13411
13424
  @kind = args[:kind] if args.key?(:kind)
13412
13425
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -14721,12 +14734,12 @@ module Google
14721
14734
  attr_accessor :minimal_action
14722
14735
 
14723
14736
  # Most disruptive action that is allowed to be taken on an instance. You can
14724
- # specify either NONE to forbid any actions, REFRESH to allow actions that do
14725
- # not need instance restart, RESTART to allow actions that can be applied
14726
- # without instance replacing or REPLACE to allow all possible actions. If the
14727
- # Updater determines that the minimal update action needed is more disruptive
14728
- # than most disruptive allowed action you specify it will not perform the update
14729
- # at all.
14737
+ # specify either NONE to forbid any actions, REFRESH to avoid restarting the VM
14738
+ # and to limit disruption as much as possible. RESTART to allow actions that can
14739
+ # be applied without instance replacing or REPLACE to allow all possible actions.
14740
+ # If the Updater determines that the minimal update action needed is more
14741
+ # disruptive than most disruptive allowed action you specify it will not perform
14742
+ # the update at all.
14730
14743
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
14731
14744
  # @return [String]
14732
14745
  attr_accessor :most_disruptive_allowed_action
@@ -14839,20 +14852,22 @@ module Google
14839
14852
 
14840
14853
  # The minimal action that you want to perform on each instance during the update:
14841
14854
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
14842
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
14843
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
14844
- # NONE. If your update requires a more disruptive action than you set with this
14845
- # flag, the necessary action is performed to execute the update.
14855
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
14856
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
14857
+ # all. By default, the minimum action is NONE. If your update requires a more
14858
+ # disruptive action than you set with this flag, the necessary action is
14859
+ # performed to execute the update.
14846
14860
  # Corresponds to the JSON property `minimalAction`
14847
14861
  # @return [String]
14848
14862
  attr_accessor :minimal_action
14849
14863
 
14850
14864
  # The most disruptive action that you want to perform on each instance during
14851
14865
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
14852
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
14853
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
14854
- # allowed action is REPLACE. If your update requires a more disruptive action
14855
- # than you set with this flag, the update request will fail.
14866
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
14867
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
14868
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
14869
+ # requires a more disruptive action than you set with this flag, the update
14870
+ # request will fail.
14856
14871
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
14857
14872
  # @return [String]
14858
14873
  attr_accessor :most_disruptive_allowed_action
@@ -27487,7 +27502,7 @@ module Google
27487
27502
  # @return [String]
27488
27503
  attr_accessor :description
27489
27504
 
27490
- # The IPv4 address to be used for reverse DNS verification.
27505
+ # The address to be used for reverse DNS verification.
27491
27506
  # Corresponds to the JSON property `dnsVerificationIp`
27492
27507
  # @return [String]
27493
27508
  attr_accessor :dns_verification_ip
@@ -27509,7 +27524,7 @@ module Google
27509
27524
  # @return [Fixnum]
27510
27525
  attr_accessor :id
27511
27526
 
27512
- # The IPv4 address range, in CIDR format, represented by this public advertised
27527
+ # The address range, in CIDR format, represented by this public advertised
27513
27528
  # prefix.
27514
27529
  # Corresponds to the JSON property `ipCidrRange`
27515
27530
  # @return [String]
@@ -29138,20 +29153,22 @@ module Google
29138
29153
 
29139
29154
  # The minimal action that you want to perform on each instance during the update:
29140
29155
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
29141
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
29142
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
29143
- # NONE. If your update requires a more disruptive action than you set with this
29144
- # flag, the necessary action is performed to execute the update.
29156
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
29157
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
29158
+ # all. By default, the minimum action is NONE. If your update requires a more
29159
+ # disruptive action than you set with this flag, the necessary action is
29160
+ # performed to execute the update.
29145
29161
  # Corresponds to the JSON property `minimalAction`
29146
29162
  # @return [String]
29147
29163
  attr_accessor :minimal_action
29148
29164
 
29149
29165
  # The most disruptive action that you want to perform on each instance during
29150
29166
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
29151
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
29152
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
29153
- # allowed action is REPLACE. If your update requires a more disruptive action
29154
- # than you set with this flag, the update request will fail.
29167
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
29168
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
29169
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
29170
+ # requires a more disruptive action than you set with this flag, the update
29171
+ # request will fail.
29155
29172
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
29156
29173
  # @return [String]
29157
29174
  attr_accessor :most_disruptive_allowed_action
@@ -32174,6 +32191,20 @@ module Google
32174
32191
  # @return [Google::Apis::ComputeV1::RouterBgpPeerBfd]
32175
32192
  attr_accessor :bfd
32176
32193
 
32194
+ # A list of user-defined custom learned route IP address ranges for a BGP
32195
+ # session.
32196
+ # Corresponds to the JSON property `customLearnedIpRanges`
32197
+ # @return [Array<Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange>]
32198
+ attr_accessor :custom_learned_ip_ranges
32199
+
32200
+ # The user-defined custom learned route priority for a BGP session. This value
32201
+ # is applied to all custom learned route ranges for the session. You can choose
32202
+ # a value from `0` to `65335`. If you don't provide a value, Google Cloud
32203
+ # assigns a priority of `100` to the ranges.
32204
+ # Corresponds to the JSON property `customLearnedRoutePriority`
32205
+ # @return [Fixnum]
32206
+ attr_accessor :custom_learned_route_priority
32207
+
32177
32208
  # The status of the BGP peer connection. If set to FALSE, any active session
32178
32209
  # with the peer is terminated and all associated routing information is removed.
32179
32210
  # If set to TRUE, the peer connection can be established with routing
@@ -32267,6 +32298,8 @@ module Google
32267
32298
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
32268
32299
  @advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
32269
32300
  @bfd = args[:bfd] if args.key?(:bfd)
32301
+ @custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
32302
+ @custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
32270
32303
  @enable = args[:enable] if args.key?(:enable)
32271
32304
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
32272
32305
  @interface_name = args[:interface_name] if args.key?(:interface_name)
@@ -32333,6 +32366,27 @@ module Google
32333
32366
  end
32334
32367
  end
32335
32368
 
32369
+ #
32370
+ class RouterBgpPeerCustomLearnedIpRange
32371
+ include Google::Apis::Core::Hashable
32372
+
32373
+ # The custom learned route IP address range. Must be a valid CIDR-formatted
32374
+ # prefix. If an IP address is provided without a subnet mask, it is interpreted
32375
+ # as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
32376
+ # Corresponds to the JSON property `range`
32377
+ # @return [String]
32378
+ attr_accessor :range
32379
+
32380
+ def initialize(**args)
32381
+ update!(**args)
32382
+ end
32383
+
32384
+ # Update properties of this object
32385
+ def update!(**args)
32386
+ @range = args[:range] if args.key?(:range)
32387
+ end
32388
+ end
32389
+
32336
32390
  #
32337
32391
  class RouterInterface
32338
32392
  include Google::Apis::Core::Hashable
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230530"
25
+ REVISION = "20230610"
26
26
  end
27
27
  end
28
28
  end
@@ -4204,6 +4204,12 @@ module Google
4204
4204
  include Google::Apis::Core::JsonObjectSupport
4205
4205
  end
4206
4206
 
4207
+ class RouterBgpPeerCustomLearnedIpRange
4208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4209
+
4210
+ include Google::Apis::Core::JsonObjectSupport
4211
+ end
4212
+
4207
4213
  class RouterInterface
4208
4214
  class Representation < Google::Apis::Core::JsonRepresentation; end
4209
4215
 
@@ -8898,6 +8904,8 @@ module Google
8898
8904
 
8899
8905
  property :hostname, as: 'hostname'
8900
8906
  property :id, :numeric_string => true, as: 'id'
8907
+ property :instance_encryption_key, as: 'instanceEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
8908
+
8901
8909
  property :key_revocation_action_type, as: 'keyRevocationActionType'
8902
8910
  property :kind, as: 'kind'
8903
8911
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@@ -13767,6 +13775,9 @@ module Google
13767
13775
  property :advertised_route_priority, as: 'advertisedRoutePriority'
13768
13776
  property :bfd, as: 'bfd', class: Google::Apis::ComputeV1::RouterBgpPeerBfd, decorator: Google::Apis::ComputeV1::RouterBgpPeerBfd::Representation
13769
13777
 
13778
+ collection :custom_learned_ip_ranges, as: 'customLearnedIpRanges', class: Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange, decorator: Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange::Representation
13779
+
13780
+ property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
13770
13781
  property :enable, as: 'enable'
13771
13782
  property :enable_ipv6, as: 'enableIpv6'
13772
13783
  property :interface_name, as: 'interfaceName'
@@ -13792,6 +13803,13 @@ module Google
13792
13803
  end
13793
13804
  end
13794
13805
 
13806
+ class RouterBgpPeerCustomLearnedIpRange
13807
+ # @private
13808
+ class Representation < Google::Apis::Core::JsonRepresentation
13809
+ property :range, as: 'range'
13810
+ end
13811
+ end
13812
+
13795
13813
  class RouterInterface
13796
13814
  # @private
13797
13815
  class Representation < Google::Apis::Core::JsonRepresentation
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.70.0
4
+ version: 0.72.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: 2023-06-11 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.72.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: []