google-apis-compute_v1 0.28.0 → 0.31.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 +12 -0
- data/lib/google/apis/compute_v1/classes.rb +863 -200
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +281 -0
- data/lib/google/apis/compute_v1/service.rb +654 -4
- 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.31.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 = "20220322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -454,6 +454,24 @@ module Google
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
455
455
|
end
|
456
456
|
|
457
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
457
475
|
class BackendServiceLogConfig
|
458
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
477
|
|
@@ -2386,6 +2404,48 @@ module Google
|
|
2386
2404
|
include Google::Apis::Core::JsonObjectSupport
|
2387
2405
|
end
|
2388
2406
|
|
2407
|
+
class NetworkEdgeSecurityService
|
2408
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
|
+
|
2410
|
+
include Google::Apis::Core::JsonObjectSupport
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
class NetworkEdgeSecurityServiceAggregatedList
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
class Warning
|
2417
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2418
|
+
|
2419
|
+
class Datum
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2421
|
+
|
2422
|
+
include Google::Apis::Core::JsonObjectSupport
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
include Google::Apis::Core::JsonObjectSupport
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
include Google::Apis::Core::JsonObjectSupport
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
class NetworkEdgeSecurityServicesScopedList
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
+
|
2434
|
+
class Warning
|
2435
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2436
|
+
|
2437
|
+
class Datum
|
2438
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2439
|
+
|
2440
|
+
include Google::Apis::Core::JsonObjectSupport
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
include Google::Apis::Core::JsonObjectSupport
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
include Google::Apis::Core::JsonObjectSupport
|
2447
|
+
end
|
2448
|
+
|
2389
2449
|
class NetworkEndpoint
|
2390
2450
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2391
2451
|
|
@@ -3976,12 +4036,48 @@ module Google
|
|
3976
4036
|
include Google::Apis::Core::JsonObjectSupport
|
3977
4037
|
end
|
3978
4038
|
|
4039
|
+
class SecurityPoliciesAggregatedList
|
4040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4041
|
+
|
4042
|
+
class Warning
|
4043
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4044
|
+
|
4045
|
+
class Datum
|
4046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4047
|
+
|
4048
|
+
include Google::Apis::Core::JsonObjectSupport
|
4049
|
+
end
|
4050
|
+
|
4051
|
+
include Google::Apis::Core::JsonObjectSupport
|
4052
|
+
end
|
4053
|
+
|
4054
|
+
include Google::Apis::Core::JsonObjectSupport
|
4055
|
+
end
|
4056
|
+
|
3979
4057
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
3980
4058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3981
4059
|
|
3982
4060
|
include Google::Apis::Core::JsonObjectSupport
|
3983
4061
|
end
|
3984
4062
|
|
4063
|
+
class SecurityPoliciesScopedList
|
4064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4065
|
+
|
4066
|
+
class Warning
|
4067
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4068
|
+
|
4069
|
+
class Datum
|
4070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4071
|
+
|
4072
|
+
include Google::Apis::Core::JsonObjectSupport
|
4073
|
+
end
|
4074
|
+
|
4075
|
+
include Google::Apis::Core::JsonObjectSupport
|
4076
|
+
end
|
4077
|
+
|
4078
|
+
include Google::Apis::Core::JsonObjectSupport
|
4079
|
+
end
|
4080
|
+
|
3985
4081
|
class SecurityPoliciesWafConfig
|
3986
4082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3987
4083
|
|
@@ -4012,6 +4108,12 @@ module Google
|
|
4012
4108
|
include Google::Apis::Core::JsonObjectSupport
|
4013
4109
|
end
|
4014
4110
|
|
4111
|
+
class SecurityPolicyDdosProtectionConfig
|
4112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4113
|
+
|
4114
|
+
include Google::Apis::Core::JsonObjectSupport
|
4115
|
+
end
|
4116
|
+
|
4015
4117
|
class SecurityPolicyList
|
4016
4118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
4119
|
|
@@ -6077,6 +6179,8 @@ module Google
|
|
6077
6179
|
property :id, :numeric_string => true, as: 'id'
|
6078
6180
|
property :kind, as: 'kind'
|
6079
6181
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
6182
|
+
collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
|
6183
|
+
|
6080
6184
|
property :locality_lb_policy, as: 'localityLbPolicy'
|
6081
6185
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::BackendServiceLogConfig, decorator: Google::Apis::ComputeV1::BackendServiceLogConfig::Representation
|
6082
6186
|
|
@@ -6241,6 +6345,31 @@ module Google
|
|
6241
6345
|
end
|
6242
6346
|
end
|
6243
6347
|
|
6348
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
6349
|
+
# @private
|
6350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6351
|
+
property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
|
6352
|
+
|
6353
|
+
property :policy, as: 'policy', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
|
6354
|
+
|
6355
|
+
end
|
6356
|
+
end
|
6357
|
+
|
6358
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
6359
|
+
# @private
|
6360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6361
|
+
property :data, as: 'data'
|
6362
|
+
property :name, as: 'name'
|
6363
|
+
end
|
6364
|
+
end
|
6365
|
+
|
6366
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
6367
|
+
# @private
|
6368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6369
|
+
property :name, as: 'name'
|
6370
|
+
end
|
6371
|
+
end
|
6372
|
+
|
6244
6373
|
class BackendServiceLogConfig
|
6245
6374
|
# @private
|
6246
6375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7221,6 +7350,7 @@ module Google
|
|
7221
7350
|
property :match, as: 'match', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcher::Representation
|
7222
7351
|
|
7223
7352
|
property :priority, as: 'priority'
|
7353
|
+
property :rule_name, as: 'ruleName'
|
7224
7354
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7225
7355
|
collection :target_resources, as: 'targetResources'
|
7226
7356
|
collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
|
@@ -9928,6 +10058,84 @@ module Google
|
|
9928
10058
|
end
|
9929
10059
|
end
|
9930
10060
|
|
10061
|
+
class NetworkEdgeSecurityService
|
10062
|
+
# @private
|
10063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10064
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
10065
|
+
property :description, as: 'description'
|
10066
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10067
|
+
property :id, :numeric_string => true, as: 'id'
|
10068
|
+
property :kind, as: 'kind'
|
10069
|
+
property :name, as: 'name'
|
10070
|
+
property :region, as: 'region'
|
10071
|
+
property :security_policy, as: 'securityPolicy'
|
10072
|
+
property :self_link, as: 'selfLink'
|
10073
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
10074
|
+
end
|
10075
|
+
end
|
10076
|
+
|
10077
|
+
class NetworkEdgeSecurityServiceAggregatedList
|
10078
|
+
# @private
|
10079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10080
|
+
property :etag, as: 'etag'
|
10081
|
+
property :id, as: 'id'
|
10082
|
+
hash :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Representation
|
10083
|
+
|
10084
|
+
property :kind, as: 'kind'
|
10085
|
+
property :next_page_token, as: 'nextPageToken'
|
10086
|
+
property :self_link, as: 'selfLink'
|
10087
|
+
collection :unreachables, as: 'unreachables'
|
10088
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning::Representation
|
10089
|
+
|
10090
|
+
end
|
10091
|
+
|
10092
|
+
class Warning
|
10093
|
+
# @private
|
10094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10095
|
+
property :code, as: 'code'
|
10096
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum::Representation
|
10097
|
+
|
10098
|
+
property :message, as: 'message'
|
10099
|
+
end
|
10100
|
+
|
10101
|
+
class Datum
|
10102
|
+
# @private
|
10103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10104
|
+
property :key, as: 'key'
|
10105
|
+
property :value, as: 'value'
|
10106
|
+
end
|
10107
|
+
end
|
10108
|
+
end
|
10109
|
+
end
|
10110
|
+
|
10111
|
+
class NetworkEdgeSecurityServicesScopedList
|
10112
|
+
# @private
|
10113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10114
|
+
collection :network_edge_security_services, as: 'networkEdgeSecurityServices', class: Google::Apis::ComputeV1::NetworkEdgeSecurityService, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityService::Representation
|
10115
|
+
|
10116
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning::Representation
|
10117
|
+
|
10118
|
+
end
|
10119
|
+
|
10120
|
+
class Warning
|
10121
|
+
# @private
|
10122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10123
|
+
property :code, as: 'code'
|
10124
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning::Datum::Representation
|
10125
|
+
|
10126
|
+
property :message, as: 'message'
|
10127
|
+
end
|
10128
|
+
|
10129
|
+
class Datum
|
10130
|
+
# @private
|
10131
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10132
|
+
property :key, as: 'key'
|
10133
|
+
property :value, as: 'value'
|
10134
|
+
end
|
10135
|
+
end
|
10136
|
+
end
|
10137
|
+
end
|
10138
|
+
|
9931
10139
|
class NetworkEndpoint
|
9932
10140
|
# @private
|
9933
10141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12341,6 +12549,7 @@ module Google
|
|
12341
12549
|
property :next_hop_peering, as: 'nextHopPeering'
|
12342
12550
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
12343
12551
|
property :priority, as: 'priority'
|
12552
|
+
property :route_status, as: 'routeStatus'
|
12344
12553
|
property :route_type, as: 'routeType'
|
12345
12554
|
property :self_link, as: 'selfLink'
|
12346
12555
|
collection :tags, as: 'tags'
|
@@ -12834,6 +13043,40 @@ module Google
|
|
12834
13043
|
end
|
12835
13044
|
end
|
12836
13045
|
|
13046
|
+
class SecurityPoliciesAggregatedList
|
13047
|
+
# @private
|
13048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13049
|
+
property :etag, as: 'etag'
|
13050
|
+
property :id, as: 'id'
|
13051
|
+
hash :items, as: 'items', class: Google::Apis::ComputeV1::SecurityPoliciesScopedList, decorator: Google::Apis::ComputeV1::SecurityPoliciesScopedList::Representation
|
13052
|
+
|
13053
|
+
property :kind, as: 'kind'
|
13054
|
+
property :next_page_token, as: 'nextPageToken'
|
13055
|
+
property :self_link, as: 'selfLink'
|
13056
|
+
collection :unreachables, as: 'unreachables'
|
13057
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning, decorator: Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning::Representation
|
13058
|
+
|
13059
|
+
end
|
13060
|
+
|
13061
|
+
class Warning
|
13062
|
+
# @private
|
13063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13064
|
+
property :code, as: 'code'
|
13065
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning::Datum::Representation
|
13066
|
+
|
13067
|
+
property :message, as: 'message'
|
13068
|
+
end
|
13069
|
+
|
13070
|
+
class Datum
|
13071
|
+
# @private
|
13072
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13073
|
+
property :key, as: 'key'
|
13074
|
+
property :value, as: 'value'
|
13075
|
+
end
|
13076
|
+
end
|
13077
|
+
end
|
13078
|
+
end
|
13079
|
+
|
12837
13080
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
12838
13081
|
# @private
|
12839
13082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12842,6 +13085,34 @@ module Google
|
|
12842
13085
|
end
|
12843
13086
|
end
|
12844
13087
|
|
13088
|
+
class SecurityPoliciesScopedList
|
13089
|
+
# @private
|
13090
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13091
|
+
collection :security_policies, as: 'securityPolicies', class: Google::Apis::ComputeV1::SecurityPolicy, decorator: Google::Apis::ComputeV1::SecurityPolicy::Representation
|
13092
|
+
|
13093
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning, decorator: Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning::Representation
|
13094
|
+
|
13095
|
+
end
|
13096
|
+
|
13097
|
+
class Warning
|
13098
|
+
# @private
|
13099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13100
|
+
property :code, as: 'code'
|
13101
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning::Datum::Representation
|
13102
|
+
|
13103
|
+
property :message, as: 'message'
|
13104
|
+
end
|
13105
|
+
|
13106
|
+
class Datum
|
13107
|
+
# @private
|
13108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13109
|
+
property :key, as: 'key'
|
13110
|
+
property :value, as: 'value'
|
13111
|
+
end
|
13112
|
+
end
|
13113
|
+
end
|
13114
|
+
end
|
13115
|
+
|
12845
13116
|
class SecurityPoliciesWafConfig
|
12846
13117
|
# @private
|
12847
13118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12858,6 +13129,8 @@ module Google
|
|
12858
13129
|
property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig::Representation
|
12859
13130
|
|
12860
13131
|
property :creation_timestamp, as: 'creationTimestamp'
|
13132
|
+
property :ddos_protection_config, as: 'ddosProtectionConfig', class: Google::Apis::ComputeV1::SecurityPolicyDdosProtectionConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyDdosProtectionConfig::Representation
|
13133
|
+
|
12861
13134
|
property :description, as: 'description'
|
12862
13135
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
12863
13136
|
property :id, :numeric_string => true, as: 'id'
|
@@ -12865,6 +13138,7 @@ module Google
|
|
12865
13138
|
property :name, as: 'name'
|
12866
13139
|
property :recaptcha_options_config, as: 'recaptchaOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig::Representation
|
12867
13140
|
|
13141
|
+
property :region, as: 'region'
|
12868
13142
|
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::SecurityPolicyRule, decorator: Google::Apis::ComputeV1::SecurityPolicyRule::Representation
|
12869
13143
|
|
12870
13144
|
property :self_link, as: 'selfLink'
|
@@ -12896,6 +13170,13 @@ module Google
|
|
12896
13170
|
end
|
12897
13171
|
end
|
12898
13172
|
|
13173
|
+
class SecurityPolicyDdosProtectionConfig
|
13174
|
+
# @private
|
13175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13176
|
+
property :ddos_protection, as: 'ddosProtection'
|
13177
|
+
end
|
13178
|
+
end
|
13179
|
+
|
12899
13180
|
class SecurityPolicyList
|
12900
13181
|
# @private
|
12901
13182
|
class Representation < Google::Apis::Core::JsonRepresentation
|