google-api-client 0.18.1 → 0.19.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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
  5. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +56 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +20 -0
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/calendar_v3/classes.rb +15 -4
  15. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  16. data/generated/google/apis/calendar_v3/service.rb +8 -4
  17. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  18. data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
  19. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  20. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
  21. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
  22. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  23. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
  24. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  25. data/generated/google/apis/compute_alpha.rb +1 -1
  26. data/generated/google/apis/compute_alpha/classes.rb +256 -63
  27. data/generated/google/apis/compute_alpha/representations.rb +44 -1
  28. data/generated/google/apis/compute_alpha/service.rb +217 -2
  29. data/generated/google/apis/compute_beta.rb +1 -1
  30. data/generated/google/apis/compute_beta/classes.rb +776 -46
  31. data/generated/google/apis/compute_beta/representations.rb +254 -0
  32. data/generated/google/apis/compute_beta/service.rb +1070 -13
  33. data/generated/google/apis/compute_v1.rb +1 -1
  34. data/generated/google/apis/compute_v1/classes.rb +83 -46
  35. data/generated/google/apis/compute_v1/service.rb +4 -2
  36. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  37. data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
  38. data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
  41. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  42. data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
  43. data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
  46. data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
  47. data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
  48. data/generated/google/apis/iam_v1.rb +1 -1
  49. data/generated/google/apis/iam_v1/classes.rb +0 -56
  50. data/generated/google/apis/iam_v1/representations.rb +0 -18
  51. data/generated/google/apis/logging_v2.rb +1 -1
  52. data/generated/google/apis/logging_v2/classes.rb +8 -6
  53. data/generated/google/apis/logging_v2beta1.rb +1 -1
  54. data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
  55. data/generated/google/apis/ml_v1.rb +1 -1
  56. data/generated/google/apis/ml_v1/classes.rb +22 -5
  57. data/generated/google/apis/ml_v1/service.rb +19 -5
  58. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  59. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  60. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  61. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  62. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  63. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  64. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
  65. data/generated/google/apis/serviceuser_v1.rb +1 -1
  66. data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
  67. data/generated/google/apis/sheets_v4.rb +1 -1
  68. data/generated/google/apis/sheets_v4/classes.rb +283 -0
  69. data/generated/google/apis/sheets_v4/representations.rb +90 -0
  70. data/generated/google/apis/speech_v1.rb +1 -1
  71. data/generated/google/apis/storage_v1.rb +1 -1
  72. data/generated/google/apis/storage_v1/classes.rb +115 -4
  73. data/generated/google/apis/storage_v1/representations.rb +23 -0
  74. data/generated/google/apis/storage_v1/service.rb +44 -1
  75. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  76. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
  77. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  78. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +2 -6
  81. data/generated/google/apis/consumersurveys_v2.rb +0 -40
  82. data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
  83. data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
  84. data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class BackendBucketCdnPolicy
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class BackendBucketList
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -520,6 +526,12 @@ module Google
520
526
  include Google::Apis::Core::JsonObjectSupport
521
527
  end
522
528
 
529
+ class DiskInstantiationConfig
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
523
535
  class DiskList
524
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
537
 
@@ -2008,6 +2020,12 @@ module Google
2008
2020
  include Google::Apis::Core::JsonObjectSupport
2009
2021
  end
2010
2022
 
2023
+ class RouterAdvertisedIpRange
2024
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2025
+
2026
+ include Google::Apis::Core::JsonObjectSupport
2027
+ end
2028
+
2011
2029
  class RouterAggregatedList
2012
2030
  class Representation < Google::Apis::Core::JsonRepresentation; end
2013
2031
 
@@ -2164,6 +2182,12 @@ module Google
2164
2182
  include Google::Apis::Core::JsonObjectSupport
2165
2183
  end
2166
2184
 
2185
+ class SecurityPolicyRuleMatcherConfig
2186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2187
+
2188
+ include Google::Apis::Core::JsonObjectSupport
2189
+ end
2190
+
2167
2191
  class SerialPortOutput
2168
2192
  class Representation < Google::Apis::Core::JsonRepresentation; end
2169
2193
 
@@ -2176,6 +2200,12 @@ module Google
2176
2200
  include Google::Apis::Core::JsonObjectSupport
2177
2201
  end
2178
2202
 
2203
+ class SignedUrlKey
2204
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2205
+
2206
+ include Google::Apis::Core::JsonObjectSupport
2207
+ end
2208
+
2179
2209
  class Snapshot
2180
2210
  class Representation < Google::Apis::Core::JsonRepresentation; end
2181
2211
 
@@ -2200,6 +2230,12 @@ module Google
2200
2230
  include Google::Apis::Core::JsonObjectSupport
2201
2231
  end
2202
2232
 
2233
+ class SourceInstanceParams
2234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2235
+
2236
+ include Google::Apis::Core::JsonObjectSupport
2237
+ end
2238
+
2203
2239
  class SslCertificate
2204
2240
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2241
 
@@ -2224,6 +2260,54 @@ module Google
2224
2260
  include Google::Apis::Core::JsonObjectSupport
2225
2261
  end
2226
2262
 
2263
+ class SslPoliciesList
2264
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2265
+
2266
+ class Warning
2267
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2268
+
2269
+ class Datum
2270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2271
+
2272
+ include Google::Apis::Core::JsonObjectSupport
2273
+ end
2274
+
2275
+ include Google::Apis::Core::JsonObjectSupport
2276
+ end
2277
+
2278
+ include Google::Apis::Core::JsonObjectSupport
2279
+ end
2280
+
2281
+ class SslPoliciesListAvailableFeaturesResponse
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2287
+ class SslPolicy
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ class Warning
2291
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2292
+
2293
+ class Datum
2294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2295
+
2296
+ include Google::Apis::Core::JsonObjectSupport
2297
+ end
2298
+
2299
+ include Google::Apis::Core::JsonObjectSupport
2300
+ end
2301
+
2302
+ include Google::Apis::Core::JsonObjectSupport
2303
+ end
2304
+
2305
+ class SslPolicyReference
2306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2307
+
2308
+ include Google::Apis::Core::JsonObjectSupport
2309
+ end
2310
+
2227
2311
  class Subnetwork
2228
2312
  class Representation < Google::Apis::Core::JsonRepresentation; end
2229
2313
 
@@ -2338,6 +2422,12 @@ module Google
2338
2422
  include Google::Apis::Core::JsonObjectSupport
2339
2423
  end
2340
2424
 
2425
+ class TargetHttpsProxiesSetQuicOverrideRequest
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2341
2431
  class TargetHttpsProxiesSetSslCertificatesRequest
2342
2432
  class Representation < Google::Apis::Core::JsonRepresentation; end
2343
2433
 
@@ -3346,6 +3436,8 @@ module Google
3346
3436
  # @private
3347
3437
  class Representation < Google::Apis::Core::JsonRepresentation
3348
3438
  property :bucket_name, as: 'bucketName'
3439
+ property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeBeta::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeBeta::BackendBucketCdnPolicy::Representation
3440
+
3349
3441
  property :creation_timestamp, as: 'creationTimestamp'
3350
3442
  property :description, as: 'description'
3351
3443
  property :enable_cdn, as: 'enableCdn'
@@ -3356,6 +3448,14 @@ module Google
3356
3448
  end
3357
3449
  end
3358
3450
 
3451
+ class BackendBucketCdnPolicy
3452
+ # @private
3453
+ class Representation < Google::Apis::Core::JsonRepresentation
3454
+ property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
3455
+ collection :signed_url_key_names, as: 'signedUrlKeyNames'
3456
+ end
3457
+ end
3458
+
3359
3459
  class BackendBucketList
3360
3460
  # @private
3361
3461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3457,6 +3557,8 @@ module Google
3457
3557
  class Representation < Google::Apis::Core::JsonRepresentation
3458
3558
  property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeBeta::CacheKeyPolicy, decorator: Google::Apis::ComputeBeta::CacheKeyPolicy::Representation
3459
3559
 
3560
+ property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
3561
+ collection :signed_url_key_names, as: 'signedUrlKeyNames'
3460
3562
  end
3461
3563
  end
3462
3564
 
@@ -3795,6 +3897,16 @@ module Google
3795
3897
  end
3796
3898
  end
3797
3899
 
3900
+ class DiskInstantiationConfig
3901
+ # @private
3902
+ class Representation < Google::Apis::Core::JsonRepresentation
3903
+ property :auto_delete, as: 'autoDelete'
3904
+ property :device_name, as: 'deviceName'
3905
+ property :instantiate_from, as: 'instantiateFrom'
3906
+ property :source_image, as: 'sourceImage'
3907
+ end
3908
+ end
3909
+
3798
3910
  class DiskList
