google-apis-compute_beta 0.7.0 → 0.8.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: 8f1f6d35efad211a2c3b995234c787d51b604337ff1cf96f8fcbbb95208f8385
4
- data.tar.gz: 9e7cdb0f61869f34ca6056f60b83bd1b7b37378cb9bd9ea08021414a2f2c449e
3
+ metadata.gz: 9b87476b50fc20714995b90ed9c0e60aaeca8a38f649d38c2150119c6746e746
4
+ data.tar.gz: 5d7ff87732fb1a641ae79f5f683ba66c18b33bc5048e15a6ef4177c72d6f610f
5
5
  SHA512:
6
- metadata.gz: e11e6452aa1da80215ebf3a55fe5f28b299061c04f121a8d336bcf37f0659f83053f3aa6a85f93758935a25f65eccb4a7cc551ab862eb88f8a7d2a549ed939bc
7
- data.tar.gz: 325ddae718b8b3895ba8655375b0ea4055bb67377cc514e542a76371335b901664a0e76ddd35e67f9b20a09757cffca7ff1e1fd8100bb986b8cbceaeae78ba10
6
+ metadata.gz: a350bc3e15ef55bcb053789287bd6c694c1dc71b8b870f12b53bd09f3e19870a804675dde99d2ea669e0e8b5ac4375b8b7c48a3faefc44876604c881c957407f
7
+ data.tar.gz: 71b612bb64cbc55b3cbbcbe24e60bf5cfb927bd89173b9249708537321dc2bb52c5a2a321b51dcd625d27b22d28316d250c8a43d9196e96138921d97480b7d6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.8.0 (2021-03-30)
4
+
5
+ * Regenerated from discovery document revision 20210316
6
+
3
7
  ### v0.7.0 (2021-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20210310
@@ -3297,7 +3297,7 @@ module Google
3297
3297
 
3298
3298
  # Type of session affinity to use. The default is NONE.
3299
3299
  # When the loadBalancingScheme is EXTERNAL: * For Network Load Balancing, the
3300
- # possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
3300
+ # possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
3301
3301
  # * For all other load balancers that use loadBalancingScheme=EXTERNAL, the
3302
3302
  # possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. * You can use
3303
3303
  # GENERATED_COOKIE if the protocol is HTTP, HTTP2, or HTTPS.
@@ -10507,6 +10507,16 @@ module Google
10507
10507
  # @return [Hash<String,String>]
10508
10508
  attr_accessor :annotations
10509
10509
 
10510
+ # URL of the forwarding rule associated with the health status of the instance.
10511
+ # Corresponds to the JSON property `forwardingRule`
10512
+ # @return [String]
10513
+ attr_accessor :forwarding_rule
10514
+
10515
+ # A forwarding rule IP address assigned to this instance.
10516
+ # Corresponds to the JSON property `forwardingRuleIp`
10517
+ # @return [String]
10518
+ attr_accessor :forwarding_rule_ip
10519
+
10510
10520
  # Health state of the instance.
10511
10521
  # Corresponds to the JSON property `healthState`
10512
10522
  # @return [String]
@@ -10547,6 +10557,8 @@ module Google
10547
10557
  # Update properties of this object
10548
10558
  def update!(**args)
10549
10559
  @annotations = args[:annotations] if args.key?(:annotations)
10560
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
10561
+ @forwarding_rule_ip = args[:forwarding_rule_ip] if args.key?(:forwarding_rule_ip)
10550
10562
  @health_state = args[:health_state] if args.key?(:health_state)
10551
10563
  @instance = args[:instance] if args.key?(:instance)
10552
10564
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -12170,6 +12182,27 @@ module Google
12170
12182
  end
12171
12183
  end
12172
12184
 
12185
+ #
12186
+ class ImageFamilyView
12187
+ include Google::Apis::Core::Hashable
12188
+
12189
+ # Represents an Image resource.
12190
+ # You can use images to create boot disks for your VM instances. For more
12191
+ # information, read Images. (== resource_for `$api_version`.images ==)
12192
+ # Corresponds to the JSON property `image`
12193
+ # @return [Google::Apis::ComputeBeta::Image]
12194
+ attr_accessor :image
12195
+
12196
+ def initialize(**args)
12197
+ update!(**args)
12198
+ end
12199
+
12200
+ # Update properties of this object
12201
+ def update!(**args)
12202
+ @image = args[:image] if args.key?(:image)
12203
+ end
12204
+ end
12205
+
12173
12206
  # Contains a list of images.
12174
12207
  class ImageList
12175
12208
  include Google::Apis::Core::Hashable
@@ -16377,6 +16410,7 @@ module Google
16377
16410
  # IPsec device such as an HA VPN gateway. VMs cannot directly send traffic to,
16378
16411
  # or receive traffic from, such an attachment. To use IPsec-encrypted Cloud
