google-apis-compute_alpha 0.16.0 → 0.17.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: fd2b7c1f0e2b5a439039691eb9b49de7450f6352fbe959c860d8df2d00c1b01a
4
- data.tar.gz: f6f06b5a23097d907094d1eeb62c53bbc200227f7b1b5419b546566e1d6deeb3
3
+ metadata.gz: b1c58bb31b5a2e85e375720d2ccbbd964a48a1da42237e313d316c3770368992
4
+ data.tar.gz: 0366f5f57e8e8bb1e4c2bfd937d64f5b0590c06ff266d05fc55413875f67540e
5
5
  SHA512:
6
- metadata.gz: 8efd6f0fea6511c59cd49e6347751cd805effaf0c0394532ee6e0d78d41500e339b3df9e45411f09d6ed8da3a0ed50c7212946979a0cc1a81eb98b722b78af3d
7
- data.tar.gz: 4ef02a140320ce5a052571e29b3d2d9d50f63e8766dd534e7e21622d16b328cc65103499f062e279a354b15e85c2325477641730cadfd9ef3e0e144a4e6e982c
6
+ metadata.gz: 3398b9aab5e6cd6da9ed72d03c761bda2ad2b56f7f68b2d9ee7be391040dd3be5c39bd9b2cb041b25c5b4645659ea3dbb48a4e35d9a5feddf6581cbc2456a864
7
+ data.tar.gz: 37635bca55302c7cdb84ad7c26990e05600b616c4133f38367d7b223e576b56a065c19bdf83daf1819b0a5864172d2f2d9927e4ab4f678a910b43a01f0b4b3b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.17.0 (2021-09-14)
4
+
5
+ * Regenerated from discovery document revision 20210907
6
+
3
7
  ### v0.16.0 (2021-09-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20210820
@@ -8397,7 +8397,7 @@ module Google
8397
8397
  attr_accessor :description
8398
8398
 
8399
8399
  # Deprecated, please use short name instead. User-provided name of the
8400
- # Organization firewall plicy. The name should be unique in the organization in
8400
+ # Organization firewall policy. The name should be unique in the organization in
8401
8401
  # which the firewall policy is created. This name must be set on creation and
8402
8402
  # cannot be changed. The name must be 1-63 characters long, and comply with
8403
8403
  # RFC1035. Specifically, the name must be 1-63 characters long and match the
@@ -8783,6 +8783,12 @@ module Google
8783
8783
  class FirewallPolicyRuleMatcher
8784
8784
  include Google::Apis::Core::Hashable
8785
8785
 
8786
+ # Address groups which should be matched against the traffic destination.
8787
+ # Maximum number of destination address groups is 10.
8788
+ # Corresponds to the JSON property `destAddressGroups`
8789
+ # @return [Array<String>]
8790
+ attr_accessor :dest_address_groups
8791
+
8786
8792
  # CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is
8787
8793
  # 5000.
8788
8794
  # Corresponds to the JSON property `destIpRanges`
@@ -8794,6 +8800,12 @@ module Google
8794
8800
  # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config>]
8795
8801
  attr_accessor :layer4_configs
8796
8802
 
8803
+ # Address groups which should be matched against the traffic source. Maximum
8804
+ # number of source address groups is 10.
8805
+ # Corresponds to the JSON property `srcAddressGroups`
8806
+ # @return [Array<String>]
8807
+ attr_accessor :src_address_groups
8808
+
8797
8809
  # CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
8798
8810
  # Corresponds to the JSON property `srcIpRanges`
8799
8811
  # @return [Array<String>]
@@ -8813,8 +8825,10 @@ module Google
8813
8825
 
8814
8826
  # Update properties of this object
8815
8827
  def update!(**args)
8828
+ @dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
8816
8829
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
8817
8830
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
8831
+ @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
8818
8832
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
8819
8833
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
8820
8834
  end
@@ -15029,7 +15043,7 @@ module Google
15029
15043
  # @return [String]
15030
15044
  attr_accessor :service_account
15031
15045
 
15032
- # Stanby policy for stopped and suspended instances.
15046
+ # Standby policy for stopped and suspended instances.
15033
15047
  # Corresponds to the JSON property `standbyPolicy`
15034
15048
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStandbyPolicy]
15035
15049
  attr_accessor :standby_policy
@@ -34104,7 +34118,7 @@ module Google
34104
34118
  # @return [Fixnum]
34105
34119
  attr_accessor :advertised_route_priority
34106
34120
 
34107
- # BFD configuration for the BGP peering. Not currently available publicly.
34121
+ # BFD configuration for the BGP peering.
34108
34122
  # Corresponds to the JSON property `bfd`
34109
34123
  # @return [Google::Apis::ComputeAlpha::RouterBgpPeerBfd]
34110
34124
  attr_accessor :bfd
@@ -34216,8 +34230,8 @@ module Google
34216
34230
  # The minimum interval, in milliseconds, between BFD control packets received