3799
3911
  # @private
3800
3912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5114,6 +5226,9 @@ module Google
5114
5226
  property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation
5115
5227
 
5116
5228
  property :self_link, as: 'selfLink'
5229
+ property :source_instance, as: 'sourceInstance'
5230
+ property :source_instance_params, as: 'sourceInstanceParams', class: Google::Apis::ComputeBeta::SourceInstanceParams, decorator: Google::Apis::ComputeBeta::SourceInstanceParams::Representation
5231
+
5117
5232
  end
5118
5233
  end
5119
5234
 
@@ -6532,6 +6647,14 @@ module Google
6532
6647
  end
6533
6648
  end
6534
6649
 
6650
+ class RouterAdvertisedIpRange
6651
+ # @private
6652
+ class Representation < Google::Apis::Core::JsonRepresentation
6653
+ property :description, as: 'description'
6654
+ property :range, as: 'range'
6655
+ end
6656
+ end
6657
+
6535
6658
  class RouterAggregatedList
6536
6659
  # @private
6537
6660
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6567,6 +6690,10 @@ module Google
6567
6690
  class RouterBgp
6568
6691
  # @private
6569
6692
  class Representation < Google::Apis::Core::JsonRepresentation
6693
+ property :advertise_mode, as: 'advertiseMode'
6694
+ collection :advertised_groups, as: 'advertisedGroups'
6695
+ collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeBeta::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeBeta::RouterAdvertisedIpRange::Representation
6696
+
6570
6697
  property :asn, as: 'asn'
6571
6698
  end
6572
6699
  end
@@ -6574,6 +6701,10 @@ module Google
6574
6701
  class RouterBgpPeer
6575
6702
  # @private
6576
6703
  class Representation < Google::Apis::Core::JsonRepresentation
6704
+ property :advertise_mode, as: 'advertiseMode'
6705
+ collection :advertised_groups, as: 'advertisedGroups'
6706
+ collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeBeta::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeBeta::RouterAdvertisedIpRange::Representation
6707
+
6577
6708
  property :advertised_route_priority, as: 'advertisedRoutePriority'
6578
6709
  property :interface_name, as: 'interfaceName'
6579
6710
  property :ip_address, as: 'ipAddress'
@@ -6802,6 +6933,16 @@ module Google
6802
6933
  end
6803
6934
 
6804
6935
  class SecurityPolicyRuleMatcher
6936
+ # @private
6937
+ class Representation < Google::Apis::Core::JsonRepresentation
6938
+ property :config, as: 'config', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig::Representation
6939
+
6940
+ collection :src_ip_ranges, as: 'srcIpRanges'
6941
+ property :versioned_expr, as: 'versionedExpr'
6942
+ end
6943
+ end
6944
+
6945
+ class SecurityPolicyRuleMatcherConfig
6805
6946
  # @private
6806
6947
  class Representation < Google::Apis::Core::JsonRepresentation
6807
6948
  collection :src_ip_ranges, as: 'srcIpRanges'
@@ -6827,6 +6968,14 @@ module Google
6827
6968
  end
6828
6969
  end
6829
6970
 
6971
+ class SignedUrlKey
6972
+ # @private
6973
+ class Representation < Google::Apis::Core::JsonRepresentation
6974
+ property :key_name, as: 'keyName'
6975
+ property :key_value, as: 'keyValue'
6976
+ end
6977
+ end
6978
+
6830
6979
  class Snapshot
6831
6980
  # @private
6832
6981
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6885,6 +7034,14 @@ module Google
6885
7034
  end
6886
7035
  end
6887
7036
 
7037
+ class SourceInstanceParams
7038
+ # @private
7039
+ class Representation < Google::Apis::Core::JsonRepresentation
7040
+ collection :disk_configs, as: 'diskConfigs', class: Google::Apis::ComputeBeta::DiskInstantiationConfig, decorator: Google::Apis::ComputeBeta::DiskInstantiationConfig::Representation
7041
+
7042
+ end
7043
+ end
7044
+
6888
7045
  class SslCertificate
6889
7046
  # @private
6890
7047
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6931,6 +7088,89 @@ module Google
6931
7088
  end
6932
7089
  end
6933
7090
 
7091
+ class SslPoliciesList
7092
+ # @private
7093
+ class Representation < Google::Apis::Core::JsonRepresentation
7094
+ property :id, as: 'id'
7095
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::SslPolicy, decorator: Google::Apis::ComputeBeta::SslPolicy::Representation
7096
+
7097
+ property :kind, as: 'kind'
7098
+ property :next_page_token, as: 'nextPageToken'
7099
+ property :self_link, as: 'selfLink'
7100
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SslPoliciesList::Warning, decorator: Google::Apis::ComputeBeta::SslPoliciesList::Warning::Representation
7101
+
7102
+ end
7103
+
7104
+ class Warning
7105
+ # @private
7106
+ class Representation < Google::Apis::Core::JsonRepresentation
7107
+ property :code, as: 'code'
7108
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::SslPoliciesList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SslPoliciesList::Warning::Datum::Representation
7109
+
7110
+ property :message, as: 'message'
7111
+ end
7112
+
7113
+ class Datum
7114
+ # @private
7115
+ class Representation < Google::Apis::Core::JsonRepresentation
7116
+ property :key, as: 'key'
7117
+ property :value, as: 'value'
7118
+ end
7119
+ end
7120
+ end
7121
+ end
7122
+
7123
+ class SslPoliciesListAvailableFeaturesResponse
7124
+ # @private
7125
+ class Representation < Google::Apis::Core::JsonRepresentation
7126
+ collection :features, as: 'features'
7127
+ end
7128
+ end
7129
+
7130
+ class SslPolicy
7131
+ # @private
7132
+ class Representation < Google::Apis::Core::JsonRepresentation
7133
+ property :creation_timestamp, as: 'creationTimestamp'
7134
+ collection :custom_features, as: 'customFeatures'
7135
+ property :description, as: 'description'
7136
+ collection :enabled_features, as: 'enabledFeatures'
7137
+ property :fingerprint, :base64 => true, as: 'fingerprint'
7138
+ property :id, :numeric_string => true, as: 'id'
7139
+ property :kind, as: 'kind'
7140
+ property :min_tls_version, as: 'minTlsVersion'
7141
+ property :name, as: 'name'
7142
+ property :profile, as: 'profile'
7143
+ property :self_link, as: 'selfLink'
7144
+ collection :warnings, as: 'warnings', class: Google::Apis::ComputeBeta::SslPolicy::Warning, decorator: Google::Apis::ComputeBeta::SslPolicy::Warning::Representation
7145
+
7146
+ end
7147
+
7148
+ class Warning
7149
+ # @private
7150
+ class Representation < Google::Apis::Core::JsonRepresentation
7151
+ property :code, as: 'code'
7152
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::SslPolicy::Warning::Datum, decorator: Google::Apis::ComputeBeta::SslPolicy::Warning::Datum::Representation
7153
+
7154
+ property :message, as: 'message'
7155
+ end
7156
+
7157
+ class Datum
7158
+ # @private
7159
+ class Representation < Google::Apis::Core::JsonRepresentation
7160
+ property :key, as: 'key'
7161
+ property :value, as: 'value'
7162
+ end
7163
+ end
7164
+ end
7165
+ end
7166
+
7167
+ class SslPolicyReference
7168
+ # @private
7169
+ class Representation < Google::Apis::Core::JsonRepresentation
7170
+ property :ssl_policy, as: 'sslPolicy'
7171
+ end
7172
+ end
7173
+
6934
7174
  class Subnetwork
6935
7175
  # @private
6936
7176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7130,6 +7370,13 @@ module Google
7130
7370
  end
7131
7371
  end
7132
7372
 
7373
+ class TargetHttpsProxiesSetQuicOverrideRequest
7374
+ # @private
7375
+ class Representation < Google::Apis::Core::JsonRepresentation
7376
+ property :quic_override, as: 'quicOverride'
7377
+ end
7378
+ end
7379
+
7133
7380
  class TargetHttpsProxiesSetSslCertificatesRequest
7134
7381
  # @private
7135
7382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7145,8 +7392,10 @@ module Google
7145
7392
  property :id, :numeric_string => true, as: 'id'
7146
7393
  property :kind, as: 'kind'
7147
7394
  property :name, as: 'name'
7395
+ property :quic_override, as: 'quicOverride'
7148
7396
  property :self_link, as: 'selfLink'
7149
7397
  collection :ssl_certificates, as: 'sslCertificates'
7398
+ property :ssl_policy, as: 'sslPolicy'
7150
7399
  property :url_map, as: 'urlMap'
7151
7400
  end
7152
7401
  end