16379
16412
  # Interconnect, create the attachment using this option.
16413
+ # Not currently available in all Interconnect locations.
16380
16414
  # Corresponds to the JSON property `encryption`
16381
16415
  # @return [String]
16382
16416
  attr_accessor :encryption
@@ -16412,6 +16446,7 @@ module Google
16412
16446
  # interconnect attachment that has encryption option as IPSEC, later on when
16413
16447
  # creating HA VPN gateway on this interconnect attachment, the HA VPN gateway's
16414
16448
  # IP address will be allocated from regional external IP address pool.
16449
+ # Not currently available in all Interconnect locations.
16415
16450
  # Corresponds to the JSON property `ipsecInternalAddresses`
16416
16451
  # @return [Array<String>]
16417
16452
  attr_accessor :ipsec_internal_addresses
@@ -29150,6 +29185,7 @@ module Google
29150
29185
 
29151
29186
  # Field to indicate if a router is dedicated to use with encrypted Interconnect
29152
29187
  # Attachment (IPsec-encrypted Cloud Interconnect feature).
29188
+ # Not currently available in all Interconnect locations.
29153
29189
  # Corresponds to the JSON property `encryptedInterconnectRouter`
29154
29190
  # @return [Boolean]
29155
29191
  attr_accessor :encrypted_interconnect_router
@@ -31167,7 +31203,7 @@ module Google
31167
31203
  class SecurityPolicyRule
31168
31204
  include Google::Apis::Core::Hashable
31169
31205
 
31170
- # The Action to preform when the client connection triggers the rule. Can
31206
+ # The Action to perform when the client connection triggers the rule. Can
31171
31207
  # currently be either "allow" or "deny()" where valid values for status are 403,
31172
31208
  # 404, and 502.
31173
31209
  # Corresponds to the JSON property `action`
@@ -34157,7 +34193,7 @@ module Google
34157
34193
 
34158
34194
  # Can only be specified if VPC flow logs for this subnetwork is enabled.
34159
34195
  # Configures whether all, none or a subset of metadata fields should be added to
34160
- # the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.
34196
+ # the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
34161
34197
  # Corresponds to the JSON property `metadata`
34162
34198
  # @return [String]
34163
34199
  attr_accessor :metadata
@@ -39421,6 +39457,7 @@ module Google
39421
39457
  # present, the VPN Gateway will be used for IPsec-encrypted Cloud Interconnect;
39422
39458
  # all Egress or Ingress traffic for this VPN Gateway interface will go through
39423
39459
  # the specified interconnect attachment resource.
39460
+ # Not currently available in all Interconnect locations.
39424
39461
  # Corresponds to the JSON property `interconnectAttachment`
39425
39462
  # @return [String]
39426
39463
  attr_accessor :interconnect_attachment
@@ -39703,8 +39740,8 @@ module Google
39703
39740
  # - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
39704
39741
  # - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
39705
39742
  # - NO_INCOMING_PACKETS: No incoming packets from peer.
39706
- # - REJECTED: Tunnel configuration was rejected, can be result of being
39707
- # blacklisted.
39743
+ # - REJECTED: Tunnel configuration was rejected, can be result of being denied
39744
+ # access.
39708
39745
  # - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required
39709
39746
  # resources.
39710
39747
  # - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210310"
25
+ REVISION = "20210316"
26
26
  end
27
27
  end
28
28
  end
@@ -1402,6 +1402,12 @@ module Google
1402
1402
  include Google::Apis::Core::JsonObjectSupport
1403
1403
  end
1404
1404
 
1405
+ class ImageFamilyView
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1405
1411
  class ImageList
1406
1412
  class Representation < Google::Apis::Core::JsonRepresentation; end
1407
1413
 
@@ -7723,6 +7729,8 @@ module Google
7723
7729
  # @private
7724
7730
  class Representation < Google::Apis::Core::JsonRepresentation
7725
7731
  hash :annotations, as: 'annotations'
7732
+ property :forwarding_rule, as: 'forwardingRule'
7733
+ property :forwarding_rule_ip, as: 'forwardingRuleIp'
7726
7734
  property :health_state, as: 'healthState'
7727
7735
  property :instance, as: 'instance'
7728
7736
  property :ip_address, as: 'ipAddress'
@@ -8075,6 +8083,14 @@ module Google
8075
8083
  end
8076
8084
  end
8077
8085
 
8086
+ class ImageFamilyView
8087
+ # @private
8088
+ class Representation < Google::Apis::Core::JsonRepresentation
8089
+ property :image, as: 'image', class: Google::Apis::ComputeBeta::Image, decorator: Google::Apis::ComputeBeta::Image::Representation
8090
+
8091
+ end
8092
+ end
8093
+
8078
8094
  class ImageList
8079
8095
  # @private
