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
|
@@ -22,12 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FirebasedynamiclinksV1
|
|
24
24
|
|
|
25
|
-
class CreateShortDynamicLinkResponse
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
25
|
class Suffix
|
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
27
|
|
|
@@ -58,13 +52,19 @@ module Google
|
|
|
58
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
53
|
end
|
|
60
54
|
|
|
61
|
-
class
|
|
55
|
+
class DynamicLinkWarning
|
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
57
|
|
|
64
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
59
|
end
|
|
66
60
|
|
|
67
|
-
class
|
|
61
|
+
class DynamicLinkStats
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class AndroidInfo
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -94,14 +94,16 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
class DynamicLinkEventStat
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
97
103
|
class CreateShortDynamicLinkResponse
|
|
98
|
-
|
|
99
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
100
|
-
property :preview_link, as: 'previewLink'
|
|
101
|
-
collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
102
105
|
|
|
103
|
-
|
|
104
|
-
end
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
105
107
|
end
|
|
106
108
|
|
|
107
109
|
class Suffix
|
|
@@ -114,23 +116,18 @@ module Google
|
|
|
114
116
|
class GooglePlayAnalytics
|
|
115
117
|
# @private
|
|
116
118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
117
|
-
property :utm_medium, as: 'utmMedium'
|
|
118
|
-
property :utm_term, as: 'utmTerm'
|
|
119
119
|
property :utm_source, as: 'utmSource'
|
|
120
120
|
property :gclid, as: 'gclid'
|
|
121
121
|
property :utm_campaign, as: 'utmCampaign'
|
|
122
122
|
property :utm_content, as: 'utmContent'
|
|
123
|
+
property :utm_medium, as: 'utmMedium'
|
|
124
|
+
property :utm_term, as: 'utmTerm'
|
|
123
125
|
end
|
|
124
126
|
end
|
|
125
127
|
|
|
126
128
|
class DynamicLinkInfo
|
|
127
129
|
# @private
|
|
128
130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
129
|
-
property :link, as: 'link'
|
|
130
|
-
property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
|
|
131
|
-
|
|
132
|
-
property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
|
|
133
|
-
|
|
134
131
|
property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation
|
|
135
132
|
|
|
136
133
|
property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation
|
|
@@ -138,6 +135,11 @@ module Google
|
|
|
138
135
|
property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
|
|
139
136
|
|
|
140
137
|
property :dynamic_link_domain, as: 'dynamicLinkDomain'
|
|
138
|
+
property :link, as: 'link'
|
|
139
|
+
property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
|
|
140
|
+
|
|
141
|
+
property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
|
|
142
|
+
|
|
141
143
|
end
|
|
142
144
|
end
|
|
143
145
|
|
|
@@ -160,21 +162,29 @@ module Google
|
|
|
160
162
|
end
|
|
161
163
|
end
|
|
162
164
|
|
|
163
|
-
class
|
|
165
|
+
class DynamicLinkWarning
|
|
164
166
|
# @private
|
|
165
167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
166
|
-
property :
|
|
167
|
-
property :
|
|
168
|
-
property :android_package_name, as: 'androidPackageName'
|
|
169
|
-
property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
|
|
168
|
+
property :warning_code, as: 'warningCode'
|
|
169
|
+
property :warning_message, as: 'warningMessage'
|
|
170
170
|
end
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class DynamicLinkStats
|
|
174
174
|
# @private
|
|
175
175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
collection :link_event_stats, as: 'linkEventStats', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat::Representation
|
|
177
|
+
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class AndroidInfo
|
|
182
|
+
# @private
|
|
183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
184
|
+
property :android_package_name, as: 'androidPackageName'
|
|
185
|
+
property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
|
|
186
|
+
property :android_link, as: 'androidLink'
|
|
187
|
+
property :android_fallback_link, as: 'androidFallbackLink'
|
|
178
188
|
end
|
|
179
189
|
end
|
|
180
190
|
|
|
@@ -188,12 +198,12 @@ module Google
|
|
|
188
198
|
class IosInfo
|
|
189
199
|
# @private
|
|
190
200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
201
|
+
property :ios_fallback_link, as: 'iosFallbackLink'
|
|
202
|
+
property :ios_app_store_id, as: 'iosAppStoreId'
|
|
191
203
|
property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
|
|
192
204
|
property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
|
|
193
205
|
property :ios_custom_scheme, as: 'iosCustomScheme'
|
|
194
206
|
property :ios_bundle_id, as: 'iosBundleId'
|
|
195
|
-
property :ios_fallback_link, as: 'iosFallbackLink'
|
|
196
|
-
property :ios_app_store_id, as: 'iosAppStoreId'
|
|
197
207
|
end
|
|
198
208
|
end
|
|
199
209
|
|
|
@@ -217,6 +227,25 @@ module Google
|
|
|
217
227
|
|
|
218
228
|
end
|
|
219
229
|
end
|
|
230
|
+
|
|
231
|
+
class DynamicLinkEventStat
|
|
232
|
+
# @private
|
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
234
|
+
property :count, :numeric_string => true, as: 'count'
|
|
235
|
+
property :event, as: 'event'
|
|
236
|
+
property :platform, as: 'platform'
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
class CreateShortDynamicLinkResponse
|
|
241
|
+
# @private
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
243
|
+
property :short_link, as: 'shortLink'
|
|
244
|
+
property :preview_link, as: 'previewLink'
|
|
245
|
+
collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
|
|
246
|
+
|
|
247
|
+
end
|
|
248
|
+
end
|
|
220
249
|
end
|
|
221
250
|
end
|
|
222
251
|
end
|
|
@@ -55,11 +55,11 @@ module Google
|
|
|
55
55
|
# The Dynamic Link domain in the request must be owned by requester's
|
|
56
56
|
# Firebase project.
|
|
57
57
|
# @param [Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkRequest] create_short_dynamic_link_request_object
|
|
58
|
+
# @param [String] fields
|
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
|
58
60
|
# @param [String] quota_user
|
|
59
61
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
60
62
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
61
|
-
# @param [String] fields
|
|
62
|
-
# Selector specifying which fields to include in a partial response.
|
|
63
63
|
# @param [Google::Apis::RequestOptions] options
|
|
64
64
|
# Request-specific options
|
|
65
65
|
#
|
|
@@ -72,14 +72,49 @@ module Google
|
|
|
72
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
-
def create_short_link_short_dynamic_link(create_short_dynamic_link_request_object = nil,
|
|
75
|
+
def create_short_link_short_dynamic_link(create_short_dynamic_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
76
76
|
command = make_simple_command(:post, 'v1/shortLinks', options)
|
|
77
77
|
command.request_representation = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkRequest::Representation
|
|
78
78
|
command.request_object = create_short_dynamic_link_request_object
|
|
79
79
|
command.response_representation = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse::Representation
|
|
80
80
|
command.response_class = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse
|
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
|
81
82
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
+
execute_or_queue_command(command, &block)
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Fetches analytics stats of a short Dynamic Link for a given
|
|
87
|
+
# duration. Metrics include number of clicks, redirects, installs,
|
|
88
|
+
# app first opens, and app reopens.
|
|
89
|
+
# @param [String] dynamic_link
|
|
90
|
+
# Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz
|
|
91
|
+
# @param [Fixnum] duration_days
|
|
92
|
+
# The span of time requested in days.
|
|
93
|
+
# @param [String] fields
|
|
94
|
+
# Selector specifying which fields to include in a partial response.
|
|
95
|
+
# @param [String] quota_user
|
|
96
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
97
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
98
|
+
# @param [Google::Apis::RequestOptions] options
|
|
99
|
+
# Request-specific options
|
|
100
|
+
#
|
|
101
|
+
# @yield [result, err] Result & error if block supplied
|
|
102
|
+
# @yieldparam result [Google::Apis::FirebasedynamiclinksV1::DynamicLinkStats] parsed result object
|
|
103
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
104
|
+
#
|
|
105
|
+
# @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkStats]
|
|
106
|
+
#
|
|
107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
110
|
+
def get_link_stats(dynamic_link, duration_days: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
111
|
+
command = make_simple_command(:get, 'v1/{dynamicLink}/linkStats', options)
|
|
112
|
+
command.response_representation = Google::Apis::FirebasedynamiclinksV1::DynamicLinkStats::Representation
|
|
113
|
+
command.response_class = Google::Apis::FirebasedynamiclinksV1::DynamicLinkStats
|
|
114
|
+
command.params['dynamicLink'] = dynamic_link unless dynamic_link.nil?
|
|
115
|
+
command.query['durationDays'] = duration_days unless duration_days.nil?
|
|
82
116
|
command.query['fields'] = fields unless fields.nil?
|
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
118
|
execute_or_queue_command(command, &block)
|
|
84
119
|
end
|
|
85
120
|
|
|
@@ -22,51 +22,26 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FirebaserulesV1
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
class Release
|
|
25
|
+
# Possible result values from the function mock invocation.
|
|
26
|
+
class Result
|
|
28
27
|
include Google::Apis::Core::Hashable
|
|
29
28
|
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
# Corresponds to the JSON property `
|
|
33
|
-
# @return [
|
|
34
|
-
attr_accessor :
|
|
35
|
-
|
|
36
|
-
# Time the release was updated.
|
|
37
|
-
# Output only.
|
|
38
|
-
# Corresponds to the JSON property `updateTime`
|
|
39
|
-
# @return [String]
|
|
40
|
-
attr_accessor :update_time
|
|
41
|
-
|
|
42
|
-
# Resource name for the `Release`.
|
|
43
|
-
# `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
|
|
44
|
-
# which affords developers a great deal of flexibility in mapping the name
|
|
45
|
-
# to the style that best fits their existing development practices. For
|
|
46
|
-
# example, a name could refer to an environment, an app, a version, or some
|
|
47
|
-
# combination of three.
|
|
48
|
-
# In the table below, for the project name `projects/foo`, the following
|
|
49
|
-
# relative release paths show how flat and structured names might be chosen
|
|
50
|
-
# to match a desired development / deployment strategy.
|
|
51
|
-
# Use Case | Flat Name | Structured Name
|
|
52
|
-
# -------------|---------------------|----------------
|
|
53
|
-
# Environments | releases/qa | releases/qa
|
|
54
|
-
# Apps | releases/app1_qa | releases/app1/qa
|
|
55
|
-
# Versions | releases/app1_v2_qa | releases/app1/v2/qa
|
|
56
|
-
# The delimiter between the release name path elements can be almost anything
|
|
57
|
-
# and it should work equally well with the release name list filter, but in
|
|
58
|
-
# many ways the structured paths provide a clearer picture of the
|
|
59
|
-
# relationship between `Release` instances.
|
|
60
|
-
# Format: `projects/`project_id`/releases/`release_id``
|
|
61
|
-
# Corresponds to the JSON property `name`
|
|
62
|
-
# @return [String]
|
|
63
|
-
attr_accessor :name
|
|
29
|
+
# The result is an actual value. The type of the value must match that
|
|
30
|
+
# of the type declared by the service.
|
|
31
|
+
# Corresponds to the JSON property `value`
|
|
32
|
+
# @return [Object]
|
|
33
|
+
attr_accessor :value
|
|
64
34
|
|
|
65
|
-
#
|
|
66
|
-
#
|
|
67
|
-
#
|
|
68
|
-
#
|
|
69
|
-
|
|
35
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
36
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
37
|
+
# or the response type of an API method. For instance:
|
|
38
|
+
# service Foo `
|
|
39
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
40
|
+
# `
|
|
41
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
42
|
+
# Corresponds to the JSON property `undefined`
|
|
43
|
+
# @return [Google::Apis::FirebaserulesV1::Empty]
|
|
44
|
+
attr_accessor :undefined
|
|
70
45
|
|
|
71
46
|
def initialize(**args)
|
|
72
47
|
update!(**args)
|
|
@@ -74,29 +49,30 @@ module Google
|
|
|
74
49
|
|
|
75
50
|
# Update properties of this object
|
|
76
51
|
def update!(**args)
|
|
77
|
-
@
|
|
78
|
-
@
|
|
79
|
-
@name = args[:name] if args.key?(:name)
|
|
80
|
-
@ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
|
|
52
|
+
@value = args[:value] if args.key?(:value)
|
|
53
|
+
@undefined = args[:undefined] if args.key?(:undefined)
|
|
81
54
|
end
|
|
82
55
|
end
|
|
83
56
|
|
|
84
|
-
#
|
|
85
|
-
|
|
57
|
+
# Position in the `Source` content including its line, column number, and an
|
|
58
|
+
# index of the `File` in the `Source` message. Used for debug purposes.
|
|
59
|
+
class SourcePosition
|
|
86
60
|
include Google::Apis::Core::Hashable
|
|
87
61
|
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
|
|
92
|
-
# @return [Array<Google::Apis::FirebaserulesV1::TestResult>]
|
|
93
|
-
attr_accessor :test_results
|
|
62
|
+
# Line number of the source fragment. 1-based.
|
|
63
|
+
# Corresponds to the JSON property `line`
|
|
64
|
+
# @return [Fixnum]
|
|
65
|
+
attr_accessor :line
|
|
94
66
|
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
|
|
99
|
-
|
|
67
|
+
# First column on the source line associated with the source fragment.
|
|
68
|
+
# Corresponds to the JSON property `column`
|
|
69
|
+
# @return [Fixnum]
|
|
70
|
+
attr_accessor :column
|
|
71
|
+
|
|
72
|
+
# Name of the `File`.
|
|
73
|
+
# Corresponds to the JSON property `fileName`
|
|
74
|
+
# @return [String]
|
|
75
|
+
attr_accessor :file_name
|
|
100
76
|
|
|
101
77
|
def initialize(**args)
|
|
102
78
|
update!(**args)
|
|
@@ -104,43 +80,60 @@ module Google
|
|
|
104
80
|
|
|
105
81
|
# Update properties of this object
|
|
106
82
|
def update!(**args)
|
|
107
|
-
@
|
|
108
|
-
@
|
|
83
|
+
@line = args[:line] if args.key?(:line)
|
|
84
|
+
@column = args[:column] if args.key?(:column)
|
|
85
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
|
109
86
|
end
|
|
110
87
|
end
|
|
111
88
|
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
|
|
89
|
+
# `TestCase` messages provide the request context and an expectation as to
|
|
90
|
+
# whether the given context will be allowed or denied. Test cases may specify
|
|
91
|
+
# the `request`, `resource`, and `function_mocks` to mock a function call to
|
|
92
|
+
# a service-provided function.
|
|
93
|
+
# The `request` object represents context present at request-time.
|
|
94
|
+
# The `resource` is the value of the target resource as it appears in
|
|
95
|
+
# persistent storage before the request is executed.
|
|
96
|
+
class TestCase
|
|
115
97
|
include Google::Apis::Core::Hashable
|
|
116
98
|
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
|
|
99
|
+
# Optional resource value as it appears in persistent storage before the
|
|
100
|
+
# request is fulfilled.
|
|
101
|
+
# The resource type depends on the `request.path` value.
|
|
102
|
+
# Corresponds to the JSON property `resource`
|
|
103
|
+
# @return [Object]
|
|
104
|
+
attr_accessor :resource
|
|
122
105
|
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
|
|
129
|
-
attr_accessor :function_calls
|
|
106
|
+
# Optional function mocks for service-defined functions. If not set, any
|
|
107
|
+
# service defined function is expected to return an error, which may or may
|
|
108
|
+
# not influence the test outcome.
|
|
109
|
+
# Corresponds to the JSON property `functionMocks`
|
|
110
|
+
# @return [Array<Google::Apis::FirebaserulesV1::FunctionMock>]
|
|
111
|
+
attr_accessor :function_mocks
|
|
130
112
|
|
|
131
|
-
#
|
|
132
|
-
# Corresponds to the JSON property `
|
|
113
|
+
# Test expectation.
|
|
114
|
+
# Corresponds to the JSON property `expectation`
|
|
133
115
|
# @return [String]
|
|
134
|
-
attr_accessor :
|
|
116
|
+
attr_accessor :expectation
|
|
135
117
|
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
|
|
118
|
+
# Request context.
|
|
119
|
+
# The exact format of the request context is service-dependent. See the
|
|
120
|
+
# appropriate service documentation for information about the supported
|
|
121
|
+
# fields and types on the request. Minimally, all services support the
|
|
122
|
+
# following fields and types:
|
|
123
|
+
# Request field | Type
|
|
124
|
+
# ---------------|-----------------
|
|
125
|
+
# auth.uid | `string`
|
|
126
|
+
# auth.token | `map<string, string>`
|
|
127
|
+
# headers | `map<string, string>`
|
|
128
|
+
# method | `string`
|
|
129
|
+
# params | `map<string, string>`
|
|
130
|
+
# path | `string`
|
|
131
|
+
# time | `google.protobuf.Timestamp`
|
|
132
|
+
# If the request value is not well-formed for the service, the request will
|
|
133
|
+
# be rejected as an invalid argument.
|
|
134
|
+
# Corresponds to the JSON property `request`
|
|
135
|
+
# @return [Object]
|
|
136
|
+
attr_accessor :request
|
|
144
137
|
|
|
145
138
|
def initialize(**args)
|
|
146
139
|
update!(**args)
|
|
@@ -148,27 +141,35 @@ module Google
|
|
|
148
141
|
|
|
149
142
|
# Update properties of this object
|
|
150
143
|
def update!(**args)
|
|
151
|
-
@
|
|
152
|
-
@
|
|
153
|
-
@
|
|
154
|
-
@
|
|
144
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
145
|
+
@function_mocks = args[:function_mocks] if args.key?(:function_mocks)
|
|
146
|
+
@expectation = args[:expectation] if args.key?(:expectation)
|
|
147
|
+
@request = args[:request] if args.key?(:request)
|
|
155
148
|
end
|
|
156
149
|
end
|
|
157
150
|
|
|
158
|
-
#
|
|
159
|
-
|
|
151
|
+
# `Ruleset` is an immutable copy of `Source` with a globally unique identifier
|
|
152
|
+
# and a creation time.
|
|
153
|
+
class Ruleset
|
|
160
154
|
include Google::Apis::Core::Hashable
|
|
161
155
|
|
|
162
|
-
#
|
|
163
|
-
# Corresponds to the JSON property `
|
|
164
|
-
# @return [
|
|
165
|
-
attr_accessor :
|
|
156
|
+
# `Source` is one or more `File` messages comprising a logical set of rules.
|
|
157
|
+
# Corresponds to the JSON property `source`
|
|
158
|
+
# @return [Google::Apis::FirebaserulesV1::Source]
|
|
159
|
+
attr_accessor :source
|
|
166
160
|
|
|
167
|
-
#
|
|
168
|
-
#
|
|
169
|
-
# Corresponds to the JSON property `
|
|
161
|
+
# Time the `Ruleset` was created.
|
|
162
|
+
# Output only.
|
|
163
|
+
# Corresponds to the JSON property `createTime`
|
|
170
164
|
# @return [String]
|
|
171
|
-
attr_accessor :
|
|
165
|
+
attr_accessor :create_time
|
|
166
|
+
|
|
167
|
+
# Name of the `Ruleset`. The ruleset_id is auto generated by the service.
|
|
168
|
+
# Format: `projects/`project_id`/rulesets/`ruleset_id``
|
|
169
|
+
# Output only.
|
|
170
|
+
# Corresponds to the JSON property `name`
|
|
171
|
+
# @return [String]
|
|
172
|
+
attr_accessor :name
|
|
172
173
|
|
|
173
174
|
def initialize(**args)
|
|
174
175
|
update!(**args)
|
|
@@ -176,30 +177,28 @@ module Google
|
|
|
176
177
|
|
|
177
178
|
# Update properties of this object
|
|
178
179
|
def update!(**args)
|
|
179
|
-
@
|
|
180
|
-
@
|
|
180
|
+
@source = args[:source] if args.key?(:source)
|
|
181
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
182
|
+
@name = args[:name] if args.key?(:name)
|
|
181
183
|
end
|
|
182
184
|
end
|
|
183
185
|
|
|
184
|
-
#
|
|
185
|
-
class
|
|
186
|
+
# The request for FirebaseRulesService.TestRuleset.
|
|
187
|
+
class TestRulesetRequest
|
|
186
188
|
include Google::Apis::Core::Hashable
|
|
187
189
|
|
|
188
|
-
#
|
|
189
|
-
# Corresponds to the JSON property `
|
|
190
|
-
# @return [
|
|
191
|
-
attr_accessor :
|
|
190
|
+
# `Source` is one or more `File` messages comprising a logical set of rules.
|
|
191
|
+
# Corresponds to the JSON property `source`
|
|
192
|
+
# @return [Google::Apis::FirebaserulesV1::Source]
|
|
193
|
+
attr_accessor :source
|
|
192
194
|
|
|
193
|
-
#
|
|
194
|
-
#
|
|
195
|
-
# or
|
|
196
|
-
#
|
|
197
|
-
#
|
|
198
|
-
#
|
|
199
|
-
|
|
200
|
-
# Corresponds to the JSON property `anyValue`
|
|
201
|
-
# @return [Google::Apis::FirebaserulesV1::Empty]
|
|
202
|
-
attr_accessor :any_value
|
|
195
|
+
# `TestSuite` is a collection of `TestCase` instances that validate the logical
|
|
196
|
+
# correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within
|
|
197
|
+
# a `TestRuleset` invocation or as part of a `Release` object as a pre-release
|
|
198
|
+
# check.
|
|
199
|
+
# Corresponds to the JSON property `testSuite`
|
|
200
|
+
# @return [Google::Apis::FirebaserulesV1::TestSuite]
|
|
201
|
+
attr_accessor :test_suite
|
|
203
202
|
|
|
204
203
|
def initialize(**args)
|
|
205
204
|
update!(**args)
|
|
@@ -207,22 +206,30 @@ module Google
|
|
|
207
206
|
|
|
208
207
|
# Update properties of this object
|
|
209
208
|
def update!(**args)
|
|
210
|
-
@
|
|
211
|
-
@
|
|
209
|
+
@source = args[:source] if args.key?(:source)
|
|
210
|
+
@test_suite = args[:test_suite] if args.key?(:test_suite)
|
|
212
211
|
end
|
|
213
212
|
end
|
|
214
213
|
|
|
215
|
-
#
|
|
216
|
-
|
|
217
|
-
# a `TestRuleset` invocation or as part of a `Release` object as a pre-release
|
|
218
|
-
# check.
|
|
219
|
-
class TestSuite
|
|
214
|
+
# Issues include warnings, errors, and deprecation notices.
|
|
215
|
+
class Issue
|
|
220
216
|
include Google::Apis::Core::Hashable
|
|
221
217
|
|
|
222
|
-
#
|
|
223
|
-
# Corresponds to the JSON property `
|
|
224
|
-
# @return [
|
|
225
|
-
attr_accessor :
|
|
218
|
+
# Short error description.
|
|
219
|
+
# Corresponds to the JSON property `description`
|
|
220
|
+
# @return [String]
|
|
221
|
+
attr_accessor :description
|
|
222
|
+
|
|
223
|
+
# Position in the `Source` content including its line, column number, and an
|
|
224
|
+
# index of the `File` in the `Source` message. Used for debug purposes.
|
|
225
|
+
# Corresponds to the JSON property `sourcePosition`
|
|
226
|
+
# @return [Google::Apis::FirebaserulesV1::SourcePosition]
|
|
227
|
+
attr_accessor :source_position
|
|
228
|
+
|
|
229
|
+
# The severity of the issue.
|
|
230
|
+
# Corresponds to the JSON property `severity`
|
|
231
|
+
# @return [String]
|
|
232
|
+
attr_accessor :severity
|
|
226
233
|
|
|
227
234
|
def initialize(**args)
|
|
228
235
|
update!(**args)
|
|
@@ -230,57 +237,57 @@ module Google
|
|
|
230
237
|
|
|
231
238
|
# Update properties of this object
|
|
232
239
|
def update!(**args)
|
|
233
|
-
@
|
|
240
|
+
@description = args[:description] if args.key?(:description)
|
|
241
|
+
@source_position = args[:source_position] if args.key?(:source_position)
|
|
242
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
234
243
|
end
|
|
235
244
|
end
|
|
236
245
|
|
|
237
|
-
#
|
|
238
|
-
|
|
239
|
-
# or the response type of an API method. For instance:
|
|
240
|
-
# service Foo `
|
|
241
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
242
|
-
# `
|
|
243
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
244
|
-
class Empty
|
|
246
|
+
# The response for FirebaseRulesService.ListReleases.
|
|
247
|
+
class ListReleasesResponse
|
|
245
248
|
include Google::Apis::Core::Hashable
|
|
246
249
|
|
|
250
|
+
# List of `Release` instances.
|
|
251
|
+
# Corresponds to the JSON property `releases`
|
|
252
|
+
# @return [Array<Google::Apis::FirebaserulesV1::Release>]
|
|
253
|
+
attr_accessor :releases
|
|
254
|
+
|
|
255
|
+
# The pagination token to retrieve the next page of results. If the value is
|
|
256
|
+
# empty, no further results remain.
|
|
257
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
258
|
+
# @return [String]
|
|
259
|
+
attr_accessor :next_page_token
|
|
260
|
+
|
|
247
261
|
def initialize(**args)
|
|
248
262
|
update!(**args)
|
|
249
263
|
end
|
|
250
264
|
|
|
251
265
|
# Update properties of this object
|
|
252
266
|
def update!(**args)
|
|
267
|
+
@releases = args[:releases] if args.key?(:releases)
|
|
268
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
253
269
|
end
|
|
254
270
|
end
|
|
255
271
|
|
|
256
|
-
#
|
|
257
|
-
|
|
258
|
-
# the function args and result will be inferred at test time. If either the
|
|
259
|
-
# arg or result values are not compatible with function type declaration, the
|
|
260
|
-
# request will be considered invalid.
|
|
261
|
-
# More than one `FunctionMock` may be provided for a given function name so
|
|
262
|
-
# long as the `Arg` matchers are distinct. There may be only one function
|
|
263
|
-
# for a given overload where all `Arg` values are `Arg.any_value`.
|
|
264
|
-
class FunctionMock
|
|
272
|
+
# `File` containing source content.
|
|
273
|
+
class File
|
|
265
274
|
include Google::Apis::Core::Hashable
|
|
266
275
|
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
|
|
271
|
-
# @return [Array<Google::Apis::FirebaserulesV1::Arg>]
|
|
272
|
-
attr_accessor :args
|
|
276
|
+
# File name.
|
|
277
|
+
# Corresponds to the JSON property `name`
|
|
278
|
+
# @return [String]
|
|
279
|
+
attr_accessor :name
|
|
273
280
|
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
# Corresponds to the JSON property `function`
|
|
281
|
+
# Textual Content.
|
|
282
|
+
# Corresponds to the JSON property `content`
|
|
277
283
|
# @return [String]
|
|
278
|
-
attr_accessor :
|
|
284
|
+
attr_accessor :content
|
|
279
285
|
|
|
280
|
-
#
|
|
281
|
-
# Corresponds to the JSON property `
|
|
282
|
-
#
|
|
283
|
-
|
|
286
|
+
# Fingerprint (e.g. github sha) associated with the `File`.
|
|
287
|
+
# Corresponds to the JSON property `fingerprint`
|
|
288
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
289
|
+
# @return [String]
|
|
290
|
+
attr_accessor :fingerprint
|
|
284
291
|
|
|
285
292
|
def initialize(**args)
|
|
286
293
|
update!(**args)
|
|
@@ -288,20 +295,26 @@ module Google
|
|
|
288
295
|
|
|
289
296
|
# Update properties of this object
|
|
290
297
|
def update!(**args)
|
|
291
|
-
@
|
|
292
|
-
@
|
|
293
|
-
@
|
|
298
|
+
@name = args[:name] if args.key?(:name)
|
|
299
|
+
@content = args[:content] if args.key?(:content)
|
|
300
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
294
301
|
end
|
|
295
302
|
end
|
|
296
303
|
|
|
297
|
-
#
|
|
298
|
-
|
|
304
|
+
# Represents a service-defined function call that was invoked during test
|
|
305
|
+
# execution.
|
|
306
|
+
class FunctionCall
|
|
299
307
|
include Google::Apis::Core::Hashable
|
|
300
308
|
|
|
301
|
-
#
|
|
302
|
-
# Corresponds to the JSON property `
|
|
303
|
-
# @return [Array<
|
|
304
|
-
attr_accessor :
|
|
309
|
+
# The arguments that were provided to the function.
|
|
310
|
+
# Corresponds to the JSON property `args`
|
|
311
|
+
# @return [Array<Object>]
|
|
312
|
+
attr_accessor :args
|
|
313
|
+
|
|
314
|
+
# Name of the function invoked.
|
|
315
|
+
# Corresponds to the JSON property `function`
|
|
316
|
+
# @return [String]
|
|
317
|
+
attr_accessor :function
|
|
305
318
|
|
|
306
319
|
def initialize(**args)
|
|
307
320
|
update!(**args)
|
|
@@ -309,30 +322,56 @@ module Google
|
|
|
309
322
|
|
|
310
323
|
# Update properties of this object
|
|
311
324
|
def update!(**args)
|
|
312
|
-
@
|
|
325
|
+
@args = args[:args] if args.key?(:args)
|
|
326
|
+
@function = args[:function] if args.key?(:function)
|
|
313
327
|
end
|
|
314
328
|
end
|
|
315
329
|
|
|
316
|
-
#
|
|
317
|
-
|
|
330
|
+
# `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
|
|
331
|
+
# `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
|
|
332
|
+
class Release
|
|
318
333
|
include Google::Apis::Core::Hashable
|
|
319
334
|
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
# Corresponds to the JSON property `
|
|
323
|
-
# @return [
|
|
324
|
-
attr_accessor :
|
|
335
|
+
# Time the release was created.
|
|
336
|
+
# Output only.
|
|
337
|
+
# Corresponds to the JSON property `createTime`
|
|
338
|
+
# @return [String]
|
|
339
|
+
attr_accessor :create_time
|
|
325
340
|
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
#
|
|
329
|
-
#
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
#
|
|
333
|
-
#
|
|
334
|
-
#
|
|
335
|
-
|
|
341
|
+
# Time the release was updated.
|
|
342
|
+
# Output only.
|
|
343
|
+
# Corresponds to the JSON property `updateTime`
|
|
344
|
+
# @return [String]
|
|
345
|
+
attr_accessor :update_time
|
|
346
|
+
|
|
347
|
+
# Resource name for the `Release`.
|
|
348
|
+
# `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
|
|
349
|
+
# which affords developers a great deal of flexibility in mapping the name
|
|
350
|
+
# to the style that best fits their existing development practices. For
|
|
351
|
+
# example, a name could refer to an environment, an app, a version, or some
|
|
352
|
+
# combination of three.
|
|
353
|
+
# In the table below, for the project name `projects/foo`, the following
|
|
354
|
+
# relative release paths show how flat and structured names might be chosen
|
|
355
|
+
# to match a desired development / deployment strategy.
|
|
356
|
+
# Use Case | Flat Name | Structured Name
|
|
357
|
+
# -------------|---------------------|----------------
|
|
358
|
+
# Environments | releases/qa | releases/qa
|
|
359
|
+
# Apps | releases/app1_qa | releases/app1/qa
|
|
360
|
+
# Versions | releases/app1_v2_qa | releases/app1/v2/qa
|
|
361
|
+
# The delimiter between the release name path elements can be almost anything
|
|
362
|
+
# and it should work equally well with the release name list filter, but in
|
|
363
|
+
# many ways the structured paths provide a clearer picture of the
|
|
364
|
+
# relationship between `Release` instances.
|
|
365
|
+
# Format: `projects/`project_id`/releases/`release_id``
|
|
366
|
+
# Corresponds to the JSON property `name`
|
|
367
|
+
# @return [String]
|
|
368
|
+
attr_accessor :name
|
|
369
|
+
|
|
370
|
+
# Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must
|
|
371
|
+
# exist the `Release` to be created.
|
|
372
|
+
# Corresponds to the JSON property `rulesetName`
|
|
373
|
+
# @return [String]
|
|
374
|
+
attr_accessor :ruleset_name
|
|
336
375
|
|
|
337
376
|
def initialize(**args)
|
|
338
377
|
update!(**args)
|
|
@@ -340,30 +379,29 @@ module Google
|
|
|
340
379
|
|
|
341
380
|
# Update properties of this object
|
|
342
381
|
def update!(**args)
|
|
343
|
-
@
|
|
344
|
-
@
|
|
382
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
383
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
384
|
+
@name = args[:name] if args.key?(:name)
|
|
385
|
+
@ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
|
|
345
386
|
end
|
|
346
387
|
end
|
|
347
388
|
|
|
348
|
-
#
|
|
349
|
-
|
|
350
|
-
class SourcePosition
|
|
389
|
+
# The response for FirebaseRulesService.TestRuleset.
|
|
390
|
+
class TestRulesetResponse
|
|
351
391
|
include Google::Apis::Core::Hashable
|
|
352
392
|
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
#
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
# Corresponds to the JSON property `column`
|
|
360
|
-
# @return [Fixnum]
|
|
361
|
-
attr_accessor :column
|
|
393
|
+
# The set of test results given the test cases in the `TestSuite`.
|
|
394
|
+
# The results will appear in the same order as the test cases appear in the
|
|
395
|
+
# `TestSuite`.
|
|
396
|
+
# Corresponds to the JSON property `testResults`
|
|
397
|
+
# @return [Array<Google::Apis::FirebaserulesV1::TestResult>]
|
|
398
|
+
attr_accessor :test_results
|
|
362
399
|
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
|
|
400
|
+
# Syntactic and semantic `Source` issues of varying severity. Issues of
|
|
401
|
+
# `ERROR` severity will prevent tests from executing.
|
|
402
|
+
# Corresponds to the JSON property `issues`
|
|
403
|
+
# @return [Array<Google::Apis::FirebaserulesV1::Issue>]
|
|
404
|
+
attr_accessor :issues
|
|
367
405
|
|
|
368
406
|
def initialize(**args)
|
|
369
407
|
update!(**args)
|
|
@@ -371,60 +409,43 @@ module Google
|
|
|
371
409
|
|
|
372
410
|
# Update properties of this object
|
|
373
411
|
def update!(**args)
|
|
374
|
-
@
|
|
375
|
-
@
|
|
376
|
-
@file_name = args[:file_name] if args.key?(:file_name)
|
|
412
|
+
@test_results = args[:test_results] if args.key?(:test_results)
|
|
413
|
+
@issues = args[:issues] if args.key?(:issues)
|
|
377
414
|
end
|
|
378
415
|
end
|
|
379
416
|
|
|
380
|
-
#
|
|
381
|
-
#
|
|
382
|
-
|
|
383
|
-
# a service-provided function.
|
|
384
|
-
# The `request` object represents context present at request-time.
|
|
385
|
-
# The `resource` is the value of the target resource as it appears in
|
|
386
|
-
# persistent storage before the request is executed.
|
|
387
|
-
class TestCase
|
|
417
|
+
# Test result message containing the state of the test as well as a
|
|
418
|
+
# description and source position for test failures.
|
|
419
|
+
class TestResult
|
|
388
420
|
include Google::Apis::Core::Hashable
|
|
389
421
|
|
|
390
|
-
#
|
|
391
|
-
#
|
|
392
|
-
#
|
|
393
|
-
#
|
|
394
|
-
#
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
# Optional function mocks for service-defined functions. If not set, any
|
|
398
|
-
# service defined function is expected to return an error, which may or may
|
|
399
|
-
# not influence the test outcome.
|
|
400
|
-
# Corresponds to the JSON property `functionMocks`
|
|
401
|
-
# @return [Array<Google::Apis::FirebaserulesV1::FunctionMock>]
|
|
402
|
-
attr_accessor :function_mocks
|
|
422
|
+
# The set of function calls made to service-defined methods.
|
|
423
|
+
# Function calls are included in the order in which they are encountered
|
|
424
|
+
# during evaluation, are provided for both mocked and unmocked functions,
|
|
425
|
+
# and included on the response regardless of the test `state`.
|
|
426
|
+
# Corresponds to the JSON property `functionCalls`
|
|
427
|
+
# @return [Array<Google::Apis::FirebaserulesV1::FunctionCall>]
|
|
428
|
+
attr_accessor :function_calls
|
|
403
429
|
|
|
404
|
-
#
|
|
405
|
-
# Corresponds to the JSON property `
|
|
430
|
+
# State of the test.
|
|
431
|
+
# Corresponds to the JSON property `state`
|
|
406
432
|
# @return [String]
|
|
407
|
-
attr_accessor :
|
|
433
|
+
attr_accessor :state
|
|
408
434
|
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
#
|
|
415
|
-
#
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
#
|
|
419
|
-
#
|
|
420
|
-
#
|
|
421
|
-
#
|
|
422
|
-
|
|
423
|
-
# If the request value is not well-formed for the service, the request will
|
|
424
|
-
# be rejected as an invalid argument.
|
|
425
|
-
# Corresponds to the JSON property `request`
|
|
426
|
-
# @return [Object]
|
|
427
|
-
attr_accessor :request
|
|
435
|
+
# Debug messages related to test execution issues encountered during
|
|
436
|
+
# evaluation.
|
|
437
|
+
# Debug messages may be related to too many or too few invocations of
|
|
438
|
+
# function mocks or to runtime errors that occur during evaluation.
|
|
439
|
+
# For example: ```Unable to read variable [name: "resource"]```
|
|
440
|
+
# Corresponds to the JSON property `debugMessages`
|
|
441
|
+
# @return [Array<String>]
|
|
442
|
+
attr_accessor :debug_messages
|
|
443
|
+
|
|
444
|
+
# Position in the `Source` content including its line, column number, and an
|
|
445
|
+
# index of the `File` in the `Source` message. Used for debug purposes.
|
|
446
|
+
# Corresponds to the JSON property `errorPosition`
|
|
447
|
+
# @return [Google::Apis::FirebaserulesV1::SourcePosition]
|
|
448
|
+
attr_accessor :error_position
|
|
428
449
|
|
|
429
450
|
def initialize(**args)
|
|
430
451
|
update!(**args)
|
|
@@ -432,35 +453,27 @@ module Google
|
|
|
432
453
|
|
|
433
454
|
# Update properties of this object
|
|
434
455
|
def update!(**args)
|
|
435
|
-
@
|
|
436
|
-
@
|
|
437
|
-
@
|
|
438
|
-
@
|
|
456
|
+
@function_calls = args[:function_calls] if args.key?(:function_calls)
|
|
457
|
+
@state = args[:state] if args.key?(:state)
|
|
458
|
+
@debug_messages = args[:debug_messages] if args.key?(:debug_messages)
|
|
459
|
+
@error_position = args[:error_position] if args.key?(:error_position)
|
|
439
460
|
end
|
|
440
461
|
end
|
|
441
462
|
|
|
442
|
-
#
|
|
443
|
-
|
|
444
|
-
class Ruleset
|
|
463
|
+
# The response for FirebaseRulesService.ListRulesets.
|
|
464
|
+
class ListRulesetsResponse
|
|
445
465
|
include Google::Apis::Core::Hashable
|
|
446
466
|
|
|
447
|
-
#
|
|
448
|
-
#
|
|
449
|
-
#
|
|
450
|
-
|
|
451
|
-
# @return [String]
|
|
452
|
-
attr_accessor :name
|
|
453
|
-
|
|
454
|
-
# `Source` is one or more `File` messages comprising a logical set of rules.
|
|
455
|
-
# Corresponds to the JSON property `source`
|
|
456
|
-
# @return [Google::Apis::FirebaserulesV1::Source]
|
|
457
|
-
attr_accessor :source
|
|
467
|
+
# List of `Ruleset` instances.
|
|
468
|
+
# Corresponds to the JSON property `rulesets`
|
|
469
|
+
# @return [Array<Google::Apis::FirebaserulesV1::Ruleset>]
|
|
470
|
+
attr_accessor :rulesets
|
|
458
471
|
|
|
459
|
-
#
|
|
460
|
-
#
|
|
461
|
-
# Corresponds to the JSON property `
|
|
472
|
+
# The pagination token to retrieve the next page of results. If the value is
|
|
473
|
+
# empty, no further results remain.
|
|
474
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
462
475
|
# @return [String]
|
|
463
|
-
attr_accessor :
|
|
476
|
+
attr_accessor :next_page_token
|
|
464
477
|
|
|
465
478
|
def initialize(**args)
|
|
466
479
|
update!(**args)
|
|
@@ -468,28 +481,30 @@ module Google
|
|
|
468
481
|
|
|
469
482
|
# Update properties of this object
|
|
470
483
|
def update!(**args)
|
|
471
|
-
@
|
|
472
|
-
@
|
|
473
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
484
|
+
@rulesets = args[:rulesets] if args.key?(:rulesets)
|
|
485
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
474
486
|
end
|
|
475
487
|
end
|
|
476
488
|
|
|
477
|
-
#
|
|
478
|
-
class
|
|
489
|
+
# Arg matchers for the mock function.
|
|
490
|
+
class Arg
|
|
479
491
|
include Google::Apis::Core::Hashable
|
|
480
492
|
|
|
481
|
-
#
|
|
482
|
-
# Corresponds to the JSON property `
|
|
483
|
-
# @return [
|
|
484
|
-
attr_accessor :
|
|
493
|
+
# Argument exactly matches value provided.
|
|
494
|
+
# Corresponds to the JSON property `exactValue`
|
|
495
|
+
# @return [Object]
|
|
496
|
+
attr_accessor :exact_value
|
|
485
497
|
|
|
486
|
-
#
|
|
487
|
-
#
|
|
488
|
-
#
|
|
489
|
-
#
|
|
490
|
-
#
|
|
491
|
-
#
|
|
492
|
-
|
|
498
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
499
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
500
|
+
# or the response type of an API method. For instance:
|
|
501
|
+
# service Foo `
|
|
502
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
503
|
+
# `
|
|
504
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
505
|
+
# Corresponds to the JSON property `anyValue`
|
|
506
|
+
# @return [Google::Apis::FirebaserulesV1::Empty]
|
|
507
|
+
attr_accessor :any_value
|
|
493
508
|
|
|
494
509
|
def initialize(**args)
|
|
495
510
|
update!(**args)
|
|
@@ -497,30 +512,22 @@ module Google
|
|
|
497
512
|
|
|
498
513
|
# Update properties of this object
|
|
499
514
|
def update!(**args)
|
|
500
|
-
@
|
|
501
|
-
@
|
|
515
|
+
@exact_value = args[:exact_value] if args.key?(:exact_value)
|
|
516
|
+
@any_value = args[:any_value] if args.key?(:any_value)
|
|
502
517
|
end
|
|
503
518
|
end
|
|
504
519
|
|
|
505
|
-
#
|
|
506
|
-
|
|
520
|
+
# `TestSuite` is a collection of `TestCase` instances that validate the logical
|
|
521
|
+
# correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within
|
|
522
|
+
# a `TestRuleset` invocation or as part of a `Release` object as a pre-release
|
|
523
|
+
# check.
|
|
524
|
+
class TestSuite
|
|
507
525
|
include Google::Apis::Core::Hashable
|
|
508
526
|
|
|
509
|
-
#
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
|
|
513
|
-
attr_accessor :source_position
|
|
514
|
-
|
|
515
|
-
# The severity of the issue.
|
|
516
|
-
# Corresponds to the JSON property `severity`
|
|
517
|
-
# @return [String]
|
|
518
|
-
attr_accessor :severity
|
|
519
|
-
|
|
520
|
-
# Short error description.
|
|
521
|
-
# Corresponds to the JSON property `description`
|
|
522
|
-
# @return [String]
|
|
523
|
-
attr_accessor :description
|
|
527
|
+
# Collection of test cases associated with the `TestSuite`.
|
|
528
|
+
# Corresponds to the JSON property `testCases`
|
|
529
|
+
# @return [Array<Google::Apis::FirebaserulesV1::TestCase>]
|
|
530
|
+
attr_accessor :test_cases
|
|
524
531
|
|
|
525
532
|
def initialize(**args)
|
|
526
533
|
update!(**args)
|
|
@@ -528,51 +535,56 @@ module Google
|
|
|
528
535
|
|
|
529
536
|
# Update properties of this object
|
|
530
537
|
def update!(**args)
|
|
531
|
-
@
|
|
532
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
533
|
-
@description = args[:description] if args.key?(:description)
|
|
538
|
+
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
|
534
539
|
end
|
|
535
540
|
end
|
|
536
541
|
|
|
537
|
-
#
|
|
538
|
-
|
|
542
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
543
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
544
|
+
# or the response type of an API method. For instance:
|
|
545
|
+
# service Foo `
|
|
546
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
547
|
+
# `
|
|
548
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
549
|
+
class Empty
|
|
539
550
|
include Google::Apis::Core::Hashable
|
|
540
551
|
|
|
541
|
-
# The pagination token to retrieve the next page of results. If the value is
|
|
542
|
-
# empty, no further results remain.
|
|
543
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
544
|
-
# @return [String]
|
|
545
|
-
attr_accessor :next_page_token
|
|
546
|
-
|
|
547
|
-
# List of `Release` instances.
|
|
548
|
-
# Corresponds to the JSON property `releases`
|
|
549
|
-
# @return [Array<Google::Apis::FirebaserulesV1::Release>]
|
|
550
|
-
attr_accessor :releases
|
|
551
|
-
|
|
552
552
|
def initialize(**args)
|
|
553
553
|
update!(**args)
|
|
554
554
|
end
|
|
555
555
|
|
|
556
556
|
# Update properties of this object
|
|
557
557
|
def update!(**args)
|
|
558
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
559
|
-
@releases = args[:releases] if args.key?(:releases)
|
|
560
558
|
end
|
|
561
559
|
end
|
|
562
560
|
|
|
563
|
-
#
|
|
564
|
-
#
|
|
565
|
-
|
|
561
|
+
# Mock function definition.
|
|
562
|
+
# Mocks must refer to a function declared by the target service. The type of
|
|
563
|
+
# the function args and result will be inferred at test time. If either the
|
|
564
|
+
# arg or result values are not compatible with function type declaration, the
|
|
565
|
+
# request will be considered invalid.
|
|
566
|
+
# More than one `FunctionMock` may be provided for a given function name so
|
|
567
|
+
# long as the `Arg` matchers are distinct. There may be only one function
|
|
568
|
+
# for a given overload where all `Arg` values are `Arg.any_value`.
|
|
569
|
+
class FunctionMock
|
|
566
570
|
include Google::Apis::Core::Hashable
|
|
567
571
|
|
|
568
|
-
#
|
|
572
|
+
# The name of the function.
|
|
573
|
+
# The function name must match one provided by a service declaration.
|
|
569
574
|
# Corresponds to the JSON property `function`
|
|
570
575
|
# @return [String]
|
|
571
576
|
attr_accessor :function
|
|
572
577
|
|
|
573
|
-
#
|
|
578
|
+
# Possible result values from the function mock invocation.
|
|
579
|
+
# Corresponds to the JSON property `result`
|
|
580
|
+
# @return [Google::Apis::FirebaserulesV1::Result]
|
|
581
|
+
attr_accessor :result
|
|
582
|
+
|
|
583
|
+
# The list of `Arg` values to match. The order in which the arguments are
|
|
584
|
+
# provided is the order in which they must appear in the function
|
|
585
|
+
# invocation.
|
|
574
586
|
# Corresponds to the JSON property `args`
|
|
575
|
-
# @return [Array<
|
|
587
|
+
# @return [Array<Google::Apis::FirebaserulesV1::Arg>]
|
|
576
588
|
attr_accessor :args
|
|
577
589
|
|
|
578
590
|
def initialize(**args)
|
|
@@ -582,29 +594,19 @@ module Google
|
|
|
582
594
|
# Update properties of this object
|
|
583
595
|
def update!(**args)
|
|
584
596
|
@function = args[:function] if args.key?(:function)
|
|
597
|
+
@result = args[:result] if args.key?(:result)
|
|
585
598
|
@args = args[:args] if args.key?(:args)
|
|
586
599
|
end
|
|
587
600
|
end
|
|
588
601
|
|
|
589
|
-
# `File`
|
|
590
|
-
class
|
|
602
|
+
# `Source` is one or more `File` messages comprising a logical set of rules.
|
|
603
|
+
class Source
|
|
591
604
|
include Google::Apis::Core::Hashable
|
|
592
605
|
|
|
593
|
-
#
|
|
594
|
-
# Corresponds to the JSON property `
|
|
595
|
-
#
|
|
596
|
-
|
|
597
|
-
attr_accessor :fingerprint
|
|
598
|
-
|
|
599
|
-
# File name.
|
|
600
|
-
# Corresponds to the JSON property `name`
|
|
601
|
-
# @return [String]
|
|
602
|
-
attr_accessor :name
|
|
603
|
-
|
|
604
|
-
# Textual Content.
|
|
605
|
-
# Corresponds to the JSON property `content`
|
|
606
|
-
# @return [String]
|
|
607
|
-
attr_accessor :content
|
|
606
|
+
# `File` set constituting the `Source` bundle.
|
|
607
|
+
# Corresponds to the JSON property `files`
|
|
608
|
+
# @return [Array<Google::Apis::FirebaserulesV1::File>]
|
|
609
|
+
attr_accessor :files
|
|
608
610
|
|
|
609
611
|
def initialize(**args)
|
|
610
612
|
update!(**args)
|
|
@@ -612,9 +614,7 @@ module Google
|
|
|
612
614
|
|
|
613
615
|
# Update properties of this object
|
|
614
616
|
def update!(**args)
|
|
615
|
-
@
|
|
616
|
-
@name = args[:name] if args.key?(:name)
|
|
617
|
-
@content = args[:content] if args.key?(:content)
|
|
617
|
+
@files = args[:files] if args.key?(:files)
|
|
618
618
|
end
|
|
619
619
|
end
|
|
620
620
|
end
|