@@ -7481,6 +7730,7 @@ module Google
7481
7730
  property :self_link, as: 'selfLink'
7482
7731
  property :service, as: 'service'
7483
7732
  collection :ssl_certificates, as: 'sslCertificates'
7733
+ property :ssl_policy, as: 'sslPolicy'
7484
7734
  end
7485
7735
  end
7486
7736
 
@@ -7584,6 +7834,8 @@ module Google
7584
7834
  collection :forwarding_rules, as: 'forwardingRules'
7585
7835
  property :id, :numeric_string => true, as: 'id'
7586
7836
  property :kind, as: 'kind'
7837
+ property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
7838
+ hash :labels, as: 'labels'
7587
7839
  property :name, as: 'name'
7588
7840
  property :network, as: 'network'
7589
7841
  property :region, as: 'region'
@@ -7832,6 +8084,8 @@ module Google
7832
8084
  property :id, :numeric_string => true, as: 'id'
7833
8085
  property :ike_version, as: 'ikeVersion'
7834
8086
  property :kind, as: 'kind'
8087
+ property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
8088
+ hash :labels, as: 'labels'
7835
8089
  collection :local_traffic_selector, as: 'localTrafficSelector'
7836
8090
  property :name, as: 'name'
7837
8091
  property :peer_ip, as: 'peerIp'
@@ -1117,6 +1117,60 @@ module Google
1117
1117
  execute_or_queue_command(command, &block)
1118
1118
  end
1119
1119
 
1120
+ # Adds the given Signed URL Key to the backend bucket.
1121
+ # @param [String] project
1122
+ # Project ID for this request.
1123
+ # @param [String] backend_bucket
1124
+ # Name of the BackendBucket resource to which the Signed URL Key should be added.
1125
+ # The name should conform to RFC1035.
1126
+ # @param [Google::Apis::ComputeBeta::SignedUrlKey] signed_url_key_object
1127
+ # @param [String] request_id
1128
+ # An optional request ID to identify requests. Specify a unique request ID so
1129
+ # that if you must retry your request, the server will know to ignore the
1130
+ # request if it has already been completed.
1131
+ # For example, consider a situation where you make an initial request and the
1132
+ # request times out. If you make the request again with the same request ID, the
1133
+ # server can check if original operation with the same request ID was received,
1134
+ # and if so, will ignore the second request. This prevents clients from
1135
+ # accidentally creating duplicate commitments.
1136
+ # The request ID must be a valid UUID with the exception that zero UUID is not
1137
+ # supported (00000000-0000-0000-0000-000000000000).
1138
+ # @param [String] fields
1139
+ # Selector specifying which fields to include in a partial response.
1140
+ # @param [String] quota_user
1141
+ # Available to use for quota purposes for server-side applications. Can be any
1142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1143
+ # Overrides userIp if both are provided.
1144
+ # @param [String] user_ip
1145
+ # IP address of the site where the request originates. Use this if you want to
1146
+ # enforce per-user limits.
1147
+ # @param [Google::Apis::RequestOptions] options
1148
+ # Request-specific options
1149
+ #
1150
+ # @yield [result, err] Result & error if block supplied
1151
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
1152
+ # @yieldparam err [StandardError] error object if request failed
1153
+ #
1154
+ # @return [Google::Apis::ComputeBeta::Operation]
1155
+ #
1156
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1157
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1158
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1159
+ def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1160
+ command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options)
1161
+ command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation
1162
+ command.request_object = signed_url_key_object
1163
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
1164
+ command.response_class = Google::Apis::ComputeBeta::Operation
1165
+ command.params['project'] = project unless project.nil?
1166
+ command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
1167
+ command.query['requestId'] = request_id unless request_id.nil?
1168
+ command.query['fields'] = fields unless fields.nil?
1169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1170
+ command.query['userIp'] = user_ip unless user_ip.nil?
1171
+ execute_or_queue_command(command, &block)
1172
+ end
1173
+
1120
1174
  # Deletes the specified BackendBucket resource.
1121
1175
  # @param [String] project
1122
1176
  # Project ID for this request.
@@ -1167,6 +1221,60 @@ module Google
1167
1221
  execute_or_queue_command(command, &block)
1168
1222
  end
1169
1223
 
1224
+ # Deletes the given Signed URL Key from the backend bucket.
1225
+ # @param [String] project
1226
+ # Project ID for this request.
1227
+ # @param [String] backend_bucket
1228
+ # Name of the BackendBucket resource to which the Signed URL Key should be added.
1229
+ # The name should conform to RFC1035.
1230
+ # @param [String] key_name
1231
+ # The name of the Signed URL Key to delete.
1232
+ # @param [String] request_id
1233
+ # An optional request ID to identify requests. Specify a unique request ID so
1234
+ # that if you must retry your request, the server will know to ignore the
1235
+ # request if it has already been completed.
1236
+ # For example, consider a situation where you make an initial request and the
1237
+ # request times out. If you make the request again with the same request ID, the
1238
+ # server can check if original operation with the same request ID was received,
1239
+ # and if so, will ignore the second request. This prevents clients from
1240
+ # accidentally creating duplicate commitments.
1241
+ # The request ID must be a valid UUID with the exception that zero UUID is not
1242
+ # supported (00000000-0000-0000-0000-000000000000).
1243
+ # @param [String] fields
1244
+ # Selector specifying which fields to include in a partial response.
1245
+ # @param [String] quota_user
1246
+ # Available to use for quota purposes for server-side applications. Can be any
1247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1248
+ # Overrides userIp if both are provided.
1249
+ # @param [String] user_ip
1250
+ # IP address of the site where the request originates. Use this if you want to
1251
+ # enforce per-user limits.
1252
+ # @param [Google::Apis::RequestOptions] options
1253
+ # Request-specific options
1254
+ #
1255
+ # @yield [result, err] Result & error if block supplied
1256
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
1257
+ # @yieldparam err [StandardError] error object if request failed
1258
+ #
1259
+ # @return [Google::Apis::ComputeBeta::Operation]
1260
+ #
1261
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1262
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1263
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1264
+ def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1265
+ command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options)
1266
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
1267
+ command.response_class = Google::Apis::ComputeBeta::Operation
1268
+ command.params['project'] = project unless project.nil?
1269
+ command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
1270
+ command.query['keyName'] = key_name unless key_name.nil?
1271
+ command.query['requestId'] = request_id unless request_id.nil?
1272
+ command.query['fields'] = fields unless fields.nil?
1273
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1274
+ command.query['userIp'] = user_ip unless user_ip.nil?
1275
+ execute_or_queue_command(command, &block)
1276
+ end
1277
+
1170
1278
  # Returns the specified BackendBucket resource. Get a list of available backend
1171
1279
  # buckets by making a list() request.
1172
1280
  # @param [String] project
@@ -1443,6 +1551,60 @@ module Google
1443
1551
  execute_or_queue_command(command, &block)
1444
1552
  end
1445
1553
 
1554
+ # Adds the given Signed URL Key to the specified backend service.
1555
+ # @param [String] project
1556
+ # Project ID for this request.
1557
+ # @param [String] backend_service
1558
+ # Name of the BackendService resource to which the Signed URL Key should be
1559
+ # added. The name should conform to RFC1035.
1560
+ # @param [Google::Apis::ComputeBeta::SignedUrlKey] signed_url_key_object
1561
+ # @param [String] request_id
1562
+ # An optional request ID to identify requests. Specify a unique request ID so
1563
+ # that if you must retry your request, the server will know to ignore the
1564
+ # request if it has already been completed.
1565
+ # For example, consider a situation where you make an initial request and the
1566
+ # request times out. If you make the request again with the same request ID, the
1567
+ # server can check if original operation with the same request ID was received,
1568
+ # and if so, will ignore the second request. This prevents clients from
1569
+ # accidentally creating duplicate commitments.
1570
+ # The request ID must be a valid UUID with the exception that zero UUID is not
1571
+ # supported (00000000-0000-0000-0000-000000000000).
1572
+ # @param [String] fields
1573
+ # Selector specifying which fields to include in a partial response.
1574
+ # @param [String] quota_user
1575
+ # Available to use for quota purposes for server-side applications. Can be any
1576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1577
+ # Overrides userIp if both are provided.
1578
+ # @param [String] user_ip
1579
+ # IP address of the site where the request originates. Use this if you want to
1580
+ # enforce per-user limits.
1581
+ # @param [Google::Apis::RequestOptions] options
1582
+ # Request-specific options
1583
+ #
1584
+ # @yield [result, err] Result & error if block supplied
1585
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
1586
+ # @yieldparam err [StandardError] error object if request failed
1587
+ #
1588
+ # @return [Google::Apis::ComputeBeta::Operation]
1589
+ #
1590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1593
+ def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1594
+ command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options)
1595
+ command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation
1596
+ command.request_object = signed_url_key_object
1597
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
1598
+ command.response_class = Google::Apis::ComputeBeta::Operation
1599
+ command.params['project'] = project unless project.nil?
1600
+ command.params['backendService'] = backend_service unless backend_service.nil?
1601
+ command.query['requestId'] = request_id unless request_id.nil?
1602
+ command.query['fields'] = fields unless fields.nil?
1603
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1604
+ command.query['userIp'] = user_ip unless user_ip.nil?
1605
+ execute_or_queue_command(command, &block)
1606
+ end
1607
+
1446
1608
  # Retrieves the list of all BackendService resources, regional and global,