34217
34231
  # from the peer router. The actual value is negotiated between the two routers
34218
34232
  # and is equal to the greater of this value and the transmit interval of the
34219
- # other router. Not currently available publicly. If set, this value must be
34220
- # between 1000 and 30000. The default is 1000.
34233
+ # other router. If set, this value must be between 1000 and 30000. The default
34234
+ # is 1000.
34221
34235
  # Corresponds to the JSON property `minReceiveInterval`
34222
34236
  # @return [Fixnum]
34223
34237
  attr_accessor :min_receive_interval
@@ -34225,8 +34239,8 @@ module Google
34225
34239
  # The minimum interval, in milliseconds, between BFD control packets transmitted
34226
34240
  # to the peer router. The actual value is negotiated between the two routers and
34227
34241
  # is equal to the greater of this value and the corresponding receive interval
34228
- # of the other router. Not currently available publicly. If set, this value must
34229
- # be between 1000 and 30000. The default is 1000.
34242
+ # of the other router. If set, this value must be between 1000 and 30000. The
34243
+ # default is 1000.
34230
34244
  # Corresponds to the JSON property `minTransmitInterval`
34231
34245
  # @return [Fixnum]
34232
34246
  attr_accessor :min_transmit_interval
@@ -34241,8 +34255,8 @@ module Google
34241
34255
  attr_accessor :mode
34242
34256
 
34243
34257
  # The number of consecutive BFD packets that must be missed before BFD declares
34244
- # that a peer is unavailable. Not currently available publicly. If set, the
34245
- # value must be a value between 5 and 16. The default is 5.
34258
+ # that a peer is unavailable. If set, the value must be a value between 5 and 16.
34259
+ # The default is 5.
34246
34260
  # Corresponds to the JSON property `multiplier`
34247
34261
  # @return [Fixnum]
34248
34262
  attr_accessor :multiplier
@@ -34259,11 +34273,11 @@ module Google
34259
34273
  # @return [String]
34260
34274
  attr_accessor :packet_mode
34261
34275
 
34262
- # The BFD session initialization mode for this BGP peer. Not currently available
34263
- # publicly. If set to ACTIVE, the Cloud Router will initiate the BFD session for
34264
- # this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer
34265
- # router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD
34266
- # is disabled for this BGP peer. The default is PASSIVE.
34276
+ # The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
34277
+ # Cloud Router will initiate the BFD session for this BGP peer. If set to
34278
+ # PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
34279
+ # session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
34280
+ # peer. The default is PASSIVE.
34267
34281
  # Corresponds to the JSON property `sessionInitializationMode`
34268
34282
  # @return [String]
34269
34283
  attr_accessor :session_initialization_mode
@@ -37622,6 +37636,13 @@ module Google
37622
37636
  # @return [Hash<String,Google::Apis::ComputeAlpha::ShareSettingsFolderConfig>]
37623
37637
  attr_accessor :folder_map
37624
37638
 
37639
+ # A map of project id and project config. Using map format to ease add-to/remove-
37640
+ # from the Project list in PATCH command. In future we will deprecate (And later
37641
+ # remove) the array one.
37642
+ # Corresponds to the JSON property `projectMap`
37643
+ # @return [Hash<String,Google::Apis::ComputeAlpha::ShareSettingsProjectConfig>]
37644
+ attr_accessor :project_map
37645
+
37625
37646
  # A List of Project names to specify consumer projects for this shared-
37626
37647
  # reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
37627
37648
  # Corresponds to the JSON property `projects`
@@ -37640,6 +37661,7 @@ module Google
37640
37661
  # Update properties of this object
37641
37662
  def update!(**args)
37642
37663
  @folder_map = args[:folder_map] if args.key?(:folder_map)
37664
+ @project_map = args[:project_map] if args.key?(:project_map)
37643
37665
  @projects = args[:projects] if args.key?(:projects)
37644
37666
  @share_type = args[:share_type] if args.key?(:share_type)
37645
37667
  end
@@ -37665,6 +37687,26 @@ module Google
37665
37687
  end
37666
37688
  end
37667
37689
 
37690
+ # Config for each project in the share settings.
37691
+ class ShareSettingsProjectConfig
37692
+ include Google::Apis::Core::Hashable
37693
+
37694
+ # The project ID, should be same as the key of this project config in the parent
37695
+ # map.
37696
+ # Corresponds to the JSON property `projectId`
37697
+ # @return [String]
37698
+ attr_accessor :project_id
37699
+
37700
+ def initialize(**args)
37701
+ update!(**args)
37702
+ end
37703
+
37704
+ # Update properties of this object
37705
+ def update!(**args)
37706
+ @project_id = args[:project_id] if args.key?(:project_id)
37707
+ end
37708
+ end
37709
+
37668
37710
  # A set of Shielded Instance options.
37669
37711
  class ShieldedInstanceConfig
37670
37712
  include Google::Apis::Core::Hashable
