google-apis-compute_alpha 0.5.0 → 0.6.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: 7d21bfea1439c202e8240c2742775ac3dd778531e397c3399fea7468b07bef49
4
- data.tar.gz: 8ffb292096a281cd0c093480cc4981f3ccbbc4a27dc59403ffc8783959109865
3
+ metadata.gz: 5cba72be75fcc1cd63075bd522aa078dd0b3c051835991fafd0abd4e5de76975
4
+ data.tar.gz: bcaa61e645c77fff539298388395f387338cae82fbe44b6f0bf089a4a6f9f9c2
5
5
  SHA512:
6
- metadata.gz: 06c110c9a38b7b4be1b14c42f16a03e3e68f8cd1477985e20aa1695f4943b2db69e6ea09c22e829266235509cceccafaebf6f0b62b7ca9c8258081ee0924919b
7
- data.tar.gz: 99a839f97813d1a65239aa4b5d13eda34218debcbbeff2ba1c63bf5a2a92b6f0fec2bb36607a2393c15a134aa96889a704fb909ae0e5602008b995d4b9803412
6
+ metadata.gz: 32563cc9e9f6e1b5b25e6f2a3a0f384fa80ac8f6f12f04a14341fe55dda4ff34be128aeb59f8146f5cfe9ded2a74a8d3164f15bc5499524f4be2e70a514a76f2
7
+ data.tar.gz: 567d8a4f33837a8a75e8327365ab28396f390dd862d301a84b3daecf5e2261b9d3fedef754147383ffa458587daeafe4d53bdbcfae0b09899e4681de250e9527
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.6.0 (2021-03-10)
4
+
5
+ * Regenerated from discovery document revision 20210301
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.5.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -671,7 +671,7 @@ module Google
671
671
  # @return [String]
672
672
  attr_accessor :network_tier
673
673
 
674
- # The prefix length if the resource reprensents an IP range.
674
+ # The prefix length if the resource represents an IP range.
675
675
  # Corresponds to the JSON property `prefixLength`
676
676
  # @return [Fixnum]
677
677
  attr_accessor :prefix_length
@@ -684,7 +684,7 @@ module Google
684
684
  # - `NAT_AUTO` for addresses that are external IP addresses automatically
685
685
  # reserved for Cloud NAT.
686
686
  # - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
687
- # reserved for a VLAN attachment in an IPsec encrypted Interconnect
687
+ # reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect
688
688
  # configuration. These addresses are regional resources.
689
689
  # Corresponds to the JSON property `purpose`
690
690
  # @return [String]
@@ -8996,6 +8996,8 @@ module Google
8996
8996
  # ip_address_specifications).
8997
8997
  # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
8998
8998
  # validateForProxyless field set to true.
8999
+ # For Private Service Connect forwarding rules that forward traffic to Google
9000
+ # APIs, IP address must be provided.
8999
9001
  # Corresponds to the JSON property `IPAddress`
9000
9002
  # @return [String]
9001
9003
  attr_accessor :ip_address
@@ -9168,6 +9170,8 @@ module Google
9168
9170
  # For Internal TCP/UDP Load Balancing, this field identifies the network that
9169
9171
  # the load balanced IP should belong to for this Forwarding Rule. If this field
9170
9172
  # is not specified, the default network will be used.
9173
+ # For Private Service Connect forwarding rules that forward traffic to Google
9174
+ # APIs, a network must be provided.
9171
9175
  # Corresponds to the JSON property `network`
9172
9176
  # @return [String]
9173
9177
  attr_accessor :network
@@ -9277,12 +9281,7 @@ module Google
9277
9281
  # @return [String]
9278
9282
  attr_accessor :subnetwork
9279
9283
 
9280
- # The URL of the target resource to receive the matched traffic. For regional
9281
- # forwarding rules, this target must be in the same region as the forwarding
9282
- # rule. For global forwarding rules, this target must be a global load balancing
9283
- # resource. The forwarded traffic must be of a type appropriate to the target
9284
- # object. For more information, see the "Target" column in [Port specifications](
9285
- # /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
9284
+ #
9286
9285
  # Corresponds to the JSON property `target`
