google-apis-compute_v1 0.27.0 → 0.28.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: deaac87d2933eb6f7a638955e2b66bb3fd721438596cc155f044282db67bfc95
4
- data.tar.gz: 6dbfcb0af93a6a37764b78e5e34b186e7e939ff8c28c901d3ad5c94aa41e12ba
3
+ metadata.gz: 214428c9056f91588acab916d502d4707ba00353f1a665be9ee2fee721ccd579
4
+ data.tar.gz: 9107d26b4c723c6b79a3c65bbaedcdac5e42a786618fe154d339579eb3662da9
5
5
  SHA512:
6
- metadata.gz: a2592239c141f4bd44a81cfcbf6ad67f4062cd3d4eb02b43b1c379ce72950fa086e20842614b12e7f2501dd190423ceec701205535add1b86f80fe35490bd272
7
- data.tar.gz: 8f5197aad1f777e96e8413377660e3dd166697edd82dbcd0abc18fa412250de10d5d7e941a918bfb63a18db504ba92b6fe394a14e0b990c81c5ff2035f453e87
6
+ metadata.gz: f8f70af70ae83418b4a41da3329f6844e9e859cdd0525e4117f68514271a5b81bd014874db7ac24671ebad96e57a09648da0dead945fed57c1b7b656de460080
7
+ data.tar.gz: 98047afbd1d0f02cc577d529c10e8448ac014348bff1a6df0ab05d1da3cdb60565318db80dca5e8064028b06fd8820302b5dbd7ca53eaa1ee56fea19abf3b530
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.28.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+
3
7
  ### v0.27.0 (2022-02-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20220224
@@ -1185,6 +1185,11 @@ module Google
1185
1185
  class AllocationSpecificSkuReservation
1186
1186
  include Google::Apis::Core::Hashable
1187
1187
 
1188
+ # [Output Only] Indicates how many instances are actually usable currently.
1189
+ # Corresponds to the JSON property `assuredCount`
1190
+ # @return [Fixnum]
1191
+ attr_accessor :assured_count
1192
+
1188
1193
  # Specifies the number of resources that are allocated.
1189
1194
  # Corresponds to the JSON property `count`
1190
1195
  # @return [Fixnum]
@@ -1206,6 +1211,7 @@ module Google
1206
1211
 
1207
1212
  # Update properties of this object
1208
1213
  def update!(**args)
1214
+ @assured_count = args[:assured_count] if args.key?(:assured_count)
1209
1215
  @count = args[:count] if args.key?(:count)
1210
1216
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1211
1217
  @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
@@ -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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220224"
25
+ REVISION = "20220301"
26
26
  end
27
27
  end
28
28
  end
@@ -5663,6 +5663,7 @@ module Google
5663
5663
  class AllocationSpecificSkuReservation
5664
5664
  # @private
5665
5665
  class Representation < Google::Apis::Core::JsonRepresentation
5666
+ property :assured_count, :numeric_string => true, as: 'assuredCount'
5666
5667
  property :count, :numeric_string => true, as: 'count'
5667
5668
  property :in_use_count, :numeric_string => true, as: 'inUseCount'
5668
5669
  property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
@@ -11325,7 +11325,7 @@ module Google
11325
11325
  execute_or_queue_command(command, &block)
11326
11326
  end
11327
11327
 
11328
- # Performs a reset on the instance. This is a hard reset the VM does not do a
11328
+ # Performs a reset on the instance. This is a hard reset. The VM does not do a
11329
11329
  # graceful shutdown. For more information, see Resetting an instance.
11330
11330
  # @param [String] project
11331
11331
  # Project ID for this request.
@@ -25469,6 +25469,61 @@ module Google
25469
25469
  execute_or_queue_command(command, &block)
25470
25470
  end
25471
25471
 
25472
+ # Patches the specified regional TargetHttpsProxy resource with the data
25473
+ # included in the request. This method supports PATCH semantics and uses JSON
25474
+ # merge patch format and processing rules.
25475
+ # @param [String] project
25476
+ # Project ID for this request.
25477
+ # @param [String] region
25478
+ # Name of the region for this request.
25479
+ # @param [String] target_https_proxy
25480
+ # Name of the TargetHttpsProxy resource to patch.
25481
+ # @param [Google::Apis::ComputeV1::TargetHttpsProxy] target_https_proxy_object
25482
+ # @param [String] request_id
25483
+ # An optional request ID to identify requests. Specify a unique request ID so
25484
+ # that if you must retry your request, the server will know to ignore the
25485
+ # request if it has already been completed. For example, consider a situation
25486
+ # where you make an initial request and the request times out. If you make the
25487
+ # request again with the same request ID, the server can check if original
25488
+ # operation with the same request ID was received, and if so, will ignore the
25489
+ # second request. This prevents clients from accidentally creating duplicate
25490
+ # commitments. The request ID must be a valid UUID with the exception that zero
25491
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25492
+ # @param [String] fields
25493
+ # Selector specifying which fields to include in a partial response.
25494
+ # @param [String] quota_user
25495
+ # Available to use for quota purposes for server-side applications. Can be any
25496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25497
+ # @param [String] user_ip
25498
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25499
+ # @param [Google::Apis::RequestOptions] options
25500
+ # Request-specific options
25501
+ #
25502
+ # @yield [result, err] Result & error if block supplied
25503
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
25504
+ # @yieldparam err [StandardError] error object if request failed
25505
+ #
25506
+ # @return [Google::Apis::ComputeV1::Operation]
25507
+ #
25508
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25509
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25510
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25511
+ def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25512
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
25513
+ command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation
25514
+ command.request_object = target_https_proxy_object
25515
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
25516
+ command.response_class = Google::Apis::ComputeV1::Operation
25517
+ command.params['project'] = project unless project.nil?
25518
+ command.params['region'] = region unless region.nil?
25519
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
25520
+ command.query['requestId'] = request_id unless request_id.nil?
25521
+ command.query['fields'] = fields unless fields.nil?
25522
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25523
+ command.query['userIp'] = user_ip unless user_ip.nil?
25524
+ execute_or_queue_command(command, &block)
25525
+ end
25526
+
25472
25527
  # Replaces SslCertificates for TargetHttpsProxy.
25473
25528
  # @param [String] project
25474
25529
  # Project ID for this request.
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.27.0
4
+ version: 0.28.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: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-14 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.28.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: []