google-apis-compute_alpha 0.33.0 → 0.34.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: d4af0a5a708ad1e11ba1200270e710fe3fe42618b01f589e2aa8e558b6006dea
|
4
|
+
data.tar.gz: c65e4fb4255cdc79435a8db28b19771c97d724615ef864f73011941455525575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4d43602549bbf0ab6330a0595d0af1045b0950df7a336e5c37c23ba85382554bfb2a3eb62ad9972d90800dd3e406c2eb45e3d875227b93b442ad06b70b9b4e9
|
7
|
+
data.tar.gz: 500b3859778d53e62f5049f1cdeff31f52233d790d048f0ac399aab2e98175d59913c5b319d897a6da0f0d8179da447336ba448834cc1ade7c634472fbbc5afd
|
data/CHANGELOG.md
CHANGED
@@ -9392,21 +9392,26 @@ module Google
|
|
9392
9392
|
class ForwardingRule
|
9393
9393
|
include Google::Apis::Core::Hashable
|
9394
9394
|
|
9395
|
-
# IP address
|
9396
|
-
# this IP address, the forwarding rule directs the traffic to the
|
9397
|
-
#
|
9398
|
-
# an
|
9399
|
-
#
|
9400
|
-
#
|
9401
|
-
#
|
9402
|
-
#
|
9403
|
-
#
|
9404
|
-
#
|
9405
|
-
#
|
9406
|
-
# com/
|
9407
|
-
#
|
9408
|
-
#
|
9409
|
-
#
|
9395
|
+
# IP address for which this forwarding rule accepts traffic. When a client sends
|
9396
|
+
# traffic to this IP address, the forwarding rule directs the traffic to the
|
9397
|
+
# referenced target or backendService. While creating a forwarding rule,
|
9398
|
+
# specifying an IPAddress is required under the following circumstances: - When
|
9399
|
+
# the target is set to targetGrpcProxy and validateForProxyless is set to true,
|
9400
|
+
# the IPAddress should be set to 0.0.0.0. - When the target is a Private Service
|
9401
|
+
# Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can
|
9402
|
+
# optionally specify an IP address that references an existing static (reserved)
|
9403
|
+
# IP address resource. When omitted, Google Cloud assigns an ephemeral IP
|
9404
|
+
# address. Use one of the following formats to specify an IP address while
|
9405
|
+
# creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
|
9406
|
+
# resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
|
9407
|
+
# regions/region /addresses/address-name * Partial URL or by name, as in: -
|
9408
|
+
# projects/project_id/regions/region/addresses/address-name - regions/region/
|
9409
|
+
# addresses/address-name - global/addresses/address-name - address-name The
|
9410
|
+
# forwarding rule's target or backendService, and in most cases, also the
|
9411
|
+
# loadBalancingScheme, determine the type of IP address that you can use. For
|
9412
|
+
# detailed information, see [IP address specifications](https://cloud.google.com/
|
9413
|
+
# load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
|
9414
|
+
# reading an IPAddress, the API always returns the IP address number.
|
9410
9415
|
# Corresponds to the JSON property `IPAddress`
|
9411
9416
|
# @return [String]
|
9412
9417
|
attr_accessor :ip_address
|
@@ -12491,10 +12496,10 @@ module Google
|
|
12491
12496
|
|
12492
12497
|
# The list of host patterns to match. They must be valid hostnames with optional
|
12493
12498
|
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
12494
|
-
# In that case, * must be the first character and
|
12495
|
-
#
|
12496
|
-
# is bound to a target gRPC proxy that has the
|
12497
|
-
# true.
|
12499
|
+
# In that case, * must be the first character, and if followed by anything, the
|
12500
|
+
# immediate following character must be either - or .. * based matching is not
|
12501
|
+
# supported when the URL map is bound to a target gRPC proxy that has the
|
12502
|
+
# validateForProxyless field set to true.
|
12498
12503
|
# Corresponds to the JSON property `hosts`
|
12499
12504
|
# @return [Array<String>]
|
12500
12505
|
attr_accessor :hosts
|
@@ -16177,12 +16182,16 @@ module Google
|
|
16177
16182
|
# @return [Fixnum]
|
16178
16183
|
attr_accessor :min_ready_sec
|
16179
16184
|
|
16180
|
-
# Minimal action to be taken on an instance.
|
16181
|
-
#
|
16182
|
-
#
|
16183
|
-
#
|
16184
|
-
#
|
16185
|
-
#
|
16185
|
+
# Minimal action to be taken on an instance. Use this option to minimize
|
16186
|
+
# disruption as much as possible or to apply a more disruptive action than is
|
16187
|
+
# necessary. - To limit disruption as much as possible, set the minimal action
|
16188
|
+
# to REFRESH. If your update requires a more disruptive action, Compute Engine
|
16189
|
+
# performs the necessary action to execute the update. - To apply a more
|
16190
|
+
# disruptive action than is strictly necessary, set the minimal action to
|
16191
|
+
# RESTART or REPLACE. For example, Compute Engine does not need to restart a VM
|
16192
|
+
# to change its metadata. But if your application reads instance metadata only
|
16193
|
+
# when a VM is restarted, you can set the minimal action to RESTART in order to
|
16194
|
+
# pick up metadata changes.
|
16186
16195
|
# Corresponds to the JSON property `minimalAction`
|
16187
16196
|
# @return [String]
|
16188
16197
|
attr_accessor :minimal_action
|
@@ -33697,9 +33706,9 @@ module Google
|
|
33697
33706
|
class ResourcePolicyGroupPlacementPolicy
|
33698
33707
|
include Google::Apis::Core::Hashable
|
33699
33708
|
|
33700
|
-
# The number of availability domains
|
33701
|
-
# instances are in different availability domain, they
|
33702
|
-
#
|
33709
|
+
# The number of availability domains to spread instances across. If two
|
33710
|
+
# instances are in different availability domain, they are not in the same low
|
33711
|
+
# latency network.
|
33703
33712
|
# Corresponds to the JSON property `availabilityDomainCount`
|
33704
33713
|
# @return [Fixnum]
|
33705
33714
|
attr_accessor :availability_domain_count
|
@@ -33724,7 +33733,9 @@ module Google
|
|
33724
33733
|
# @return [String]
|
33725
33734
|
attr_accessor :style
|
33726
33735
|
|
33727
|
-
# Number of
|
33736
|
+
# Number of VMs in this placement group. Google does not recommend that you use
|
33737
|
+
# this field unless you use a compact policy and you want your policy to work
|
33738
|
+
# only if it contains this exact number of VMs.
|
33728
33739
|
# Corresponds to the JSON property `vmCount`
|
33729
33740
|
# @return [Fixnum]
|
33730
33741
|
attr_accessor :vm_count
|
@@ -39257,6 +39268,11 @@ module Google
|
|
39257
39268
|
# @return [String]
|
39258
39269
|
attr_accessor :chain_name
|
39259
39270
|
|
39271
|
+
# [Output Only] Size in bytes of the snapshot at creation time.
|
39272
|
+
# Corresponds to the JSON property `creationSizeBytes`
|
39273
|
+
# @return [Fixnum]
|
39274
|
+
attr_accessor :creation_size_bytes
|
39275
|
+
|
39260
39276
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
39261
39277
|
# Corresponds to the JSON property `creationTimestamp`
|
39262
39278
|
# @return [String]
|
@@ -39472,6 +39488,7 @@ module Google
|
|
39472
39488
|
@architecture = args[:architecture] if args.key?(:architecture)
|
39473
39489
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
39474
39490
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
39491
|
+
@creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
|
39475
39492
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
39476
39493
|
@description = args[:description] if args.key?(:description)
|
39477
39494
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.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 = "20220506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -16062,6 +16062,7 @@ module Google
|
|
16062
16062
|
property :architecture, as: 'architecture'
|
16063
16063
|
property :auto_created, as: 'autoCreated'
|
16064
16064
|
property :chain_name, as: 'chainName'
|
16065
|
+
property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
|
16065
16066
|
property :creation_timestamp, as: 'creationTimestamp'
|
16066
16067
|
property :description, as: 'description'
|
16067
16068
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
@@ -24840,6 +24840,61 @@ module Google
|
|
24840
24840
|
execute_or_queue_command(command, &block)
|
24841
24841
|
end
|
24842
24842
|
|
24843
|
+
# Sets the Google Cloud Armor security policy for the specified backend service.
|
24844
|
+
# For more information, see Google Cloud Armor Overview
|
24845
|
+
# @param [String] project
|
24846
|
+
# Project ID for this request.
|
24847
|
+
# @param [String] region
|
24848
|
+
# Name of the region scoping this request.
|
24849
|
+
# @param [String] backend_service
|
24850
|
+
# Name of the BackendService resource to which the security policy should be set.
|
24851
|
+
# The name should conform to RFC1035.
|
24852
|
+
# @param [Google::Apis::ComputeAlpha::SecurityPolicyReference] security_policy_reference_object
|
24853
|
+
# @param [String] request_id
|
24854
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
24855
|
+
# that if you must retry your request, the server will know to ignore the
|
24856
|
+
# request if it has already been completed. For example, consider a situation
|
24857
|
+
# where you make an initial request and the request times out. If you make the
|
24858
|
+
# request again with the same request ID, the server can check if original
|
24859
|
+
# operation with the same request ID was received, and if so, will ignore the
|
24860
|
+
# second request. This prevents clients from accidentally creating duplicate
|
24861
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
24862
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
24863
|
+
# @param [String] fields
|
24864
|
+
# Selector specifying which fields to include in a partial response.
|
24865
|
+
# @param [String] quota_user
|
24866
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
24867
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
24868
|
+
# @param [String] user_ip
|
24869
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
24870
|
+
# @param [Google::Apis::RequestOptions] options
|
24871
|
+
# Request-specific options
|
24872
|
+
#
|
24873
|
+
# @yield [result, err] Result & error if block supplied
|
24874
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
24875
|
+
# @yieldparam err [StandardError] error object if request failed
|
24876
|
+
#
|
24877
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
24878
|
+
#
|
24879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
24880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
24881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
24882
|
+
def set_region_backend_service_security_policy(project, region, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
24883
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy', options)
|
24884
|
+
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation
|
24885
|
+
command.request_object = security_policy_reference_object
|
24886
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
24887
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
24888
|
+
command.params['project'] = project unless project.nil?
|
24889
|
+
command.params['region'] = region unless region.nil?
|
24890
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
24891
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
24892
|
+
command.query['fields'] = fields unless fields.nil?
|
24893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
24894
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
24895
|
+
execute_or_queue_command(command, &block)
|
24896
|
+
end
|
24897
|
+
|
24843
24898
|
# Returns permissions that a caller has on the specified resource.
|
24844
24899
|
# @param [String] project
|
24845
24900
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.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-05-
|
11
|
+
date: 2022-05-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_alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|