google-apis-compute_beta 0.12.0 → 0.16.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.
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210525"
25
+ REVISION = "20210820"
26
26
  end
27
27
  end
28
28
  end
@@ -2482,6 +2482,12 @@ module Google
2482
2482
  include Google::Apis::Core::JsonObjectSupport
2483
2483
  end
2484
2484
 
2485
+ class NetworkEndpointGroupServerlessDeployment
2486
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2487
+
2488
+ include Google::Apis::Core::JsonObjectSupport
2489
+ end
2490
+
2485
2491
  class NetworkEndpointGroupsAttachEndpointsRequest
2486
2492
  class Representation < Google::Apis::Core::JsonRepresentation; end
2487
2493
 
@@ -3778,6 +3784,12 @@ module Google
3778
3784
  include Google::Apis::Core::JsonObjectSupport
3779
3785
  end
3780
3786
 
3787
+ class RolloutPolicy
3788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3789
+
3790
+ include Google::Apis::Core::JsonObjectSupport
3791
+ end
3792
+
3781
3793
  class Route
3782
3794
  class Representation < Google::Apis::Core::JsonRepresentation; end
3783
3795
 
@@ -4066,6 +4078,18 @@ module Google
4066
4078
  include Google::Apis::Core::JsonObjectSupport
4067
4079
  end
4068
4080
 
4081
+ class SecurityPolicyRuleHttpHeaderAction
4082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4083
+
4084
+ include Google::Apis::Core::JsonObjectSupport
4085
+ end
4086
+
4087
+ class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
4088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4089
+
4090
+ include Google::Apis::Core::JsonObjectSupport
4091
+ end
4092
+
4069
4093
  class SecurityPolicyRuleMatcher
4070
4094
  class Representation < Google::Apis::Core::JsonRepresentation; end
4071
4095
 
@@ -4084,6 +4108,24 @@ module Google
4084
4108
  include Google::Apis::Core::JsonObjectSupport
4085
4109
  end
4086
4110
 
4111
+ class SecurityPolicyRuleRateLimitOptions
4112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4113
+
4114
+ include Google::Apis::Core::JsonObjectSupport
4115
+ end
4116
+
4117
+ class SecurityPolicyRuleRateLimitOptionsThreshold
4118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4119
+
4120
+ include Google::Apis::Core::JsonObjectSupport
4121
+ end
4122
+
4123
+ class SecurityPolicyRuleRedirectOptions
4124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4125
+
4126
+ include Google::Apis::Core::JsonObjectSupport
4127
+ end
4128
+
4087
4129
  class SecuritySettings
4088
4130
  class Representation < Google::Apis::Core::JsonRepresentation; end
4089
4131
 
@@ -4138,12 +4180,6 @@ module Google
4138
4180
  include Google::Apis::Core::JsonObjectSupport
4139
4181
  end
4140
4182
 
4141
- class ServiceAttachmentConsumerForwardingRule
4142
- class Representation < Google::Apis::Core::JsonRepresentation; end
4143
-
4144
- include Google::Apis::Core::JsonObjectSupport
4145
- end
4146
-
4147
4183
  class ServiceAttachmentConsumerProjectLimit
4148
4184
  class Representation < Google::Apis::Core::JsonRepresentation; end
4149
4185
 
@@ -4186,6 +4222,12 @@ module Google
4186
4222
  include Google::Apis::Core::JsonObjectSupport
4187
4223
  end
4188
4224
 
4225
+ class ShareSettings
4226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4227
+
4228
+ include Google::Apis::Core::JsonObjectSupport
4229
+ end
4230
+
4189
4231
  class ShieldedInstanceConfig
4190
4232
  class Representation < Google::Apis::Core::JsonRepresentation; end
4191
4233
 
@@ -4624,6 +4666,12 @@ module Google
4624
4666
  include Google::Apis::Core::JsonObjectSupport
4625
4667
  end
4626
4668
 
4669
+ class TargetHttpsProxiesSetCertificateMapRequest
4670
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4671
+
4672
+ include Google::Apis::Core::JsonObjectSupport
4673
+ end
4674
+
4627
4675
  class TargetHttpsProxiesSetQuicOverrideRequest
4628
4676
  class Representation < Google::Apis::Core::JsonRepresentation; end
4629
4677
 
@@ -4840,6 +4888,12 @@ module Google
4840
4888
  include Google::Apis::Core::JsonObjectSupport
4841
4889
  end
4842
4890
 
4891
+ class TargetSslProxiesSetCertificateMapRequest
4892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4893
+
4894
+ include Google::Apis::Core::JsonObjectSupport
4895
+ end
4896
+
4843
4897
  class TargetSslProxiesSetProxyHeaderRequest
4844
4898
  class Representation < Google::Apis::Core::JsonRepresentation; end
4845
4899
 
@@ -5714,11 +5768,13 @@ module Google
5714
5768
  property :interface, as: 'interface'
5715
5769
  property :kind, as: 'kind'
5716
5770
  collection :licenses, as: 'licenses'
5771
+ property :locked, as: 'locked'
5717
5772
  property :mode, as: 'mode'
5718
5773
  property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeBeta::InitialStateConfig, decorator: Google::Apis::ComputeBeta::InitialStateConfig::Representation
5719
5774
 
5720
5775
  property :source, as: 'source'
5721
5776
  property :type, as: 'type'
5777
+ collection :user_licenses, as: 'userLicenses'
5722
5778
  end
5723
5779
  end
5724
5780
 
@@ -6215,6 +6271,7 @@ module Google
6215
6271
  # @private
6216
6272
  class Representation < Google::Apis::Core::JsonRepresentation
6217
6273
  property :connection_persistence_on_unhealthy_backends, as: 'connectionPersistenceOnUnhealthyBackends'
6274
+ property :enable_strong_affinity, as: 'enableStrongAffinity'
6218
6275
  property :idle_timeout_sec, as: 'idleTimeoutSec'
6219
6276
  property :tracking_mode, as: 'trackingMode'
6220
6277
  end
@@ -6650,6 +6707,8 @@ module Google
6650
6707
  property :obsolete, as: 'obsolete'
6651
6708
  property :replacement, as: 'replacement'
6652
6709
  property :state, as: 'state'
6710
+ property :state_override, as: 'stateOverride', class: Google::Apis::ComputeBeta::RolloutPolicy, decorator: Google::Apis::ComputeBeta::RolloutPolicy::Representation
6711
+
6653
6712
  end
6654
6713
  end
6655
6714
 
@@ -6673,6 +6732,7 @@ module Google
6673
6732
  collection :license_codes, as: 'licenseCodes'
6674
6733
  collection :licenses, as: 'licenses'
6675
6734
  property :location_hint, as: 'locationHint'
6735
+ property :locked, as: 'locked'
6676
6736
  property :multi_writer, as: 'multiWriter'
6677
6737
  property :name, as: 'name'
6678
6738
  property :options, as: 'options'
@@ -6698,6 +6758,7 @@ module Google
6698
6758
  property :status, as: 'status'
6699
6759
  property :storage_type, as: 'storageType'
6700
6760
  property :type, as: 'type'
6761
+ collection :user_licenses, as: 'userLicenses'
6701
6762
  collection :users, as: 'users'
6702
6763
  property :zone, as: 'zone'
6703
6764
  end
@@ -7332,6 +7393,7 @@ module Google
7332
7393
 
7333
7394
  property :service_label, as: 'serviceLabel'
7334
7395
  property :service_name, as: 'serviceName'
7396
+ collection :source_ip_ranges, as: 'sourceIpRanges'
7335
7397
  property :subnetwork, as: 'subnetwork'
7336
7398
  property :target, as: 'target'
7337
7399
  end
@@ -8099,9 +8161,12 @@ module Google
8099
8161
  hash :labels, as: 'labels'
8100
8162
  collection :license_codes, as: 'licenseCodes'
8101
8163
  collection :licenses, as: 'licenses'
8164
+ property :locked, as: 'locked'
8102
8165
  property :name, as: 'name'
8103
8166
  property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeBeta::Image::RawDisk, decorator: Google::Apis::ComputeBeta::Image::RawDisk::Representation
8104
8167
 