1447
1609
  # available to the specified project.
1448
1610
  # @param [String] project
@@ -1570,6 +1732,60 @@ module Google
1570
1732
  execute_or_queue_command(command, &block)
1571
1733
  end
1572
1734
 
1735
+ # Deletes the given Signed URL Key from the specified backend service.
1736
+ # @param [String] project
1737
+ # Project ID for this request.
1738
+ # @param [String] backend_service
1739
+ # Name of the BackendService resource to which the Signed URL Key should be
1740
+ # added. The name should conform to RFC1035.
1741
+ # @param [String] key_name
1742
+ # The name of the Signed URL Key to delete.
1743
+ # @param [String] request_id
1744
+ # An optional request ID to identify requests. Specify a unique request ID so
1745
+ # that if you must retry your request, the server will know to ignore the
1746
+ # request if it has already been completed.
1747
+ # For example, consider a situation where you make an initial request and the
1748
+ # request times out. If you make the request again with the same request ID, the
1749
+ # server can check if original operation with the same request ID was received,
1750
+ # and if so, will ignore the second request. This prevents clients from
1751
+ # accidentally creating duplicate commitments.
1752
+ # The request ID must be a valid UUID with the exception that zero UUID is not
1753
+ # supported (00000000-0000-0000-0000-000000000000).
1754
+ # @param [String] fields
1755
+ # Selector specifying which fields to include in a partial response.
1756
+ # @param [String] quota_user
1757
+ # Available to use for quota purposes for server-side applications. Can be any
1758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1759
+ # Overrides userIp if both are provided.
1760
+ # @param [String] user_ip
1761
+ # IP address of the site where the request originates. Use this if you want to
1762
+ # enforce per-user limits.
1763
+ # @param [Google::Apis::RequestOptions] options
1764
+ # Request-specific options
1765
+ #
1766
+ # @yield [result, err] Result & error if block supplied
1767
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
1768
+ # @yieldparam err [StandardError] error object if request failed
1769
+ #
1770
+ # @return [Google::Apis::ComputeBeta::Operation]
1771
+ #
1772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1775
+ def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1776
+ command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options)
1777
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
1778
+ command.response_class = Google::Apis::ComputeBeta::Operation
1779
+ command.params['project'] = project unless project.nil?
1780
+ command.params['backendService'] = backend_service unless backend_service.nil?
1781
+ command.query['keyName'] = key_name unless key_name.nil?
1782
+ command.query['requestId'] = request_id unless request_id.nil?
1783
+ command.query['fields'] = fields unless fields.nil?
1784
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1785
+ command.query['userIp'] = user_ip unless user_ip.nil?
1786
+ execute_or_queue_command(command, &block)
1787
+ end
1788
+
1573
1789
  # Returns the specified BackendService resource. Get a list of available backend
1574
1790
  # services by making a list() request.
1575
1791
  # @param [String] project
@@ -2553,7 +2769,8 @@ module Google
2553
2769
  execute_or_queue_command(command, &block)
2554
2770
  end
2555
2771
 
2556
- # Resizes the specified persistent disk.
2772
+ # Resizes the specified persistent disk. You can only increase the size of the
2773
+ # disk.
2557
2774
  # @param [String] project
2558
2775
  # Project ID for this request.
2559
2776
  # @param [String] zone
@@ -10963,7 +11180,8 @@ module Google
10963
11180
  execute_or_queue_command(command, &block)
10964
11181
  end
10965
11182
 
10966
- # Patches the specified network with the data included in the request.
11183
+ # Patches the specified network with the data included in the request. Only the
11184
+ # following fields can be modified: routingConfig.routingMode.
10967
11185
  # @param [String] project
10968
11186
  # Project ID for this request.
10969
11187
  # @param [String] network
@@ -15064,6 +15282,47 @@ module Google
15064
15282
  execute_or_queue_command(command, &block)
15065
15283
  end
15066
15284
 
15285
+ # Inserts a rule into a security policy.
15286
+ # @param [String] project
15287
+ # Project ID for this request.
15288
+ # @param [String] security_policy
15289
+ # Name of the security policy to update.
15290
+ # @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
15291
+ # @param [String] fields
15292
+ # Selector specifying which fields to include in a partial response.
15293
+ # @param [String] quota_user
15294
+ # Available to use for quota purposes for server-side applications. Can be any
15295
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15296
+ # Overrides userIp if both are provided.
15297
+ # @param [String] user_ip
15298
+ # IP address of the site where the request originates. Use this if you want to
15299
+ # enforce per-user limits.
15300
+ # @param [Google::Apis::RequestOptions] options
15301
+ # Request-specific options
15302
+ #
15303
+ # @yield [result, err] Result & error if block supplied
15304
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
15305
+ # @yieldparam err [StandardError] error object if request failed
15306
+ #
15307
+ # @return [Google::Apis::ComputeBeta::Operation]
15308
+ #
15309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15312
+ def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15313
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
15314
+ command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
15315
+ command.request_object = security_policy_rule_object
15316
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
15317
+ command.response_class = Google::Apis::ComputeBeta::Operation
15318
+ command.params['project'] = project unless project.nil?
15319
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
15320
+ command.query['fields'] = fields unless fields.nil?
15321
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15322
+ command.query['userIp'] = user_ip unless user_ip.nil?
15323
+ execute_or_queue_command(command, &block)
15324
+ end
15325
+
15067
15326
  # Deletes the specified policy.
15068
15327
  # @param [String] project
15069
15328
  # Project ID for this request.
@@ -15152,6 +15411,47 @@ module Google
15152
15411
  execute_or_queue_command(command, &block)
15153
15412
  end
15154
15413
 
15414
+ # Gets a rule at the specified priority.
15415
+ # @param [String] project
15416
+ # Project ID for this request.
15417
+ # @param [String] security_policy
15418
+ # Name of the security policy to which the queried rule belongs.
15419
+ # @param [Fixnum] priority
15420
+ # The priority of the rule to get from the security policy.
15421
+ # @param [String] fields
15422
+ # Selector specifying which fields to include in a partial response.
15423
+ # @param [String] quota_user
15424
+ # Available to use for quota purposes for server-side applications. Can be any
15425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15426
+ # Overrides userIp if both are provided.
15427
+ # @param [String] user_ip
15428
+ # IP address of the site where the request originates. Use this if you want to
15429
+ # enforce per-user limits.
15430
+ # @param [Google::Apis::RequestOptions] options
15431
+ # Request-specific options
15432
+ #
15433
+ # @yield [result, err] Result & error if block supplied
15434
+ # @yieldparam result [Google::Apis::ComputeBeta::SecurityPolicyRule] parsed result object
15435
+ # @yieldparam err [StandardError] error object if request failed
15436
+ #
15437
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyRule]
15438
+ #
15439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15442
+ def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15443
+ command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options)
15444
+ command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
15445
+ command.response_class = Google::Apis::ComputeBeta::SecurityPolicyRule
15446
+ command.params['project'] = project unless project.nil?
15447
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
15448
+ command.query['priority'] = priority unless priority.nil?
15449
+ command.query['fields'] = fields unless fields.nil?
15450
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15451
+ command.query['userIp'] = user_ip unless user_ip.nil?
15452
+ execute_or_queue_command(command, &block)
15453
+ end
15454
+
15155
15455
  # Creates a new policy in the specified project using the data included in the
15156
15456
  # request.
15157
15457
  # @param [String] project
@@ -15332,13 +15632,98 @@ module Google
15332
15632
  execute_or_queue_command(command, &block)
15333
15633
  end
15334
15634
 
15335
- # Returns permissions that a caller has on the specified resource.
15635
+ # Patches a rule at the specified priority.
15336
15636
  # @param [String] project
15337
15637
  # Project ID for this request.
