google-apis-compute_v1 0.20.0 → 0.21.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +960 -36
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +305 -0
- data/lib/google/apis/compute_v1/service.rb +431 -5
- metadata +3 -3
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,12 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
343
349
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
344
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
351
|
|
@@ -2200,6 +2206,30 @@ module Google
|
|
2200
2206
|
include Google::Apis::Core::JsonObjectSupport
|
2201
2207
|
end
|
2202
2208
|
|
2209
|
+
class MachineImage
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
|
+
|
2212
|
+
include Google::Apis::Core::JsonObjectSupport
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
class MachineImageList
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2217
|
+
|
2218
|
+
class Warning
|
2219
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2220
|
+
|
2221
|
+
class Datum
|
2222
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2223
|
+
|
2224
|
+
include Google::Apis::Core::JsonObjectSupport
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
include Google::Apis::Core::JsonObjectSupport
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
include Google::Apis::Core::JsonObjectSupport
|
2231
|
+
end
|
2232
|
+
|
2203
2233
|
class MachineType
|
2204
2234
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2205
2235
|
|
@@ -3886,6 +3916,18 @@ module Google
|
|
3886
3916
|
include Google::Apis::Core::JsonObjectSupport
|
3887
3917
|
end
|
3888
3918
|
|
3919
|
+
class SavedAttachedDisk
|
3920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3921
|
+
|
3922
|
+
include Google::Apis::Core::JsonObjectSupport
|
3923
|
+
end
|
3924
|
+
|
3925
|
+
class SavedDisk
|
3926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3927
|
+
|
3928
|
+
include Google::Apis::Core::JsonObjectSupport
|
3929
|
+
end
|
3930
|
+
|
3889
3931
|
class ScalingScheduleStatus
|
3890
3932
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3891
3933
|
|
@@ -3964,6 +4006,12 @@ module Google
|
|
3964
4006
|
include Google::Apis::Core::JsonObjectSupport
|
3965
4007
|
end
|
3966
4008
|
|
4009
|
+
class SecurityPolicyRecaptchaOptionsConfig
|
4010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4011
|
+
|
4012
|
+
include Google::Apis::Core::JsonObjectSupport
|
4013
|
+
end
|
4014
|
+
|
3967
4015
|
class SecurityPolicyReference
|
3968
4016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3969
4017
|
|
@@ -3976,6 +4024,18 @@ module Google
|
|
3976
4024
|
include Google::Apis::Core::JsonObjectSupport
|
3977
4025
|
end
|
3978
4026
|
|
4027
|
+
class SecurityPolicyRuleHttpHeaderAction
|
4028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
|
+
|
4030
|
+
include Google::Apis::Core::JsonObjectSupport
|
4031
|
+
end
|
4032
|
+
|
4033
|
+
class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
|
4034
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4035
|
+
|
4036
|
+
include Google::Apis::Core::JsonObjectSupport
|
4037
|
+
end
|
4038
|
+
|
3979
4039
|
class SecurityPolicyRuleMatcher
|
3980
4040
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3981
4041
|
|
@@ -3988,6 +4048,24 @@ module Google
|
|
3988
4048
|
include Google::Apis::Core::JsonObjectSupport
|
3989
4049
|
end
|
3990
4050
|
|
4051
|
+
class SecurityPolicyRuleRateLimitOptions
|
4052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4053
|
+
|
4054
|
+
include Google::Apis::Core::JsonObjectSupport
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
class SecurityPolicyRuleRateLimitOptionsThreshold
|
4058
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4059
|
+
|
4060
|
+
include Google::Apis::Core::JsonObjectSupport
|
4061
|
+
end
|
4062
|
+
|
4063
|
+
class SecurityPolicyRuleRedirectOptions
|
4064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4065
|
+
|
4066
|
+
include Google::Apis::Core::JsonObjectSupport
|
4067
|
+
end
|
4068
|
+
|
3991
4069
|
class SecuritySettings
|
3992
4070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3993
4071
|
|
@@ -4150,12 +4228,24 @@ module Google
|
|
4150
4228
|
include Google::Apis::Core::JsonObjectSupport
|
4151
4229
|
end
|
4152
4230
|
|
4231
|
+
class SourceDiskEncryptionKey
|
4232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4233
|
+
|
4234
|
+
include Google::Apis::Core::JsonObjectSupport
|
4235
|
+
end
|
4236
|
+
|
4153
4237
|
class SourceInstanceParams
|
4154
4238
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4155
4239
|
|
4156
4240
|
include Google::Apis::Core::JsonObjectSupport
|
4157
4241
|
end
|
4158
4242
|
|
4243
|
+
class SourceInstanceProperties
|
4244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4245
|
+
|
4246
|
+
include Google::Apis::Core::JsonObjectSupport
|
4247
|
+
end
|
4248
|
+
|
4159
4249
|
class SslCertificate
|
4160
4250
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4161
4251
|
|
@@ -5858,6 +5948,8 @@ module Google
|
|
5858
5948
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5859
5949
|
collection :bypass_cache_on_request_headers, as: 'bypassCacheOnRequestHeaders', class: Google::Apis::ComputeV1::BackendBucketCdnPolicyBypassCacheOnRequestHeader, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicyBypassCacheOnRequestHeader::Representation
|
5860
5950
|
|
5951
|
+
property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicyCacheKeyPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicyCacheKeyPolicy::Representation
|
5952
|
+
|
5861
5953
|
property :cache_mode, as: 'cacheMode'
|
5862
5954
|
property :client_ttl, as: 'clientTtl'
|
5863
5955
|
property :default_ttl, as: 'defaultTtl'
|
@@ -5879,6 +5971,14 @@ module Google
|
|
5879
5971
|
end
|
5880
5972
|
end
|
5881
5973
|
|
5974
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
5975
|
+
# @private
|
5976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5977
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
5978
|
+
collection :query_string_whitelist, as: 'queryStringWhitelist'
|
5979
|
+
end
|
5980
|
+
end
|
5981
|
+
|
5882
5982
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
5883
5983
|
# @private
|
5884
5984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6254,6 +6354,8 @@ module Google
|
|
6254
6354
|
# @private
|
6255
6355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6256
6356
|
property :include_host, as: 'includeHost'
|
6357
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
6358
|
+
collection :include_named_cookies, as: 'includeNamedCookies'
|
6257
6359
|
property :include_protocol, as: 'includeProtocol'
|
6258
6360
|
property :include_query_string, as: 'includeQueryString'
|
6259
6361
|
collection :query_string_blacklist, as: 'queryStringBlacklist'
|
@@ -6275,6 +6377,7 @@ module Google
|
|
6275
6377
|
class Commitment
|
6276
6378
|
# @private
|
6277
6379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6380
|
+
property :auto_renew, as: 'autoRenew'
|
6278
6381
|
property :category, as: 'category'
|
6279
6382
|
property :creation_timestamp, as: 'creationTimestamp'
|
6280
6383
|
property :description, as: 'description'
|
@@ -8046,6 +8149,9 @@ module Google
|
|
8046
8149
|
|
8047
8150
|
property :shielded_instance_integrity_policy, as: 'shieldedInstanceIntegrityPolicy', class: Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy, decorator: Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy::Representation
|
8048
8151
|
|
8152
|
+
property :source_machine_image, as: 'sourceMachineImage'
|
8153
|
+
property :source_machine_image_encryption_key, as: 'sourceMachineImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
8154
|
+
|
8049
8155
|
property :start_restricted, as: 'startRestricted'
|
8050
8156
|
property :status, as: 'status'
|
8051
8157
|
property :status_message, as: 'statusMessage'
|
@@ -9439,6 +9545,66 @@ module Google
|
|
9439
9545
|
end
|
9440
9546
|
end
|
9441
9547
|
|
9548
|
+
class MachineImage
|
9549
|
+
# @private
|
9550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9551
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
9552
|
+
property :description, as: 'description'
|
9553
|
+
property :guest_flush, as: 'guestFlush'
|
9554
|
+
property :id, :numeric_string => true, as: 'id'
|
9555
|
+
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeV1::InstanceProperties, decorator: Google::Apis::ComputeV1::InstanceProperties::Representation
|
9556
|
+
|
9557
|
+
property :kind, as: 'kind'
|
9558
|
+
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
9559
|
+
|
9560
|
+
property :name, as: 'name'
|
9561
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
9562
|
+
collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeV1::SavedDisk, decorator: Google::Apis::ComputeV1::SavedDisk::Representation
|
9563
|
+
|
9564
|
+
property :self_link, as: 'selfLink'
|
9565
|
+
collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeV1::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeV1::SourceDiskEncryptionKey::Representation
|
9566
|
+
|
9567
|
+
property :source_instance, as: 'sourceInstance'
|
9568
|
+
property :source_instance_properties, as: 'sourceInstanceProperties', class: Google::Apis::ComputeV1::SourceInstanceProperties, decorator: Google::Apis::ComputeV1::SourceInstanceProperties::Representation
|
9569
|
+
|
9570
|
+
property :status, as: 'status'
|
9571
|
+
collection :storage_locations, as: 'storageLocations'
|
9572
|
+
property :total_storage_bytes, :numeric_string => true, as: 'totalStorageBytes'
|
9573
|
+
end
|
9574
|
+
end
|
9575
|
+
|
9576
|
+
class MachineImageList
|
9577
|
+
# @private
|
9578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9579
|
+
property :id, as: 'id'
|
9580
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::MachineImage, decorator: Google::Apis::ComputeV1::MachineImage::Representation
|
9581
|
+
|
9582
|
+
property :kind, as: 'kind'
|
9583
|
+
property :next_page_token, as: 'nextPageToken'
|
9584
|
+
property :self_link, as: 'selfLink'
|
9585
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::MachineImageList::Warning, decorator: Google::Apis::ComputeV1::MachineImageList::Warning::Representation
|
9586
|
+
|
9587
|
+
end
|
9588
|
+
|
9589
|
+
class Warning
|
9590
|
+
# @private
|
9591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9592
|
+
property :code, as: 'code'
|
9593
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::MachineImageList::Warning::Datum, decorator: Google::Apis::ComputeV1::MachineImageList::Warning::Datum::Representation
|
9594
|
+
|
9595
|
+
property :message, as: 'message'
|
9596
|
+
end
|
9597
|
+
|
9598
|
+
class Datum
|
9599
|
+
# @private
|
9600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9601
|
+
property :key, as: 'key'
|
9602
|
+
property :value, as: 'value'
|
9603
|
+
end
|
9604
|
+
end
|
9605
|
+
end
|
9606
|
+
end
|
9607
|
+
|
9442
9608
|
class MachineType
|
9443
9609
|
# @private
|
9444
9610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12240,12 +12406,15 @@ module Google
|
|
12240
12406
|
property :bfd, as: 'bfd', class: Google::Apis::ComputeV1::RouterBgpPeerBfd, decorator: Google::Apis::ComputeV1::RouterBgpPeerBfd::Representation
|
12241
12407
|
|
12242
12408
|
property :enable, as: 'enable'
|
12409
|
+
property :enable_ipv6, as: 'enableIpv6'
|
12243
12410
|
property :interface_name, as: 'interfaceName'
|
12244
12411
|
property :ip_address, as: 'ipAddress'
|
12412
|
+
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
12245
12413
|
property :management_type, as: 'managementType'
|
12246
12414
|
property :name, as: 'name'
|
12247
12415
|
property :peer_asn, as: 'peerAsn'
|
12248
12416
|
property :peer_ip_address, as: 'peerIpAddress'
|
12417
|
+
property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
|
12249
12418
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
12250
12419
|
end
|
12251
12420
|
end
|
@@ -12502,6 +12671,40 @@ module Google
|
|
12502
12671
|
end
|
12503
12672
|
end
|
12504
12673
|
|
12674
|
+
class SavedAttachedDisk
|
12675
|
+
# @private
|
12676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12677
|
+
property :auto_delete, as: 'autoDelete'
|
12678
|
+
property :boot, as: 'boot'
|
12679
|
+
property :device_name, as: 'deviceName'
|
12680
|
+
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
12681
|
+
|
12682
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
12683
|
+
property :disk_type, as: 'diskType'
|
12684
|
+
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
12685
|
+
|
12686
|
+
property :index, as: 'index'
|
12687
|
+
property :interface, as: 'interface'
|
12688
|
+
property :kind, as: 'kind'
|
12689
|
+
collection :licenses, as: 'licenses'
|
12690
|
+
property :mode, as: 'mode'
|
12691
|
+
property :source, as: 'source'
|
12692
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
12693
|
+
property :storage_bytes_status, as: 'storageBytesStatus'
|
12694
|
+
property :type, as: 'type'
|
12695
|
+
end
|
12696
|
+
end
|
12697
|
+
|
12698
|
+
class SavedDisk
|
12699
|
+
# @private
|
12700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12701
|
+
property :kind, as: 'kind'
|
12702
|
+
property :source_disk, as: 'sourceDisk'
|
12703
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
12704
|
+
property :storage_bytes_status, as: 'storageBytesStatus'
|
12705
|
+
end
|
12706
|
+
end
|
12707
|
+
|
12505
12708
|
class ScalingScheduleStatus
|
12506
12709
|
# @private
|
12507
12710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12515,12 +12718,14 @@ module Google
|
|
12515
12718
|
# @private
|
12516
12719
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12517
12720
|
property :automatic_restart, as: 'automaticRestart'
|
12721
|
+
property :instance_termination_action, as: 'instanceTerminationAction'
|
12518
12722
|
property :location_hint, as: 'locationHint'
|
12519
12723
|
property :min_node_cpus, as: 'minNodeCpus'
|
12520
12724
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
|
12521
12725
|
|
12522
12726
|
property :on_host_maintenance, as: 'onHostMaintenance'
|
12523
12727
|
property :preemptible, as: 'preemptible'
|
12728
|
+
property :provisioning_model, as: 'provisioningModel'
|
12524
12729
|
end
|
12525
12730
|
end
|
12526
12731
|
|
@@ -12570,6 +12775,8 @@ module Google
|
|
12570
12775
|
property :id, :numeric_string => true, as: 'id'
|
12571
12776
|
property :kind, as: 'kind'
|
12572
12777
|
property :name, as: 'name'
|
12778
|
+
property :recaptcha_options_config, as: 'recaptchaOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig::Representation
|
12779
|
+
|
12573
12780
|
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::SecurityPolicyRule, decorator: Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
12574
12781
|
|
12575
12782
|
property :self_link, as: 'selfLink'
|
@@ -12632,6 +12839,13 @@ module Google
|
|
12632
12839
|
end
|
12633
12840
|
end
|
12634
12841
|
|
12842
|
+
class SecurityPolicyRecaptchaOptionsConfig
|
12843
|
+
# @private
|
12844
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12845
|
+
property :redirect_site_key, as: 'redirectSiteKey'
|
12846
|
+
end
|
12847
|
+
end
|
12848
|
+
|
12635
12849
|
class SecurityPolicyReference
|
12636
12850
|
# @private
|
12637
12851
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12644,11 +12858,33 @@ module Google
|
|
12644
12858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12645
12859
|
property :action, as: 'action'
|
12646
12860
|
property :description, as: 'description'
|
12861
|
+
property :header_action, as: 'headerAction', class: Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderAction, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderAction::Representation
|
12862
|
+
|
12647
12863
|
property :kind, as: 'kind'
|
12648
12864
|
property :match, as: 'match', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcher::Representation
|
12649
12865
|
|
12650
12866
|
property :preview, as: 'preview'
|
12651
12867
|
property :priority, as: 'priority'
|
12868
|
+
property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptions::Representation
|
12869
|
+
|
12870
|
+
property :redirect_options, as: 'redirectOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleRedirectOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleRedirectOptions::Representation
|
12871
|
+
|
12872
|
+
end
|
12873
|
+
end
|
12874
|
+
|
12875
|
+
class SecurityPolicyRuleHttpHeaderAction
|
12876
|
+
# @private
|
12877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12878
|
+
collection :request_headers_to_adds, as: 'requestHeadersToAdds', class: Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption::Representation
|
12879
|
+
|
12880
|
+
end
|
12881
|
+
end
|
12882
|
+
|
12883
|
+
class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
|
12884
|
+
# @private
|
12885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12886
|
+
property :header_name, as: 'headerName'
|
12887
|
+
property :header_value, as: 'headerValue'
|
12652
12888
|
end
|
12653
12889
|
end
|
12654
12890
|
|
@@ -12670,6 +12906,39 @@ module Google
|
|
12670
12906
|
end
|
12671
12907
|
end
|
12672
12908
|
|
12909
|
+
class SecurityPolicyRuleRateLimitOptions
|
12910
|
+
# @private
|
12911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12912
|
+
property :ban_duration_sec, as: 'banDurationSec'
|
12913
|
+
property :ban_threshold, as: 'banThreshold', class: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
|
12914
|
+
|
12915
|
+
property :conform_action, as: 'conformAction'
|
12916
|
+
property :enforce_on_key, as: 'enforceOnKey'
|
12917
|
+
property :enforce_on_key_name, as: 'enforceOnKeyName'
|
12918
|
+
property :exceed_action, as: 'exceedAction'
|
12919
|
+
property :exceed_redirect_options, as: 'exceedRedirectOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleRedirectOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleRedirectOptions::Representation
|
12920
|
+
|
12921
|
+
property :rate_limit_threshold, as: 'rateLimitThreshold', class: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
|
12922
|
+
|
12923
|
+
end
|
12924
|
+
end
|
12925
|
+
|
12926
|
+
class SecurityPolicyRuleRateLimitOptionsThreshold
|
12927
|
+
# @private
|
12928
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12929
|
+
property :count, as: 'count'
|
12930
|
+
property :interval_sec, as: 'intervalSec'
|
12931
|
+
end
|
12932
|
+
end
|
12933
|
+
|
12934
|
+
class SecurityPolicyRuleRedirectOptions
|
12935
|
+
# @private
|
12936
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12937
|
+
property :target, as: 'target'
|
12938
|
+
property :type, as: 'type'
|
12939
|
+
end
|
12940
|
+
end
|
12941
|
+
|
12673
12942
|
class SecuritySettings
|
12674
12943
|
# @private
|
12675
12944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12963,6 +13232,15 @@ module Google
|
|
12963
13232
|
end
|
12964
13233
|
end
|
12965
13234
|
|
13235
|
+
class SourceDiskEncryptionKey
|
13236
|
+
# @private
|
13237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13238
|
+
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
13239
|
+
|
13240
|
+
property :source_disk, as: 'sourceDisk'
|
13241
|
+
end
|
13242
|
+
end
|
13243
|
+
|
12966
13244
|
class SourceInstanceParams
|
12967
13245
|
# @private
|
12968
13246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12971,6 +13249,32 @@ module Google
|
|
12971
13249
|
end
|
12972
13250
|
end
|
12973
13251
|
|
13252
|
+
class SourceInstanceProperties
|
13253
|
+
# @private
|
13254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13255
|
+
property :can_ip_forward, as: 'canIpForward'
|
13256
|
+
property :deletion_protection, as: 'deletionProtection'
|
13257
|
+
property :description, as: 'description'
|
13258
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::SavedAttachedDisk, decorator: Google::Apis::ComputeV1::SavedAttachedDisk::Representation
|
13259
|
+
|
13260
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
13261
|
+
|
13262
|
+
hash :labels, as: 'labels'
|
13263
|
+
property :machine_type, as: 'machineType'
|
13264
|
+
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
13265
|
+
|
13266
|
+
property :min_cpu_platform, as: 'minCpuPlatform'
|
13267
|
+
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
13268
|
+
|
13269
|
+
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
13270
|
+
|
13271
|
+
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
|
13272
|
+
|
13273
|
+
property :tags, as: 'tags', class: Google::Apis::ComputeV1::Tags, decorator: Google::Apis::ComputeV1::Tags::Representation
|
13274
|
+
|
13275
|
+
end
|
13276
|
+
end
|
13277
|
+
|
12974
13278
|
class SslCertificate
|
12975
13279
|
# @private
|
12976
13280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14514,6 +14818,7 @@ module Google
|
|
14514
14818
|
property :network, as: 'network'
|
14515
14819
|
property :region, as: 'region'
|
14516
14820
|
property :self_link, as: 'selfLink'
|
14821
|
+
property :stack_type, as: 'stackType'
|
14517
14822
|
collection :vpn_interfaces, as: 'vpnInterfaces', class: Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface, decorator: Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface::Representation
|
14518
14823
|
|
14519
14824
|
end
|