google-apis-compute_v1 0.73.0 → 0.74.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9eb561d6b53944c5078b9950c271802a8f0bd7ad38afabff50f04fc401fbf38
|
4
|
+
data.tar.gz: 9cd13a7d7f0a9d24692b83523fd8243750e3f7aa70b90c546d33765ab25bec8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d684d9b4949f4de774547afcb36485c033584b3dc347672d44d9ecf94f38acf17adf3eec454800195840b37f75bcaa17bf5bc5f3e4f3f0bf755e7a4bb82c3c20
|
7
|
+
data.tar.gz: b00003e8c0ba6f0198b31a06be418a5489209e2d021b89443d1bbf586f29dd5d1bfc4cccf9a2290a87fb89f954567185bbb85ce54db4c9d96aedcbda2b365cd0
|
data/CHANGELOG.md
CHANGED
@@ -2742,7 +2742,7 @@ module Google
|
|
2742
2742
|
# @return [String]
|
2743
2743
|
attr_accessor :creation_timestamp
|
2744
2744
|
|
2745
|
-
# Headers that the
|
2745
|
+
# Headers that the Application Load Balancer should add to proxied responses.
|
2746
2746
|
# Corresponds to the JSON property `customResponseHeaders`
|
2747
2747
|
# @return [Array<String>]
|
2748
2748
|
attr_accessor :custom_response_headers
|
@@ -14781,11 +14781,9 @@ module Google
|
|
14781
14781
|
# @return [String]
|
14782
14782
|
attr_accessor :replacement_method
|
14783
14783
|
|
14784
|
-
# The type of update process. You can specify either PROACTIVE so that the
|
14785
|
-
#
|
14786
|
-
#
|
14787
|
-
# proactively executed but the update will be performed as part of other actions
|
14788
|
-
# (for example, resizes or recreateInstances calls).
|
14784
|
+
# The type of update process. You can specify either PROACTIVE so that the MIG
|
14785
|
+
# automatically updates VMs to the latest configurations or OPPORTUNISTIC so
|
14786
|
+
# that you can select the VMs that you want to update.
|
14789
14787
|
# Corresponds to the JSON property `type`
|
14790
14788
|
# @return [String]
|
14791
14789
|
attr_accessor :type
|
@@ -28352,6 +28350,12 @@ module Google
|
|
28352
28350
|
# @return [Hash<String,String>]
|
28353
28351
|
attr_accessor :dimensions
|
28354
28352
|
|
28353
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
28354
|
+
# type or metric.
|
28355
|
+
# Corresponds to the JSON property `futureLimit`
|
28356
|
+
# @return [Float]
|
28357
|
+
attr_accessor :future_limit
|
28358
|
+
|
28355
28359
|
# Current effective quota limit. The limit's unit depends on the quota type or
|
28356
28360
|
# metric.
|
28357
28361
|
# Corresponds to the JSON property `limit`
|
@@ -28368,6 +28372,11 @@ module Google
|
|
28368
28372
|
# @return [String]
|
28369
28373
|
attr_accessor :metric_name
|
28370
28374
|
|
28375
|
+
# Rollout status of the future quota limit.
|
28376
|
+
# Corresponds to the JSON property `rolloutStatus`
|
28377
|
+
# @return [String]
|
28378
|
+
attr_accessor :rollout_status
|
28379
|
+
|
28371
28380
|
def initialize(**args)
|
28372
28381
|
update!(**args)
|
28373
28382
|
end
|
@@ -28375,9 +28384,11 @@ module Google
|
|
28375
28384
|
# Update properties of this object
|
28376
28385
|
def update!(**args)
|
28377
28386
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
28387
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
28378
28388
|
@limit = args[:limit] if args.key?(:limit)
|
28379
28389
|
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
28380
28390
|
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
28391
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
28381
28392
|
end
|
28382
28393
|
end
|
28383
28394
|
|
@@ -33745,6 +33756,14 @@ module Google
|
|
33745
33756
|
# @return [String]
|
33746
33757
|
attr_accessor :instance_termination_action
|
33747
33758
|
|
33759
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
33760
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
33761
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
33762
|
+
# 000 years.
|
33763
|
+
# Corresponds to the JSON property `localSsdRecoveryTimeout`
|
33764
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
33765
|
+
attr_accessor :local_ssd_recovery_timeout
|
33766
|
+
|
33748
33767
|
# An opaque location hint used to place the instance close to other resources.
|
33749
33768
|
# This field is for use by internal tools that use the public API.
|
33750
33769
|
# Corresponds to the JSON property `locationHint`
|
@@ -33793,6 +33812,7 @@ module Google
|
|
33793
33812
|
def update!(**args)
|
33794
33813
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
33795
33814
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
33815
|
+
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
33796
33816
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
33797
33817
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
33798
33818
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
@@ -35495,6 +35515,11 @@ module Google
|
|
35495
35515
|
class ServiceAttachmentConnectedEndpoint
|
35496
35516
|
include Google::Apis::Core::Hashable
|
35497
35517
|
|
35518
|
+
# The url of the consumer network.
|
35519
|
+
# Corresponds to the JSON property `consumerNetwork`
|
35520
|
+
# @return [String]
|
35521
|
+
attr_accessor :consumer_network
|
35522
|
+
|
35498
35523
|
# The url of a connected endpoint.
|
35499
35524
|
# Corresponds to the JSON property `endpoint`
|
35500
35525
|
# @return [String]
|
@@ -35516,6 +35541,7 @@ module Google
|
|
35516
35541
|
|
35517
35542
|
# Update properties of this object
|
35518
35543
|
def update!(**args)
|
35544
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
35519
35545
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
35520
35546
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
35521
35547
|
@status = args[:status] if args.key?(:status)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.74.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 = "
|
25
|
+
REVISION = "20230711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -12745,9 +12745,11 @@ module Google
|
|
12745
12745
|
# @private
|
12746
12746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12747
12747
|
hash :dimensions, as: 'dimensions'
|
12748
|
+
property :future_limit, as: 'futureLimit'
|
12748
12749
|
property :limit, as: 'limit'
|
12749
12750
|
property :limit_name, as: 'limitName'
|
12750
12751
|
property :metric_name, as: 'metricName'
|
12752
|
+
property :rollout_status, as: 'rolloutStatus'
|
12751
12753
|
end
|
12752
12754
|
end
|
12753
12755
|
|
@@ -14132,6 +14134,8 @@ module Google
|
|
14132
14134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14133
14135
|
property :automatic_restart, as: 'automaticRestart'
|
14134
14136
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
14137
|
+
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
14138
|
+
|
14135
14139
|
property :location_hint, as: 'locationHint'
|
14136
14140
|
property :min_node_cpus, as: 'minNodeCpus'
|
14137
14141
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
|
@@ -14577,6 +14581,7 @@ module Google
|
|
14577
14581
|
class ServiceAttachmentConnectedEndpoint
|
14578
14582
|
# @private
|
14579
14583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14584
|
+
property :consumer_network, as: 'consumerNetwork'
|
14580
14585
|
property :endpoint, as: 'endpoint'
|
14581
14586
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
14582
14587
|
property :status, as: 'status'
|
@@ -28283,9 +28283,9 @@ module Google
|
|
28283
28283
|
end
|
28284
28284
|
|
28285
28285
|
# Patches the specified policy with the data included in the request. To clear
|
28286
|
-
# fields in the
|
28287
|
-
# This cannot be used to be update the rules in the policy. Please
|
28288
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
28286
|
+
# fields in the policy, leave the fields empty and specify them in the
|
28287
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
28288
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
28289
28289
|
# @param [String] project
|
28290
28290
|
# Project ID for this request.
|
28291
28291
|
# @param [String] region
|
@@ -31288,6 +31288,62 @@ module Google
|
|
31288
31288
|
execute_or_queue_command(command, &block)
|
31289
31289
|
end
|
31290
31290
|
|
31291
|
+
# Modify the specified resource policy.
|
31292
|
+
# @param [String] project
|
31293
|
+
# Project ID for this request.
|
31294
|
+
# @param [String] region
|
31295
|
+
# Name of the region for this request.
|
31296
|
+
# @param [String] resource_policy
|
31297
|
+
# Id of the resource policy to patch.
|
31298
|
+
# @param [Google::Apis::ComputeV1::ResourcePolicy] resource_policy_object
|
31299
|
+
# @param [String] request_id
|
31300
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31301
|
+
# that if you must retry your request, the server will know to ignore the
|
31302
|
+
# request if it has already been completed. For example, consider a situation
|
31303
|
+
# where you make an initial request and the request times out. If you make the
|
31304
|
+
# request again with the same request ID, the server can check if original
|
31305
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31306
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31307
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31308
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31309
|
+
# @param [String] update_mask
|
31310
|
+
# update_mask indicates fields to be updated as part of this request.
|
31311
|
+
# @param [String] fields
|
31312
|
+
# Selector specifying which fields to include in a partial response.
|
31313
|
+
# @param [String] quota_user
|
31314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31316
|
+
# @param [String] user_ip
|
31317
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31318
|
+
# @param [Google::Apis::RequestOptions] options
|
31319
|
+
# Request-specific options
|
31320
|
+
#
|
31321
|
+
# @yield [result, err] Result & error if block supplied
|
31322
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
31323
|
+
# @yieldparam err [StandardError] error object if request failed
|
31324
|
+
#
|
31325
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
31326
|
+
#
|
31327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31330
|
+
def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31331
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
|
31332
|
+
command.request_representation = Google::Apis::ComputeV1::ResourcePolicy::Representation
|
31333
|
+
command.request_object = resource_policy_object
|
31334
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
31335
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
31336
|
+
command.params['project'] = project unless project.nil?
|
31337
|
+
command.params['region'] = region unless region.nil?
|
31338
|
+
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
|
31339
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31340
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
31341
|
+
command.query['fields'] = fields unless fields.nil?
|
31342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31343
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31344
|
+
execute_or_queue_command(command, &block)
|
31345
|
+
end
|
31346
|
+
|
31291
31347
|
# Sets the access control policy on the specified resource. Replaces any
|
31292
31348
|
# existing policy.
|
31293
31349
|
# @param [String] project
|
@@ -32702,9 +32758,9 @@ module Google
|
|
32702
32758
|
end
|
32703
32759
|
|
32704
32760
|
# Patches the specified policy with the data included in the request. To clear
|
32705
|
-
# fields in the
|
32706
|
-
# This cannot be used to be update the rules in the policy. Please
|
32707
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
32761
|
+
# fields in the policy, leave the fields empty and specify them in the
|
32762
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
32763
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
32708
32764
|
# @param [String] project
|
32709
32765
|
# Project ID for this request.
|
32710
32766
|
# @param [String] security_policy
|
@@ -32754,7 +32810,8 @@ module Google
|
|
32754
32810
|
execute_or_queue_command(command, &block)
|
32755
32811
|
end
|
32756
32812
|
|
32757
|
-
# Patches a rule at the specified priority.
|
32813
|
+
# Patches a rule at the specified priority. To clear fields in the rule, leave
|
32814
|
+
# the fields empty and specify them in the updateMask.
|
32758
32815
|
# @param [String] project
|
32759
32816
|
# Project ID for this request.
|
32760
32817
|
# @param [String] security_policy
|
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.
|
4
|
+
version: 0.74.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-07-
|
11
|
+
date: 2023-07-16 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.74.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: []
|