15338
- # @param [String] resource
15339
- # Name of the resource for this request.
15340
- # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
15341
- # @param [String] fields
15638
+ # @param [String] security_policy
15639
+ # Name of the security policy to update.
15640
+ # @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
15641
+ # @param [Fixnum] priority
15642
+ # The priority of the rule to patch.
15643
+ # @param [String] fields
15644
+ # Selector specifying which fields to include in a partial response.
15645
+ # @param [String] quota_user
15646
+ # Available to use for quota purposes for server-side applications. Can be any
15647
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15648
+ # Overrides userIp if both are provided.
15649
+ # @param [String] user_ip
15650
+ # IP address of the site where the request originates. Use this if you want to
15651
+ # enforce per-user limits.
15652
+ # @param [Google::Apis::RequestOptions] options
15653
+ # Request-specific options
15654
+ #
15655
+ # @yield [result, err] Result & error if block supplied
15656
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
15657
+ # @yieldparam err [StandardError] error object if request failed
15658
+ #
15659
+ # @return [Google::Apis::ComputeBeta::Operation]
15660
+ #
15661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15664
+ def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15665
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
15666
+ command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
15667
+ command.request_object = security_policy_rule_object
15668
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
15669
+ command.response_class = Google::Apis::ComputeBeta::Operation
15670
+ command.params['project'] = project unless project.nil?
15671
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
15672
+ command.query['priority'] = priority unless priority.nil?
15673
+ command.query['fields'] = fields unless fields.nil?
15674
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15675
+ command.query['userIp'] = user_ip unless user_ip.nil?
15676
+ execute_or_queue_command(command, &block)
15677
+ end
15678
+
15679
+ # Deletes a rule at the specified priority.
15680
+ # @param [String] project
15681
+ # Project ID for this request.
15682
+ # @param [String] security_policy
15683
+ # Name of the security policy to update.
15684
+ # @param [Fixnum] priority
15685
+ # The priority of the rule to remove from the security policy.
15686
+ # @param [String] fields
15687
+ # Selector specifying which fields to include in a partial response.
15688
+ # @param [String] quota_user
15689
+ # Available to use for quota purposes for server-side applications. Can be any
15690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15691
+ # Overrides userIp if both are provided.
15692
+ # @param [String] user_ip
15693
+ # IP address of the site where the request originates. Use this if you want to
15694
+ # enforce per-user limits.
15695
+ # @param [Google::Apis::RequestOptions] options
15696
+ # Request-specific options
15697
+ #
15698
+ # @yield [result, err] Result & error if block supplied
15699
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
15700
+ # @yieldparam err [StandardError] error object if request failed
15701
+ #
15702
+ # @return [Google::Apis::ComputeBeta::Operation]
15703
+ #
15704
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15705
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15706
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15707
+ def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15708
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options)
15709
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
15710
+ command.response_class = Google::Apis::ComputeBeta::Operation
15711
+ command.params['project'] = project unless project.nil?
15712
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
15713
+ command.query['priority'] = priority unless priority.nil?
15714
+ command.query['fields'] = fields unless fields.nil?
15715
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15716
+ command.query['userIp'] = user_ip unless user_ip.nil?
15717
+ execute_or_queue_command(command, &block)
15718
+ end
15719
+
15720
+ # Returns permissions that a caller has on the specified resource.
15721
+ # @param [String] project
15722
+ # Project ID for this request.
15723
+ # @param [String] resource
15724
+ # Name of the resource for this request.
15725
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
15726
+ # @param [String] fields
15342
15727
  # Selector specifying which fields to include in a partial response.
15343
15728
  # @param [String] quota_user
15344
15729
  # Available to use for quota purposes for server-side applications. Can be any
@@ -15833,10 +16218,400 @@ module Google
15833
16218
  command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation
15834
16219
  command.response_class = Google::Apis::ComputeBeta::SslCertificateList
15835
16220
  command.params['project'] = project unless project.nil?
15836
- command.query['filter'] = filter unless filter.nil?
15837
- command.query['maxResults'] = max_results unless max_results.nil?
15838
- command.query['orderBy'] = order_by unless order_by.nil?
15839
- command.query['pageToken'] = page_token unless page_token.nil?
16221
+ command.query['filter'] = filter unless filter.nil?
16222
+ command.query['maxResults'] = max_results unless max_results.nil?
16223
+ command.query['orderBy'] = order_by unless order_by.nil?
16224
+ command.query['pageToken'] = page_token unless page_token.nil?
16225
+ command.query['fields'] = fields unless fields.nil?
16226
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16227
+ command.query['userIp'] = user_ip unless user_ip.nil?
16228
+ execute_or_queue_command(command, &block)
16229
+ end
16230
+
16231
+ # Returns permissions that a caller has on the specified resource.
16232
+ # @param [String] project
16233
+ # Project ID for this request.
16234
+ # @param [String] resource
16235
+ # Name of the resource for this request.
16236
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
16237
+ # @param [String] fields
16238
+ # Selector specifying which fields to include in a partial response.
16239
+ # @param [String] quota_user
16240
+ # Available to use for quota purposes for server-side applications. Can be any
16241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16242
+ # Overrides userIp if both are provided.
16243
+ # @param [String] user_ip
16244
+ # IP address of the site where the request originates. Use this if you want to
16245
+ # enforce per-user limits.
16246
+ # @param [Google::Apis::RequestOptions] options
16247
+ # Request-specific options
16248
+ #
16249
+ # @yield [result, err] Result & error if block supplied
16250
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
16251
+ # @yieldparam err [StandardError] error object if request failed
16252
+ #
16253
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
16254
+ #
16255
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16256
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16257
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16258
+ def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16259
+ command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', options)
16260
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
16261
+ command.request_object = test_permissions_request_object
16262
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
16263
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
16264
+ command.params['project'] = project unless project.nil?
16265
+ command.params['resource'] = resource unless resource.nil?
16266
+ command.query['fields'] = fields unless fields.nil?
16267
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16268
+ command.query['userIp'] = user_ip unless user_ip.nil?
16269
+ execute_or_queue_command(command, &block)
16270
+ end
16271
+
16272
+ # Deletes the specified SSL policy. The SSL policy resource can be deleted only
16273
+ # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
16274
+ # @param [String] project
16275
+ # Project ID for this request.
16276
+ # @param [String] ssl_policy
16277
+ # Name of the SSL policy to delete. The name must be 1-63 characters long, and
16278
+ # comply with RFC1035.
16279
+ # @param [String] request_id
16280
+ # An optional request ID to identify requests. Specify a unique request ID so
16281
+ # that if you must retry your request, the server will know to ignore the
16282
+ # request if it has already been completed.
16283
+ # For example, consider a situation where you make an initial request and the
16284
+ # request times out. If you make the request again with the same request ID, the
16285
+ # server can check if original operation with the same request ID was received,
16286
+ # and if so, will ignore the second request. This prevents clients from
16287
+ # accidentally creating duplicate commitments.
16288
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16289
+ # supported (00000000-0000-0000-0000-000000000000).
16290
+ # @param [String] fields
16291
+ # Selector specifying which fields to include in a partial response.
16292
+ # @param [String] quota_user
16293
+ # Available to use for quota purposes for server-side applications. Can be any
16294
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16295
+ # Overrides userIp if both are provided.
16296
+ # @param [String] user_ip
16297
+ # IP address of the site where the request originates. Use this if you want to
16298
+ # enforce per-user limits.
16299
+ # @param [Google::Apis::RequestOptions] options
16300
+ # Request-specific options
16301
+ #
16302
+ # @yield [result, err] Result & error if block supplied
16303
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
16304
+ # @yieldparam err [StandardError] error object if request failed
16305
+ #
16306
+ # @return [Google::Apis::ComputeBeta::Operation]
16307
+ #
16308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16311
+ def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16312
+ command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options)
16313
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
16314
+ command.response_class = Google::Apis::ComputeBeta::Operation
16315
+ command.params['project'] = project unless project.nil?
16316
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
16317
+ command.query['requestId'] = request_id unless request_id.nil?
16318
+ command.query['fields'] = fields unless fields.nil?
16319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16320
+ command.query['userIp'] = user_ip unless user_ip.nil?
16321
+ execute_or_queue_command(command, &block)
16322
+ end
16323
+
16324
+ # List all of the ordered rules present in a single specified policy.
16325
+ # @param [String] project
16326
+ # Project ID for this request.
16327
+ # @param [String] ssl_policy
16328
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
16329
+ # comply with RFC1035.
16330
+ # @param [String] fields
16331
+ # Selector specifying which fields to include in a partial response.
16332
+ # @param [String] quota_user
16333
+ # Available to use for quota purposes for server-side applications. Can be any
16334
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16335
+ # Overrides userIp if both are provided.
16336
+ # @param [String] user_ip
16337
+ # IP address of the site where the request originates. Use this if you want to
16338
+ # enforce per-user limits.
16339
+ # @param [Google::Apis::RequestOptions] options
16340
+ # Request-specific options
16341
+ #
16342
+ # @yield [result, err] Result & error if block supplied
16343
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPolicy] parsed result object
16344
+ # @yieldparam err [StandardError] error object if request failed
16345
+ #
16346
+ # @return [Google::Apis::ComputeBeta::SslPolicy]
16347
+ #
16348
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16349
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16350
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16351
+ def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16352
+ command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options)
16353
+ command.response_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
16354
+ command.response_class = Google::Apis::ComputeBeta::SslPolicy
16355
+ command.params['project'] = project unless project.nil?
16356
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
16357
+ command.query['fields'] = fields unless fields.nil?
16358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16359
+ command.query['userIp'] = user_ip unless user_ip.nil?
16360
+ execute_or_queue_command(command, &block)
16361
+ end
16362
+
16363
+ # Returns the specified SSL policy resource. Get a list of available SSL
16364
+ # policies by making a list() request.
16365
+ # @param [String] project
16366
+ # Project ID for this request.
16367
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
16368
+ # @param [String] request_id
16369
+ # An optional request ID to identify requests. Specify a unique request ID so
16370
+ # that if you must retry your request, the server will know to ignore the
16371
+ # request if it has already been completed.
16372
+ # For example, consider a situation where you make an initial request and the
16373
+ # request times out. If you make the request again with the same request ID, the
16374
+ # server can check if original operation with the same request ID was received,
16375
+ # and if so, will ignore the second request. This prevents clients from
16376
+ # accidentally creating duplicate commitments.
16377
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16378
+ # supported (00000000-0000-0000-0000-000000000000).
16379
+ # @param [String] fields
16380
+ # Selector specifying which fields to include in a partial response.
16381
+ # @param [String] quota_user
16382
+ # Available to use for quota purposes for server-side applications. Can be any
16383
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16384
+ # Overrides userIp if both are provided.
16385
+ # @param [String] user_ip
16386
+ # IP address of the site where the request originates. Use this if you want to
16387
+ # enforce per-user limits.
16388
+ # @param [Google::Apis::RequestOptions] options
16389
+ # Request-specific options
16390
+ #
16391
+ # @yield [result, err] Result & error if block supplied
16392
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
16393
+ # @yieldparam err [StandardError] error object if request failed
16394
+ #
16395
+ # @return [Google::Apis::ComputeBeta::Operation]
16396
+ #
16397
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16398
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16399
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16400
+ def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16401
+ command = make_simple_command(:post, '{project}/global/sslPolicies', options)
16402
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
16403
+ command.request_object = ssl_policy_object
16404
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
16405
+ command.response_class = Google::Apis::ComputeBeta::Operation
16406
+ command.params['project'] = project unless project.nil?
16407
+ command.query['requestId'] = request_id unless request_id.nil?
16408
+ command.query['fields'] = fields unless fields.nil?
16409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16410
+ command.query['userIp'] = user_ip unless user_ip.nil?
16411
+ execute_or_queue_command(command, &block)
16412
+ end
16413
+
16414
+ # List all the SSL policies that have been configured for the specified project.
16415
+ # @param [String] project
16416
+ # Project ID for this request.
16417
+ # @param [String] filter
16418
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
16419
+ # must be in the format: field_name comparison_string literal_string.
16420
+ # The field_name is the name of the field you want to compare. Only atomic field
16421
+ # types are supported (string, number, boolean). The comparison_string must be
16422
+ # either eq (equals) or ne (not equals). The literal_string is the string value
16423
+ # to filter to. The literal value must be valid for the type of field you are
16424
+ # filtering by (string, number, boolean). For string fields, the literal value
16425
+ # is interpreted as a regular expression using RE2 syntax. The literal value
16426
+ # must match the entire field.
16427
+ # For example, to filter for instances that do not have a name of example-
16428
+ # instance, you would use name ne example-instance.
16429
+ # You can filter on nested fields. For example, you could filter on instances
16430
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
16431
+ # nested fields to take advantage of labels to organize and search for results
16432
+ # based on label values.
16433
+ # To filter on multiple expressions, provide each separate expression within
16434
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
16435
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
16436
+ # resources must match all expressions to pass the filters.
16437
+ # @param [Fixnum] max_results
16438
+ # The maximum number of results per page that should be returned. If the number
16439
+ # of available results is larger than maxResults, Compute Engine returns a
16440
+ # nextPageToken that can be used to get the next page of results in subsequent
16441
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
16442
+ # @param [String] order_by
16443
+ # Sorts list results by a certain order. By default, results are returned in
16444
+ # alphanumerical order based on the resource name.
16445
+ # You can also sort results in descending order based on the creation timestamp
16446
+ # using orderBy="creationTimestamp desc". This sorts results based on the
16447
+ # creationTimestamp field in reverse chronological order (newest result first).
16448
+ # Use this to sort resources like operations so that the newest operation is
16449
+ # returned first.
16450
+ # Currently, only sorting by name or creationTimestamp desc is supported.
16451
+ # @param [String] page_token
16452
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
16453
+ # a previous list request to get the next page of results.
16454
+ # @param [String] fields
16455
+ # Selector specifying which fields to include in a partial response.
16456
+ # @param [String] quota_user
16457
+ # Available to use for quota purposes for server-side applications. Can be any
16458
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16459
+ # Overrides userIp if both are provided.
16460
+ # @param [String] user_ip
16461
+ # IP address of the site where the request originates. Use this if you want to
16462
+ # enforce per-user limits.
16463
+ # @param [Google::Apis::RequestOptions] options
16464
+ # Request-specific options
16465
+ #
16466
+ # @yield [result, err] Result & error if block supplied
16467
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesList] parsed result object
16468
+ # @yieldparam err [StandardError] error object if request failed
16469
+ #
16470
+ # @return [Google::Apis::ComputeBeta::SslPoliciesList]
16471
+ #
16472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16475
+ def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16476
+ command = make_simple_command(:get, '{project}/global/sslPolicies', options)
16477
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation
16478
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesList
16479
+ command.params['project'] = project unless project.nil?
16480
+ command.query['filter'] = filter unless filter.nil?
16481
+ command.query['maxResults'] = max_results unless max_results.nil?
16482
+ command.query['orderBy'] = order_by unless order_by.nil?
16483
+ command.query['pageToken'] = page_token unless page_token.nil?
16484
+ command.query['fields'] = fields unless fields.nil?
16485
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16486
+ command.query['userIp'] = user_ip unless user_ip.nil?
16487
+ execute_or_queue_command(command, &block)
16488
+ end
16489
+
16490
+ # Lists all features that can be specified in the SSL policy when using custom
16491
+ # profile.
16492
+ # @param [String] project
16493
+ # Project ID for this request.
16494
+ # @param [String] filter
16495
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
16496
+ # must be in the format: field_name comparison_string literal_string.
16497
+ # The field_name is the name of the field you want to compare. Only atomic field
16498
+ # types are supported (string, number, boolean). The comparison_string must be
16499
+ # either eq (equals) or ne (not equals). The literal_string is the string value
16500
+ # to filter to. The literal value must be valid for the type of field you are
16501
+ # filtering by (string, number, boolean). For string fields, the literal value
16502
+ # is interpreted as a regular expression using RE2 syntax. The literal value
16503
+ # must match the entire field.
16504
+ # For example, to filter for instances that do not have a name of example-
16505
+ # instance, you would use name ne example-instance.
16506
+ # You can filter on nested fields. For example, you could filter on instances
16507
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
16508
+ # nested fields to take advantage of labels to organize and search for results
16509
+ # based on label values.
16510
+ # To filter on multiple expressions, provide each separate expression within
16511
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
16512
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
16513
+ # resources must match all expressions to pass the filters.
16514
+ # @param [Fixnum] max_results
16515
+ # The maximum number of results per page that should be returned. If the number
16516
+ # of available results is larger than maxResults, Compute Engine returns a
16517
+ # nextPageToken that can be used to get the next page of results in subsequent
16518
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
16519
+ # @param [String] order_by
16520
+ # Sorts list results by a certain order. By default, results are returned in
16521
+ # alphanumerical order based on the resource name.
16522
+ # You can also sort results in descending order based on the creation timestamp
16523
+ # using orderBy="creationTimestamp desc". This sorts results based on the
16524
+ # creationTimestamp field in reverse chronological order (newest result first).
16525
+ # Use this to sort resources like operations so that the newest operation is
16526
+ # returned first.
16527
+ # Currently, only sorting by name or creationTimestamp desc is supported.
16528
+ # @param [String] page_token
16529
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
16530
+ # a previous list request to get the next page of results.
16531
+ # @param [String] fields
16532
+ # Selector specifying which fields to include in a partial response.
16533
+ # @param [String] quota_user
16534
+ # Available to use for quota purposes for server-side applications. Can be any
16535
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16536
+ # Overrides userIp if both are provided.
16537
+ # @param [String] user_ip
16538
+ # IP address of the site where the request originates. Use this if you want to
16539
+ # enforce per-user limits.
16540
+ # @param [Google::Apis::RequestOptions] options
16541
+ # Request-specific options
16542
+ #
16543
+ # @yield [result, err] Result & error if block supplied
16544
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse] parsed result object
16545
+ # @yieldparam err [StandardError] error object if request failed
16546
+ #
16547
+ # @return [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse]
16548
+ #
16549
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16550
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16551
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16552
+ def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16553
+ command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options)
16554
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation
16555
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse
16556
+ command.params['project'] = project unless project.nil?
16557
+ command.query['filter'] = filter unless filter.nil?
16558
+ command.query['maxResults'] = max_results unless max_results.nil?
16559
+ command.query['orderBy'] = order_by unless order_by.nil?
16560
+ command.query['pageToken'] = page_token unless page_token.nil?
16561
+ command.query['fields'] = fields unless fields.nil?
16562
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16563
+ command.query['userIp'] = user_ip unless user_ip.nil?
16564
+ execute_or_queue_command(command, &block)
16565
+ end
16566
+
16567
+ # Patches the specified SSL policy with the data included in the request.
16568
+ # @param [String] project
16569
+ # Project ID for this request.
16570
+ # @param [String] ssl_policy
16571
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
16572
+ # comply with RFC1035.
16573
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
16574
+ # @param [String] request_id
16575
+ # An optional request ID to identify requests. Specify a unique request ID so
16576
+ # that if you must retry your request, the server will know to ignore the
16577
+ # request if it has already been completed.
16578
+ # For example, consider a situation where you make an initial request and the
16579
+ # request times out. If you make the request again with the same request ID, the
16580
+ # server can check if original operation with the same request ID was received,
16581
+ # and if so, will ignore the second request. This prevents clients from
16582
+ # accidentally creating duplicate commitments.
16583
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16584
+ # supported (00000000-0000-0000-0000-000000000000).
16585
+ # @param [String] fields
16586
+ # Selector specifying which fields to include in a partial response.
16587
+ # @param [String] quota_user
16588
+ # Available to use for quota purposes for server-side applications. Can be any
16589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16590
+ # Overrides userIp if both are provided.
16591
+ # @param [String] user_ip
16592
+ # IP address of the site where the request originates. Use this if you want to
16593
+ # enforce per-user limits.
16594
+ # @param [Google::Apis::RequestOptions] options
16595
+ # Request-specific options
16596
+ #
16597
+ # @yield [result, err] Result & error if block supplied
16598
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
16599
+ # @yieldparam err [StandardError] error object if request failed
16600
+ #
16601
+ # @return [Google::Apis::ComputeBeta::Operation]
16602
+ #
16603
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16604
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16605
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16606
+ def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16607
+ command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options)
16608
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
16609
+ command.request_object = ssl_policy_object
16610
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
16611
+ command.response_class = Google::Apis::ComputeBeta::Operation
16612
+ command.params['project'] = project unless project.nil?
16613
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
16614
+ command.query['requestId'] = request_id unless request_id.nil?
15840
16615
  command.query['fields'] = fields unless fields.nil?
15841
16616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15842
16617
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -15870,8 +16645,8 @@ module Google
15870
16645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15871
16646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15872
16647
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15873
- def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15874
- command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', options)
16648
+ def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16649
+ command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options)
15875
16650
  command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
15876
16651
  command.request_object = test_permissions_request_object
15877
16652
  command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
@@ -17020,6 +17795,60 @@ module Google
17020
17795
  execute_or_queue_command(command, &block)
17021
17796
  end
17022
17797
 
17798
+ # Sets the QUIC override policy for TargetHttpsProxy.
17799
+ # @param [String] project
17800
+ # Project ID for this request.
17801
+ # @param [String] target_https_proxy
17802
+ # Name of the TargetHttpsProxy resource to set the QUIC override policy for. The
17803
+ # name should conform to RFC1035.
17804
+ # @param [Google::Apis::ComputeBeta::TargetHttpsProxiesSetQuicOverrideRequest] target_https_proxies_set_quic_override_request_object
17805
+ # @param [String] request_id
17806
+ # An optional request ID to identify requests. Specify a unique request ID so
17807
+ # that if you must retry your request, the server will know to ignore the
17808
+ # request if it has already been completed.
17809
+ # For example, consider a situation where you make an initial request and the
17810
+ # request times out. If you make the request again with the same request ID, the
17811
+ # server can check if original operation with the same request ID was received,
17812
+ # and if so, will ignore the second request. This prevents clients from
17813
+ # accidentally creating duplicate commitments.
17814
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17815
+ # supported (00000000-0000-0000-0000-000000000000).
17816
+ # @param [String] fields
17817
+ # Selector specifying which fields to include in a partial response.
17818
+ # @param [String] quota_user
17819
+ # Available to use for quota purposes for server-side applications. Can be any
17820
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17821
+ # Overrides userIp if both are provided.
17822
+ # @param [String] user_ip
17823
+ # IP address of the site where the request originates. Use this if you want to
17824
+ # enforce per-user limits.
17825
+ # @param [Google::Apis::RequestOptions] options
17826
+ # Request-specific options
17827
+ #
17828
+ # @yield [result, err] Result & error if block supplied
17829
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
17830
+ # @yieldparam err [StandardError] error object if request failed
17831
+ #
17832
+ # @return [Google::Apis::ComputeBeta::Operation]
17833
+ #
17834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17837
+ def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17838
+ command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options)
17839
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetQuicOverrideRequest::Representation
17840
+ command.request_object = target_https_proxies_set_quic_override_request_object
17841
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
17842
+ command.response_class = Google::Apis::ComputeBeta::Operation
17843
+ command.params['project'] = project unless project.nil?
17844
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
17845
+ command.query['requestId'] = request_id unless request_id.nil?
17846
+ command.query['fields'] = fields unless fields.nil?
17847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17848
+ command.query['userIp'] = user_ip unless user_ip.nil?
17849
+ execute_or_queue_command(command, &block)
17850
+ end
17851
+
17023
17852
  # Replaces SslCertificates for TargetHttpsProxy.
17024
17853
  # @param [String] project
17025
17854
  # Project ID for this request.
@@ -17073,6 +17902,63 @@ module Google
17073
17902
  execute_or_queue_command(command, &block)
17074
17903
  end
17075
17904
 
17905
+ # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-
17906
+ # side support for SSL features. This affects connections between clients and
17907
+ # the HTTPS proxy load balancer. They do not affect the connection between the
17908
+ # load balancer and the backends.
17909
+ # @param [String] project
17910
+ # Project ID for this request.
17911
+ # @param [String] target_https_proxy
17912
+ # Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name
17913
+ # must be 1-63 characters long, and comply with RFC1035.
17914
+ # @param [Google::Apis::ComputeBeta::SslPolicyReference] ssl_policy_reference_object
17915
+ # @param [String] request_id
17916
+ # An optional request ID to identify requests. Specify a unique request ID so
17917
+ # that if you must retry your request, the server will know to ignore the
17918
+ # request if it has already been completed.
17919
+ # For example, consider a situation where you make an initial request and the
17920
+ # request times out. If you make the request again with the same request ID, the
17921
+ # server can check if original operation with the same request ID was received,
17922
+ # and if so, will ignore the second request. This prevents clients from
17923
+ # accidentally creating duplicate commitments.
17924
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17925
+ # supported (00000000-0000-0000-0000-000000000000).
17926
+ # @param [String] fields
17927
+ # Selector specifying which fields to include in a partial response.
17928
+ # @param [String] quota_user
17929
+ # Available to use for quota purposes for server-side applications. Can be any
17930
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17931
+ # Overrides userIp if both are provided.
17932
+ # @param [String] user_ip
17933
+ # IP address of the site where the request originates. Use this if you want to
17934
+ # enforce per-user limits.
17935
+ # @param [Google::Apis::RequestOptions] options
17936
+ # Request-specific options
17937
+ #
17938
+ # @yield [result, err] Result & error if block supplied
17939
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
17940
+ # @yieldparam err [StandardError] error object if request failed
17941
+ #
17942
+ # @return [Google::Apis::ComputeBeta::Operation]
17943
+ #
17944
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17945
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17946
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17947
+ def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17948
+ command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options)
17949
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation
17950
+ command.request_object = ssl_policy_reference_object
17951
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
17952
+ command.response_class = Google::Apis::ComputeBeta::Operation
17953
+ command.params['project'] = project unless project.nil?
17954
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
17955
+ command.query['requestId'] = request_id unless request_id.nil?
17956
+ command.query['fields'] = fields unless fields.nil?
17957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17958
+ command.query['userIp'] = user_ip unless user_ip.nil?
17959
+ execute_or_queue_command(command, &block)
17960
+ end
17961
+
17076
17962
  # Changes the URL map for TargetHttpsProxy.
17077
17963
  # @param [String] project
17078
17964
  # Project ID for this request.
@@ -18568,6 +19454,63 @@ module Google
18568
19454
  execute_or_queue_command(command, &block)
18569
19455
  end
18570
19456
 
19457
+ # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
19458
+ # side support for SSL features. This affects connections between clients and
19459
+ # the SSL proxy load balancer. They do not affect the connection between the
19460
+ # load balancer and the backends.
19461
+ # @param [String] project
19462
+ # Project ID for this request.
19463
+ # @param [String] target_ssl_proxy
19464
+ # Name of the TargetSslProxy resource whose SSL policy is to be set. The name
19465
+ # must be 1-63 characters long, and comply with RFC1035.
19466
+ # @param [Google::Apis::ComputeBeta::SslPolicyReference] ssl_policy_reference_object
19467
+ # @param [String] request_id
19468
+ # An optional request ID to identify requests. Specify a unique request ID so
19469
+ # that if you must retry your request, the server will know to ignore the
19470
+ # request if it has already been completed.
19471
+ # For example, consider a situation where you make an initial request and the
19472
+ # request times out. If you make the request again with the same request ID, the
19473
+ # server can check if original operation with the same request ID was received,
19474
+ # and if so, will ignore the second request. This prevents clients from
19475
+ # accidentally creating duplicate commitments.
19476
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19477
+ # supported (00000000-0000-0000-0000-000000000000).
19478
+ # @param [String] fields
19479
+ # Selector specifying which fields to include in a partial response.
19480
+ # @param [String] quota_user
19481
+ # Available to use for quota purposes for server-side applications. Can be any
19482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19483
+ # Overrides userIp if both are provided.
19484
+ # @param [String] user_ip
19485
+ # IP address of the site where the request originates. Use this if you want to
19486
+ # enforce per-user limits.
19487
+ # @param [Google::Apis::RequestOptions] options
19488
+ # Request-specific options
19489
+ #
19490
+ # @yield [result, err] Result & error if block supplied
19491
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
19492
+ # @yieldparam err [StandardError] error object if request failed
19493
+ #
19494
+ # @return [Google::Apis::ComputeBeta::Operation]
19495
+ #
19496
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19497
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19498
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19499
+ def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19500
+ command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options)
19501
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation
19502
+ command.request_object = ssl_policy_reference_object
19503
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
19504
+ command.response_class = Google::Apis::ComputeBeta::Operation
19505
+ command.params['project'] = project unless project.nil?
19506
+ command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
19507
+ command.query['requestId'] = request_id unless request_id.nil?
19508
+ command.query['fields'] = fields unless fields.nil?
19509
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19510
+ command.query['userIp'] = user_ip unless user_ip.nil?
19511
+ execute_or_queue_command(command, &block)
19512
+ end
19513
+
18571
19514
  # Returns permissions that a caller has on the specified resource.
18572
19515
  # @param [String] project
18573
19516
  # Project ID for this request.
@@ -19237,6 +20180,63 @@ module Google
19237
20180
  execute_or_queue_command(command, &block)
19238
20181
  end
19239
20182
 
20183
+ # Sets the labels on a TargetVpnGateway. To learn more about labels, read the
20184
+ # Labeling Resources documentation.
20185
+ # @param [String] project
20186
+ # Project ID for this request.
20187
+ # @param [String] region
20188
+ # The region for this request.
20189
+ # @param [String] resource
20190
+ # Name of the resource for this request.
20191
+ # @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
20192
+ # @param [String] request_id
20193
+ # An optional request ID to identify requests. Specify a unique request ID so
20194
+ # that if you must retry your request, the server will know to ignore the
20195
+ # request if it has already been completed.
20196
+ # For example, consider a situation where you make an initial request and the
20197
+ # request times out. If you make the request again with the same request ID, the
20198
+ # server can check if original operation with the same request ID was received,
20199
+ # and if so, will ignore the second request. This prevents clients from
20200
+ # accidentally creating duplicate commitments.
20201
+ # The request ID must be a valid UUID with the exception that zero UUID is not
20202
+ # supported (00000000-0000-0000-0000-000000000000).
20203
+ # @param [String] fields
20204
+ # Selector specifying which fields to include in a partial response.
20205
+ # @param [String] quota_user
20206
+ # Available to use for quota purposes for server-side applications. Can be any
20207
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20208
+ # Overrides userIp if both are provided.
20209
+ # @param [String] user_ip
20210
+ # IP address of the site where the request originates. Use this if you want to
20211
+ # enforce per-user limits.
20212
+ # @param [Google::Apis::RequestOptions] options
20213
+ # Request-specific options
20214
+ #
20215
+ # @yield [result, err] Result & error if block supplied
20216
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
20217
+ # @yieldparam err [StandardError] error object if request failed
20218
+ #
20219
+ # @return [Google::Apis::ComputeBeta::Operation]
20220
+ #
20221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20224
+ def set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20225
+ command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options)
20226
+ command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation
20227
+ command.request_object = region_set_labels_request_object
20228
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
20229
+ command.response_class = Google::Apis::ComputeBeta::Operation
20230
+ command.params['project'] = project unless project.nil?
20231
+ command.params['region'] = region unless region.nil?
20232
+ command.params['resource'] = resource unless resource.nil?
20233
+ command.query['requestId'] = request_id unless request_id.nil?
20234
+ command.query['fields'] = fields unless fields.nil?
20235
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20236
+ command.query['userIp'] = user_ip unless user_ip.nil?
20237
+ execute_or_queue_command(command, &block)
20238
+ end
20239
+
19240
20240
  # Returns permissions that a caller has on the specified resource.
19241
20241
  # @param [String] project
19242
20242
  # Project ID for this request.
@@ -20047,6 +21047,63 @@ module Google
20047
21047
  execute_or_queue_command(command, &block)
20048
21048
  end
20049
21049
 
21050
+ # Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling
21051
+ # Resources documentation.
21052
+ # @param [String] project
21053
+ # Project ID for this request.
21054
+ # @param [String] region
21055
+ # The region for this request.
21056
+ # @param [String] resource
21057
+ # Name of the resource for this request.
21058
+ # @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
21059
+ # @param [String] request_id
21060
+ # An optional request ID to identify requests. Specify a unique request ID so
21061
+ # that if you must retry your request, the server will know to ignore the
21062
+ # request if it has already been completed.
21063
+ # For example, consider a situation where you make an initial request and the
21064
+ # request times out. If you make the request again with the same request ID, the
21065
+ # server can check if original operation with the same request ID was received,
21066
+ # and if so, will ignore the second request. This prevents clients from
21067
+ # accidentally creating duplicate commitments.
21068
+ # The request ID must be a valid UUID with the exception that zero UUID is not
21069
+ # supported (00000000-0000-0000-0000-000000000000).
21070
+ # @param [String] fields
21071
+ # Selector specifying which fields to include in a partial response.
21072
+ # @param [String] quota_user
21073
+ # Available to use for quota purposes for server-side applications. Can be any
21074
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21075
+ # Overrides userIp if both are provided.
21076
+ # @param [String] user_ip
21077
+ # IP address of the site where the request originates. Use this if you want to
21078
+ # enforce per-user limits.
21079
+ # @param [Google::Apis::RequestOptions] options
21080
+ # Request-specific options
21081
+ #
21082
+ # @yield [result, err] Result & error if block supplied
21083
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
21084
+ # @yieldparam err [StandardError] error object if request failed
21085
+ #
21086
+ # @return [Google::Apis::ComputeBeta::Operation]
21087
+ #
21088
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21089
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21090
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21091
+ def set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21092
+ command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options)
21093
+ command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation
21094
+ command.request_object = region_set_labels_request_object
21095
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
21096
+ command.response_class = Google::Apis::ComputeBeta::Operation
21097
+ command.params['project'] = project unless project.nil?
21098
+ command.params['region'] = region unless region.nil?
21099
+ command.params['resource'] = resource unless resource.nil?
21100
+ command.query['requestId'] = request_id unless request_id.nil?
21101
+ command.query['fields'] = fields unless fields.nil?
21102
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21103
+ command.query['userIp'] = user_ip unless user_ip.nil?
21104
+ execute_or_queue_command(command, &block)
21105
+ end
21106
+
20050
21107
  # Returns permissions that a caller has on the specified resource.
20051
21108
  # @param [String] project
20052
21109
  # Project ID for this request.