8168
+ property :rollout_override, as: 'rolloutOverride', class: Google::Apis::ComputeBeta::RolloutPolicy, decorator: Google::Apis::ComputeBeta::RolloutPolicy::Representation
8169
+
8105
8170
  property :satisfies_pzs, as: 'satisfiesPzs'
8106
8171
  property :self_link, as: 'selfLink'
8107
8172
  property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeBeta::InitialStateConfig, decorator: Google::Apis::ComputeBeta::InitialStateConfig::Representation
@@ -8121,6 +8186,7 @@ module Google
8121
8186
  property :source_type, as: 'sourceType'
8122
8187
  property :status, as: 'status'
8123
8188
  collection :storage_locations, as: 'storageLocations'
8189
+ collection :user_licenses, as: 'userLicenses'
8124
8190
  end
8125
8191
 
8126
8192
  class RawDisk
@@ -8590,6 +8656,7 @@ module Google
8590
8656
  # @private
8591
8657
  class Representation < Google::Apis::Core::JsonRepresentation
8592
8658
  collection :instances, as: 'instances'
8659
+ property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
8593
8660
  end
8594
8661
  end
8595
8662
 
@@ -10028,8 +10095,11 @@ module Google
10028
10095
  property :name, as: 'name'
10029
10096
  property :network, as: 'network'
10030
10097
  property :network_endpoint_type, as: 'networkEndpointType'
10098
+ property :psc_target_service, as: 'pscTargetService'
10031
10099
  property :region, as: 'region'
10032
10100
  property :self_link, as: 'selfLink'
10101
+ property :serverless_deployment, as: 'serverlessDeployment', class: Google::Apis::ComputeBeta::NetworkEndpointGroupServerlessDeployment, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupServerlessDeployment::Representation
10102
+
10033
10103
  property :size, as: 'size'
10034
10104
  property :subnetwork, as: 'subnetwork'
10035
10105
  property :zone, as: 'zone'
@@ -10137,6 +10207,16 @@ module Google
10137
10207
  end
10138
10208
  end
10139
10209
 
10210
+ class NetworkEndpointGroupServerlessDeployment
10211
+ # @private
10212
+ class Representation < Google::Apis::Core::JsonRepresentation
10213
+ property :platform, as: 'platform'
10214
+ property :resource, as: 'resource'
10215
+ property :url_mask, as: 'urlMask'
10216
+ property :version, as: 'version'
10217
+ end
10218
+ end
10219
+
10140
10220
  class NetworkEndpointGroupsAttachEndpointsRequest
10141
10221
  # @private
10142
10222
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10256,6 +10336,7 @@ module Google
10256
10336
  property :network, as: 'network'
10257
10337
  property :network_ip, as: 'networkIP'
10258
10338
  property :nic_type, as: 'nicType'
10339
+ property :queue_count, as: 'queueCount'
10259
10340
  property :stack_type, as: 'stackType'
10260
10341
  property :subnetwork, as: 'subnetwork'
10261
10342
  end
@@ -11837,6 +11918,7 @@ module Google
11837
11918
  # @private
11838
11919
  class Representation < Google::Apis::Core::JsonRepresentation
11839
11920
  collection :instances, as: 'instances'
11921
+ property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
11840
11922
  end
11841
11923
  end
11842
11924
 
@@ -12050,6 +12132,8 @@ module Google
12050
12132
  property :name, as: 'name'
12051
12133
  property :satisfies_pzs, as: 'satisfiesPzs'
12052
12134
  property :self_link, as: 'selfLink'
12135
+ property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
12136
+
12053
12137
  property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuReservation::Representation
12054
12138
 
12055
12139
  property :specific_reservation_required, as: 'specificReservationRequired'
@@ -12422,6 +12506,14 @@ module Google
12422
12506
  end
12423
12507
  end
12424
12508
 
12509
+ class RolloutPolicy
12510
+ # @private
12511
+ class Representation < Google::Apis::Core::JsonRepresentation
12512
+ property :default_rollout_time, as: 'defaultRolloutTime'
12513
+ hash :location_rollout_policies, as: 'locationRolloutPolicies'
12514
+ end
12515
+ end
12516
+
12425
12517
  class Route
12426
12518
  # @private
12427
12519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12848,6 +12940,7 @@ module Google
12848
12940
  class Representation < Google::Apis::Core::JsonRepresentation
12849
12941
  property :automatic_restart, as: 'automaticRestart'
12850
12942
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
12943
+ property :instance_termination_action, as: 'instanceTerminationAction'
12851
12944
  property :location_hint, as: 'locationHint'
12852
12945
  property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
12853
12946
  property :maintenance_interval, as: 'maintenanceInterval'
@@ -12856,6 +12949,7 @@ module Google
12856
12949
 
12857
12950
  property :on_host_maintenance, as: 'onHostMaintenance'
12858
12951
  property :preemptible, as: 'preemptible'
12952
+ property :provisioning_model, as: 'provisioningModel'
12859
12953
  end
12860
12954
  end
12861
12955
 
@@ -12999,11 +13093,17 @@ module Google
12999
13093
  property :description, as: 'description'
13000
13094
  property :direction, as: 'direction'
13001
13095
  property :enable_logging, as: 'enableLogging'
13096
+ property :header_action, as: 'headerAction', class: Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderAction, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderAction::Representation
13097
+
13002
13098
  property :kind, as: 'kind'
13003
13099
  property :match, as: 'match', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher::Representation
13004
13100
 
13005
13101
  property :preview, as: 'preview'
13006
13102
  property :priority, as: 'priority'
13103
+ property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions::Representation
13104
+
13105
+ property :redirect_options, as: 'redirectOptions', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRedirectOptions::Representation
13106
+
13007
13107
  property :rule_number, :numeric_string => true, as: 'ruleNumber'
13008
13108
  property :rule_tuple_count, as: 'ruleTupleCount'
13009
13109
  collection :target_resources, as: 'targetResources'
@@ -13011,6 +13111,22 @@ module Google
13011
13111
  end
13012
13112
  end
13013
13113
 
13114
+ class SecurityPolicyRuleHttpHeaderAction
13115
+ # @private
13116
+ class Representation < Google::Apis::Core::JsonRepresentation
13117
+ collection :request_headers_to_adds, as: 'requestHeadersToAdds', class: Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption::Representation
13118
+
13119
+ end
13120
+ end
13121
+
13122
+ class SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
13123
+ # @private
13124
+ class Representation < Google::Apis::Core::JsonRepresentation
13125
+ property :header_name, as: 'headerName'
13126
+ property :header_value, as: 'headerValue'
13127
+ end
13128
+ end
13129
+
13014
13130
  class SecurityPolicyRuleMatcher
13015
13131
  # @private
13016
13132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13040,6 +13156,37 @@ module Google
13040
13156
  end
13041
13157
  end
13042
13158
 
13159
+ class SecurityPolicyRuleRateLimitOptions
13160
+ # @private
13161
+ class Representation < Google::Apis::Core::JsonRepresentation
13162
+ property :ban_duration_sec, as: 'banDurationSec'
13163
+ property :ban_threshold, as: 'banThreshold', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
13164
+
13165
+ property :conform_action, as: 'conformAction'
13166
+ property :enforce_on_key, as: 'enforceOnKey'
13167
+ property :enforce_on_key_name, as: 'enforceOnKeyName'
13168
+ property :exceed_action, as: 'exceedAction'
13169
+ property :rate_limit_threshold, as: 'rateLimitThreshold', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptionsThreshold, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptionsThreshold::Representation
13170
+
13171
+ end
13172
+ end
13173
+
13174
+ class SecurityPolicyRuleRateLimitOptionsThreshold
13175
+ # @private
13176
+ class Representation < Google::Apis::Core::JsonRepresentation
13177
+ property :count, as: 'count'
13178
+ property :interval_sec, as: 'intervalSec'
13179
+ end
13180
+ end
13181
+
13182
+ class SecurityPolicyRuleRedirectOptions
13183
+ # @private
13184
+ class Representation < Google::Apis::Core::JsonRepresentation
13185
+ property :target, as: 'target'
13186
+ property :type, as: 'type'
13187
+ end
13188
+ end
13189
+
13043
13190
  class SecuritySettings
13044
13191
  # @private