@@ -38427,7 +38469,7 @@ module Google
38427
38469
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
38428
38470
  attr_accessor :network_interfaces
38429
38471
 
38430
- # PostKeyRevocationActionType of the instance.
38472
+ # PostKeyRevocationActionType of the instance. (will be deprecated soon)
38431
38473
  # Corresponds to the JSON property `postKeyRevocationActionType`
38432
38474
  # @return [String]
38433
38475
  attr_accessor :post_key_revocation_action_type
@@ -39598,9 +39640,8 @@ module Google
39598
39640
  attr_accessor :name
39599
39641
 
39600
39642
  # The URL of the network to which this subnetwork belongs, provided by the
39601
- # client when initially creating the subnetwork. Only networks that are in the
39602
- # distributed mode can have subnetworks. This field can be set only at resource
39603
- # creation time.
39643
+ # client when initially creating the subnetwork. This field can be set only at
39644
+ # resource creation time.
39604
39645
  # Corresponds to the JSON property `network`
39605
39646
  # @return [String]
39606
39647
  attr_accessor :network
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210820"
25
+ REVISION = "20210907"
26
26
  end
27
27
  end
28
28
  end
@@ -4918,6 +4918,12 @@ module Google
4918
4918
  include Google::Apis::Core::JsonObjectSupport
4919
4919
  end
4920
4920
 
4921
+ class ShareSettingsProjectConfig
4922
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4923
+
4924
+ include Google::Apis::Core::JsonObjectSupport
4925
+ end
4926
+
4921
4927
  class ShieldedInstanceConfig
4922
4928
  class Representation < Google::Apis::Core::JsonRepresentation; end
4923
4929
 
@@ -8178,9 +8184,11 @@ module Google
8178
8184
  class FirewallPolicyRuleMatcher
8179
8185
  # @private
8180
8186
  class Representation < Google::Apis::Core::JsonRepresentation
8187
+ collection :dest_address_groups, as: 'destAddressGroups'
8181
8188
  collection :dest_ip_ranges, as: 'destIpRanges'
8182
8189
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
8183
8190
 
8191
+ collection :src_address_groups, as: 'srcAddressGroups'
8184
8192
  collection :src_ip_ranges, as: 'srcIpRanges'
8185
8193
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
8186
8194
 
@@ -15424,6 +15432,8 @@ module Google
15424
15432
  class Representation < Google::Apis::Core::JsonRepresentation
15425
15433
  hash :folder_map, as: 'folderMap', class: Google::Apis::ComputeAlpha::ShareSettingsFolderConfig, decorator: Google::Apis::ComputeAlpha::ShareSettingsFolderConfig::Representation
15426
15434
 
15435
+ hash :project_map, as: 'projectMap', class: Google::Apis::ComputeAlpha::ShareSettingsProjectConfig, decorator: Google::Apis::ComputeAlpha::ShareSettingsProjectConfig::Representation
15436
+
15427
15437
  collection :projects, as: 'projects'
15428
15438
  property :share_type, as: 'shareType'
15429
15439
  end
@@ -15436,6 +15446,13 @@ module Google
15436
15446
  end
15437
15447
  end
15438
15448
 
15449
+ class ShareSettingsProjectConfig
15450
+ # @private
15451
+ class Representation < Google::Apis::Core::JsonRepresentation
15452
+ property :project_id, as: 'projectId'
15453
+ end
15454
+ end
15455
+
15439
15456
  class ShieldedInstanceConfig
15440
15457
  # @private
15441
15458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -42547,14 +42547,14 @@ module Google
42547
42547
 
42548
42548
  # Waits for the specified Operation resource to return as `DONE` or for the
42549
42549
  # request to approach the 2 minute deadline, and retrieves the specified
42550
- # Operation resource. This method differs from the `GET` method in that it waits
42551
- # for no more than the default deadline (2 minutes) and then returns the current
42552
- # state of the operation, which might be `DONE` or still in progress. This
42553
- # method is called on a best-effort basis. Specifically: - In uncommon cases,
42554
- # when the server is overloaded, the request might return before the default
42555
- # deadline is reached, or might return after zero seconds. - If the default
42556
- # deadline is reached, there is no guarantee that the operation is actually done
42557
- # when the method returns. Be prepared to retry if the operation is not `DONE`.
42550
+ # Operation resource. This method waits for no more than the 2 minutes and then
42551
+ # returns the current state of the operation, which might be `DONE` or still in
42552
+ # progress. This method is called on a best-effort basis. Specifically: - In
42553
+ # uncommon cases, when the server is overloaded, the request might return before
42554
+ # the default deadline is reached, or might return after zero seconds. - If the
42555
+ # default deadline is reached, there is no guarantee that the operation is
42556
+ # actually done when the method returns. Be prepared to retry if the operation
42557
+ # is not `DONE`.
42558
42558
  # @param [String] project
42559
42559
  # Project ID for this request.
42560
42560
  # @param [String] zone
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-20 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/master/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []