google-api-client 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- 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 +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FirebaserulesV1
|
24
24
|
|
25
|
+
class Empty
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class Source
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -34,19 +40,19 @@ module Google
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
35
41
|
end
|
36
42
|
|
37
|
-
class
|
43
|
+
class Ruleset
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
43
|
-
class
|
49
|
+
class TestRulesetRequest
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
47
53
|
end
|
48
54
|
|
49
|
-
class
|
55
|
+
class Issue
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -95,9 +101,9 @@ module Google
|
|
95
101
|
end
|
96
102
|
|
97
103
|
class Empty
|
98
|
-
|
99
|
-
|
100
|
-
|
104
|
+
# @private
|
105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
106
|
+
end
|
101
107
|
end
|
102
108
|
|
103
109
|
class Source
|
@@ -111,37 +117,37 @@ module Google
|
|
111
117
|
class SourcePosition
|
112
118
|
# @private
|
113
119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
114
|
-
property :column, as: 'column'
|
115
120
|
property :file_name, as: 'fileName'
|
116
121
|
property :line, as: 'line'
|
122
|
+
property :column, as: 'column'
|
117
123
|
end
|
118
124
|
end
|
119
125
|
|
120
|
-
class
|
126
|
+
class Ruleset
|
121
127
|
# @private
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
123
129
|
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
124
130
|
|
131
|
+
property :create_time, as: 'createTime'
|
132
|
+
property :name, as: 'name'
|
125
133
|
end
|
126
134
|
end
|
127
135
|
|
128
|
-
class
|
136
|
+
class TestRulesetRequest
|
129
137
|
# @private
|
130
138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
131
|
-
property :
|
139
|
+
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
132
140
|
|
133
|
-
property :severity, as: 'severity'
|
134
|
-
property :description, as: 'description'
|
135
141
|
end
|
136
142
|
end
|
137
143
|
|
138
|
-
class
|
144
|
+
class Issue
|
139
145
|
# @private
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation
|
141
|
-
property :
|
142
|
-
property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
|
147
|
+
property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
|
143
148
|
|
144
|
-
property :
|
149
|
+
property :severity, as: 'severity'
|
150
|
+
property :description, as: 'description'
|
145
151
|
end
|
146
152
|
end
|
147
153
|
|
@@ -166,8 +172,8 @@ module Google
|
|
166
172
|
class FunctionCall
|
167
173
|
# @private
|
168
174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
-
property :function, as: 'function'
|
170
175
|
collection :args, as: 'args'
|
176
|
+
property :function, as: 'function'
|
171
177
|
end
|
172
178
|
end
|
173
179
|
|
@@ -203,18 +209,12 @@ module Google
|
|
203
209
|
class TestResult
|
204
210
|
# @private
|
205
211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
212
|
+
property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
|
213
|
+
|
206
214
|
collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
|
207
215
|
|
208
216
|
property :state, as: 'state'
|
209
217
|
collection :debug_messages, as: 'debugMessages'
|
210
|
-
property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
|
211
|
-
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class Empty
|
216
|
-
# @private
|
217
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
218
218
|
end
|
219
219
|
end
|
220
220
|
end
|
@@ -172,6 +172,12 @@ 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-*`
|
175
181
|
# @param [String] page_token
|
176
182
|
# Next page token for loading the next batch of `Ruleset` instances.
|
177
183
|
# @param [Fixnum] page_size
|
@@ -179,12 +185,6 @@ module Google
|
|
179
185
|
# Note: `page_size` is just a hint and the service may choose to load less
|
180
186
|
# than `page_size` due to the size of the output. To traverse all of the
|
181
187
|
# 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, filter: nil, page_token: nil, page_size: 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?
|
210
211
|
command.query['pageToken'] = page_token unless page_token.nil?
|
211
212
|
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,31 +253,10 @@ module Google
|
|
253
253
|
execute_or_queue_command(command, &block)
|
254
254
|
end
|
255
255
|
|
256
|
-
#
|
257
|
-
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
|
258
|
-
# honored. `Release` rename is not supported. To create a `Release` use the
|
259
|
-
# CreateRelease method.
|
256
|
+
# Delete a `Release` by resource name.
|
260
257
|
# @param [String] name
|
261
|
-
# Resource name for the `Release
|
262
|
-
# `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
|
263
|
-
# which affords developers a great deal of flexibility in mapping the name
|
264
|
-
# to the style that best fits their existing development practices. For
|
265
|
-
# example, a name could refer to an environment, an app, a version, or some
|
266
|
-
# combination of three.
|
267
|
-
# In the table below, for the project name `projects/foo`, the following
|
268
|
-
# relative release paths show how flat and structured names might be chosen
|
269
|
-
# to match a desired development / deployment strategy.
|
270
|
-
# Use Case | Flat Name | Structured Name
|
271
|
-
# -------------|---------------------|----------------
|
272
|
-
# Environments | releases/qa | releases/qa
|
273
|
-
# Apps | releases/app1_qa | releases/app1/qa
|
274
|
-
# Versions | releases/app1_v2_qa | releases/app1/v2/qa
|
275
|
-
# The delimiter between the release name path elements can be almost anything
|
276
|
-
# and it should work equally well with the release name list filter, but in
|
277
|
-
# many ways the structured paths provide a clearer picture of the
|
278
|
-
# relationship between `Release` instances.
|
258
|
+
# Resource name for the `Release` to delete.
|
279
259
|
# Format: `projects/`project_id`/releases/`release_id``
|
280
|
-
# @param [Google::Apis::FirebaserulesV1::Release] release_object
|
281
260
|
# @param [String] fields
|
282
261
|
# Selector specifying which fields to include in a partial response.
|
283
262
|
# @param [String] quota_user
|
@@ -287,48 +266,28 @@ module Google
|
|
287
266
|
# Request-specific options
|
288
267
|
#
|
289
268
|
# @yield [result, err] Result & error if block supplied
|
290
|
-
# @yieldparam result [Google::Apis::FirebaserulesV1::
|
269
|
+
# @yieldparam result [Google::Apis::FirebaserulesV1::Empty] parsed result object
|
291
270
|
# @yieldparam err [StandardError] error object if request failed
|
292
271
|
#
|
293
|
-
# @return [Google::Apis::FirebaserulesV1::
|
272
|
+
# @return [Google::Apis::FirebaserulesV1::Empty]
|
294
273
|
#
|
295
274
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
296
275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
|
-
def
|
299
|
-
command = make_simple_command(:
|
300
|
-
command.
|
301
|
-
command.
|
302
|
-
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
303
|
-
command.response_class = Google::Apis::FirebaserulesV1::Release
|
277
|
+
def delete_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
|
278
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
279
|
+
command.response_representation = Google::Apis::FirebaserulesV1::Empty::Representation
|
280
|
+
command.response_class = Google::Apis::FirebaserulesV1::Empty
|
304
281
|
command.params['name'] = name unless name.nil?
|
305
282
|
command.query['fields'] = fields unless fields.nil?
|
306
283
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
307
284
|
execute_or_queue_command(command, &block)
|
308
285
|
end
|
309
286
|
|
310
|
-
#
|
311
|
-
# Release names should reflect the developer's deployment practices. For
|
312
|
-
# example, the release name may include the environment name, application
|
313
|
-
# name, application version, or any other name meaningful to the developer.
|
314
|
-
# Once a `Release` refers to a `Ruleset`, the rules can be enforced by
|
315
|
-
# Firebase Rules-enabled services.
|
316
|
-
# More than one `Release` may be 'live' concurrently. Consider the following
|
317
|
-
# three `Release` names for `projects/foo` and the `Ruleset` to which they
|
318
|
-
# refer.
|
319
|
-
# Release Name | Ruleset Name
|
320
|
-
# --------------------------------|-------------
|
321
|
-
# projects/foo/releases/prod | projects/foo/rulesets/uuid123
|
322
|
-
# projects/foo/releases/prod/beta | projects/foo/rulesets/uuid123
|
323
|
-
# projects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456
|
324
|
-
# The table reflects the `Ruleset` rollout in progress. The `prod` and
|
325
|
-
# `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`
|
326
|
-
# refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be
|
327
|
-
# updated using the UpdateRelease method.
|
287
|
+
# Get a `Release` by name.
|
328
288
|
# @param [String] name
|
329
|
-
# Resource name
|
330
|
-
# Format: `projects/`project_id``
|
331
|
-
# @param [Google::Apis::FirebaserulesV1::Release] release_object
|
289
|
+
# Resource name of the `Release`.
|
290
|
+
# Format: `projects/`project_id`/releases/`release_id``
|
332
291
|
# @param [String] fields
|
333
292
|
# Selector specifying which fields to include in a partial response.
|
334
293
|
# @param [String] quota_user
|
@@ -346,10 +305,8 @@ module Google
|
|
346
305
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
347
306
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
307
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
|
-
def
|
350
|
-
command = make_simple_command(:
|
351
|
-
command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
352
|
-
command.request_object = release_object
|
308
|
+
def get_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
|
309
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
353
310
|
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
354
311
|
command.response_class = Google::Apis::FirebaserulesV1::Release
|
355
312
|
command.params['name'] = name unless name.nil?
|
@@ -358,10 +315,40 @@ module Google
|
|
358
315
|
execute_or_queue_command(command, &block)
|
359
316
|
end
|
360
317
|
|
361
|
-
#
|
318
|
+
# List the `Release` values for a project. This list may optionally be
|
319
|
+
# filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
|
320
|
+
# combination thereof.
|
362
321
|
# @param [String] name
|
363
|
-
# Resource name for the
|
364
|
-
# Format: `projects/`project_id
|
322
|
+
# Resource name for the project.
|
323
|
+
# Format: `projects/`project_id``
|
324
|
+
# @param [String] filter
|
325
|
+
# `Release` filter. The list method supports filters with restrictions on the
|
326
|
+
# `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
|
327
|
+
# Example 1: A filter of 'name=prod*' might return `Release`s with names
|
328
|
+
# within 'projects/foo' prefixed with 'prod':
|
329
|
+
# Name | Ruleset Name
|
330
|
+
# ------------------------------|-------------
|
331
|
+
# projects/foo/releases/prod | projects/foo/rulesets/uuid1234
|
332
|
+
# projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
|
333
|
+
# projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
|
334
|
+
# Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
|
335
|
+
# `Release` instances for 'projects/foo' with names prefixed with 'prod'
|
336
|
+
# referring to the same `Ruleset` name of 'uuid1234':
|
337
|
+
# Name | Ruleset Name
|
338
|
+
# ------------------------------|-------------
|
339
|
+
# projects/foo/releases/prod | projects/foo/rulesets/1234
|
340
|
+
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
|
341
|
+
# In the examples, the filter parameters refer to the search filters are
|
342
|
+
# relative to the project. Fully qualified prefixed may also be used. e.g.
|
343
|
+
# `test_suite_name=projects/foo/testsuites/uuid1`
|
344
|
+
# @param [String] page_token
|
345
|
+
# Next page token for the next batch of `Release` instances.
|
346
|
+
# @param [Fixnum] page_size
|
347
|
+
# Page size to load. Maximum of 100. Defaults to 10.
|
348
|
+
# Note: `page_size` is just a hint and the service may choose to load fewer
|
349
|
+
# than `page_size` results due to the size of the output. To traverse all of
|
350
|
+
# the releases, the caller should iterate until the `page_token` on the
|
351
|
+
# response is empty.
|
365
352
|
# @param [String] fields
|
366
353
|
# Selector specifying which fields to include in a partial response.
|
367
354
|
# @param [String] quota_user
|
@@ -371,28 +358,52 @@ module Google
|
|
371
358
|
# Request-specific options
|
372
359
|
#
|
373
360
|
# @yield [result, err] Result & error if block supplied
|
374
|
-
# @yieldparam result [Google::Apis::FirebaserulesV1::
|
361
|
+
# @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
|
375
362
|
# @yieldparam err [StandardError] error object if request failed
|
376
363
|
#
|
377
|
-
# @return [Google::Apis::FirebaserulesV1::
|
364
|
+
# @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
|
378
365
|
#
|
379
366
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
380
367
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
381
368
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
382
|
-
def
|
383
|
-
command = make_simple_command(:
|
384
|
-
command.response_representation = Google::Apis::FirebaserulesV1::
|
385
|
-
command.response_class = Google::Apis::FirebaserulesV1::
|
369
|
+
def list_project_releases(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
370
|
+
command = make_simple_command(:get, 'v1/{+name}/releases', options)
|
371
|
+
command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
|
372
|
+
command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
|
386
373
|
command.params['name'] = name unless name.nil?
|
374
|
+
command.query['filter'] = filter unless filter.nil?
|
375
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
376
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
387
377
|
command.query['fields'] = fields unless fields.nil?
|
388
378
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
379
|
execute_or_queue_command(command, &block)
|
390
380
|
end
|
391
381
|
|
392
|
-
#
|
382
|
+
# Update a `Release`.
|
383
|
+
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
|
384
|
+
# honored. `Release` rename is not supported. To create a `Release` use the
|
385
|
+
# CreateRelease method.
|
393
386
|
# @param [String] name
|
394
|
-
# Resource name
|
387
|
+
# Resource name for the `Release`.
|
388
|
+
# `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
|
389
|
+
# which affords developers a great deal of flexibility in mapping the name
|
390
|
+
# to the style that best fits their existing development practices. For
|
391
|
+
# example, a name could refer to an environment, an app, a version, or some
|
392
|
+
# combination of three.
|
393
|
+
# In the table below, for the project name `projects/foo`, the following
|
394
|
+
# relative release paths show how flat and structured names might be chosen
|
395
|
+
# to match a desired development / deployment strategy.
|
396
|
+
# Use Case | Flat Name | Structured Name
|
397
|
+
# -------------|---------------------|----------------
|
398
|
+
# Environments | releases/qa | releases/qa
|
399
|
+
# Apps | releases/app1_qa | releases/app1/qa
|
400
|
+
# Versions | releases/app1_v2_qa | releases/app1/v2/qa
|
401
|
+
# The delimiter between the release name path elements can be almost anything
|
402
|
+
# and it should work equally well with the release name list filter, but in
|
403
|
+
# many ways the structured paths provide a clearer picture of the
|
404
|
+
# relationship between `Release` instances.
|
395
405
|
# Format: `projects/`project_id`/releases/`release_id``
|
406
|
+
# @param [Google::Apis::FirebaserulesV1::Release] release_object
|
396
407
|
# @param [String] fields
|
397
408
|
# Selector specifying which fields to include in a partial response.
|
398
409
|
# @param [String] quota_user
|
@@ -410,8 +421,10 @@ module Google
|
|
410
421
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
411
422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
412
423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
413
|
-
def
|
414
|
-
command = make_simple_command(:
|
424
|
+
def update_project_release(name, release_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
425
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
426
|
+
command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
427
|
+
command.request_object = release_object
|
415
428
|
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
416
429
|
command.response_class = Google::Apis::FirebaserulesV1::Release
|
417
430
|
command.params['name'] = name unless name.nil?
|
@@ -420,40 +433,28 @@ module Google
|
|
420
433
|
execute_or_queue_command(command, &block)
|
421
434
|
end
|
422
435
|
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
436
|
+
# Create a `Release`.
|
437
|
+
# Release names should reflect the developer's deployment practices. For
|
438
|
+
# example, the release name may include the environment name, application
|
439
|
+
# name, application version, or any other name meaningful to the developer.
|
440
|
+
# Once a `Release` refers to a `Ruleset`, the rules can be enforced by
|
441
|
+
# Firebase Rules-enabled services.
|
442
|
+
# More than one `Release` may be 'live' concurrently. Consider the following
|
443
|
+
# three `Release` names for `projects/foo` and the `Ruleset` to which they
|
444
|
+
# refer.
|
445
|
+
# Release Name | Ruleset Name
|
446
|
+
# --------------------------------|-------------
|
447
|
+
# projects/foo/releases/prod | projects/foo/rulesets/uuid123
|
448
|
+
# projects/foo/releases/prod/beta | projects/foo/rulesets/uuid123
|
449
|
+
# projects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456
|
450
|
+
# The table reflects the `Ruleset` rollout in progress. The `prod` and
|
451
|
+
# `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`
|
452
|
+
# refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be
|
453
|
+
# updated using the UpdateRelease method.
|
426
454
|
# @param [String] name
|
427
|
-
# Resource name for the project
|
455
|
+
# Resource name for the project which owns this `Release`.
|
428
456
|
# Format: `projects/`project_id``
|
429
|
-
# @param [
|
430
|
-
# Next page token for the next batch of `Release` instances.
|
431
|
-
# @param [Fixnum] page_size
|
432
|
-
# Page size to load. Maximum of 100. Defaults to 10.
|
433
|
-
# Note: `page_size` is just a hint and the service may choose to load fewer
|
434
|
-
# than `page_size` results due to the size of the output. To traverse all of
|
435
|
-
# the releases, the caller should iterate until the `page_token` on the
|
436
|
-
# response is empty.
|
437
|
-
# @param [String] filter
|
438
|
-
# `Release` filter. The list method supports filters with restrictions on the
|
439
|
-
# `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
|
440
|
-
# Example 1: A filter of 'name=prod*' might return `Release`s with names
|
441
|
-
# within 'projects/foo' prefixed with 'prod':
|
442
|
-
# Name | Ruleset Name
|
443
|
-
# ------------------------------|-------------
|
444
|
-
# projects/foo/releases/prod | projects/foo/rulesets/uuid1234
|
445
|
-
# projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
|
446
|
-
# projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
|
447
|
-
# Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
|
448
|
-
# `Release` instances for 'projects/foo' with names prefixed with 'prod'
|
449
|
-
# referring to the same `Ruleset` name of 'uuid1234':
|
450
|
-
# Name | Ruleset Name
|
451
|
-
# ------------------------------|-------------
|
452
|
-
# projects/foo/releases/prod | projects/foo/rulesets/1234
|
453
|
-
# projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
|
454
|
-
# In the examples, the filter parameters refer to the search filters are
|
455
|
-
# relative to the project. Fully qualified prefixed may also be used. e.g.
|
456
|
-
# `test_suite_name=projects/foo/testsuites/uuid1`
|
457
|
+
# @param [Google::Apis::FirebaserulesV1::Release] release_object
|
457
458
|
# @param [String] fields
|
458
459
|
# Selector specifying which fields to include in a partial response.
|
459
460
|
# @param [String] quota_user
|
@@ -463,22 +464,21 @@ module Google
|
|
463
464
|
# Request-specific options
|
464
465
|
#
|
465
466
|
# @yield [result, err] Result & error if block supplied
|
466
|
-
# @yieldparam result [Google::Apis::FirebaserulesV1::
|
467
|
+
# @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
|
467
468
|
# @yieldparam err [StandardError] error object if request failed
|
468
469
|
#
|
469
|
-
# @return [Google::Apis::FirebaserulesV1::
|
470
|
+
# @return [Google::Apis::FirebaserulesV1::Release]
|
470
471
|
#
|
471
472
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
-
def
|
475
|
-
command = make_simple_command(:
|
476
|
-
command.
|
477
|
-
command.
|
475
|
+
def create_project_release(name, release_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
476
|
+
command = make_simple_command(:post, 'v1/{+name}/releases', options)
|
477
|
+
command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
478
|
+
command.request_object = release_object
|
479
|
+
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
480
|
+
command.response_class = Google::Apis::FirebaserulesV1::Release
|
478
481
|
command.params['name'] = name unless name.nil?
|
479
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
480
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
481
|
-
command.query['filter'] = filter unless filter.nil?
|
482
482
|
command.query['fields'] = fields unless fields.nil?
|
483
483
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
484
|
execute_or_queue_command(command, &block)
|