13045
13192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13083,8 +13230,6 @@ module Google
13083
13230
  property :connection_preference, as: 'connectionPreference'
13084
13231
  collection :consumer_accept_lists, as: 'consumerAcceptLists', class: Google::Apis::ComputeBeta::ServiceAttachmentConsumerProjectLimit, decorator: Google::Apis::ComputeBeta::ServiceAttachmentConsumerProjectLimit::Representation
13085
13232
 
13086
- collection :consumer_forwarding_rules, as: 'consumerForwardingRules', class: Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule, decorator: Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule::Representation
13087
-
13088
13233
  collection :consumer_reject_lists, as: 'consumerRejectLists'
13089
13234
  property :creation_timestamp, as: 'creationTimestamp'
13090
13235
  property :description, as: 'description'
@@ -13140,16 +13285,6 @@ module Google
13140
13285
  # @private
13141
13286
  class Representation < Google::Apis::Core::JsonRepresentation
13142
13287
  property :endpoint, as: 'endpoint'
13143
- property :forwarding_rule, as: 'forwardingRule'
13144
- property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
13145
- property :status, as: 'status'
13146
- end
13147
- end
13148
-
13149
- class ServiceAttachmentConsumerForwardingRule
13150
- # @private
13151
- class Representation < Google::Apis::Core::JsonRepresentation
13152
- property :forwarding_rule, as: 'forwardingRule'
13153
13288
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
13154
13289
  property :status, as: 'status'
13155
13290
  end
@@ -13223,6 +13358,14 @@ module Google
13223
13358
  end
13224
13359
  end
13225
13360
 
13361
+ class ShareSettings
13362
+ # @private
13363
+ class Representation < Google::Apis::Core::JsonRepresentation
13364
+ collection :projects, as: 'projects'
13365
+ property :share_type, as: 'shareType'
13366
+ end
13367
+ end
13368
+
13226
13369
  class ShieldedInstanceConfig
13227
13370
  # @private
13228
13371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13331,6 +13474,7 @@ module Google
13331
13474
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
13332
13475
  property :storage_bytes_status, as: 'storageBytesStatus'
13333
13476
  collection :storage_locations, as: 'storageLocations'
13477
+ collection :user_licenses, as: 'userLicenses'
13334
13478
  end
13335
13479
  end
13336
13480
 
@@ -14020,6 +14164,13 @@ module Google
14020
14164
  end
14021
14165
  end
14022
14166
 
14167
+ class TargetHttpsProxiesSetCertificateMapRequest
14168
+ # @private
14169
+ class Representation < Google::Apis::Core::JsonRepresentation
14170
+ property :certificate_map, as: 'certificateMap'
14171
+ end
14172
+ end
14173
+
14023
14174
  class TargetHttpsProxiesSetQuicOverrideRequest
14024
14175
  # @private
14025
14176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14040,6 +14191,7 @@ module Google
14040
14191
  property :authentication, as: 'authentication'
14041
14192
  property :authorization, as: 'authorization'
14042
14193
  property :authorization_policy, as: 'authorizationPolicy'
14194
+ property :certificate_map, as: 'certificateMap'
14043
14195
  property :creation_timestamp, as: 'creationTimestamp'
14044
14196
  property :description, as: 'description'
14045
14197
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -14398,6 +14550,13 @@ module Google
14398
14550
  end
14399
14551
  end
14400
14552
 
14553
+ class TargetSslProxiesSetCertificateMapRequest
14554
+ # @private
14555
+ class Representation < Google::Apis::Core::JsonRepresentation
14556
+ property :certificate_map, as: 'certificateMap'
14557
+ end
14558
+ end
14559
+
14401
14560
  class TargetSslProxiesSetProxyHeaderRequest
14402
14561
  # @private
14403
14562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14415,6 +14574,7 @@ module Google
14415
14574
  class TargetSslProxy
14416
14575
  # @private
14417
14576
  class Representation < Google::Apis::Core::JsonRepresentation
14577
+ property :certificate_map, as: 'certificateMap'
14418
14578
  property :creation_timestamp, as: 'creationTimestamp'
14419
14579
  property :description, as: 'description'
14420
14580
  property :id, :numeric_string => true, as: 'id'