google-apis-compute_alpha 0.32.0 → 0.35.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: bb6ae43ff79e2dd2871ef8b5adb9f57c1a2a753a3f2f6ba42ec3c89425052084
|
4
|
+
data.tar.gz: aa437dc2bb6765bc11302032850543d92713c48fd2c9b3cad734f2d2083362c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f03cb2f679edf8aa79daa0b79666cd4f8960e4db491597538bf2046e1e85348ca10d6be138723852102f3e870cd0fdc59f04095c8095f4a29105bd457df986
|
7
|
+
data.tar.gz: e3312f2c75c7c6eb5d286e37bf87e4e75081be3573736bb391654f6ebfb07a874958e2090ebbabec6214a36bd689306282e4df0ab01c024a8f9d4102a8596ec9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.35.0 (2022-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220510
|
6
|
+
|
7
|
+
### v0.34.0 (2022-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220506
|
10
|
+
|
11
|
+
### v0.33.0 (2022-04-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220426
|
14
|
+
|
3
15
|
### v0.32.0 (2022-04-21)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220420
|
@@ -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
|
@@ -13960,8 +13965,8 @@ module Google
|
|
13960
13965
|
# @return [String]
|
13961
13966
|
attr_accessor :source_snapshot_id
|
13962
13967
|
|
13963
|
-
# The type of the image used to create this disk. The default and only
|
13964
|
-
# RAW
|
13968
|
+
# The type of the image used to create this disk. The default and only valid
|
13969
|
+
# value is RAW.
|
13965
13970
|
# Corresponds to the JSON property `sourceType`
|
13966
13971
|
# @return [String]
|
13967
13972
|
attr_accessor :source_type
|
@@ -15291,7 +15296,7 @@ module Google
|
|
15291
15296
|
# @return [String]
|
15292
15297
|
attr_accessor :instance_group
|
15293
15298
|
|
15294
|
-
#
|
15299
|
+
# The repair policy for this managed instance group.
|
15295
15300
|
# Corresponds to the JSON property `instanceLifecyclePolicy`
|
15296
15301
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicy]
|
15297
15302
|
attr_accessor :instance_lifecycle_policy
|
@@ -15748,11 +15753,6 @@ module Google
|
|
15748
15753
|
# @return [Google::Apis::ComputeAlpha::FixedOrPercent]
|
15749
15754
|
attr_accessor :max_unavailable
|
15750
15755
|
|
15751
|
-
#
|
15752
|
-
# Corresponds to the JSON property `updateInstances`
|
15753
|
-
# @return [String]
|
15754
|
-
attr_accessor :update_instances
|
15755
|
-
|
15756
15756
|
def initialize(**args)
|
15757
15757
|
update!(**args)
|
15758
15758
|
end
|
@@ -15763,7 +15763,6 @@ module Google
|
|
15763
15763
|
@health_check = args[:health_check] if args.key?(:health_check)
|
15764
15764
|
@initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
|
15765
15765
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
15766
|
-
@update_instances = args[:update_instances] if args.key?(:update_instances)
|
15767
15766
|
end
|
15768
15767
|
end
|
15769
15768
|
|
@@ -15796,6 +15795,16 @@ module Google
|
|
15796
15795
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
15797
15796
|
include Google::Apis::Core::Hashable
|
15798
15797
|
|
15798
|
+
# A bit indicating whether to forcefully apply the group's latest configuration
|
15799
|
+
# when repairing a VM. Valid options are: - NO (default): If configuration
|
15800
|
+
# updates are available, they are not forcefully applied during repair. However,
|
15801
|
+
# if you've set up a proactive type of update policy, then configuration updates
|
15802
|
+
# are applied as usual. - YES: If configuration updates are available, they are
|
15803
|
+
# applied during repair.
|
15804
|
+
# Corresponds to the JSON property `forceUpdateOnRepair`
|
15805
|
+
# @return [String]
|
15806
|
+
attr_accessor :force_update_on_repair
|
15807
|
+
|
15799
15808
|
# The configuration for metadata based readiness signal sent by the instance
|
15800
15809
|
# during initialization when stopping / suspending an instance. The Instance
|
15801
15810
|
# Group Manager will wait for a signal that indicates successful initialization
|
@@ -15816,6 +15825,7 @@ module Google
|
|
15816
15825
|
|
15817
15826
|
# Update properties of this object
|
15818
15827
|
def update!(**args)
|
15828
|
+
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
15819
15829
|
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
15820
15830
|
end
|
15821
15831
|
end
|
@@ -16172,12 +16182,16 @@ module Google
|
|
16172
16182
|
# @return [Fixnum]
|
16173
16183
|
attr_accessor :min_ready_sec
|
16174
16184
|
|
16175
|
-
# Minimal action to be taken on an instance.
|
16176
|
-
#
|
16177
|
-
#
|
16178
|
-
#
|
16179
|
-
#
|
16180
|
-
#
|
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.
|
16181
16195
|
# Corresponds to the JSON property `minimalAction`
|
16182
16196
|
# @return [String]
|
16183
16197
|
attr_accessor :minimal_action
|
@@ -19306,6 +19320,12 @@ module Google
|
|
19306
19320
|
# @return [Fixnum]
|
19307
19321
|
attr_accessor :provisioned_link_count
|
19308
19322
|
|
19323
|
+
# Indicates that this is a Cross-Cloud Interconnect. This field specifies the
|
19324
|
+
# location outside of Google's network that the interconnect is connected to.
|
19325
|
+
# Corresponds to the JSON property `remoteLocation`
|
19326
|
+
# @return [String]
|
19327
|
+
attr_accessor :remote_location
|
19328
|
+
|
19309
19329
|
# Target number of physical links in the link bundle, as requested by the
|
19310
19330
|
# customer.
|
19311
19331
|
# Corresponds to the JSON property `requestedLinkCount`
|
@@ -19370,6 +19390,7 @@ module Google
|
|
19370
19390
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
19371
19391
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
19372
19392
|
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
19393
|
+
@remote_location = args[:remote_location] if args.key?(:remote_location)
|
19373
19394
|
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
19374
19395
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
19375
19396
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -20172,6 +20193,16 @@ module Google
|
|
20172
20193
|
# @return [Array<Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry>]
|
20173
20194
|
attr_accessor :arp_caches
|
20174
20195
|
|
20196
|
+
# The aggregation type of the bundle interface.
|
20197
|
+
# Corresponds to the JSON property `bundleAggregationType`
|
20198
|
+
# @return [String]
|
20199
|
+
attr_accessor :bundle_aggregation_type
|
20200
|
+
|
20201
|
+
# The operational status of the bundle interface.
|
20202
|
+
# Corresponds to the JSON property `bundleOperationalStatus`
|
20203
|
+
# @return [String]
|
20204
|
+
attr_accessor :bundle_operational_status
|
20205
|
+
|
20175
20206
|
# A list of InterconnectDiagnostics.LinkStatus objects, describing the status
|
20176
20207
|
# for each link on the Interconnect.
|
20177
20208
|
# Corresponds to the JSON property `links`
|
@@ -20190,6 +20221,8 @@ module Google
|
|
20190
20221
|
# Update properties of this object
|
20191
20222
|
def update!(**args)
|
20192
20223
|
@arp_caches = args[:arp_caches] if args.key?(:arp_caches)
|
20224
|
+
@bundle_aggregation_type = args[:bundle_aggregation_type] if args.key?(:bundle_aggregation_type)
|
20225
|
+
@bundle_operational_status = args[:bundle_operational_status] if args.key?(:bundle_operational_status)
|
20193
20226
|
@links = args[:links] if args.key?(:links)
|
20194
20227
|
@mac_address = args[:mac_address] if args.key?(:mac_address)
|
20195
20228
|
end
|
@@ -20318,6 +20351,11 @@ module Google
|
|
20318
20351
|
# @return [Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus]
|
20319
20352
|
attr_accessor :macsec
|
20320
20353
|
|
20354
|
+
# The operational status of the link.
|
20355
|
+
# Corresponds to the JSON property `operationalStatus`
|
20356
|
+
# @return [String]
|
20357
|
+
attr_accessor :operational_status
|
20358
|
+
|
20321
20359
|
# An InterconnectDiagnostics.LinkOpticalPower object, describing the current
|
20322
20360
|
# value and status of the received light level.
|
20323
20361
|
# Corresponds to the JSON property `receivingOpticalPower`
|
@@ -20341,6 +20379,7 @@ module Google
|
|
20341
20379
|
@google_demarc = args[:google_demarc] if args.key?(:google_demarc)
|
20342
20380
|
@lacp_status = args[:lacp_status] if args.key?(:lacp_status)
|
20343
20381
|
@macsec = args[:macsec] if args.key?(:macsec)
|
20382
|
+
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
20344
20383
|
@receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
|
20345
20384
|
@transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
|
20346
20385
|
end
|
@@ -32776,6 +32815,13 @@ module Google
|
|
32776
32815
|
# @return [String]
|
32777
32816
|
attr_accessor :name
|
32778
32817
|
|
32818
|
+
# Resource policies to be added to this reservation. The key is defined by user,
|
32819
|
+
# and the value is resource policy url. This is to define placement policy with
|
32820
|
+
# reservation.
|
32821
|
+
# Corresponds to the JSON property `resourcePolicies`
|
32822
|
+
# @return [Hash<String,String>]
|
32823
|
+
attr_accessor :resource_policies
|
32824
|
+
|
32779
32825
|
# [Output Only] Reserved for future use.
|
32780
32826
|
# Corresponds to the JSON property `satisfiesPzs`
|
32781
32827
|
# @return [Boolean]
|
@@ -32834,6 +32880,7 @@ module Google
|
|
32834
32880
|
@id = args[:id] if args.key?(:id)
|
32835
32881
|
@kind = args[:kind] if args.key?(:kind)
|
32836
32882
|
@name = args[:name] if args.key?(:name)
|
32883
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
32837
32884
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
32838
32885
|
@self_link = args[:self_link] if args.key?(:self_link)
|
32839
32886
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -33666,9 +33713,9 @@ module Google
|
|
33666
33713
|
class ResourcePolicyGroupPlacementPolicy
|
33667
33714
|
include Google::Apis::Core::Hashable
|
33668
33715
|
|
33669
|
-
# The number of availability domains
|
33670
|
-
# instances are in different availability domain, they
|
33671
|
-
#
|
33716
|
+
# The number of availability domains to spread instances across. If two
|
33717
|
+
# instances are in different availability domain, they are not in the same low
|
33718
|
+
# latency network.
|
33672
33719
|
# Corresponds to the JSON property `availabilityDomainCount`
|
33673
33720
|
# @return [Fixnum]
|
33674
33721
|
attr_accessor :availability_domain_count
|
@@ -33693,7 +33740,9 @@ module Google
|
|
33693
33740
|
# @return [String]
|
33694
33741
|
attr_accessor :style
|
33695
33742
|
|
33696
|
-
# Number of
|
33743
|
+
# Number of VMs in this placement group. Google does not recommend that you use
|
33744
|
+
# this field unless you use a compact policy and you want your policy to work
|
33745
|
+
# only if it contains this exact number of VMs.
|
33697
33746
|
# Corresponds to the JSON property `vmCount`
|
33698
33747
|
# @return [Fixnum]
|
33699
33748
|
attr_accessor :vm_count
|
@@ -35595,7 +35644,7 @@ module Google
|
|
35595
35644
|
attr_accessor :enable_endpoint_independent_mapping
|
35596
35645
|
alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
|
35597
35646
|
|
35598
|
-
# List of
|
35647
|
+
# List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
|
35599
35648
|
# empty, then it will be equivalent to include ENDPOINT_TYPE_VM
|
35600
35649
|
# Corresponds to the JSON property `endpointTypes`
|
35601
35650
|
# @return [Array<String>]
|
@@ -39226,6 +39275,11 @@ module Google
|
|
39226
39275
|
# @return [String]
|
39227
39276
|
attr_accessor :chain_name
|
39228
39277
|
|
39278
|
+
# [Output Only] Size in bytes of the snapshot at creation time.
|
39279
|
+
# Corresponds to the JSON property `creationSizeBytes`
|
39280
|
+
# @return [Fixnum]
|
39281
|
+
attr_accessor :creation_size_bytes
|
39282
|
+
|
39229
39283
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
39230
39284
|
# Corresponds to the JSON property `creationTimestamp`
|
39231
39285
|
# @return [String]
|
@@ -39441,6 +39495,7 @@ module Google
|
|
39441
39495
|
@architecture = args[:architecture] if args.key?(:architecture)
|
39442
39496
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
39443
39497
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
39498
|
+
@creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
|
39444
39499
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
39445
39500
|
@description = args[:description] if args.key?(:description)
|
39446
39501
|
@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.35.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 = "20220510"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -10004,7 +10004,6 @@ module Google
|
|
10004
10004
|
property :initial_delay_sec, as: 'initialDelaySec'
|
10005
10005
|
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
|
10006
10006
|
|
10007
|
-
property :update_instances, as: 'updateInstances'
|
10008
10007
|
end
|
10009
10008
|
end
|
10010
10009
|
|
@@ -10018,6 +10017,7 @@ module Google
|
|
10018
10017
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
10019
10018
|
# @private
|
10020
10019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10020
|
+
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
10021
10021
|
property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
|
10022
10022
|
|
10023
10023
|
end
|
@@ -10986,6 +10986,7 @@ module Google
|
|
10986
10986
|
property :operational_status, as: 'operationalStatus'
|
10987
10987
|
property :peer_ip_address, as: 'peerIpAddress'
|
10988
10988
|
property :provisioned_link_count, as: 'provisionedLinkCount'
|
10989
|
+
property :remote_location, as: 'remoteLocation'
|
10989
10990
|
property :requested_link_count, as: 'requestedLinkCount'
|
10990
10991
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
10991
10992
|
property :self_link, as: 'selfLink'
|
@@ -11163,6 +11164,8 @@ module Google
|
|
11163
11164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11164
11165
|
collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsArpEntry::Representation
|
11165
11166
|
|
11167
|
+
property :bundle_aggregation_type, as: 'bundleAggregationType'
|
11168
|
+
property :bundle_operational_status, as: 'bundleOperationalStatus'
|
11166
11169
|
collection :links, as: 'links', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkStatus::Representation
|
11167
11170
|
|
11168
11171
|
property :mac_address, as: 'macAddress'
|
@@ -11205,6 +11208,7 @@ module Google
|
|
11205
11208
|
|
11206
11209
|
property :macsec, as: 'macsec', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus::Representation
|
11207
11210
|
|
11211
|
+
property :operational_status, as: 'operationalStatus'
|
11208
11212
|
property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
|
11209
11213
|
|
11210
11214
|
property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeAlpha::InterconnectDiagnosticsLinkOpticalPower::Representation
|
@@ -14431,6 +14435,7 @@ module Google
|
|
14431
14435
|
property :id, :numeric_string => true, as: 'id'
|
14432
14436
|
property :kind, as: 'kind'
|
14433
14437
|
property :name, as: 'name'
|
14438
|
+
hash :resource_policies, as: 'resourcePolicies'
|
14434
14439
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
14435
14440
|
property :self_link, as: 'selfLink'
|
14436
14441
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -16058,6 +16063,7 @@ module Google
|
|
16058
16063
|
property :architecture, as: 'architecture'
|
16059
16064
|
property :auto_created, as: 'autoCreated'
|
16060
16065
|
property :chain_name, as: 'chainName'
|
16066
|
+
property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
|
16061
16067
|
property :creation_timestamp, as: 'creationTimestamp'
|
16062
16068
|
property :description, as: 'description'
|
16063
16069
|
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.35.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-05-23 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.35.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: []
|