google-apis-compute_beta 0.58.0 → 0.60.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: eb6950e80ba3e0e3fedb24686918b03a33b5f825041ee772796fb4d59e5efb6b
|
4
|
+
data.tar.gz: 91d81f25a4dafd5d3de994b933f525ad179c0cf179f1020aa23fecac947c3f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da552951c781ef42a2469ef5efa93f55cbbdbb82eff8a59f81204ee3a675970a9553941807a8f8c65d5b1ee7f54b1fc5c37f5923d0721bf4ece94bc3857543b1
|
7
|
+
data.tar.gz: e3cb526fb19aefb60eee29c7dd1157318ccd8ce9306b9ed8db4dbc52f54938ccdcc15d9e72d1e229eef46ae1aa4f725ff24f5c9cc0629e9e414f66a0fada0582
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.60.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230201
|
6
|
+
|
7
|
+
### v0.59.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230119
|
10
|
+
|
3
11
|
### v0.58.0 (2023-01-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230103
|
@@ -512,8 +512,9 @@ module Google
|
|
512
512
|
|
513
513
|
# The first IPv6 address of the external IPv6 range associated with this
|
514
514
|
# instance, prefix length is stored in externalIpv6PrefixLength in
|
515
|
-
# ipv6AccessConfig.
|
516
|
-
#
|
515
|
+
# ipv6AccessConfig. To use a static external IP address, it must be unused and
|
516
|
+
# in the same region as the instance's zone. If not specified, GCP will
|
517
|
+
# automatically assign an external IPv6 address from the instance's subnetwork.
|
517
518
|
# Corresponds to the JSON property `externalIpv6`
|
518
519
|
# @return [String]
|
519
520
|
attr_accessor :external_ipv6
|
@@ -1636,6 +1637,13 @@ module Google
|
|
1636
1637
|
# @return [Fixnum]
|
1637
1638
|
attr_accessor :provisioned_iops
|
1638
1639
|
|
1640
|
+
# Indicates how much throughput to provision for the disk. This sets the number
|
1641
|
+
# of throughput mb per second that the disk can handle. Values must be between 1
|
1642
|
+
# and 7,124.
|
1643
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
1644
|
+
# @return [Fixnum]
|
1645
|
+
attr_accessor :provisioned_throughput
|
1646
|
+
|
1639
1647
|
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
1640
1648
|
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
1641
1649
|
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
@@ -1709,6 +1717,7 @@ module Google
|
|
1709
1717
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1710
1718
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1711
1719
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1720
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
1712
1721
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1713
1722
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1714
1723
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -3414,11 +3423,14 @@ module Google
|
|
3414
3423
|
# @return [String]
|
3415
3424
|
attr_accessor :load_balancing_scheme
|
3416
3425
|
|
3417
|
-
# A list of locality load
|
3418
|
-
#
|
3419
|
-
#
|
3420
|
-
#
|
3421
|
-
#
|
3426
|
+
# A list of locality load-balancing policies to be used in order of preference.
|
3427
|
+
# When you use localityLbPolicies, you must set at least one value for either
|
3428
|
+
# the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field.
|
3429
|
+
# localityLbPolicies overrides any value set in the localityLbPolicy field. For
|
3430
|
+
# an example of how to use this field, see Define a list of preferred policies.
|
3431
|
+
# Caution: This field and its children are intended for use in a service mesh
|
3432
|
+
# that includes gRPC clients only. Envoy proxies can't use backend services that
|
3433
|
+
# have this configuration.
|
3422
3434
|
# Corresponds to the JSON property `localityLbPolicies`
|
3423
3435
|
# @return [Array<Google::Apis::ComputeBeta::BackendServiceLocalityLoadBalancingPolicyConfig>]
|
3424
3436
|
attr_accessor :locality_lb_policies
|
@@ -4304,12 +4316,13 @@ module Google
|
|
4304
4316
|
# @return [String]
|
4305
4317
|
attr_accessor :data
|
4306
4318
|
|
4307
|
-
# Identifies the custom policy. The value should match the
|
4308
|
-
# implementation
|
4309
|
-
#
|
4310
|
-
# myorg.CustomLbPolicy). The maximum length is 256 characters.
|
4311
|
-
#
|
4312
|
-
# configuration
|
4319
|
+
# Identifies the custom policy. The value should match the name of a custom
|
4320
|
+
# implementation registered on the gRPC clients. It should follow protocol
|
4321
|
+
# buffer message naming conventions and include the full path (for example,
|
4322
|
+
# myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify
|
4323
|
+
# the same custom policy more than once for a backend. If you do, the
|
4324
|
+
# configuration is rejected. For an example of how to use this field, see Use a
|
4325
|
+
# custom policy.
|
4313
4326
|
# Corresponds to the JSON property `name`
|
4314
4327
|
# @return [String]
|
4315
4328
|
attr_accessor :name
|
@@ -4329,11 +4342,10 @@ module Google
|
|
4329
4342
|
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
4330
4343
|
include Google::Apis::Core::Hashable
|
4331
4344
|
|
4332
|
-
# The name of a locality load
|
4333
|
-
#
|
4334
|
-
#
|
4335
|
-
#
|
4336
|
-
# than once for a backend is not a valid configuration and will be rejected.
|
4345
|
+
# The name of a locality load-balancing policy. Valid values include ROUND_ROBIN
|
4346
|
+
# and, for Java clients, LEAST_REQUEST. For information about these values, see
|
4347
|
+
# the description of localityLbPolicy. Do not specify the same policy more than
|
4348
|
+
# once for a backend. If you do, the configuration is rejected.
|
4337
4349
|
# Corresponds to the JSON property `name`
|
4338
4350
|
# @return [String]
|
4339
4351
|
attr_accessor :name
|
@@ -4360,6 +4372,22 @@ module Google
|
|
4360
4372
|
attr_accessor :enable
|
4361
4373
|
alias_method :enable?, :enable
|
4362
4374
|
|
4375
|
+
# This field can only be specified if logging is enabled for this backend
|
4376
|
+
# service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of
|
4377
|
+
# optional fields you want to include in the logs. For example: serverInstance,
|
4378
|
+
# serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
|
4379
|
+
# Corresponds to the JSON property `optionalFields`
|
4380
|
+
# @return [Array<String>]
|
4381
|
+
attr_accessor :optional_fields
|
4382
|
+
|
4383
|
+
# This field can only be specified if logging is enabled for this backend
|
4384
|
+
# service. Configures whether all, none or a subset of optional fields should be
|
4385
|
+
# added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL,
|
4386
|
+
# CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
|
4387
|
+
# Corresponds to the JSON property `optionalMode`
|
4388
|
+
# @return [String]
|
4389
|
+
attr_accessor :optional_mode
|
4390
|
+
|
4363
4391
|
# This field can only be specified if logging is enabled for this backend
|
4364
4392
|
# service. The value of the field must be in [0, 1]. This configures the
|
4365
4393
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
@@ -4376,6 +4404,8 @@ module Google
|
|
4376
4404
|
# Update properties of this object
|
4377
4405
|
def update!(**args)
|
4378
4406
|
@enable = args[:enable] if args.key?(:enable)
|
4407
|
+
@optional_fields = args[:optional_fields] if args.key?(:optional_fields)
|
4408
|
+
@optional_mode = args[:optional_mode] if args.key?(:optional_mode)
|
4379
4409
|
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
|
4380
4410
|
end
|
4381
4411
|
end
|
@@ -4782,22 +4812,22 @@ module Google
|
|
4782
4812
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
4783
4813
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
4784
4814
|
# email address that represents a Google group. For example, `admins@example.com`
|
4785
|
-
# . * `
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
# the
|
4790
|
-
#
|
4791
|
-
#
|
4815
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
4816
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
4817
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4818
|
+
# representing a user that has been recently deleted. For example, `alice@
|
4819
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
4820
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
4821
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
4822
|
+
# (plus unique identifier) representing a service account that has been recently
|
4823
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
4792
4824
|
# 123456789012345678901`. If the service account is undeleted, this value
|
4793
4825
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
4794
4826
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
4795
4827
|
# An email address (plus unique identifier) representing a Google group that has
|
4796
4828
|
# been recently deleted. For example, `admins@example.com?uid=
|
4797
4829
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
4798
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
4799
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
4800
|
-
# of that domain. For example, `google.com` or `example.com`.
|
4830
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
4801
4831
|
# Corresponds to the JSON property `members`
|
4802
4832
|
# @return [Array<String>]
|
4803
4833
|
attr_accessor :members
|
@@ -6161,6 +6191,13 @@ module Google
|
|
6161
6191
|
# @return [Fixnum]
|
6162
6192
|
attr_accessor :provisioned_iops
|
6163
6193
|
|
6194
|
+
# Indicates how much throughput to provision for the disk. This sets the number
|
6195
|
+
# of throughput mb per second that the disk can handle. Values must be between 1
|
6196
|
+
# and 7,124.
|
6197
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
6198
|
+
# @return [Fixnum]
|
6199
|
+
attr_accessor :provisioned_throughput
|
6200
|
+
|
6164
6201
|
# [Output Only] URL of the region where the disk resides. Only applicable for
|
6165
6202
|
# regional resources. You must specify this field as part of the HTTP request
|
6166
6203
|
# URL. It is not settable as a field in the request body.
|
@@ -6352,6 +6389,7 @@ module Google
|
|
6352
6389
|
@params = args[:params] if args.key?(:params)
|
6353
6390
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
6354
6391
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
6392
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
6355
6393
|
@region = args[:region] if args.key?(:region)
|
6356
6394
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
6357
6395
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -17656,7 +17694,7 @@ module Google
|
|
17656
17694
|
# @return [String]
|
17657
17695
|
attr_accessor :type
|
17658
17696
|
|
17659
|
-
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-
|
17697
|
+
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only
|
17660
17698
|
# specified at creation time.
|
17661
17699
|
# Corresponds to the JSON property `vlanTag8021q`
|
17662
17700
|
# @return [Fixnum]
|
@@ -22665,7 +22703,10 @@ module Google
|
|
22665
22703
|
# @return [String]
|
22666
22704
|
attr_accessor :ipv6_access_type
|
22667
22705
|
|
22668
|
-
# An IPv6 internal network address for this network interface.
|
22706
|
+
# An IPv6 internal network address for this network interface. To use a static
|
22707
|
+
# internal IP address, it must be unused and in the same region as the instance'
|
22708
|
+
# s zone. If not specified, GCP will automatically assign an internal IPv6
|
22709
|
+
# address from the instance's subnetwork.
|
22669
22710
|
# Corresponds to the JSON property `ipv6Address`
|
22670
22711
|
# @return [String]
|
22671
22712
|
attr_accessor :ipv6_address
|
@@ -30864,6 +30905,11 @@ module Google
|
|
30864
30905
|
# @return [String]
|
30865
30906
|
attr_accessor :collocation
|
30866
30907
|
|
30908
|
+
# Specifies the number of max logical switches.
|
30909
|
+
# Corresponds to the JSON property `maxDistance`
|
30910
|
+
# @return [Fixnum]
|
30911
|
+
attr_accessor :max_distance
|
30912
|
+
|
30867
30913
|
# Number of VMs in this placement group. Google does not recommend that you use
|
30868
30914
|
# this field unless you use a compact policy and you want your policy to work
|
30869
30915
|
# only if it contains this exact number of VMs.
|
@@ -30879,6 +30925,7 @@ module Google
|
|
30879
30925
|
def update!(**args)
|
30880
30926
|
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
|
30881
30927
|
@collocation = args[:collocation] if args.key?(:collocation)
|
30928
|
+
@max_distance = args[:max_distance] if args.key?(:max_distance)
|
30882
30929
|
@vm_count = args[:vm_count] if args.key?(:vm_count)
|
30883
30930
|
end
|
30884
30931
|
end
|
@@ -34203,7 +34250,11 @@ module Google
|
|
34203
34250
|
# CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
|
34204
34251
|
# configured to filter HTTP requests targeting services managed by Traffic
|
34205
34252
|
# Director in a service mesh. They filter requests before the request is served
|
34206
|
-
# from the application.
|
34253
|
+
# from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
|
34254
|
+
# be configured to filter packets targeting network load balancing resources
|
34255
|
+
# such as backend services, target pools, target instances, and instances with
|
34256
|
+
# external IPs. They filter requests before the request is served from the
|
34257
|
+
# application. This field can be set only at resource creation time.
|
34207
34258
|
# Corresponds to the JSON property `type`
|
34208
34259
|
# @return [String]
|
34209
34260
|
attr_accessor :type
|
@@ -34598,16 +34649,17 @@ module Google
|
|
34598
34649
|
include Google::Apis::Core::Hashable
|
34599
34650
|
|
34600
34651
|
# The Action to perform when the rule is matched. The following are the valid
|
34601
|
-
# actions: - allow: allow access to target. - deny(): deny access to
|
34602
|
-
# returns the HTTP response code specified
|
34603
|
-
# - rate_based_ban: limit client traffic to the
|
34604
|
-
# client if the traffic exceeds the threshold.
|
34605
|
-
# action in RateLimitOptions. Requires
|
34606
|
-
# redirect to a different target. This
|
34607
|
-
# redirect, or an external URL-based
|
34608
|
-
# this action can be configured via
|
34609
|
-
# traffic to the configured threshold.
|
34610
|
-
#
|
34652
|
+
# actions: - allow: allow access to target. - deny(STATUS): deny access to
|
34653
|
+
# target, returns the HTTP response code specified. Valid values for `STATUS`
|
34654
|
+
# are 403, 404, and 502. - rate_based_ban: limit client traffic to the
|
34655
|
+
# configured threshold and ban the client if the traffic exceeds the threshold.
|
34656
|
+
# Configure parameters for this action in RateLimitOptions. Requires
|
34657
|
+
# rate_limit_options to be set. - redirect: redirect to a different target. This
|
34658
|
+
# can either be an internal reCAPTCHA redirect, or an external URL-based
|
34659
|
+
# redirect via a 302 response. Parameters for this action can be configured via
|
34660
|
+
# redirectOptions. - throttle: limit client traffic to the configured threshold.
|
34661
|
+
# Configure parameters for this action in rateLimitOptions. Requires
|
34662
|
+
# rate_limit_options to be set for this.
|
34611
34663
|
# Corresponds to the JSON property `action`
|
34612
34664
|
# @return [String]
|
34613
34665
|
attr_accessor :action
|
@@ -35062,9 +35114,9 @@ module Google
|
|
35062
35114
|
|
35063
35115
|
# Action to take for requests that are above the configured rate limit threshold,
|
35064
35116
|
# to either deny with a specified HTTP response code, or redirect to a
|
35065
|
-
# different endpoint. Valid options are
|
35066
|
-
#
|
35067
|
-
# parameters come from exceedRedirectOptions below.
|
35117
|
+
# different endpoint. Valid options are `deny(STATUS)`, where valid values for `
|
35118
|
+
# STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
|
35119
|
+
# parameters come from `exceedRedirectOptions` below.
|
35068
35120
|
# Corresponds to the JSON property `exceedAction`
|
35069
35121
|
# @return [String]
|
35070
35122
|
attr_accessor :exceed_action
|
@@ -43709,7 +43761,7 @@ module Google
|
|
43709
43761
|
# request to modify or update labels. You must always provide an up-to-date
|
43710
43762
|
# fingerprint hash in order to update or change labels, otherwise the request
|
43711
43763
|
# will fail with error 412 conditionNotMet. To see the latest fingerprint, make
|
43712
|
-
# a get() request to retrieve
|
43764
|
+
# a get() request to retrieve a VpnGateway.
|
43713
43765
|
# Corresponds to the JSON property `labelFingerprint`
|
43714
43766
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
43715
43767
|
# @return [String]
|
@@ -44890,6 +44942,13 @@ module Google
|
|
44890
44942
|
# @return [String]
|
44891
44943
|
attr_accessor :id
|
44892
44944
|
|
44945
|
+
# The sensitivity value associated with the WAF rule ID. This corresponds to the
|
44946
|
+
# ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only
|
44947
|
+
# rules.
|
44948
|
+
# Corresponds to the JSON property `sensitivity`
|
44949
|
+
# @return [Fixnum]
|
44950
|
+
attr_accessor :sensitivity
|
44951
|
+
|
44893
44952
|
def initialize(**args)
|
44894
44953
|
update!(**args)
|
44895
44954
|
end
|
@@ -44897,6 +44956,7 @@ module Google
|
|
44897
44956
|
# Update properties of this object
|
44898
44957
|
def update!(**args)
|
44899
44958
|
@id = args[:id] if args.key?(:id)
|
44959
|
+
@sensitivity = args[:sensitivity] if args.key?(:sensitivity)
|
44900
44960
|
end
|
44901
44961
|
end
|
44902
44962
|
|
@@ -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.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -6347,6 +6347,7 @@ module Google
|
|
6347
6347
|
property :multi_writer, as: 'multiWriter'
|
6348
6348
|
property :on_update_action, as: 'onUpdateAction'
|
6349
6349
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
6350
|
+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
6350
6351
|
hash :resource_manager_tags, as: 'resourceManagerTags'
|
6351
6352
|
collection :resource_policies, as: 'resourcePolicies'
|
6352
6353
|
property :source_image, as: 'sourceImage'
|
@@ -6927,6 +6928,8 @@ module Google
|
|
6927
6928
|
# @private
|
6928
6929
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6929
6930
|
property :enable, as: 'enable'
|
6931
|
+
collection :optional_fields, as: 'optionalFields'
|
6932
|
+
property :optional_mode, as: 'optionalMode'
|
6930
6933
|
property :sample_rate, as: 'sampleRate'
|
6931
6934
|
end
|
6932
6935
|
end
|
@@ -7337,6 +7340,7 @@ module Google
|
|
7337
7340
|
|
7338
7341
|
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
7339
7342
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
7343
|
+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
7340
7344
|
property :region, as: 'region'
|
7341
7345
|
collection :replica_zones, as: 'replicaZones'
|
7342
7346
|
collection :resource_policies, as: 'resourcePolicies'
|
@@ -13477,6 +13481,7 @@ module Google
|
|
13477
13481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13478
13482
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
13479
13483
|
property :collocation, as: 'collocation'
|
13484
|
+
property :max_distance, as: 'maxDistance'
|
13480
13485
|
property :vm_count, as: 'vmCount'
|
13481
13486
|
end
|
13482
13487
|
end
|
@@ -16969,6 +16974,7 @@ module Google
|
|
16969
16974
|
# @private
|
16970
16975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16971
16976
|
property :id, as: 'id'
|
16977
|
+
property :sensitivity, as: 'sensitivity'
|
16972
16978
|
end
|
16973
16979
|
end
|
16974
16980
|
|
@@ -32953,6 +32953,62 @@ module Google
|
|
32953
32953
|
execute_or_queue_command(command, &block)
|
32954
32954
|
end
|
32955
32955
|
|
32956
|
+
# Modify the specified resource policy.
|
32957
|
+
# @param [String] project
|
32958
|
+
# Project ID for this request.
|
32959
|
+
# @param [String] region
|
32960
|
+
# Name of the region for this request.
|
32961
|
+
# @param [String] resource_policy
|
32962
|
+
# Id of the resource policy to patch.
|
32963
|
+
# @param [Google::Apis::ComputeBeta::ResourcePolicy] resource_policy_object
|
32964
|
+
# @param [String] request_id
|
32965
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32966
|
+
# that if you must retry your request, the server will know to ignore the
|
32967
|
+
# request if it has already been completed. For example, consider a situation
|
32968
|
+
# where you make an initial request and the request times out. If you make the
|
32969
|
+
# request again with the same request ID, the server can check if original
|
32970
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32971
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32972
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32973
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32974
|
+
# @param [String] update_mask
|
32975
|
+
# update_mask indicates fields to be updated as part of this request.
|
32976
|
+
# @param [String] fields
|
32977
|
+
# Selector specifying which fields to include in a partial response.
|
32978
|
+
# @param [String] quota_user
|
32979
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32980
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32981
|
+
# @param [String] user_ip
|
32982
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32983
|
+
# @param [Google::Apis::RequestOptions] options
|
32984
|
+
# Request-specific options
|
32985
|
+
#
|
32986
|
+
# @yield [result, err] Result & error if block supplied
|
32987
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
32988
|
+
# @yieldparam err [StandardError] error object if request failed
|
32989
|
+
#
|
32990
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
32991
|
+
#
|
32992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32995
|
+
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)
|
32996
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
|
32997
|
+
command.request_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation
|
32998
|
+
command.request_object = resource_policy_object
|
32999
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
33000
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
33001
|
+
command.params['project'] = project unless project.nil?
|
33002
|
+
command.params['region'] = region unless region.nil?
|
33003
|
+
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
|
33004
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
33005
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
33006
|
+
command.query['fields'] = fields unless fields.nil?
|
33007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33008
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33009
|
+
execute_or_queue_command(command, &block)
|
33010
|
+
end
|
33011
|
+
|
32956
33012
|
# Sets the access control policy on the specified resource. Replaces any
|
32957
33013
|
# existing policy.
|
32958
33014
|
# @param [String] project
|
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.60.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-
|
11
|
+
date: 2023-02-12 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_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.60.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|