8080
8096
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8074,6 +8074,46 @@ module Google
8074
8074
  execute_or_queue_command(command, &block)
8075
8075
  end
8076
8076
 
8077
+ # Returns the latest image that is part of an image family, is not deprecated
8078
+ # and is rolled out in the specified zone.
8079
+ # @param [String] project
8080
+ # Project ID for this request.
8081
+ # @param [String] zone
8082
+ # The name of the zone for this request.
8083
+ # @param [String] family
8084
+ # Name of the image family to search for.
8085
+ # @param [String] fields
8086
+ # Selector specifying which fields to include in a partial response.
8087
+ # @param [String] quota_user
8088
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
8089
+ # characters.
8090
+ # @param [String] user_ip
8091
+ # Deprecated. Please use quotaUser instead.
8092
+ # @param [Google::Apis::RequestOptions] options
8093
+ # Request-specific options
8094
+ #
8095
+ # @yield [result, err] Result & error if block supplied
8096
+ # @yieldparam result [Google::Apis::ComputeBeta::ImageFamilyView] parsed result object
8097
+ # @yieldparam err [StandardError] error object if request failed
8098
+ #
8099
+ # @return [Google::Apis::ComputeBeta::ImageFamilyView]
8100
+ #
8101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8104
+ def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8105
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
8106
+ command.response_representation = Google::Apis::ComputeBeta::ImageFamilyView::Representation
8107
+ command.response_class = Google::Apis::ComputeBeta::ImageFamilyView
8108
+ command.params['project'] = project unless project.nil?
8109
+ command.params['zone'] = zone unless zone.nil?
8110
+ command.params['family'] = family unless family.nil?
8111
+ command.query['fields'] = fields unless fields.nil?
8112
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8113
+ command.query['userIp'] = user_ip unless user_ip.nil?
8114
+ execute_or_queue_command(command, &block)
8115
+ end
8116
+
8077
8117
  # Deletes the specified image.
8078
8118
  # @param [String] project
8079
8119
  # Project ID for this request.
@@ -9548,12 +9588,12 @@ module Google
9548
9588
  execute_or_queue_command(command, &block)
9549
9589
  end
9550
9590
 
9551
- # Flags the specified instances in the managed instance group to be immediately
9552
- # recreated. The instances are deleted and recreated using the current instance
9553
- # template for the managed instance group. This operation is marked as DONE when
9554
- # the flag is set even if the instances have not yet been recreated. You must
9555
- # separately verify the status of the recreating action with the
9556
- # listmanagedinstances method.
9591
+ # Flags the specified VM instances in the managed instance group to be
9592
+ # immediately recreated. Each instance is recreated using the group's current
9593
+ # configuration. This operation is marked as DONE when the flag is set even if
9594
+ # the instances have not yet been recreated. You must separately verify the
9595
+ # status of each instance by checking its currentAction field; for more
9596
+ # information, see Checking the status of managed instances.
9557
9597
  # If the group is part of a backend service that has enabled connection draining,
9558
9598
  # it can take up to 60 seconds after the connection draining duration has
9559
9599
  # elapsed before the VM instance is removed or deleted.
@@ -11326,8 +11366,8 @@ module Google
11326
11366
  execute_or_queue_command(command, &block)
11327
11367
  end
11328
11368
 
11329
- # Deletes the specified Instance resource. For more information, see Stopping or
11330
- # Deleting an Instance.
11369
+ # Deletes the specified Instance resource. For more information, see Deleting an
11370
+ # instance.
11331
11371
  # @param [String] project
11332
11372
  # Project ID for this request.
11333
11373
  # @param [String] zone
@@ -23919,12 +23959,12 @@ module Google
23919
23959
  execute_or_queue_command(command, &block)
23920
23960
  end
23921
23961
 
23922
- # Flags the specified instances in the managed instance group to be immediately
23923
- # recreated. The instances are deleted and recreated using the current instance
23924
- # template for the managed instance group. This operation is marked as DONE when
23925
- # the flag is set even if the instances have not yet been recreated. You must
23926
- # separately verify the status of the recreating action with the
23927
- # listmanagedinstances method.
23962
+ # Flags the specified VM instances in the managed instance group to be
23963
+ # immediately recreated. Each instance is recreated using the group's current
23964
+ # configuration. This operation is marked as DONE when the flag is set even if
23965
+ # the instances have not yet been recreated. You must separately verify the
23966
+ # status of each instance by checking its currentAction field; for more
23967
+ # information, see Checking the status of managed instances.
23928
23968
  # If the group is part of a backend service that has enabled connection draining,
23929
23969
  # it can take up to 60 seconds after the connection draining duration has
23930
23970
  # elapsed before the VM instance is removed or deleted.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-22 00:00:00.000000000 Z
11
+ date: 2021-04-05 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_beta/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.7.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_beta
57
57
  post_install_message:
58
58
  rdoc_options: []