google-apis-compute_v1 0.25.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 214428c9056f91588acab916d502d4707ba00353f1a665be9ee2fee721ccd579
|
4
|
+
data.tar.gz: 9107d26b4c723c6b79a3c65bbaedcdac5e42a786618fe154d339579eb3662da9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8f70af70ae83418b4a41da3329f6844e9e859cdd0525e4117f68514271a5b81bd014874db7ac24671ebad96e57a09648da0dead945fed57c1b7b656de460080
|
7
|
+
data.tar.gz: 98047afbd1d0f02cc577d529c10e8448ac014348bff1a6df0ab05d1da3cdb60565318db80dca5e8064028b06fd8820302b5dbd7ca53eaa1ee56fea19abf3b530
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
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
|
+
|
7
|
+
### v0.27.0 (2022-02-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220224
|
10
|
+
|
11
|
+
### v0.26.0 (2022-02-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220215
|
14
|
+
|
3
15
|
### v0.25.0 (2022-02-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220206
|
@@ -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)
|
@@ -1517,6 +1523,11 @@ module Google
|
|
1517
1523
|
# @return [Array<Google::Apis::ComputeV1::AuditLogConfig>]
|
1518
1524
|
attr_accessor :audit_log_configs
|
1519
1525
|
|
1526
|
+
# This is deprecated and has no effect. Do not use.
|
1527
|
+
# Corresponds to the JSON property `exemptedMembers`
|
1528
|
+
# @return [Array<String>]
|
1529
|
+
attr_accessor :exempted_members
|
1530
|
+
|
1520
1531
|
# Specifies a service that will be enabled for audit logging. For example, `
|
1521
1532
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
1522
1533
|
# value that covers all services.
|
@@ -1531,6 +1542,7 @@ module Google
|
|
1531
1542
|
# Update properties of this object
|
1532
1543
|
def update!(**args)
|
1533
1544
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
1545
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1534
1546
|
@service = args[:service] if args.key?(:service)
|
1535
1547
|
end
|
1536
1548
|
end
|
@@ -3672,6 +3684,13 @@ module Google
|
|
3672
3684
|
# @return [String]
|
3673
3685
|
attr_accessor :connection_persistence_on_unhealthy_backends
|
3674
3686
|
|
3687
|
+
# Enable Strong Session Affinity for Network Load Balancing. This option is not
|
3688
|
+
# available publicly.
|
3689
|
+
# Corresponds to the JSON property `enableStrongAffinity`
|
3690
|
+
# @return [Boolean]
|
3691
|
+
attr_accessor :enable_strong_affinity
|
3692
|
+
alias_method :enable_strong_affinity?, :enable_strong_affinity
|
3693
|
+
|
3675
3694
|
# Specifies how long to keep a Connection Tracking entry while there is no
|
3676
3695
|
# matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The
|
3677
3696
|
# minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set
|
@@ -3703,6 +3722,7 @@ module Google
|
|
3703
3722
|
# Update properties of this object
|
3704
3723
|
def update!(**args)
|
3705
3724
|
@connection_persistence_on_unhealthy_backends = args[:connection_persistence_on_unhealthy_backends] if args.key?(:connection_persistence_on_unhealthy_backends)
|
3725
|
+
@enable_strong_affinity = args[:enable_strong_affinity] if args.key?(:enable_strong_affinity)
|
3706
3726
|
@idle_timeout_sec = args[:idle_timeout_sec] if args.key?(:idle_timeout_sec)
|
3707
3727
|
@tracking_mode = args[:tracking_mode] if args.key?(:tracking_mode)
|
3708
3728
|
end
|
@@ -15962,13 +15982,7 @@ module Google
|
|
15962
15982
|
# @return [String]
|
15963
15983
|
attr_accessor :bandwidth
|
15964
15984
|
|
15965
|
-
#
|
15966
|
-
# cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each
|
15967
|
-
# prefix must be in the Global Unique Address (GUA) space. It is highly
|
15968
|
-
# recommended that it be in a range owned by the requestor. A GUA in a range
|
15969
|
-
# owned by Google will cause the request to fail. Google will select an
|
15970
|
-
# available prefix from the supplied candidates or fail the request. If not
|
15971
|
-
# supplied, a /125 from a Google-owned GUA block will be selected.
|
15985
|
+
# This field is not available.
|
15972
15986
|
# Corresponds to the JSON property `candidateIpv6Subnets`
|
15973
15987
|
# @return [Array<String>]
|
15974
15988
|
attr_accessor :candidate_ipv6_subnets
|
@@ -15996,10 +16010,7 @@ module Google
|
|
15996
16010
|
# @return [String]
|
15997
16011
|
attr_accessor :cloud_router_ipv6_address
|
15998
16012
|
|
15999
|
-
#
|
16000
|
-
# cloud router address. The id must be in the range of 1 to 6. If a subnet mask
|
16001
|
-
# is supplied, it must be /125, and the subnet should either be 0 or match the
|
16002
|
-
# selected subnet.
|
16013
|
+
# This field is not available.
|
16003
16014
|
# Corresponds to the JSON property `cloudRouterIpv6InterfaceId`
|
16004
16015
|
# @return [String]
|
16005
16016
|
attr_accessor :cloud_router_ipv6_interface_id
|
@@ -16021,10 +16032,7 @@ module Google
|
|
16021
16032
|
# @return [String]
|
16022
16033
|
attr_accessor :customer_router_ipv6_address
|
16023
16034
|
|
16024
|
-
#
|
16025
|
-
# customer router address. The id must be in the range of 1 to 6. If a subnet
|
16026
|
-
# mask is supplied, it must be /125, and the subnet should either be 0 or match
|
16027
|
-
# the selected subnet.
|
16035
|
+
# This field is not available.
|
16028
16036
|
# Corresponds to the JSON property `customerRouterIpv6InterfaceId`
|
16029
16037
|
# @return [String]
|
16030
16038
|
attr_accessor :customer_router_ipv6_interface_id
|
@@ -17951,8 +17959,7 @@ module Google
|
|
17951
17959
|
attr_accessor :description
|
17952
17960
|
|
17953
17961
|
# [Input Only] Whether to attempt an application consistent machine image by
|
17954
|
-
# informing the OS to prepare for the snapshot process.
|
17955
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
17962
|
+
# informing the OS to prepare for the snapshot process.
|
17956
17963
|
# Corresponds to the JSON property `guestFlush`
|
17957
17964
|
# @return [Boolean]
|
17958
17965
|
attr_accessor :guest_flush
|
@@ -29256,7 +29263,7 @@ module Google
|
|
29256
29263
|
# Cloud Router will initiate the BFD session for this BGP peer. If set to
|
29257
29264
|
# PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
|
29258
29265
|
# session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
29259
|
-
# peer. The default is
|
29266
|
+
# peer. The default is DISABLED.
|
29260
29267
|
# Corresponds to the JSON property `sessionInitializationMode`
|
29261
29268
|
# @return [String]
|
29262
29269
|
attr_accessor :session_initialization_mode
|
@@ -30742,7 +30749,11 @@ module Google
|
|
30742
30749
|
# the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
|
30743
30750
|
# be configured to filter incoming HTTP requests targeting backend services (
|
30744
30751
|
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
30745
|
-
# filter requests before the request is served from Google's cache.
|
30752
|
+
# filter requests before the request is served from Google's cache. -
|
30753
|
+
# CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
|
30754
|
+
# configured to filter HTTP requests targeting services managed by Traffic
|
30755
|
+
# Director in a service mesh. They filter requests before the request is served
|
30756
|
+
# from the application. This field can be set only at resource creation time.
|
30746
30757
|
# Corresponds to the JSON property `type`
|
30747
30758
|
# @return [String]
|
30748
30759
|
attr_accessor :type
|
@@ -33760,9 +33771,10 @@ module Google
|
|
33760
33771
|
# @return [String]
|
33761
33772
|
attr_accessor :self_link
|
33762
33773
|
|
33763
|
-
# The stack type for
|
33764
|
-
#
|
33765
|
-
#
|
33774
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
33775
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
33776
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
33777
|
+
# This field can be both set at resource creation time and updated using patch.
|
33766
33778
|
# Corresponds to the JSON property `stackType`
|
33767
33779
|
# @return [String]
|
33768
33780
|
attr_accessor :stack_type
|
@@ -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.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 = "
|
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
|
@@ -5721,6 +5722,7 @@ module Google
|
|
5721
5722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5722
5723
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ComputeV1::AuditLogConfig, decorator: Google::Apis::ComputeV1::AuditLogConfig::Representation
|
5723
5724
|
|
5725
|
+
collection :exempted_members, as: 'exemptedMembers'
|
5724
5726
|
property :service, as: 'service'
|
5725
5727
|
end
|
5726
5728
|
end
|
@@ -6172,6 +6174,7 @@ module Google
|
|
6172
6174
|
# @private
|
6173
6175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6174
6176
|
property :connection_persistence_on_unhealthy_backends, as: 'connectionPersistenceOnUnhealthyBackends'
|
6177
|
+
property :enable_strong_affinity, as: 'enableStrongAffinity'
|
6175
6178
|
property :idle_timeout_sec, as: 'idleTimeoutSec'
|
6176
6179
|
property :tracking_mode, as: 'trackingMode'
|
6177
6180
|
end
|
@@ -2447,8 +2447,7 @@ module Google
|
|
2447
2447
|
# @param [Google::Apis::ComputeV1::Snapshot] snapshot_object
|
2448
2448
|
# @param [Boolean] guest_flush
|
2449
2449
|
# [Input Only] Whether to attempt an application consistent snapshot by
|
2450
|
-
# informing the OS to prepare for the snapshot process.
|
2451
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
2450
|
+
# informing the OS to prepare for the snapshot process.
|
2452
2451
|
# @param [String] request_id
|
2453
2452
|
# An optional request ID to identify requests. Specify a unique request ID so
|
2454
2453
|
# that if you must retry your request, the server will know to ignore the
|
@@ -11326,7 +11325,7 @@ module Google
|
|
11326
11325
|
execute_or_queue_command(command, &block)
|
11327
11326
|
end
|
11328
11327
|
|
11329
|
-
# Performs a reset on the instance. This is a hard reset
|
11328
|
+
# Performs a reset on the instance. This is a hard reset. The VM does not do a
|
11330
11329
|
# graceful shutdown. For more information, see Resetting an instance.
|
11331
11330
|
# @param [String] project
|
11332
11331
|
# Project ID for this request.
|
@@ -25470,6 +25469,61 @@ module Google
|
|
25470
25469
|
execute_or_queue_command(command, &block)
|
25471
25470
|
end
|
25472
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
|
+
|
25473
25527
|
# Replaces SslCertificates for TargetHttpsProxy.
|
25474
25528
|
# @param [String] project
|
25475
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.
|
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-
|
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.
|
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: []
|