google-apis-compute_beta 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/compute_beta/classes.rb +15 -10
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/service.rb +168 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5befb0eb9e9e37cf5f47b2e6d97ab4b9b0106533c01b6521dff76335d150d1ad
|
4
|
+
data.tar.gz: 3769cac8bf4d21a1196ee8567d5b123f2e7e5fd665592956e1f066a731dbb9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6685975885df8bd00642460a36f041ddf2e1907ead6326d0f47e372d63585c8b5ebdfee0da6c2cf7938ed29413ab18daf6d3c5886f799a5f67921780515b1f88
|
7
|
+
data.tar.gz: 7596b77c19d6f5fbada2a8b37c5a46ae49b5644a951c94595934980c554b2fe94da3035db692977cecc06cde20dfb3783782041f8f53dad7d5d8d585e11ec705
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.12.0 (2021-06-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210525
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
3
8
|
### v0.11.0 (2021-05-28)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210518
|
@@ -3395,11 +3395,12 @@ module Google
|
|
3395
3395
|
attr_accessor :self_link
|
3396
3396
|
|
3397
3397
|
# Type of session affinity to use. The default is NONE.
|
3398
|
-
# When the loadBalancingScheme is EXTERNAL:
|
3399
|
-
# possible values are NONE, CLIENT_IP,
|
3400
|
-
# * For all other load balancers that
|
3401
|
-
# possible values are NONE, CLIENT_IP, or
|
3402
|
-
# GENERATED_COOKIE if the protocol is HTTP,
|
3398
|
+
# When the loadBalancingScheme is EXTERNAL:
|
3399
|
+
# * For Network Load Balancing, the possible values are NONE, CLIENT_IP,
|
3400
|
+
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. * For all other load balancers that
|
3401
|
+
# use loadBalancingScheme=EXTERNAL, the possible values are NONE, CLIENT_IP, or
|
3402
|
+
# GENERATED_COOKIE. * You can use GENERATED_COOKIE if the protocol is HTTP,
|
3403
|
+
# HTTP2, or HTTPS.
|
3403
3404
|
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
3404
3405
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
3405
3406
|
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED,
|
@@ -3412,7 +3413,8 @@ module Google
|
|
3412
3413
|
attr_accessor :session_affinity
|
3413
3414
|
|
3414
3415
|
# Subsetting configuration for this BackendService. Currently this is applicable
|
3415
|
-
# only for Internal TCP/UDP load balancing
|
3416
|
+
# only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and
|
3417
|
+
# Traffic Director.
|
3416
3418
|
# Corresponds to the JSON property `subsetting`
|
3417
3419
|
# @return [Google::Apis::ComputeBeta::Subsetting]
|
3418
3420
|
attr_accessor :subsetting
|
@@ -17831,8 +17833,10 @@ module Google
|
|
17831
17833
|
# - ACTIVE: This outage notification is active. The event could be in the past,
|
17832
17834
|
# present, or future. See start_time and end_time for scheduling.
|
17833
17835
|
# - CANCELLED: The outage associated with this notification was cancelled before
|
17834
|
-
# the outage was due to start.
|
17835
|
-
#
|
17836
|
+
# the outage was due to start.
|
17837
|
+
# - COMPLETED: The outage associated with this notification is complete. Note
|
17838
|
+
# that the versions of this enum prefixed with "NS_" have been deprecated in
|
17839
|
+
# favor of the unprefixed values.
|
17836
17840
|
# Corresponds to the JSON property `state`
|
17837
17841
|
# @return [String]
|
17838
17842
|
attr_accessor :state
|
@@ -29895,7 +29899,7 @@ module Google
|
|
29895
29899
|
# @return [String]
|
29896
29900
|
attr_accessor :redundant_interface
|
29897
29901
|
|
29898
|
-
# The
|
29902
|
+
# The URI of the subnetwork resource that this interface belongs to, which must
|
29899
29903
|
# be in the same region as the Cloud Router. When you establish a BGP session to
|
29900
29904
|
# a VM instance using this interface, the VM instance must belong to the same
|
29901
29905
|
# subnetwork as the subnetwork specified here.
|
@@ -34744,7 +34748,8 @@ module Google
|
|
34744
34748
|
end
|
34745
34749
|
|
34746
34750
|
# Subsetting configuration for this BackendService. Currently this is applicable
|
34747
|
-
# only for Internal TCP/UDP load balancing
|
34751
|
+
# only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and
|
34752
|
+
# Traffic Director.
|
34748
34753
|
class Subsetting
|
34749
34754
|
include Google::Apis::Core::Hashable
|
34750
34755
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210525"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2015,6 +2015,46 @@ module Google
|
|
2015
2015
|
execute_or_queue_command(command, &block)
|
2016
2016
|
end
|
2017
2017
|
|
2018
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
2019
|
+
# or resource exists.
|
2020
|
+
# @param [String] project
|
2021
|
+
# Project ID for this request.
|
2022
|
+
# @param [String] resource
|
2023
|
+
# Name or id of the resource for this request.
|
2024
|
+
# @param [Fixnum] options_requested_policy_version
|
2025
|
+
# Requested IAM Policy version.
|
2026
|
+
# @param [String] fields
|
2027
|
+
# Selector specifying which fields to include in a partial response.
|
2028
|
+
# @param [String] quota_user
|
2029
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2030
|
+
# characters.
|
2031
|
+
# @param [String] user_ip
|
2032
|
+
# Deprecated. Please use quotaUser instead.
|
2033
|
+
# @param [Google::Apis::RequestOptions] options
|
2034
|
+
# Request-specific options
|
2035
|
+
#
|
2036
|
+
# @yield [result, err] Result & error if block supplied
|
2037
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
2038
|
+
# @yieldparam err [StandardError] error object if request failed
|
2039
|
+
#
|
2040
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
2041
|
+
#
|
2042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2045
|
+
def get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2046
|
+
command = make_simple_command(:get, 'projects/{project}/global/backendServices/{resource}/getIamPolicy', options)
|
2047
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
2048
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
2049
|
+
command.params['project'] = project unless project.nil?
|
2050
|
+
command.params['resource'] = resource unless resource.nil?
|
2051
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2052
|
+
command.query['fields'] = fields unless fields.nil?
|
2053
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2054
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2055
|
+
execute_or_queue_command(command, &block)
|
2056
|
+
end
|
2057
|
+
|
2018
2058
|
# Creates a BackendService resource in the specified project using the data
|
2019
2059
|
# included in the request. For more information, see Backend services overview.
|
2020
2060
|
# @param [String] project
|
@@ -2246,6 +2286,46 @@ module Google
|
|
2246
2286
|
execute_or_queue_command(command, &block)
|
2247
2287
|
end
|
2248
2288
|
|
2289
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2290
|
+
# existing policy.
|
2291
|
+
# @param [String] project
|
2292
|
+
# Project ID for this request.
|
2293
|
+
# @param [String] resource
|
2294
|
+
# Name or id of the resource for this request.
|
2295
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
2296
|
+
# @param [String] fields
|
2297
|
+
# Selector specifying which fields to include in a partial response.
|
2298
|
+
# @param [String] quota_user
|
2299
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2300
|
+
# characters.
|
2301
|
+
# @param [String] user_ip
|
2302
|
+
# Deprecated. Please use quotaUser instead.
|
2303
|
+
# @param [Google::Apis::RequestOptions] options
|
2304
|
+
# Request-specific options
|
2305
|
+
#
|
2306
|
+
# @yield [result, err] Result & error if block supplied
|
2307
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
2308
|
+
# @yieldparam err [StandardError] error object if request failed
|
2309
|
+
#
|
2310
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
2311
|
+
#
|
2312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2315
|
+
def set_backend_service_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2316
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/setIamPolicy', options)
|
2317
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation
|
2318
|
+
command.request_object = global_set_policy_request_object
|
2319
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
2320
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
2321
|
+
command.params['project'] = project unless project.nil?
|
2322
|
+
command.params['resource'] = resource unless resource.nil?
|
2323
|
+
command.query['fields'] = fields unless fields.nil?
|
2324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2325
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2326
|
+
execute_or_queue_command(command, &block)
|
2327
|
+
end
|
2328
|
+
|
2249
2329
|
# Sets the Google Cloud Armor security policy for the specified backend service.
|
2250
2330
|
# For more information, see Google Cloud Armor Overview
|
2251
2331
|
# @param [String] project
|
@@ -3984,7 +4064,8 @@ module Google
|
|
3984
4064
|
execute_or_queue_command(command, &block)
|
3985
4065
|
end
|
3986
4066
|
|
3987
|
-
# Lists all the policies that have been configured for the specified
|
4067
|
+
# Lists all the policies that have been configured for the specified folder or
|
4068
|
+
# organization.
|
3988
4069
|
# @param [String] filter
|
3989
4070
|
# A filter expression that filters resources listed in the response. The
|
3990
4071
|
# expression must specify the field name, a comparison operator, and the value
|
@@ -21126,6 +21207,49 @@ module Google
|
|
21126
21207
|
execute_or_queue_command(command, &block)
|
21127
21208
|
end
|
21128
21209
|
|
21210
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
21211
|
+
# or resource exists.
|
21212
|
+
# @param [String] project
|
21213
|
+
# Project ID for this request.
|
21214
|
+
# @param [String] region
|
21215
|
+
# The name of the region for this request.
|
21216
|
+
# @param [String] resource
|
21217
|
+
# Name or id of the resource for this request.
|
21218
|
+
# @param [Fixnum] options_requested_policy_version
|
21219
|
+
# Requested IAM Policy version.
|
21220
|
+
# @param [String] fields
|
21221
|
+
# Selector specifying which fields to include in a partial response.
|
21222
|
+
# @param [String] quota_user
|
21223
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21224
|
+
# characters.
|
21225
|
+
# @param [String] user_ip
|
21226
|
+
# Deprecated. Please use quotaUser instead.
|
21227
|
+
# @param [Google::Apis::RequestOptions] options
|
21228
|
+
# Request-specific options
|
21229
|
+
#
|
21230
|
+
# @yield [result, err] Result & error if block supplied
|
21231
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
21232
|
+
# @yieldparam err [StandardError] error object if request failed
|
21233
|
+
#
|
21234
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
21235
|
+
#
|
21236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21239
|
+
def get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21240
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy', options)
|
21241
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
21242
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
21243
|
+
command.params['project'] = project unless project.nil?
|
21244
|
+
command.params['region'] = region unless region.nil?
|
21245
|
+
command.params['resource'] = resource unless resource.nil?
|
21246
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
21247
|
+
command.query['fields'] = fields unless fields.nil?
|
21248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21249
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21250
|
+
execute_or_queue_command(command, &block)
|
21251
|
+
end
|
21252
|
+
|
21129
21253
|
# Creates a regional BackendService resource in the specified project using the
|
21130
21254
|
# data included in the request. For more information, see Backend services
|
21131
21255
|
# overview.
|
@@ -21315,6 +21439,49 @@ module Google
|
|
21315
21439
|
execute_or_queue_command(command, &block)
|
21316
21440
|
end
|
21317
21441
|
|
21442
|
+
# Sets the access control policy on the specified resource. Replaces any
|
21443
|
+
# existing policy.
|
21444
|
+
# @param [String] project
|
21445
|
+
# Project ID for this request.
|
21446
|
+
# @param [String] region
|
21447
|
+
# The name of the region for this request.
|
21448
|
+
# @param [String] resource
|
21449
|
+
# Name or id of the resource for this request.
|
21450
|
+
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
21451
|
+
# @param [String] fields
|
21452
|
+
# Selector specifying which fields to include in a partial response.
|
21453
|
+
# @param [String] quota_user
|
21454
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21455
|
+
# characters.
|
21456
|
+
# @param [String] user_ip
|
21457
|
+
# Deprecated. Please use quotaUser instead.
|
21458
|
+
# @param [Google::Apis::RequestOptions] options
|
21459
|
+
# Request-specific options
|
21460
|
+
#
|
21461
|
+
# @yield [result, err] Result & error if block supplied
|
21462
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
21463
|
+
# @yieldparam err [StandardError] error object if request failed
|
21464
|
+
#
|
21465
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
21466
|
+
#
|
21467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21470
|
+
def set_region_backend_service_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21471
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy', options)
|
21472
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
21473
|
+
command.request_object = region_set_policy_request_object
|
21474
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
21475
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
21476
|
+
command.params['project'] = project unless project.nil?
|
21477
|
+
command.params['region'] = region unless region.nil?
|
21478
|
+
command.params['resource'] = resource unless resource.nil?
|
21479
|
+
command.query['fields'] = fields unless fields.nil?
|
21480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21481
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21482
|
+
execute_or_queue_command(command, &block)
|
21483
|
+
end
|
21484
|
+
|
21318
21485
|
# Returns permissions that a caller has on the specified resource.
|
21319
21486
|
# @param [String] project
|
21320
21487
|
# Project ID for this request.
|
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.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2021-06-14 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.12.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: []
|