google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -22,279 +22,279 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FirebaserulesV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class Result
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class SourcePosition
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class TestCase
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class Ruleset
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class TestRulesetRequest
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class Issue
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class ListReleasesResponse
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class File
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class FunctionCall
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class Release
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class TestRulesetResponse
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class TestResult
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class ListRulesetsResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class Arg
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class TestSuite
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class Empty
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class FunctionMock
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class Source
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class Result
|
134
134
|
# @private
|
135
135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
-
property :
|
137
|
-
property :
|
138
|
-
|
139
|
-
property :ruleset_name, as: 'rulesetName'
|
136
|
+
property :value, as: 'value'
|
137
|
+
property :undefined, as: 'undefined', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
|
138
|
+
|
140
139
|
end
|
141
140
|
end
|
142
141
|
|
143
|
-
class
|
142
|
+
class SourcePosition
|
144
143
|
# @private
|
145
144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
145
|
+
property :line, as: 'line'
|
146
|
+
property :column, as: 'column'
|
147
|
+
property :file_name, as: 'fileName'
|
150
148
|
end
|
151
149
|
end
|
152
150
|
|
153
|
-
class
|
151
|
+
class TestCase
|
154
152
|
# @private
|
155
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
156
|
-
property :
|
157
|
-
|
158
|
-
collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
|
154
|
+
property :resource, as: 'resource'
|
155
|
+
collection :function_mocks, as: 'functionMocks', class: Google::Apis::FirebaserulesV1::FunctionMock, decorator: Google::Apis::FirebaserulesV1::FunctionMock::Representation
|
159
156
|
|
160
|
-
property :
|
161
|
-
|
157
|
+
property :expectation, as: 'expectation'
|
158
|
+
property :request, as: 'request'
|
162
159
|
end
|
163
160
|
end
|
164
161
|
|
165
|
-
class
|
162
|
+
class Ruleset
|
166
163
|
# @private
|
167
164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
168
|
-
|
165
|
+
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
169
166
|
|
170
|
-
property :
|
167
|
+
property :create_time, as: 'createTime'
|
168
|
+
property :name, as: 'name'
|
171
169
|
end
|
172
170
|
end
|
173
171
|
|
174
|
-
class
|
172
|
+
class TestRulesetRequest
|
175
173
|
# @private
|
176
174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
177
|
-
property :
|
178
|
-
|
175
|
+
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
176
|
+
|
177
|
+
property :test_suite, as: 'testSuite', class: Google::Apis::FirebaserulesV1::TestSuite, decorator: Google::Apis::FirebaserulesV1::TestSuite::Representation
|
179
178
|
|
180
179
|
end
|
181
180
|
end
|
182
181
|
|
183
|
-
class
|
182
|
+
class Issue
|
184
183
|
# @private
|
185
184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
-
|
185
|
+
property :description, as: 'description'
|
186
|
+
property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
|
187
187
|
|
188
|
+
property :severity, as: 'severity'
|
188
189
|
end
|
189
190
|
end
|
190
191
|
|
191
|
-
class
|
192
|
+
class ListReleasesResponse
|
192
193
|
# @private
|
193
194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
|
196
|
+
|
197
|
+
property :next_page_token, as: 'nextPageToken'
|
194
198
|
end
|
195
199
|
end
|
196
200
|
|
197
|
-
class
|
201
|
+
class File
|
198
202
|
# @private
|
199
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
200
|
-
|
201
|
-
|
202
|
-
property :
|
203
|
-
property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation
|
204
|
-
|
204
|
+
property :name, as: 'name'
|
205
|
+
property :content, as: 'content'
|
206
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
205
207
|
end
|
206
208
|
end
|
207
209
|
|
208
|
-
class
|
210
|
+
class FunctionCall
|
209
211
|
# @private
|
210
212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
211
|
-
collection :
|
212
|
-
|
213
|
+
collection :args, as: 'args'
|
214
|
+
property :function, as: 'function'
|
213
215
|
end
|
214
216
|
end
|
215
217
|
|
216
|
-
class
|
218
|
+
class Release
|
217
219
|
# @private
|
218
220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
-
property :
|
220
|
-
property :
|
221
|
-
|
221
|
+
property :create_time, as: 'createTime'
|
222
|
+
property :update_time, as: 'updateTime'
|
223
|
+
property :name, as: 'name'
|
224
|
+
property :ruleset_name, as: 'rulesetName'
|
222
225
|
end
|
223
226
|
end
|
224
227
|
|
225
|
-
class
|
228
|
+
class TestRulesetResponse
|
226
229
|
# @private
|
227
230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
+
collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation
|
232
|
+
|
233
|
+
collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation
|
234
|
+
|
231
235
|
end
|
232
236
|
end
|
233
237
|
|
234
|
-
class
|
238
|
+
class TestResult
|
235
239
|
# @private
|
236
240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
237
|
-
|
238
|
-
|
241
|
+
collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
|
242
|
+
|
243
|
+
property :state, as: 'state'
|
244
|
+
collection :debug_messages, as: 'debugMessages'
|
245
|
+
property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
|
239
246
|
|
240
|
-
property :expectation, as: 'expectation'
|
241
|
-
property :request, as: 'request'
|
242
247
|
end
|
243
248
|
end
|
244
249
|
|
245
|
-
class
|
250
|
+
class ListRulesetsResponse
|
246
251
|
# @private
|
247
252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
-
|
249
|
-
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
253
|
+
collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation
|
250
254
|
|
251
|
-
property :
|
255
|
+
property :next_page_token, as: 'nextPageToken'
|
252
256
|
end
|
253
257
|
end
|
254
258
|
|
255
|
-
class
|
259
|
+
class Arg
|
256
260
|
# @private
|
257
261
|
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
-
property :
|
259
|
-
|
260
|
-
property :test_suite, as: 'testSuite', class: Google::Apis::FirebaserulesV1::TestSuite, decorator: Google::Apis::FirebaserulesV1::TestSuite::Representation
|
262
|
+
property :exact_value, as: 'exactValue'
|
263
|
+
property :any_value, as: 'anyValue', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
|
261
264
|
|
262
265
|
end
|
263
266
|
end
|
264
267
|
|
265
|
-
class
|
268
|
+
class TestSuite
|
266
269
|
# @private
|
267
270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
|
271
|
+
collection :test_cases, as: 'testCases', class: Google::Apis::FirebaserulesV1::TestCase, decorator: Google::Apis::FirebaserulesV1::TestCase::Representation
|
269
272
|
|
270
|
-
property :severity, as: 'severity'
|
271
|
-
property :description, as: 'description'
|
272
273
|
end
|
273
274
|
end
|
274
275
|
|
275
|
-
class
|
276
|
+
class Empty
|
276
277
|
# @private
|
277
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
-
property :next_page_token, as: 'nextPageToken'
|
279
|
-
collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
|
280
|
-
|
281
279
|
end
|
282
280
|
end
|
283
281
|
|
284
|
-
class
|
282
|
+
class FunctionMock
|
285
283
|
# @private
|
286
284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
287
285
|
property :function, as: 'function'
|
288
|
-
|
286
|
+
property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation
|
287
|
+
|
288
|
+
collection :args, as: 'args', class: Google::Apis::FirebaserulesV1::Arg, decorator: Google::Apis::FirebaserulesV1::Arg::Representation
|
289
|
+
|
289
290
|
end
|
290
291
|
end
|
291
292
|
|
292
|
-
class
|
293
|
+
class Source
|
293
294
|
# @private
|
294
295
|
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
-
|
296
|
-
|
297
|
-
property :content, as: 'content'
|
296
|
+
collection :files, as: 'files', class: Google::Apis::FirebaserulesV1::File, decorator: Google::Apis::FirebaserulesV1::File::Representation
|
297
|
+
|
298
298
|
end
|
299
299
|
end
|
300
300
|
end
|
@@ -172,12 +172,6 @@ module Google
|
|
172
172
|
# @param [String] name
|
173
173
|
# Resource name for the project.
|
174
174
|
# Format: `projects/`project_id``
|
175
|
-
# @param [String] filter
|
176
|
-
# `Ruleset` filter. The list method supports filters with restrictions on
|
177
|
-
# `Ruleset.name`.
|
178
|
-
# Filters on `Ruleset.create_time` should use the `date` function which
|
179
|
-
# parses strings that conform to the RFC 3339 date/time specifications.
|
180
|
-
# Example: `create_time > date("2017-01-01") AND name=UUID-*`
|
181
175
|
# @param [String] page_token
|
182
176
|
# Next page token for loading the next batch of `Ruleset` instances.
|
183
177
|
# @param [Fixnum] page_size
|
@@ -185,6 +179,12 @@ module Google
|
|
185
179
|
# Note: `page_size` is just a hint and the service may choose to load less
|
186
180
|
# than `page_size` due to the size of the output. To traverse all of the
|
187
181
|
# releases, caller should iterate until the `page_token` is empty.
|
182
|
+
# @param [String] filter
|
183
|
+
# `Ruleset` filter. The list method supports filters with restrictions on
|
184
|
+
# `Ruleset.name`.
|
185
|
+
# Filters on `Ruleset.create_time` should use the `date` function which
|
186
|
+
# parses strings that conform to the RFC 3339 date/time specifications.
|
187
|
+
# Example: `create_time > date("2017-01-01") AND name=UUID-*`
|
188
188
|
# @param [String] fields
|
189
189
|
# Selector specifying which fields to include in a partial response.
|
190
190
|
# @param [String] quota_user
|
@@ -202,14 +202,14 @@ module Google
|
|
202
202
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
203
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
205
|
-
def list_project_rulesets(name,
|
205
|
+
def list_project_rulesets(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
206
206
|
command = make_simple_command(:get, 'v1/{+name}/rulesets', options)
|
207
207
|
command.response_representation = Google::Apis::FirebaserulesV1::ListRulesetsResponse::Representation
|
208
208
|
command.response_class = Google::Apis::FirebaserulesV1::ListRulesetsResponse
|
209
209
|
command.params['name'] = name unless name.nil?
|
210
|
-
command.query['filter'] = filter unless filter.nil?
|
211
210
|
command.query['pageToken'] = page_token unless page_token.nil?
|
212
211
|
command.query['pageSize'] = page_size unless page_size.nil?
|
212
|
+
command.query['filter'] = filter unless filter.nil?
|
213
213
|
command.query['fields'] = fields unless fields.nil?
|
214
214
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
215
215
|
execute_or_queue_command(command, &block)
|
@@ -253,101 +253,6 @@ module Google
|
|
253
253
|
execute_or_queue_command(command, &block)
|
254
254
|
end
|
255
255
|
|
256
|
-
# Get a `Release` by name.
|
257
|
-
# @param [String] name
|
258
|
-
# Resource name of the `Release`.
|
259
|
-
# Format: `projects/`project_id`/releases/`release_id``
|
260
|
-
# @param [String] fields
|
261
|
-
# Selector specifying which fields to include in a partial response.
|
262
|
-
# @param [String] quota_user
|
263
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
264
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
265
|
-
# @param [Google::Apis::RequestOptions] options
|
266
|
-
# Request-specific options
|
267
|
-
#
|
268
|
-
# @yield [result, err] Result & error if block supplied
|
269
|
-
# @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
|
270
|
-
# @yieldparam err [StandardError] error object if request failed
|
271
|
-
#
|
272
|
-
# @return [Google::Apis::FirebaserulesV1::Release]
|
273
|
-
#
|
274
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
275
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
276
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
277
|
-
def get_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
|
278
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
279
|
-
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
280
|
-
command.response_class = Google::Apis::FirebaserulesV1::Release
|
281
|
-
command.params['name'] = name unless name.nil?
|
282
|
-
command.query['fields'] = fields unless fields.nil?
|
283
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
284
|
-
execute_or_queue_command(command, &block)
|
285
|
-
end
|
286
|
-
|
287
|
-
# List the `Release` values for a project. This list may optionally be
|
288
|
-
# filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
|
289
|
-
# combination thereof.
|
290
|
-
# @param [String] name
|
291
|
-
# Resource name for the project.
|
292
|
-
# Format: `projects/`project_id``
|
293
|
-
# @param [String] page_token
|
294
|
-
# Next page token for the next batch of `Release` instances.
|
295
|
-
# @param [Fixnum] page_size
|
296
|
-
# Page size to load. Maximum of 100. Defaults to 10.
|
297
|
-
# Note: `page_size` is just a hint and the service may choose to load fewer
|
298
|
-
# than `page_size` results due to the size of the output. To traverse all of
|
299
|
-
# the releases, the caller should iterate until the `page_token` on the
|
300
|
-
# response is empty.
|
301
|
-
# @param [String] filter
|
302
|
-
# `Release` filter. The list method supports filters with restrictions on the
|
303
|
-
# `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
|
304
|
-
# Example 1: A filter of 'name=prod*' might return `Release`s with names
|
305
|
-
# within 'projects/foo' prefixed with 'prod':
|
306
|
-
# Name | Ruleset Name
|
307
|
-
# ------------------------------|-------------
|
308
|
-
# projects/foo/releases/prod | projects/foo/rulesets/uuid1234
|
309
|
-
# projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
|
310
|
-
# projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
|
311
|
-
# Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
|
312
|
-
# `Release` instances for 'projects/foo' with names prefixed with 'prod'
|
313
|
-
# referring to the same `Ruleset` name of 'uuid1234':
|
314
|
-
# Name | Ruleset Name
|
315
|
-
# ------------------------------|-------------
|
316
|
-
# projects/foo/releases/prod | projects/foo/rulesets/1234
|
317
|
-
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
|
318
|
-
# In the examples, the filter parameters refer to the search filters are
|
319
|
-
# relative to the project. Fully qualified prefixed may also be used. e.g.
|
320
|
-
# `test_suite_name=projects/foo/testsuites/uuid1`
|
321
|
-
# @param [String] fields
|
322
|
-
# Selector specifying which fields to include in a partial response.
|
323
|
-
# @param [String] quota_user
|
324
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
325
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
326
|
-
# @param [Google::Apis::RequestOptions] options
|
327
|
-
# Request-specific options
|
328
|
-
#
|
329
|
-
# @yield [result, err] Result & error if block supplied
|
330
|
-
# @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
|
331
|
-
# @yieldparam err [StandardError] error object if request failed
|
332
|
-
#
|
333
|
-
# @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
|
334
|
-
#
|
335
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
336
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
337
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
338
|
-
def list_project_releases(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
339
|
-
command = make_simple_command(:get, 'v1/{+name}/releases', options)
|
340
|
-
command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
|
341
|
-
command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
|
342
|
-
command.params['name'] = name unless name.nil?
|
343
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
344
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
345
|
-
command.query['filter'] = filter unless filter.nil?
|
346
|
-
command.query['fields'] = fields unless fields.nil?
|
347
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
348
|
-
execute_or_queue_command(command, &block)
|
349
|
-
end
|
350
|
-
|
351
256
|
# Update a `Release`.
|
352
257
|
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
|
353
258
|
# honored. `Release` rename is not supported. To create a `Release` use the
|
@@ -483,6 +388,101 @@ module Google
|
|
483
388
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
389
|
execute_or_queue_command(command, &block)
|
485
390
|
end
|
391
|
+
|
392
|
+
# Get a `Release` by name.
|
393
|
+
# @param [String] name
|
394
|
+
# Resource name of the `Release`.
|
395
|
+
# Format: `projects/`project_id`/releases/`release_id``
|
396
|
+
# @param [String] fields
|
397
|
+
# Selector specifying which fields to include in a partial response.
|
398
|
+
# @param [String] quota_user
|
399
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
400
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
401
|
+
# @param [Google::Apis::RequestOptions] options
|
402
|
+
# Request-specific options
|
403
|
+
#
|
404
|
+
# @yield [result, err] Result & error if block supplied
|
405
|
+
# @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
|
406
|
+
# @yieldparam err [StandardError] error object if request failed
|
407
|
+
#
|
408
|
+
# @return [Google::Apis::FirebaserulesV1::Release]
|
409
|
+
#
|
410
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
411
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
412
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
413
|
+
def get_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
|
414
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
415
|
+
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
416
|
+
command.response_class = Google::Apis::FirebaserulesV1::Release
|
417
|
+
command.params['name'] = name unless name.nil?
|
418
|
+
command.query['fields'] = fields unless fields.nil?
|
419
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
420
|
+
execute_or_queue_command(command, &block)
|
421
|
+
end
|
422
|
+
|
423
|
+
# List the `Release` values for a project. This list may optionally be
|
424
|
+
# filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
|
425
|
+
# combination thereof.
|
426
|
+
# @param [String] name
|
427
|
+
# Resource name for the project.
|
428
|
+
# Format: `projects/`project_id``
|
429
|
+
# @param [String] filter
|
430
|
+
# `Release` filter. The list method supports filters with restrictions on the
|
431
|
+
# `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
|
432
|
+
# Example 1: A filter of 'name=prod*' might return `Release`s with names
|
433
|
+
# within 'projects/foo' prefixed with 'prod':
|
434
|
+
# Name | Ruleset Name
|
435
|
+
# ------------------------------|-------------
|
436
|
+
# projects/foo/releases/prod | projects/foo/rulesets/uuid1234
|
437
|
+
# projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
|
438
|
+
# projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
|
439
|
+
# Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
|
440
|
+
# `Release` instances for 'projects/foo' with names prefixed with 'prod'
|
441
|
+
# referring to the same `Ruleset` name of 'uuid1234':
|
442
|
+
# Name | Ruleset Name
|
443
|
+
# ------------------------------|-------------
|
444
|
+
# projects/foo/releases/prod | projects/foo/rulesets/1234
|
445
|
+
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
|
446
|
+
# In the examples, the filter parameters refer to the search filters are
|
447
|
+
# relative to the project. Fully qualified prefixed may also be used. e.g.
|
448
|
+
# `test_suite_name=projects/foo/testsuites/uuid1`
|
449
|
+
# @param [String] page_token
|
450
|
+
# Next page token for the next batch of `Release` instances.
|
451
|
+
# @param [Fixnum] page_size
|
452
|
+
# Page size to load. Maximum of 100. Defaults to 10.
|
453
|
+
# Note: `page_size` is just a hint and the service may choose to load fewer
|
454
|
+
# than `page_size` results due to the size of the output. To traverse all of
|
455
|
+
# the releases, the caller should iterate until the `page_token` on the
|
456
|
+
# response is empty.
|
457
|
+
# @param [String] fields
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
459
|
+
# @param [String] quota_user
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
462
|
+
# @param [Google::Apis::RequestOptions] options
|
463
|
+
# Request-specific options
|
464
|
+
#
|
465
|
+
# @yield [result, err] Result & error if block supplied
|
466
|
+
# @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
468
|
+
#
|
469
|
+
# @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
|
470
|
+
#
|
471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
+
def list_project_releases(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
475
|
+
command = make_simple_command(:get, 'v1/{+name}/releases', options)
|
476
|
+
command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
|
477
|
+
command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
|
478
|
+
command.params['name'] = name unless name.nil?
|
479
|
+
command.query['filter'] = filter unless filter.nil?
|
480
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
481
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
|
+
execute_or_queue_command(command, &block)
|
485
|
+
end
|
486
486
|
|
487
487
|
protected
|
488
488
|
|