9287
9286
  # @return [String]
9288
9287
  attr_accessor :target
@@ -13834,7 +13833,8 @@ module Google
13834
13833
  # @return [String]
13835
13834
  attr_accessor :source_machine_image
13836
13835
 
13837
- # Source GMI encryption key when creating an instance from GMI.
13836
+ # Source machine image encryption key when creating an instance from a machine
13837
+ # image.
13838
13838
  # Corresponds to the JSON property `sourceMachineImageEncryptionKey`
13839
13839
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
13840
13840
  attr_accessor :source_machine_image_encryption_key
@@ -18015,8 +18015,8 @@ module Google
18015
18015
  # type of attachment.
18016
18016
  # - IPSEC indicates that the attachment carries only traffic encrypted by an
18017
18017
  # IPsec device such as an HA VPN gateway. VMs cannot directly send traffic to,
18018
- # or receive traffic from, such an attachment. To use IPsec over Interconnect,
18019
- # create the attachment using this option.
18018
+ # or receive traffic from, such an attachment. To use IPsec-encrypted Cloud
18019
+ # Interconnect, create the attachment using this option.
18020
18020
  # Corresponds to the JSON property `encryption`
18021
18021
  # @return [String]
18022
18022
  attr_accessor :encryption
@@ -22696,8 +22696,9 @@ module Google
22696
22696
 
22697
22697
  # Fingerprint hash of contents stored in this network interface. This field will
22698
22698
  # be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
22699
- # date fingerprint must be provided in order to update the NetworkInterface,
22700
- # otherwise the request will fail with error 412 conditionNotMet.
22699
+ # date fingerprint must be provided in order to update the NetworkInterface. The
22700
+ # request will fail with error 400 Bad Request if the fingerprint is not
22701
+ # provided, or 412 Precondition Failed if the fingerprint is out of date.
22701
22702
  # Corresponds to the JSON property `fingerprint`
22702
22703
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
22703
22704
  # @return [String]
@@ -32413,7 +32414,7 @@ module Google
32413
32414
  attr_accessor :description
32414
32415
 
32415
32416
  # Field to indicate if a router is dedicated to use with encrypted Interconnect
32416
- # Attachment (Encrypted Interconnect feature).
32417
+ # Attachment (IPsec-encrypted Cloud Interconnect feature).
32417
32418
  # Corresponds to the JSON property `encryptedInterconnectRouter`
32418
32419
  # @return [Boolean]
32419
32420
  attr_accessor :encrypted_interconnect_router
@@ -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.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
25
+ REVISION = "20210301"
26
26
  end
27
27
  end
28
28
  end
@@ -2246,7 +2246,8 @@ module Google
2246
2246
  execute_or_queue_command(command, &block)
2247
2247
  end
2248
2248
 
2249
- # Sets the security policy for the specified backend service.
2249
+ # Sets the Google Cloud Armor security policy for the specified backend service.
2250
+ # For more information, see Google Cloud Armor Overview
2250
2251
  # @param [String] project
2251
2252
  # Project ID for this request.
2252
2253
  # @param [String] backend_service
@@ -16700,6 +16701,17 @@ module Google
16700
16701
  # @param [String] firewall_policy
16701
16702
  # Name of the firewall policy to update.
16702
16703
  # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
16704
+ # @param [String] request_id
16705
+ # An optional request ID to identify requests. Specify a unique request ID so
16706
+ # that if you must retry your request, the server will know to ignore the
16707
+ # request if it has already been completed.
16708
+ # For example, consider a situation where you make an initial request and the
16709
+ # request times out. If you make the request again with the same request ID, the
16710
+ # server can check if original operation with the same request ID was received,
16711
+ # and if so, will ignore the second request. This prevents clients from
16712
+ # accidentally creating duplicate commitments.
16713
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16714
+ # supported (00000000-0000-0000-0000-000000000000).
16703
16715
  # @param [String] fields
