google-api-client 0.41.0 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +132 -42
- data/generated/google/apis/apigee_v1/representations.rb +16 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +45 -31
- data/generated/google/apis/compute_alpha/service.rb +9 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +262 -31
- data/generated/google/apis/compute_beta/representations.rb +70 -0
- data/generated/google/apis/compute_beta/service.rb +233 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +592 -29
- data/generated/google/apis/compute_v1/representations.rb +182 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +29 -3
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +172 -0
- data/generated/google/apis/content_v2_1/representations.rb +71 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -2
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +4 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1.rb +31 -0
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
|
@@ -1012,6 +1012,36 @@ module Google
|
|
|
1012
1012
|
include Google::Apis::Core::JsonObjectSupport
|
|
1013
1013
|
end
|
|
1014
1014
|
|
|
1015
|
+
class HealthCheckService
|
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1017
|
+
|
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
class HealthCheckServiceReference
|
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
|
+
|
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
class HealthCheckServicesList
|
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1029
|
+
|
|
1030
|
+
class Warning
|
|
1031
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1032
|
+
|
|
1033
|
+
class Datum
|
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1035
|
+
|
|
1036
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1015
1045
|
class HealthChecksAggregatedList
|
|
1016
1046
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1017
1047
|
|
|
@@ -2458,6 +2488,36 @@ module Google
|
|
|
2458
2488
|
include Google::Apis::Core::JsonObjectSupport
|
|
2459
2489
|
end
|
|
2460
2490
|
|
|
2491
|
+
class NotificationEndpoint
|
|
2492
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2493
|
+
|
|
2494
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2495
|
+
end
|
|
2496
|
+
|
|
2497
|
+
class NotificationEndpointGrpcSettings
|
|
2498
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2499
|
+
|
|
2500
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2501
|
+
end
|
|
2502
|
+
|
|
2503
|
+
class NotificationEndpointList
|
|
2504
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2505
|
+
|
|
2506
|
+
class Warning
|
|
2507
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2508
|
+
|
|
2509
|
+
class Datum
|
|
2510
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2511
|
+
|
|
2512
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2513
|
+
end
|
|
2514
|
+
|
|
2515
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2516
|
+
end
|
|
2517
|
+
|
|
2518
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2519
|
+
end
|
|
2520
|
+
|
|
2461
2521
|
class Operation
|
|
2462
2522
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2463
2523
|
|
|
@@ -5208,6 +5268,7 @@ module Google
|
|
|
5208
5268
|
class BackendServiceGroupHealth
|
|
5209
5269
|
# @private
|
|
5210
5270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5271
|
+
hash :annotations, as: 'annotations'
|
|
5211
5272
|
collection :health_status, as: 'healthStatus', class: Google::Apis::ComputeV1::HealthStatus, decorator: Google::Apis::ComputeV1::HealthStatus::Representation
|
|
5212
5273
|
|
|
5213
5274
|
property :kind, as: 'kind'
|
|
@@ -6366,6 +6427,63 @@ module Google
|
|
|
6366
6427
|
end
|
|
6367
6428
|
end
|
|
6368
6429
|
|
|
6430
|
+
class HealthCheckService
|
|
6431
|
+
# @private
|
|
6432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6433
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
6434
|
+
property :description, as: 'description'
|
|
6435
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
6436
|
+
collection :health_checks, as: 'healthChecks'
|
|
6437
|
+
property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
|
|
6438
|
+
property :id, :numeric_string => true, as: 'id'
|
|
6439
|
+
property :kind, as: 'kind'
|
|
6440
|
+
property :name, as: 'name'
|
|
6441
|
+
collection :network_endpoint_groups, as: 'networkEndpointGroups'
|
|
6442
|
+
collection :notification_endpoints, as: 'notificationEndpoints'
|
|
6443
|
+
property :region, as: 'region'
|
|
6444
|
+
property :self_link, as: 'selfLink'
|
|
6445
|
+
end
|
|
6446
|
+
end
|
|
6447
|
+
|
|
6448
|
+
class HealthCheckServiceReference
|
|
6449
|
+
# @private
|
|
6450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6451
|
+
property :health_check_service, as: 'healthCheckService'
|
|
6452
|
+
end
|
|
6453
|
+
end
|
|
6454
|
+
|
|
6455
|
+
class HealthCheckServicesList
|
|
6456
|
+
# @private
|
|
6457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6458
|
+
property :id, as: 'id'
|
|
6459
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::HealthCheckService, decorator: Google::Apis::ComputeV1::HealthCheckService::Representation
|
|
6460
|
+
|
|
6461
|
+
property :kind, as: 'kind'
|
|
6462
|
+
property :next_page_token, as: 'nextPageToken'
|
|
6463
|
+
property :self_link, as: 'selfLink'
|
|
6464
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::HealthCheckServicesList::Warning, decorator: Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Representation
|
|
6465
|
+
|
|
6466
|
+
end
|
|
6467
|
+
|
|
6468
|
+
class Warning
|
|
6469
|
+
# @private
|
|
6470
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6471
|
+
property :code, as: 'code'
|
|
6472
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Datum, decorator: Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Datum::Representation
|
|
6473
|
+
|
|
6474
|
+
property :message, as: 'message'
|
|
6475
|
+
end
|
|
6476
|
+
|
|
6477
|
+
class Datum
|
|
6478
|
+
# @private
|
|
6479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6480
|
+
property :key, as: 'key'
|
|
6481
|
+
property :value, as: 'value'
|
|
6482
|
+
end
|
|
6483
|
+
end
|
|
6484
|
+
end
|
|
6485
|
+
end
|
|
6486
|
+
|
|
6369
6487
|
class HealthChecksAggregatedList
|
|
6370
6488
|
# @private
|
|
6371
6489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -6429,6 +6547,7 @@ module Google
|
|
|
6429
6547
|
class HealthStatus
|
|
6430
6548
|
# @private
|
|
6431
6549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6550
|
+
hash :annotations, as: 'annotations'
|
|
6432
6551
|
property :health_state, as: 'healthState'
|
|
6433
6552
|
property :instance, as: 'instance'
|
|
6434
6553
|
property :ip_address, as: 'ipAddress'
|
|
@@ -6445,6 +6564,8 @@ module Google
|
|
|
6445
6564
|
|
|
6446
6565
|
property :health_check, as: 'healthCheck', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
|
|
6447
6566
|
|
|
6567
|
+
property :health_check_service, as: 'healthCheckService', class: Google::Apis::ComputeV1::HealthCheckServiceReference, decorator: Google::Apis::ComputeV1::HealthCheckServiceReference::Representation
|
|
6568
|
+
|
|
6448
6569
|
property :health_state, as: 'healthState'
|
|
6449
6570
|
end
|
|
6450
6571
|
end
|
|
@@ -8348,6 +8469,7 @@ module Google
|
|
|
8348
8469
|
class NetworkEndpoint
|
|
8349
8470
|
# @private
|
|
8350
8471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8472
|
+
hash :annotations, as: 'annotations'
|
|
8351
8473
|
property :fqdn, as: 'fqdn'
|
|
8352
8474
|
property :instance, as: 'instance'
|
|
8353
8475
|
property :ip_address, as: 'ipAddress'
|
|
@@ -8358,6 +8480,7 @@ module Google
|
|
|
8358
8480
|
class NetworkEndpointGroup
|
|
8359
8481
|
# @private
|
|
8360
8482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8483
|
+
hash :annotations, as: 'annotations'
|
|
8361
8484
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
8362
8485
|
property :default_port, as: 'defaultPort'
|
|
8363
8486
|
property :description, as: 'description'
|
|
@@ -9047,6 +9170,65 @@ module Google
|
|
|
9047
9170
|
end
|
|
9048
9171
|
end
|
|
9049
9172
|
|
|
9173
|
+
class NotificationEndpoint
|
|
9174
|
+
# @private
|
|
9175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9176
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
9177
|
+
property :description, as: 'description'
|
|
9178
|
+
property :grpc_settings, as: 'grpcSettings', class: Google::Apis::ComputeV1::NotificationEndpointGrpcSettings, decorator: Google::Apis::ComputeV1::NotificationEndpointGrpcSettings::Representation
|
|
9179
|
+
|
|
9180
|
+
property :id, :numeric_string => true, as: 'id'
|
|
9181
|
+
property :kind, as: 'kind'
|
|
9182
|
+
property :name, as: 'name'
|
|
9183
|
+
property :region, as: 'region'
|
|
9184
|
+
property :self_link, as: 'selfLink'
|
|
9185
|
+
end
|
|
9186
|
+
end
|
|
9187
|
+
|
|
9188
|
+
class NotificationEndpointGrpcSettings
|
|
9189
|
+
# @private
|
|
9190
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9191
|
+
property :authority, as: 'authority'
|
|
9192
|
+
property :endpoint, as: 'endpoint'
|
|
9193
|
+
property :payload_name, as: 'payloadName'
|
|
9194
|
+
property :resend_interval, as: 'resendInterval', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
|
9195
|
+
|
|
9196
|
+
property :retry_duration_sec, as: 'retryDurationSec'
|
|
9197
|
+
end
|
|
9198
|
+
end
|
|
9199
|
+
|
|
9200
|
+
class NotificationEndpointList
|
|
9201
|
+
# @private
|
|
9202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9203
|
+
property :id, as: 'id'
|
|
9204
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::NotificationEndpoint, decorator: Google::Apis::ComputeV1::NotificationEndpoint::Representation
|
|
9205
|
+
|
|
9206
|
+
property :kind, as: 'kind'
|
|
9207
|
+
property :next_page_token, as: 'nextPageToken'
|
|
9208
|
+
property :self_link, as: 'selfLink'
|
|
9209
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::NotificationEndpointList::Warning, decorator: Google::Apis::ComputeV1::NotificationEndpointList::Warning::Representation
|
|
9210
|
+
|
|
9211
|
+
end
|
|
9212
|
+
|
|
9213
|
+
class Warning
|
|
9214
|
+
# @private
|
|
9215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9216
|
+
property :code, as: 'code'
|
|
9217
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::NotificationEndpointList::Warning::Datum, decorator: Google::Apis::ComputeV1::NotificationEndpointList::Warning::Datum::Representation
|
|
9218
|
+
|
|
9219
|
+
property :message, as: 'message'
|
|
9220
|
+
end
|
|
9221
|
+
|
|
9222
|
+
class Datum
|
|
9223
|
+
# @private
|
|
9224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9225
|
+
property :key, as: 'key'
|
|
9226
|
+
property :value, as: 'value'
|
|
9227
|
+
end
|
|
9228
|
+
end
|
|
9229
|
+
end
|
|
9230
|
+
end
|
|
9231
|
+
|
|
9050
9232
|
class Operation
|
|
9051
9233
|
# @private
|
|
9052
9234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -169,7 +169,8 @@ module Google
|
|
|
169
169
|
execute_or_queue_command(command, &block)
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
-
# Retrieves a list of accelerator types available to the specified
|
|
172
|
+
# Retrieves a list of accelerator types that are available to the specified
|
|
173
|
+
# project.
|
|
173
174
|
# @param [String] project
|
|
174
175
|
# Project ID for this request.
|
|
175
176
|
# @param [String] zone
|
|
@@ -9139,8 +9140,10 @@ module Google
|
|
|
9139
9140
|
execute_or_queue_command(command, &block)
|
|
9140
9141
|
end
|
|
9141
9142
|
|
|
9142
|
-
# Retrieves
|
|
9143
|
-
#
|
|
9143
|
+
# Retrieves a list of resources that refer to the VM instance specified in the
|
|
9144
|
+
# request. For example, if the VM instance is part of a managed instance group,
|
|
9145
|
+
# the referrers list includes the managed instance group. For more information,
|
|
9146
|
+
# read Viewing Referrers to VM Instances.
|
|
9144
9147
|
# @param [String] project
|
|
9145
9148
|
# Project ID for this request.
|
|
9146
9149
|
# @param [String] zone
|
|
@@ -9754,7 +9757,9 @@ module Google
|
|
|
9754
9757
|
execute_or_queue_command(command, &block)
|
|
9755
9758
|
end
|
|
9756
9759
|
|
|
9757
|
-
# Sets an instance's scheduling options.
|
|
9760
|
+
# Sets an instance's scheduling options. You can only call this method on a
|
|
9761
|
+
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
|
9762
|
+
# Instance Life Cycle for more information on the possible instance states.
|
|
9758
9763
|
# @param [String] project
|
|
9759
9764
|
# Project ID for this request.
|
|
9760
9765
|
# @param [String] zone
|
|
@@ -17014,6 +17019,282 @@ module Google
|
|
|
17014
17019
|
execute_or_queue_command(command, &block)
|
|
17015
17020
|
end
|
|
17016
17021
|
|
|
17022
|
+
# Deletes the specified regional HealthCheckService.
|
|
17023
|
+
# @param [String] project
|
|
17024
|
+
# Project ID for this request.
|
|
17025
|
+
# @param [String] region
|
|
17026
|
+
# Name of the region scoping this request.
|
|
17027
|
+
# @param [String] health_check_service
|
|
17028
|
+
# Name of the HealthCheckService to delete. The name must be 1-63 characters
|
|
17029
|
+
# long, and comply with RFC1035.
|
|
17030
|
+
# @param [String] request_id
|
|
17031
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17032
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17033
|
+
# request if it has already been completed.
|
|
17034
|
+
# For example, consider a situation where you make an initial request and the
|
|
17035
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17036
|
+
# server can check if original operation with the same request ID was received,
|
|
17037
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17038
|
+
# accidentally creating duplicate commitments.
|
|
17039
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17040
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17041
|
+
# @param [String] fields
|
|
17042
|
+
# Selector specifying which fields to include in a partial response.
|
|
17043
|
+
# @param [String] quota_user
|
|
17044
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17045
|
+
# characters.
|
|
17046
|
+
# @param [String] user_ip
|
|
17047
|
+
# Deprecated. Please use quotaUser instead.
|
|
17048
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17049
|
+
# Request-specific options
|
|
17050
|
+
#
|
|
17051
|
+
# @yield [result, err] Result & error if block supplied
|
|
17052
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
17053
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17054
|
+
#
|
|
17055
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
17056
|
+
#
|
|
17057
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17058
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17059
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17060
|
+
def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17061
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options)
|
|
17062
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17063
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17064
|
+
command.params['project'] = project unless project.nil?
|
|
17065
|
+
command.params['region'] = region unless region.nil?
|
|
17066
|
+
command.params['healthCheckService'] = health_check_service unless health_check_service.nil?
|
|
17067
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17068
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17069
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17070
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17071
|
+
execute_or_queue_command(command, &block)
|
|
17072
|
+
end
|
|
17073
|
+
|
|
17074
|
+
# Returns the specified regional HealthCheckService resource.
|
|
17075
|
+
# @param [String] project
|
|
17076
|
+
# Project ID for this request.
|
|
17077
|
+
# @param [String] region
|
|
17078
|
+
# Name of the region scoping this request.
|
|
17079
|
+
# @param [String] health_check_service
|
|
17080
|
+
# Name of the HealthCheckService to update. The name must be 1-63 characters
|
|
17081
|
+
# long, and comply with RFC1035.
|
|
17082
|
+
# @param [String] fields
|
|
17083
|
+
# Selector specifying which fields to include in a partial response.
|
|
17084
|
+
# @param [String] quota_user
|
|
17085
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17086
|
+
# characters.
|
|
17087
|
+
# @param [String] user_ip
|
|
17088
|
+
# Deprecated. Please use quotaUser instead.
|
|
17089
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17090
|
+
# Request-specific options
|
|
17091
|
+
#
|
|
17092
|
+
# @yield [result, err] Result & error if block supplied
|
|
17093
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheckService] parsed result object
|
|
17094
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17095
|
+
#
|
|
17096
|
+
# @return [Google::Apis::ComputeV1::HealthCheckService]
|
|
17097
|
+
#
|
|
17098
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17099
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17100
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17101
|
+
def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17102
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options)
|
|
17103
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheckService::Representation
|
|
17104
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheckService
|
|
17105
|
+
command.params['project'] = project unless project.nil?
|
|
17106
|
+
command.params['region'] = region unless region.nil?
|
|
17107
|
+
command.params['healthCheckService'] = health_check_service unless health_check_service.nil?
|
|
17108
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17109
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17110
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17111
|
+
execute_or_queue_command(command, &block)
|
|
17112
|
+
end
|
|
17113
|
+
|
|
17114
|
+
# Creates a regional HealthCheckService resource in the specified project and
|
|
17115
|
+
# region using the data included in the request.
|
|
17116
|
+
# @param [String] project
|
|
17117
|
+
# Project ID for this request.
|
|
17118
|
+
# @param [String] region
|
|
17119
|
+
# Name of the region scoping this request.
|
|
17120
|
+
# @param [Google::Apis::ComputeV1::HealthCheckService] health_check_service_object
|
|
17121
|
+
# @param [String] request_id
|
|
17122
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17123
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17124
|
+
# request if it has already been completed.
|
|
17125
|
+
# For example, consider a situation where you make an initial request and the
|
|
17126
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17127
|
+
# server can check if original operation with the same request ID was received,
|
|
17128
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17129
|
+
# accidentally creating duplicate commitments.
|
|
17130
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17131
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17132
|
+
# @param [String] fields
|
|
17133
|
+
# Selector specifying which fields to include in a partial response.
|
|
17134
|
+
# @param [String] quota_user
|
|
17135
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17136
|
+
# characters.
|
|
17137
|
+
# @param [String] user_ip
|
|
17138
|
+
# Deprecated. Please use quotaUser instead.
|
|
17139
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17140
|
+
# Request-specific options
|
|
17141
|
+
#
|
|
17142
|
+
# @yield [result, err] Result & error if block supplied
|
|
17143
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
17144
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17145
|
+
#
|
|
17146
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
17147
|
+
#
|
|
17148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17151
|
+
def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17152
|
+
command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices', options)
|
|
17153
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheckService::Representation
|
|
17154
|
+
command.request_object = health_check_service_object
|
|
17155
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17156
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17157
|
+
command.params['project'] = project unless project.nil?
|
|
17158
|
+
command.params['region'] = region unless region.nil?
|
|
17159
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17160
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17161
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17162
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17163
|
+
execute_or_queue_command(command, &block)
|
|
17164
|
+
end
|
|
17165
|
+
|
|
17166
|
+
# Lists all the HealthCheckService resources that have been configured for the
|
|
17167
|
+
# specified project in the given region.
|
|
17168
|
+
# @param [String] project
|
|
17169
|
+
# Project ID for this request.
|
|
17170
|
+
# @param [String] region
|
|
17171
|
+
# Name of the region scoping this request.
|
|
17172
|
+
# @param [String] filter
|
|
17173
|
+
# A filter expression that filters resources listed in the response. The
|
|
17174
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
17175
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
17176
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
17177
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
17178
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
|
17179
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
17180
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
|
17181
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
17182
|
+
# on resource labels.
|
|
17183
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
17184
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
|
17185
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
17186
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
|
17187
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
|
17188
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
17189
|
+
# @param [Fixnum] max_results
|
|
17190
|
+
# The maximum number of results per page that should be returned. If the number
|
|
17191
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
17192
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
17193
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
17194
|
+
# @param [String] order_by
|
|
17195
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
17196
|
+
# alphanumerical order based on the resource name.
|
|
17197
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
17198
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
|
17199
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
|
17200
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
17201
|
+
# returned first.
|
|
17202
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
17203
|
+
# @param [String] page_token
|
|
17204
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
17205
|
+
# by a previous list request to get the next page of results.
|
|
17206
|
+
# @param [String] fields
|
|
17207
|
+
# Selector specifying which fields to include in a partial response.
|
|
17208
|
+
# @param [String] quota_user
|
|
17209
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17210
|
+
# characters.
|
|
17211
|
+
# @param [String] user_ip
|
|
17212
|
+
# Deprecated. Please use quotaUser instead.
|
|
17213
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17214
|
+
# Request-specific options
|
|
17215
|
+
#
|
|
17216
|
+
# @yield [result, err] Result & error if block supplied
|
|
17217
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheckServicesList] parsed result object
|
|
17218
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17219
|
+
#
|
|
17220
|
+
# @return [Google::Apis::ComputeV1::HealthCheckServicesList]
|
|
17221
|
+
#
|
|
17222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17225
|
+
def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17226
|
+
command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices', options)
|
|
17227
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheckServicesList::Representation
|
|
17228
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheckServicesList
|
|
17229
|
+
command.params['project'] = project unless project.nil?
|
|
17230
|
+
command.params['region'] = region unless region.nil?
|
|
17231
|
+
command.query['filter'] = filter unless filter.nil?
|
|
17232
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
17233
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
17234
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
17235
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17237
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17238
|
+
execute_or_queue_command(command, &block)
|
|
17239
|
+
end
|
|
17240
|
+
|
|
17241
|
+
# Updates the specified regional HealthCheckService resource with the data
|
|
17242
|
+
# included in the request. This method supports PATCH semantics and uses the
|
|
17243
|
+
# JSON merge patch format and processing rules.
|
|
17244
|
+
# @param [String] project
|
|
17245
|
+
# Project ID for this request.
|
|
17246
|
+
# @param [String] region
|
|
17247
|
+
# Name of the region scoping this request.
|
|
17248
|
+
# @param [String] health_check_service
|
|
17249
|
+
# Name of the HealthCheckService to update. The name must be 1-63 characters
|
|
17250
|
+
# long, and comply with RFC1035.
|
|
17251
|
+
# @param [Google::Apis::ComputeV1::HealthCheckService] health_check_service_object
|
|
17252
|
+
# @param [String] request_id
|
|
17253
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
17254
|
+
# that if you must retry your request, the server will know to ignore the
|
|
17255
|
+
# request if it has already been completed.
|
|
17256
|
+
# For example, consider a situation where you make an initial request and the
|
|
17257
|
+
# request times out. If you make the request again with the same request ID, the
|
|
17258
|
+
# server can check if original operation with the same request ID was received,
|
|
17259
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
17260
|
+
# accidentally creating duplicate commitments.
|
|
17261
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
17262
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
17263
|
+
# @param [String] fields
|
|
17264
|
+
# Selector specifying which fields to include in a partial response.
|
|
17265
|
+
# @param [String] quota_user
|
|
17266
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
17267
|
+
# characters.
|
|
17268
|
+
# @param [String] user_ip
|
|
17269
|
+
# Deprecated. Please use quotaUser instead.
|
|
17270
|
+
# @param [Google::Apis::RequestOptions] options
|
|
17271
|
+
# Request-specific options
|
|
17272
|
+
#
|
|
17273
|
+
# @yield [result, err] Result & error if block supplied
|
|
17274
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
17275
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
17276
|
+
#
|
|
17277
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
17278
|
+
#
|
|
17279
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
17280
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
17281
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
17282
|
+
def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
17283
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options)
|
|
17284
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheckService::Representation
|
|
17285
|
+
command.request_object = health_check_service_object
|
|
17286
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
17287
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
17288
|
+
command.params['project'] = project unless project.nil?
|
|
17289
|
+
command.params['region'] = region unless region.nil?
|
|
17290
|
+
command.params['healthCheckService'] = health_check_service unless health_check_service.nil?
|
|
17291
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
17292
|
+
command.query['fields'] = fields unless fields.nil?
|
|
17293
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
17294
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
17295
|
+
execute_or_queue_command(command, &block)
|
|
17296
|
+
end
|
|
17297
|
+
|
|
17017
17298
|
# Deletes the specified HealthCheck resource.
|
|
17018
17299
|
# @param [String] project
|
|
17019
17300
|
# Project ID for this request.
|
|
@@ -18498,6 +18779,222 @@ module Google
|
|
|
18498
18779
|
execute_or_queue_command(command, &block)
|
|
18499
18780
|
end
|
|
18500
18781
|
|
|
18782
|
+
# Deletes the specified NotificationEndpoint in the given region
|
|
18783
|
+
# @param [String] project
|
|
18784
|
+
# Project ID for this request.
|
|
18785
|
+
# @param [String] region
|
|
18786
|
+
# Name of the region scoping this request.
|
|
18787
|
+
# @param [String] notification_endpoint
|
|
18788
|
+
# Name of the NotificationEndpoint resource to delete.
|
|
18789
|
+
# @param [String] request_id
|
|
18790
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18791
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18792
|
+
# request if it has already been completed.
|
|
18793
|
+
# For example, consider a situation where you make an initial request and the
|
|
18794
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18795
|
+
# server can check if original operation with the same request ID was received,
|
|
18796
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18797
|
+
# accidentally creating duplicate commitments.
|
|
18798
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18799
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18800
|
+
# @param [String] fields
|
|
18801
|
+
# Selector specifying which fields to include in a partial response.
|
|
18802
|
+
# @param [String] quota_user
|
|
18803
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18804
|
+
# characters.
|
|
18805
|
+
# @param [String] user_ip
|
|
18806
|
+
# Deprecated. Please use quotaUser instead.
|
|
18807
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18808
|
+
# Request-specific options
|
|
18809
|
+
#
|
|
18810
|
+
# @yield [result, err] Result & error if block supplied
|
|
18811
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
18812
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18813
|
+
#
|
|
18814
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
18815
|
+
#
|
|
18816
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18817
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18818
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18819
|
+
def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18820
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options)
|
|
18821
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18822
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18823
|
+
command.params['project'] = project unless project.nil?
|
|
18824
|
+
command.params['region'] = region unless region.nil?
|
|
18825
|
+
command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil?
|
|
18826
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18827
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18829
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18830
|
+
execute_or_queue_command(command, &block)
|
|
18831
|
+
end
|
|
18832
|
+
|
|
18833
|
+
# Returns the specified NotificationEndpoint resource in the given region.
|
|
18834
|
+
# @param [String] project
|
|
18835
|
+
# Project ID for this request.
|
|
18836
|
+
# @param [String] region
|
|
18837
|
+
# Name of the region scoping this request.
|
|
18838
|
+
# @param [String] notification_endpoint
|
|
18839
|
+
# Name of the NotificationEndpoint resource to return.
|
|
18840
|
+
# @param [String] fields
|
|
18841
|
+
# Selector specifying which fields to include in a partial response.
|
|
18842
|
+
# @param [String] quota_user
|
|
18843
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18844
|
+
# characters.
|
|
18845
|
+
# @param [String] user_ip
|
|
18846
|
+
# Deprecated. Please use quotaUser instead.
|
|
18847
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18848
|
+
# Request-specific options
|
|
18849
|
+
#
|
|
18850
|
+
# @yield [result, err] Result & error if block supplied
|
|
18851
|
+
# @yieldparam result [Google::Apis::ComputeV1::NotificationEndpoint] parsed result object
|
|
18852
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18853
|
+
#
|
|
18854
|
+
# @return [Google::Apis::ComputeV1::NotificationEndpoint]
|
|
18855
|
+
#
|
|
18856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18859
|
+
def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18860
|
+
command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options)
|
|
18861
|
+
command.response_representation = Google::Apis::ComputeV1::NotificationEndpoint::Representation
|
|
18862
|
+
command.response_class = Google::Apis::ComputeV1::NotificationEndpoint
|
|
18863
|
+
command.params['project'] = project unless project.nil?
|
|
18864
|
+
command.params['region'] = region unless region.nil?
|
|
18865
|
+
command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil?
|
|
18866
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18867
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18868
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18869
|
+
execute_or_queue_command(command, &block)
|
|
18870
|
+
end
|
|
18871
|
+
|
|
18872
|
+
# Create a NotificationEndpoint in the specified project in the given region
|
|
18873
|
+
# using the parameters that are included in the request.
|
|
18874
|
+
# @param [String] project
|
|
18875
|
+
# Project ID for this request.
|
|
18876
|
+
# @param [String] region
|
|
18877
|
+
# Name of the region scoping this request.
|
|
18878
|
+
# @param [Google::Apis::ComputeV1::NotificationEndpoint] notification_endpoint_object
|
|
18879
|
+
# @param [String] request_id
|
|
18880
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
18881
|
+
# that if you must retry your request, the server will know to ignore the
|
|
18882
|
+
# request if it has already been completed.
|
|
18883
|
+
# For example, consider a situation where you make an initial request and the
|
|
18884
|
+
# request times out. If you make the request again with the same request ID, the
|
|
18885
|
+
# server can check if original operation with the same request ID was received,
|
|
18886
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
18887
|
+
# accidentally creating duplicate commitments.
|
|
18888
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
18889
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
18890
|
+
# @param [String] fields
|
|
18891
|
+
# Selector specifying which fields to include in a partial response.
|
|
18892
|
+
# @param [String] quota_user
|
|
18893
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18894
|
+
# characters.
|
|
18895
|
+
# @param [String] user_ip
|
|
18896
|
+
# Deprecated. Please use quotaUser instead.
|
|
18897
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18898
|
+
# Request-specific options
|
|
18899
|
+
#
|
|
18900
|
+
# @yield [result, err] Result & error if block supplied
|
|
18901
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
18902
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18903
|
+
#
|
|
18904
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
18905
|
+
#
|
|
18906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18909
|
+
def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18910
|
+
command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints', options)
|
|
18911
|
+
command.request_representation = Google::Apis::ComputeV1::NotificationEndpoint::Representation
|
|
18912
|
+
command.request_object = notification_endpoint_object
|
|
18913
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
18914
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
18915
|
+
command.params['project'] = project unless project.nil?
|
|
18916
|
+
command.params['region'] = region unless region.nil?
|
|
18917
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
18918
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18919
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18920
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18921
|
+
execute_or_queue_command(command, &block)
|
|
18922
|
+
end
|
|
18923
|
+
|
|
18924
|
+
# Lists the NotificationEndpoints for a project in the given region.
|
|
18925
|
+
# @param [String] project
|
|
18926
|
+
# Project ID for this request.
|
|
18927
|
+
# @param [String] region
|
|
18928
|
+
# Name of the region scoping this request.
|
|
18929
|
+
# @param [String] filter
|
|
18930
|
+
# A filter expression that filters resources listed in the response. The
|
|
18931
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
18932
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
18933
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
18934
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
18935
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
|
18936
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
18937
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
|
18938
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
18939
|
+
# on resource labels.
|
|
18940
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
18941
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
|
18942
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
18943
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
|
18944
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
|
18945
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
18946
|
+
# @param [Fixnum] max_results
|
|
18947
|
+
# The maximum number of results per page that should be returned. If the number
|
|
18948
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
18949
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
18950
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
18951
|
+
# @param [String] order_by
|
|
18952
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
18953
|
+
# alphanumerical order based on the resource name.
|
|
18954
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
18955
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
|
18956
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
|
18957
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
18958
|
+
# returned first.
|
|
18959
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
18960
|
+
# @param [String] page_token
|
|
18961
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
18962
|
+
# by a previous list request to get the next page of results.
|
|
18963
|
+
# @param [String] fields
|
|
18964
|
+
# Selector specifying which fields to include in a partial response.
|
|
18965
|
+
# @param [String] quota_user
|
|
18966
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
18967
|
+
# characters.
|
|
18968
|
+
# @param [String] user_ip
|
|
18969
|
+
# Deprecated. Please use quotaUser instead.
|
|
18970
|
+
# @param [Google::Apis::RequestOptions] options
|
|
18971
|
+
# Request-specific options
|
|
18972
|
+
#
|
|
18973
|
+
# @yield [result, err] Result & error if block supplied
|
|
18974
|
+
# @yieldparam result [Google::Apis::ComputeV1::NotificationEndpointList] parsed result object
|
|
18975
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
18976
|
+
#
|
|
18977
|
+
# @return [Google::Apis::ComputeV1::NotificationEndpointList]
|
|
18978
|
+
#
|
|
18979
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
18980
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
18981
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
18982
|
+
def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
18983
|
+
command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints', options)
|
|
18984
|
+
command.response_representation = Google::Apis::ComputeV1::NotificationEndpointList::Representation
|
|
18985
|
+
command.response_class = Google::Apis::ComputeV1::NotificationEndpointList
|
|
18986
|
+
command.params['project'] = project unless project.nil?
|
|
18987
|
+
command.params['region'] = region unless region.nil?
|
|
18988
|
+
command.query['filter'] = filter unless filter.nil?
|
|
18989
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
18990
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
18991
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
18992
|
+
command.query['fields'] = fields unless fields.nil?
|
|
18993
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
18994
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
18995
|
+
execute_or_queue_command(command, &block)
|
|
18996
|
+
end
|
|
18997
|
+
|
|
18501
18998
|
# Deletes the specified region-specific Operations resource.
|
|
18502
18999
|
# @param [String] project
|
|
18503
19000
|
# Project ID for this request.
|