google-api-client 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -50,6 +50,13 @@ module Google
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Lists service operations that match the specified filter in the request.
|
|
53
|
+
# @param [String] name
|
|
54
|
+
# Not used.
|
|
55
|
+
# @param [String] page_token
|
|
56
|
+
# The standard list page token.
|
|
57
|
+
# @param [Fixnum] page_size
|
|
58
|
+
# The maximum number of operations to return. If unspecified, defaults to
|
|
59
|
+
# 50. The maximum value is 100.
|
|
53
60
|
# @param [String] filter
|
|
54
61
|
# A string for filtering Operations.
|
|
55
62
|
# The following filter fields are supported:
|
|
@@ -68,13 +75,6 @@ module Google
|
|
|
68
75
|
# * `serviceName=`some-service`.googleapis.com AND status=done`
|
|
69
76
|
# * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>="
|
|
70
77
|
# 2017-02-01")`
|
|
71
|
-
# @param [String] name
|
|
72
|
-
# Not used.
|
|
73
|
-
# @param [String] page_token
|
|
74
|
-
# The standard list page token.
|
|
75
|
-
# @param [Fixnum] page_size
|
|
76
|
-
# The maximum number of operations to return. If unspecified, defaults to
|
|
77
|
-
# 50. The maximum value is 100.
|
|
78
78
|
# @param [String] fields
|
|
79
79
|
# Selector specifying which fields to include in a partial response.
|
|
80
80
|
# @param [String] quota_user
|
|
@@ -92,14 +92,14 @@ module Google
|
|
|
92
92
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
93
93
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
94
94
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
95
|
-
def list_operations(
|
|
95
|
+
def list_operations(name: nil, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
96
96
|
command = make_simple_command(:get, 'v1/operations', options)
|
|
97
97
|
command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation
|
|
98
98
|
command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse
|
|
99
|
-
command.query['filter'] = filter unless filter.nil?
|
|
100
99
|
command.query['name'] = name unless name.nil?
|
|
101
100
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
102
101
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
102
|
+
command.query['filter'] = filter unless filter.nil?
|
|
103
103
|
command.query['fields'] = fields unless fields.nil?
|
|
104
104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
105
105
|
execute_or_queue_command(command, &block)
|
|
@@ -332,11 +332,11 @@ module Google
|
|
|
332
332
|
# @param [String] service_name
|
|
333
333
|
# The name of the service. See the [overview](/service-management/overview)
|
|
334
334
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
335
|
+
# @param [String] config_id
|
|
336
|
+
# The id of the service configuration resource.
|
|
335
337
|
# @param [String] view
|
|
336
338
|
# Specifies which parts of the Service Config should be returned in the
|
|
337
339
|
# response.
|
|
338
|
-
# @param [String] config_id
|
|
339
|
-
# The id of the service configuration resource.
|
|
340
340
|
# @param [String] fields
|
|
341
341
|
# Selector specifying which fields to include in a partial response.
|
|
342
342
|
# @param [String] quota_user
|
|
@@ -354,26 +354,27 @@ module Google
|
|
|
354
354
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
355
355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
356
356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
357
|
-
def get_service_configuration(service_name,
|
|
357
|
+
def get_service_configuration(service_name, config_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
358
358
|
command = make_simple_command(:get, 'v1/services/{serviceName}/config', options)
|
|
359
359
|
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
360
360
|
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
361
361
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
362
|
-
command.query['view'] = view unless view.nil?
|
|
363
362
|
command.query['configId'] = config_id unless config_id.nil?
|
|
363
|
+
command.query['view'] = view unless view.nil?
|
|
364
364
|
command.query['fields'] = fields unless fields.nil?
|
|
365
365
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
366
366
|
execute_or_queue_command(command, &block)
|
|
367
367
|
end
|
|
368
368
|
|
|
369
|
-
#
|
|
370
|
-
#
|
|
371
|
-
#
|
|
372
|
-
#
|
|
373
|
-
# Operation<response:
|
|
369
|
+
# Enables a service for a project, so it can be used
|
|
370
|
+
# for the project. See
|
|
371
|
+
# [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
|
|
372
|
+
# more information.
|
|
373
|
+
# Operation<response: EnableServiceResponse>
|
|
374
374
|
# @param [String] service_name
|
|
375
|
-
#
|
|
376
|
-
#
|
|
375
|
+
# Name of the service to enable. Specifying an unknown service name will
|
|
376
|
+
# cause the request to fail.
|
|
377
|
+
# @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
|
|
377
378
|
# @param [String] fields
|
|
378
379
|
# Selector specifying which fields to include in a partial response.
|
|
379
380
|
# @param [String] quota_user
|
|
@@ -391,8 +392,10 @@ module Google
|
|
|
391
392
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
392
393
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
393
394
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
394
|
-
def
|
|
395
|
-
command = make_simple_command(:
|
|
395
|
+
def enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
396
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
|
|
397
|
+
command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
|
|
398
|
+
command.request_object = enable_service_request_object
|
|
396
399
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
397
400
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
398
401
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
@@ -401,15 +404,14 @@ module Google
|
|
|
401
404
|
execute_or_queue_command(command, &block)
|
|
402
405
|
end
|
|
403
406
|
|
|
404
|
-
#
|
|
405
|
-
# for
|
|
406
|
-
#
|
|
407
|
-
#
|
|
408
|
-
# Operation<response:
|
|
407
|
+
# Deletes a managed service. This method will change the service to the
|
|
408
|
+
# `Soft-Delete` state for 30 days. Within this period, service producers may
|
|
409
|
+
# call UndeleteService to restore the service.
|
|
410
|
+
# After 30 days, the service will be permanently deleted.
|
|
411
|
+
# Operation<response: google.protobuf.Empty>
|
|
409
412
|
# @param [String] service_name
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
# @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
|
|
413
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
414
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
413
415
|
# @param [String] fields
|
|
414
416
|
# Selector specifying which fields to include in a partial response.
|
|
415
417
|
# @param [String] quota_user
|
|
@@ -427,10 +429,8 @@ module Google
|
|
|
427
429
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
428
430
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
429
431
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
430
|
-
def
|
|
431
|
-
command = make_simple_command(:
|
|
432
|
-
command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
|
|
433
|
-
command.request_object = enable_service_request_object
|
|
432
|
+
def delete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
433
|
+
command = make_simple_command(:delete, 'v1/services/{serviceName}', options)
|
|
434
434
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
435
435
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
436
436
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
@@ -582,15 +582,13 @@ module Google
|
|
|
582
582
|
execute_or_queue_command(command, &block)
|
|
583
583
|
end
|
|
584
584
|
|
|
585
|
-
#
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
# for
|
|
590
|
-
#
|
|
591
|
-
#
|
|
592
|
-
# @param [Fixnum] page_size
|
|
593
|
-
# The max number of items to include in the response list.
|
|
585
|
+
# Gets the access control policy for a resource.
|
|
586
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
|
587
|
+
# set.
|
|
588
|
+
# @param [String] resource
|
|
589
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
590
|
+
# See the operation documentation for the appropriate value for this field.
|
|
591
|
+
# @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
594
592
|
# @param [String] fields
|
|
595
593
|
# Selector specifying which fields to include in a partial response.
|
|
596
594
|
# @param [String] quota_user
|
|
@@ -600,35 +598,32 @@ module Google
|
|
|
600
598
|
# Request-specific options
|
|
601
599
|
#
|
|
602
600
|
# @yield [result, err] Result & error if block supplied
|
|
603
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
601
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
|
|
604
602
|
# @yieldparam err [StandardError] error object if request failed
|
|
605
603
|
#
|
|
606
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
604
|
+
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
607
605
|
#
|
|
608
606
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
609
607
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
610
608
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
611
|
-
def
|
|
612
|
-
command = make_simple_command(:
|
|
613
|
-
command.
|
|
614
|
-
command.
|
|
615
|
-
command.
|
|
616
|
-
command.
|
|
617
|
-
command.
|
|
609
|
+
def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
610
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
611
|
+
command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
|
|
612
|
+
command.request_object = get_iam_policy_request_object
|
|
613
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
614
|
+
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
615
|
+
command.params['resource'] = resource unless resource.nil?
|
|
618
616
|
command.query['fields'] = fields unless fields.nil?
|
|
619
617
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
620
618
|
execute_or_queue_command(command, &block)
|
|
621
619
|
end
|
|
622
620
|
|
|
623
|
-
#
|
|
624
|
-
#
|
|
625
|
-
#
|
|
626
|
-
# for
|
|
627
|
-
#
|
|
628
|
-
#
|
|
629
|
-
# @param [String] view
|
|
630
|
-
# Specifies which parts of the Service Config should be returned in the
|
|
631
|
-
# response.
|
|
621
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
622
|
+
# existing policy.
|
|
623
|
+
# @param [String] resource
|
|
624
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
625
|
+
# See the operation documentation for the appropriate value for this field.
|
|
626
|
+
# @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
632
627
|
# @param [String] fields
|
|
633
628
|
# Selector specifying which fields to include in a partial response.
|
|
634
629
|
# @param [String] quota_user
|
|
@@ -638,34 +633,36 @@ module Google
|
|
|
638
633
|
# Request-specific options
|
|
639
634
|
#
|
|
640
635
|
# @yield [result, err] Result & error if block supplied
|
|
641
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
636
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
|
|
642
637
|
# @yieldparam err [StandardError] error object if request failed
|
|
643
638
|
#
|
|
644
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
639
|
+
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
645
640
|
#
|
|
646
641
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
647
642
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
648
643
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
649
|
-
def
|
|
650
|
-
command = make_simple_command(:
|
|
651
|
-
command.
|
|
652
|
-
command.
|
|
653
|
-
command.
|
|
654
|
-
command.
|
|
655
|
-
command.
|
|
644
|
+
def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
645
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
646
|
+
command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
|
|
647
|
+
command.request_object = set_iam_policy_request_object
|
|
648
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
649
|
+
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
650
|
+
command.params['resource'] = resource unless resource.nil?
|
|
656
651
|
command.query['fields'] = fields unless fields.nil?
|
|
657
652
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
658
653
|
execute_or_queue_command(command, &block)
|
|
659
654
|
end
|
|
660
655
|
|
|
661
|
-
#
|
|
662
|
-
#
|
|
663
|
-
#
|
|
664
|
-
#
|
|
665
|
-
#
|
|
666
|
-
#
|
|
667
|
-
#
|
|
668
|
-
#
|
|
656
|
+
# Returns permissions that a caller has on the specified resource.
|
|
657
|
+
# If the resource does not exist, this will return an empty set of
|
|
658
|
+
# permissions, not a NOT_FOUND error.
|
|
659
|
+
# Note: This operation is designed to be used for building permission-aware
|
|
660
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
|
661
|
+
# may "fail open" without warning.
|
|
662
|
+
# @param [String] resource
|
|
663
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
664
|
+
# See the operation documentation for the appropriate value for this field.
|
|
665
|
+
# @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
669
666
|
# @param [String] fields
|
|
670
667
|
# Selector specifying which fields to include in a partial response.
|
|
671
668
|
# @param [String] quota_user
|
|
@@ -675,38 +672,44 @@ module Google
|
|
|
675
672
|
# Request-specific options
|
|
676
673
|
#
|
|
677
674
|
# @yield [result, err] Result & error if block supplied
|
|
678
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
675
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
|
|
679
676
|
# @yieldparam err [StandardError] error object if request failed
|
|
680
677
|
#
|
|
681
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
678
|
+
# @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
|
|
682
679
|
#
|
|
683
680
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
684
681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
685
682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
686
|
-
def
|
|
687
|
-
command = make_simple_command(:post, 'v1/
|
|
688
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
689
|
-
command.request_object =
|
|
690
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
691
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
692
|
-
command.params['
|
|
683
|
+
def test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
684
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
685
|
+
command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
|
|
686
|
+
command.request_object = test_iam_permissions_request_object
|
|
687
|
+
command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
|
|
688
|
+
command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
|
|
689
|
+
command.params['resource'] = resource unless resource.nil?
|
|
693
690
|
command.query['fields'] = fields unless fields.nil?
|
|
694
691
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
695
692
|
execute_or_queue_command(command, &block)
|
|
696
693
|
end
|
|
697
694
|
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
# user-supplied configuration source files (for example: OpenAPI
|
|
701
|
-
# Specification). This method stores the source configurations as well as the
|
|
702
|
-
# generated service configuration. To rollout the service configuration to
|
|
703
|
-
# other services,
|
|
704
|
-
# please call CreateServiceRollout.
|
|
705
|
-
# Operation<response: SubmitConfigSourceResponse>
|
|
695
|
+
# Lists the history of the service configuration rollouts for a managed
|
|
696
|
+
# service, from the newest to the oldest.
|
|
706
697
|
# @param [String] service_name
|
|
707
698
|
# The name of the service. See the [overview](/service-management/overview)
|
|
708
699
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
709
|
-
# @param [
|
|
700
|
+
# @param [Fixnum] page_size
|
|
701
|
+
# The max number of items to include in the response list.
|
|
702
|
+
# @param [String] filter
|
|
703
|
+
# Use `filter` to return subset of rollouts.
|
|
704
|
+
# The following filters are supported:
|
|
705
|
+
# -- To limit the results to only those in
|
|
706
|
+
# [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
|
|
707
|
+
# use filter='status=SUCCESS'
|
|
708
|
+
# -- To limit the results to those in
|
|
709
|
+
# [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
|
710
|
+
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
|
711
|
+
# @param [String] page_token
|
|
712
|
+
# The token of the page to retrieve.
|
|
710
713
|
# @param [String] fields
|
|
711
714
|
# Selector specifying which fields to include in a partial response.
|
|
712
715
|
# @param [String] quota_user
|
|
@@ -716,36 +719,33 @@ module Google
|
|
|
716
719
|
# Request-specific options
|
|
717
720
|
#
|
|
718
721
|
# @yield [result, err] Result & error if block supplied
|
|
719
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
722
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object
|
|
720
723
|
# @yieldparam err [StandardError] error object if request failed
|
|
721
724
|
#
|
|
722
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
725
|
+
# @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse]
|
|
723
726
|
#
|
|
724
727
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
725
728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
726
729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
727
|
-
def
|
|
728
|
-
command = make_simple_command(:
|
|
729
|
-
command.
|
|
730
|
-
command.
|
|
731
|
-
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
732
|
-
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
730
|
+
def list_service_rollouts(service_name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
731
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
|
|
732
|
+
command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
|
|
733
|
+
command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
|
|
733
734
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
735
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
736
|
+
command.query['filter'] = filter unless filter.nil?
|
|
737
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
734
738
|
command.query['fields'] = fields unless fields.nil?
|
|
735
739
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
736
740
|
execute_or_queue_command(command, &block)
|
|
737
741
|
end
|
|
738
742
|
|
|
739
|
-
#
|
|
740
|
-
#
|
|
741
|
-
#
|
|
742
|
-
#
|
|
743
|
-
#
|
|
744
|
-
#
|
|
745
|
-
# @param [String] resource
|
|
746
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
747
|
-
# See the operation documentation for the appropriate value for this field.
|
|
748
|
-
# @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
743
|
+
# Gets a service configuration rollout.
|
|
744
|
+
# @param [String] service_name
|
|
745
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
746
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
747
|
+
# @param [String] rollout_id
|
|
748
|
+
# The id of the rollout resource.
|
|
749
749
|
# @param [String] fields
|
|
750
750
|
# Selector specifying which fields to include in a partial response.
|
|
751
751
|
# @param [String] quota_user
|
|
@@ -755,33 +755,37 @@ module Google
|
|
|
755
755
|
# Request-specific options
|
|
756
756
|
#
|
|
757
757
|
# @yield [result, err] Result & error if block supplied
|
|
758
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
758
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object
|
|
759
759
|
# @yieldparam err [StandardError] error object if request failed
|
|
760
760
|
#
|
|
761
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
761
|
+
# @return [Google::Apis::ServicemanagementV1::Rollout]
|
|
762
762
|
#
|
|
763
763
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
764
764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
765
765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
766
|
-
def
|
|
767
|
-
command = make_simple_command(:
|
|
768
|
-
command.
|
|
769
|
-
command.
|
|
770
|
-
command.
|
|
771
|
-
command.
|
|
772
|
-
command.params['resource'] = resource unless resource.nil?
|
|
766
|
+
def get_service_rollout(service_name, rollout_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
767
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options)
|
|
768
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
|
|
769
|
+
command.response_class = Google::Apis::ServicemanagementV1::Rollout
|
|
770
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
771
|
+
command.params['rolloutId'] = rollout_id unless rollout_id.nil?
|
|
773
772
|
command.query['fields'] = fields unless fields.nil?
|
|
774
773
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
775
774
|
execute_or_queue_command(command, &block)
|
|
776
775
|
end
|
|
777
776
|
|
|
778
|
-
#
|
|
779
|
-
#
|
|
780
|
-
#
|
|
781
|
-
#
|
|
782
|
-
#
|
|
783
|
-
#
|
|
784
|
-
#
|
|
777
|
+
# Creates a new service configuration rollout. Based on rollout, the
|
|
778
|
+
# Google Service Management will roll out the service configurations to
|
|
779
|
+
# different backend services. For example, the logging configuration will be
|
|
780
|
+
# pushed to Google Cloud Logging.
|
|
781
|
+
# Please note that any previous pending and running Rollouts and associated
|
|
782
|
+
# Operations will be automatically cancelled so that the latest Rollout will
|
|
783
|
+
# not be blocked by previous Rollouts.
|
|
784
|
+
# Operation<response: Rollout>
|
|
785
|
+
# @param [String] service_name
|
|
786
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
787
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
788
|
+
# @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
|
|
785
789
|
# @param [String] fields
|
|
786
790
|
# Selector specifying which fields to include in a partial response.
|
|
787
791
|
# @param [String] quota_user
|
|
@@ -791,32 +795,35 @@ module Google
|
|
|
791
795
|
# Request-specific options
|
|
792
796
|
#
|
|
793
797
|
# @yield [result, err] Result & error if block supplied
|
|
794
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
798
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
795
799
|
# @yieldparam err [StandardError] error object if request failed
|
|
796
800
|
#
|
|
797
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
801
|
+
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
798
802
|
#
|
|
799
803
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
800
804
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
801
805
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
802
|
-
def
|
|
803
|
-
command = make_simple_command(:post, 'v1/{
|
|
804
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
805
|
-
command.request_object =
|
|
806
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
807
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
808
|
-
command.params['
|
|
806
|
+
def create_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
807
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options)
|
|
808
|
+
command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
|
|
809
|
+
command.request_object = rollout_object
|
|
810
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
811
|
+
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
812
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
809
813
|
command.query['fields'] = fields unless fields.nil?
|
|
810
814
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
811
815
|
execute_or_queue_command(command, &block)
|
|
812
816
|
end
|
|
813
817
|
|
|
814
|
-
#
|
|
815
|
-
#
|
|
816
|
-
# @param [String]
|
|
817
|
-
#
|
|
818
|
-
#
|
|
819
|
-
# @param [
|
|
818
|
+
# Lists the history of the service configuration for a managed service,
|
|
819
|
+
# from the newest to the oldest.
|
|
820
|
+
# @param [String] service_name
|
|
821
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
822
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
823
|
+
# @param [String] page_token
|
|
824
|
+
# The token of the page to retrieve.
|
|
825
|
+
# @param [Fixnum] page_size
|
|
826
|
+
# The max number of items to include in the response list.
|
|
820
827
|
# @param [String] fields
|
|
821
828
|
# Selector specifying which fields to include in a partial response.
|
|
822
829
|
# @param [String] quota_user
|
|
@@ -826,44 +833,35 @@ module Google
|
|
|
826
833
|
# Request-specific options
|
|
827
834
|
#
|
|
828
835
|
# @yield [result, err] Result & error if block supplied
|
|
829
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
836
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse] parsed result object
|
|
830
837
|
# @yieldparam err [StandardError] error object if request failed
|
|
831
838
|
#
|
|
832
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
839
|
+
# @return [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse]
|
|
833
840
|
#
|
|
834
841
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
835
842
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
836
843
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
837
|
-
def
|
|
838
|
-
command = make_simple_command(:
|
|
839
|
-
command.
|
|
840
|
-
command.
|
|
841
|
-
command.
|
|
842
|
-
command.
|
|
843
|
-
command.
|
|
844
|
+
def list_service_configs(service_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
845
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options)
|
|
846
|
+
command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation
|
|
847
|
+
command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse
|
|
848
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
849
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
850
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
844
851
|
command.query['fields'] = fields unless fields.nil?
|
|
845
852
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
846
853
|
execute_or_queue_command(command, &block)
|
|
847
854
|
end
|
|
848
855
|
|
|
849
|
-
#
|
|
850
|
-
# service, from the newest to the oldest.
|
|
856
|
+
# Gets a service configuration (version) for a managed service.
|
|
851
857
|
# @param [String] service_name
|
|
852
858
|
# The name of the service. See the [overview](/service-management/overview)
|
|
853
859
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
854
|
-
# @param [String]
|
|
855
|
-
#
|
|
856
|
-
#
|
|
857
|
-
#
|
|
858
|
-
#
|
|
859
|
-
# use filter='status=SUCCESS'
|
|
860
|
-
# -- To limit the results to those in
|
|
861
|
-
# [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
|
862
|
-
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
|
863
|
-
# @param [String] page_token
|
|
864
|
-
# The token of the page to retrieve.
|
|
865
|
-
# @param [Fixnum] page_size
|
|
866
|
-
# The max number of items to include in the response list.
|
|
860
|
+
# @param [String] config_id
|
|
861
|
+
# The id of the service configuration resource.
|
|
862
|
+
# @param [String] view
|
|
863
|
+
# Specifies which parts of the Service Config should be returned in the
|
|
864
|
+
# response.
|
|
867
865
|
# @param [String] fields
|
|
868
866
|
# Selector specifying which fields to include in a partial response.
|
|
869
867
|
# @param [String] quota_user
|
|
@@ -873,33 +871,34 @@ module Google
|
|
|
873
871
|
# Request-specific options
|
|
874
872
|
#
|
|
875
873
|
# @yield [result, err] Result & error if block supplied
|
|
876
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
874
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
|
|
877
875
|
# @yieldparam err [StandardError] error object if request failed
|
|
878
876
|
#
|
|
879
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
877
|
+
# @return [Google::Apis::ServicemanagementV1::Service]
|
|
880
878
|
#
|
|
881
879
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
882
880
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
883
881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
884
|
-
def
|
|
885
|
-
command = make_simple_command(:get, 'v1/services/{serviceName}/
|
|
886
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
887
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
882
|
+
def get_service_config(service_name, config_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
883
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options)
|
|
884
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
885
|
+
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
888
886
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
889
|
-
command.
|
|
890
|
-
command.query['
|
|
891
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
887
|
+
command.params['configId'] = config_id unless config_id.nil?
|
|
888
|
+
command.query['view'] = view unless view.nil?
|
|
892
889
|
command.query['fields'] = fields unless fields.nil?
|
|
893
890
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
894
891
|
execute_or_queue_command(command, &block)
|
|
895
892
|
end
|
|
896
893
|
|
|
897
|
-
#
|
|
894
|
+
# Creates a new service configuration (version) for a managed service.
|
|
895
|
+
# This method only stores the service configuration. To roll out the service
|
|
896
|
+
# configuration to backend systems please call
|
|
897
|
+
# CreateServiceRollout.
|
|
898
898
|
# @param [String] service_name
|
|
899
899
|
# The name of the service. See the [overview](/service-management/overview)
|
|
900
900
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
901
|
-
# @param [
|
|
902
|
-
# The id of the rollout resource.
|
|
901
|
+
# @param [Google::Apis::ServicemanagementV1::Service] service_object
|
|
903
902
|
# @param [String] fields
|
|
904
903
|
# Selector specifying which fields to include in a partial response.
|
|
905
904
|
# @param [String] quota_user
|
|
@@ -909,37 +908,38 @@ module Google
|
|
|
909
908
|
# Request-specific options
|
|
910
909
|
#
|
|
911
910
|
# @yield [result, err] Result & error if block supplied
|
|
912
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
911
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
|
|
913
912
|
# @yieldparam err [StandardError] error object if request failed
|
|
914
913
|
#
|
|
915
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
914
|
+
# @return [Google::Apis::ServicemanagementV1::Service]
|
|
916
915
|
#
|
|
917
916
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
918
917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
919
918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
920
|
-
def
|
|
921
|
-
command = make_simple_command(:
|
|
922
|
-
command.
|
|
923
|
-
command.
|
|
919
|
+
def create_service_config(service_name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
920
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options)
|
|
921
|
+
command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
922
|
+
command.request_object = service_object
|
|
923
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
924
|
+
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
924
925
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
925
|
-
command.params['rolloutId'] = rollout_id unless rollout_id.nil?
|
|
926
926
|
command.query['fields'] = fields unless fields.nil?
|
|
927
927
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
928
928
|
execute_or_queue_command(command, &block)
|
|
929
929
|
end
|
|
930
930
|
|
|
931
|
-
# Creates a new service configuration
|
|
932
|
-
#
|
|
933
|
-
#
|
|
934
|
-
#
|
|
935
|
-
#
|
|
936
|
-
#
|
|
937
|
-
#
|
|
938
|
-
# Operation<response:
|
|
931
|
+
# Creates a new service configuration (version) for a managed service based
|
|
932
|
+
# on
|
|
933
|
+
# user-supplied configuration source files (for example: OpenAPI
|
|
934
|
+
# Specification). This method stores the source configurations as well as the
|
|
935
|
+
# generated service configuration. To rollout the service configuration to
|
|
936
|
+
# other services,
|
|
937
|
+
# please call CreateServiceRollout.
|
|
938
|
+
# Operation<response: SubmitConfigSourceResponse>
|
|
939
939
|
# @param [String] service_name
|
|
940
940
|
# The name of the service. See the [overview](/service-management/overview)
|
|
941
941
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
942
|
-
# @param [Google::Apis::ServicemanagementV1::
|
|
942
|
+
# @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object
|
|
943
943
|
# @param [String] fields
|
|
944
944
|
# Selector specifying which fields to include in a partial response.
|
|
945
945
|
# @param [String] quota_user
|
|
@@ -957,10 +957,10 @@ module Google
|
|
|
957
957
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
958
958
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
959
959
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
960
|
-
def
|
|
961
|
-
command = make_simple_command(:post, 'v1/services/{serviceName}/
|
|
962
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
963
|
-
command.request_object =
|
|
960
|
+
def submit_config_source(service_name, submit_config_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
961
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options)
|
|
962
|
+
command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation
|
|
963
|
+
command.request_object = submit_config_source_request_object
|
|
964
964
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
965
965
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
966
966
|
command.params['serviceName'] = service_name unless service_name.nil?
|