16704
16716
  # Selector specifying which fields to include in a partial response.
16705
16717
  # @param [String] quota_user
@@ -16719,7 +16731,7 @@ module Google
16719
16731
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16720
16732
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16721
16733
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16722
- def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16734
+ def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16723
16735
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
16724
16736
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16725
16737
  command.request_object = firewall_policy_rule_object
@@ -16727,6 +16739,7 @@ module Google
16727
16739
  command.response_class = Google::Apis::ComputeAlpha::Operation
16728
16740
  command.params['project'] = project unless project.nil?
16729
16741
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16742
+ command.query['requestId'] = request_id unless request_id.nil?
16730
16743
  command.query['fields'] = fields unless fields.nil?
16731
16744
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16732
16745
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -17169,6 +17182,17 @@ module Google
17169
17182
  # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
17170
17183
  # @param [Fixnum] priority
17171
17184
  # The priority of the rule to patch.
17185
+ # @param [String] request_id
17186
+ # An optional request ID to identify requests. Specify a unique request ID so
17187
+ # that if you must retry your request, the server will know to ignore the
17188
+ # request if it has already been completed.
17189
+ # For example, consider a situation where you make an initial request and the
17190
+ # request times out. If you make the request again with the same request ID, the
17191
+ # server can check if original operation with the same request ID was received,
17192
+ # and if so, will ignore the second request. This prevents clients from
17193
+ # accidentally creating duplicate commitments.
17194
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17195
+ # supported (00000000-0000-0000-0000-000000000000).
17172
17196
  # @param [String] fields
17173
17197
  # Selector specifying which fields to include in a partial response.
17174
17198
  # @param [String] quota_user
@@ -17188,7 +17212,7 @@ module Google
17188
17212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17189
17213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17190
17214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17191
- def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17215
+ def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17192
17216
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
17193
17217
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
17194
17218
  command.request_object = firewall_policy_rule_object
@@ -17197,6 +17221,7 @@ module Google
17197
17221
  command.params['project'] = project unless project.nil?
17198
17222
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
17199
17223
  command.query['priority'] = priority unless priority.nil?
17224
+ command.query['requestId'] = request_id unless request_id.nil?
17200
17225
  command.query['fields'] = fields unless fields.nil?
17201
17226
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17202
17227
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -17261,6 +17286,17 @@ module Google
17261
17286
  # Name of the firewall policy to update.
17262
17287
  # @param [Fixnum] priority
17263
17288
  # The priority of the rule to remove from the firewall policy.
17289
+ # @param [String] request_id
17290
+ # An optional request ID to identify requests. Specify a unique request ID so
17291
+ # that if you must retry your request, the server will know to ignore the
17292
+ # request if it has already been completed.
17293
+ # For example, consider a situation where you make an initial request and the
17294
+ # request times out. If you make the request again with the same request ID, the
17295
+ # server can check if original operation with the same request ID was received,
17296
+ # and if so, will ignore the second request. This prevents clients from
17297
+ # accidentally creating duplicate commitments.
17298
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17299
+ # supported (00000000-0000-0000-0000-000000000000).
17264
17300
  # @param [String] fields
17265
17301
  # Selector specifying which fields to include in a partial response.
17266
17302
  # @param [String] quota_user
@@ -17280,13 +17316,14 @@ module Google
17280
17316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17281
17317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17282
17318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17283
- def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17319
+ def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17284
17320
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
17285
17321
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17286
17322
  command.response_class = Google::Apis::ComputeAlpha::Operation
17287
17323
  command.params['project'] = project unless project.nil?
17288
17324
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
17289
17325
  command.query['priority'] = priority unless priority.nil?
17326
+ command.query['requestId'] = request_id unless request_id.nil?
17290
17327
  command.query['fields'] = fields unless fields.nil?
17291
17328
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17292
17329
  command.query['userIp'] = user_ip unless user_ip.nil?
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.5.0
4
+ version: 0.6.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-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_alpha
57
57
  post_install_message:
58
58
  rdoc_options: []