google-api-client 0.10.2 → 0.10.3
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 +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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/classes.rb +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
- 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 +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -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 +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- 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/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- 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 +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
|
@@ -22,18 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudkmsV1
|
|
24
24
|
|
|
25
|
-
class Location
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
class ListCryptoKeysResponse
|
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
-
|
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
-
end
|
|
36
|
-
|
|
37
25
|
class Condition
|
|
38
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
27
|
|
|
@@ -64,25 +52,25 @@ module Google
|
|
|
64
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
53
|
end
|
|
66
54
|
|
|
67
|
-
class
|
|
55
|
+
class KeyRing
|
|
68
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
57
|
|
|
70
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
59
|
end
|
|
72
60
|
|
|
73
|
-
class
|
|
61
|
+
class EncryptResponse
|
|
74
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
63
|
|
|
76
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
65
|
end
|
|
78
66
|
|
|
79
|
-
class
|
|
67
|
+
class ListLocationsResponse
|
|
80
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
69
|
|
|
82
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
71
|
end
|
|
84
72
|
|
|
85
|
-
class
|
|
73
|
+
class Policy
|
|
86
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
75
|
|
|
88
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -160,13 +148,13 @@ module Google
|
|
|
160
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
149
|
end
|
|
162
150
|
|
|
163
|
-
class
|
|
151
|
+
class Rule
|
|
164
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
153
|
|
|
166
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
155
|
end
|
|
168
156
|
|
|
169
|
-
class
|
|
157
|
+
class CryptoKey
|
|
170
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
159
|
|
|
172
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -191,23 +179,15 @@ module Google
|
|
|
191
179
|
end
|
|
192
180
|
|
|
193
181
|
class Location
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
property :location_id, as: 'locationId'
|
|
198
|
-
hash :metadata, as: 'metadata'
|
|
199
|
-
hash :labels, as: 'labels'
|
|
200
|
-
end
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
201
185
|
end
|
|
202
186
|
|
|
203
187
|
class ListCryptoKeysResponse
|
|
204
|
-
|
|
205
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
206
|
-
property :next_page_token, as: 'nextPageToken'
|
|
207
|
-
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
208
189
|
|
|
209
|
-
|
|
210
|
-
end
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
211
191
|
end
|
|
212
192
|
|
|
213
193
|
class Condition
|
|
@@ -215,10 +195,10 @@ module Google
|
|
|
215
195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
216
196
|
property :op, as: 'op'
|
|
217
197
|
property :svc, as: 'svc'
|
|
218
|
-
property :value, as: 'value'
|
|
219
198
|
property :sys, as: 'sys'
|
|
220
|
-
property :
|
|
199
|
+
property :value, as: 'value'
|
|
221
200
|
collection :values, as: 'values'
|
|
201
|
+
property :iam, as: 'iam'
|
|
222
202
|
end
|
|
223
203
|
end
|
|
224
204
|
|
|
@@ -252,18 +232,19 @@ module Google
|
|
|
252
232
|
end
|
|
253
233
|
end
|
|
254
234
|
|
|
255
|
-
class
|
|
235
|
+
class KeyRing
|
|
256
236
|
# @private
|
|
257
237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
258
|
-
property :
|
|
259
|
-
property :
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
property :version, as: 'version'
|
|
263
|
-
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1::AuditConfig, decorator: Google::Apis::CloudkmsV1::AuditConfig::Representation
|
|
264
|
-
|
|
265
|
-
collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation
|
|
238
|
+
property :name, as: 'name'
|
|
239
|
+
property :create_time, as: 'createTime'
|
|
240
|
+
end
|
|
241
|
+
end
|
|
266
242
|
|
|
243
|
+
class EncryptResponse
|
|
244
|
+
# @private
|
|
245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
246
|
+
property :ciphertext, :base64 => true, as: 'ciphertext'
|
|
247
|
+
property :name, as: 'name'
|
|
267
248
|
end
|
|
268
249
|
end
|
|
269
250
|
|
|
@@ -276,19 +257,18 @@ module Google
|
|
|
276
257
|
end
|
|
277
258
|
end
|
|
278
259
|
|
|
279
|
-
class
|
|
260
|
+
class Policy
|
|
280
261
|
# @private
|
|
281
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
282
|
-
property :
|
|
283
|
-
|
|
284
|
-
end
|
|
285
|
-
end
|
|
263
|
+
property :iam_owned, as: 'iamOwned'
|
|
264
|
+
collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1::Rule, decorator: Google::Apis::CloudkmsV1::Rule::Representation
|
|
286
265
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
266
|
+
property :version, as: 'version'
|
|
267
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1::AuditConfig, decorator: Google::Apis::CloudkmsV1::AuditConfig::Representation
|
|
268
|
+
|
|
269
|
+
collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation
|
|
270
|
+
|
|
271
|
+
property :etag, :base64 => true, as: 'etag'
|
|
292
272
|
end
|
|
293
273
|
end
|
|
294
274
|
|
|
@@ -334,11 +314,11 @@ module Google
|
|
|
334
314
|
class CryptoKeyVersion
|
|
335
315
|
# @private
|
|
336
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
337
|
-
property :destroy_time, as: 'destroyTime'
|
|
338
|
-
property :create_time, as: 'createTime'
|
|
339
317
|
property :state, as: 'state'
|
|
340
318
|
property :name, as: 'name'
|
|
341
319
|
property :destroy_event_time, as: 'destroyEventTime'
|
|
320
|
+
property :destroy_time, as: 'destroyTime'
|
|
321
|
+
property :create_time, as: 'createTime'
|
|
342
322
|
end
|
|
343
323
|
end
|
|
344
324
|
|
|
@@ -359,18 +339,18 @@ module Google
|
|
|
359
339
|
class EncryptRequest
|
|
360
340
|
# @private
|
|
361
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
362
|
-
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
|
363
342
|
property :plaintext, :base64 => true, as: 'plaintext'
|
|
343
|
+
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
|
364
344
|
end
|
|
365
345
|
end
|
|
366
346
|
|
|
367
347
|
class ListCryptoKeyVersionsResponse
|
|
368
348
|
# @private
|
|
369
349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
370
|
-
property :next_page_token, as: 'nextPageToken'
|
|
371
|
-
property :total_size, as: 'totalSize'
|
|
372
350
|
collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
373
351
|
|
|
352
|
+
property :next_page_token, as: 'nextPageToken'
|
|
353
|
+
property :total_size, as: 'totalSize'
|
|
374
354
|
end
|
|
375
355
|
end
|
|
376
356
|
|
|
@@ -387,6 +367,21 @@ module Google
|
|
|
387
367
|
end
|
|
388
368
|
end
|
|
389
369
|
|
|
370
|
+
class Rule
|
|
371
|
+
# @private
|
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
collection :not_in, as: 'notIn'
|
|
374
|
+
property :description, as: 'description'
|
|
375
|
+
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
|
376
|
+
|
|
377
|
+
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
|
378
|
+
|
|
379
|
+
collection :in, as: 'in'
|
|
380
|
+
collection :permissions, as: 'permissions'
|
|
381
|
+
property :action, as: 'action'
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
390
385
|
class CryptoKey
|
|
391
386
|
# @private
|
|
392
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -400,21 +395,6 @@ module Google
|
|
|
400
395
|
end
|
|
401
396
|
end
|
|
402
397
|
|
|
403
|
-
class Rule
|
|
404
|
-
# @private
|
|
405
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
406
|
-
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
|
407
|
-
|
|
408
|
-
collection :in, as: 'in'
|
|
409
|
-
collection :permissions, as: 'permissions'
|
|
410
|
-
property :action, as: 'action'
|
|
411
|
-
collection :not_in, as: 'notIn'
|
|
412
|
-
property :description, as: 'description'
|
|
413
|
-
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
|
414
|
-
|
|
415
|
-
end
|
|
416
|
-
end
|
|
417
|
-
|
|
418
398
|
class LogConfig
|
|
419
399
|
# @private
|
|
420
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -430,9 +410,9 @@ module Google
|
|
|
430
410
|
class SetIamPolicyRequest
|
|
431
411
|
# @private
|
|
432
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
433
|
-
property :update_mask, as: 'updateMask'
|
|
434
413
|
property :policy, as: 'policy', class: Google::Apis::CloudkmsV1::Policy, decorator: Google::Apis::CloudkmsV1::Policy::Representation
|
|
435
414
|
|
|
415
|
+
property :update_mask, as: 'updateMask'
|
|
436
416
|
end
|
|
437
417
|
end
|
|
438
418
|
|
|
@@ -443,6 +423,26 @@ module Google
|
|
|
443
423
|
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
|
444
424
|
end
|
|
445
425
|
end
|
|
426
|
+
|
|
427
|
+
class Location
|
|
428
|
+
# @private
|
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
430
|
+
hash :labels, as: 'labels'
|
|
431
|
+
property :name, as: 'name'
|
|
432
|
+
property :location_id, as: 'locationId'
|
|
433
|
+
hash :metadata, as: 'metadata'
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
class ListCryptoKeysResponse
|
|
438
|
+
# @private
|
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
440
|
+
property :next_page_token, as: 'nextPageToken'
|
|
441
|
+
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
442
|
+
|
|
443
|
+
property :total_size, as: 'totalSize'
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
446
|
end
|
|
447
447
|
end
|
|
448
448
|
end
|
|
@@ -56,11 +56,11 @@ module Google
|
|
|
56
56
|
# The standard list page size.
|
|
57
57
|
# @param [String] filter
|
|
58
58
|
# The standard list filter.
|
|
59
|
+
# @param [String] fields
|
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
|
59
61
|
# @param [String] quota_user
|
|
60
62
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
63
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
-
# @param [String] fields
|
|
63
|
-
# Selector specifying which fields to include in a partial response.
|
|
64
64
|
# @param [Google::Apis::RequestOptions] options
|
|
65
65
|
# Request-specific options
|
|
66
66
|
#
|
|
@@ -73,7 +73,7 @@ module Google
|
|
|
73
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
-
def list_project_locations(name, page_token: nil, page_size: nil, filter: nil,
|
|
76
|
+
def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
77
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
78
78
|
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
|
|
79
79
|
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
|
|
@@ -81,19 +81,19 @@ module Google
|
|
|
81
81
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
82
82
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
83
83
|
command.query['filter'] = filter unless filter.nil?
|
|
84
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
84
|
command.query['fields'] = fields unless fields.nil?
|
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
86
86
|
execute_or_queue_command(command, &block)
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Get information about a location.
|
|
90
90
|
# @param [String] name
|
|
91
91
|
# Resource name for the location.
|
|
92
|
+
# @param [String] fields
|
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
|
92
94
|
# @param [String] quota_user
|
|
93
95
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
94
96
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
95
|
-
# @param [String] fields
|
|
96
|
-
# Selector specifying which fields to include in a partial response.
|
|
97
97
|
# @param [Google::Apis::RequestOptions] options
|
|
98
98
|
# Request-specific options
|
|
99
99
|
#
|
|
@@ -106,13 +106,54 @@ module Google
|
|
|
106
106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
-
def get_project_location(name,
|
|
109
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
110
110
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
111
111
|
command.response_representation = Google::Apis::CloudkmsV1::Location::Representation
|
|
112
112
|
command.response_class = Google::Apis::CloudkmsV1::Location
|
|
113
113
|
command.params['name'] = name unless name.nil?
|
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
|
114
115
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
116
|
+
execute_or_queue_command(command, &block)
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Lists KeyRings.
|
|
120
|
+
# @param [String] parent
|
|
121
|
+
# Required. The resource name of the location associated with the
|
|
122
|
+
# KeyRings, in the format `projects/*/locations/*`.
|
|
123
|
+
# @param [String] page_token
|
|
124
|
+
# Optional pagination token, returned earlier via
|
|
125
|
+
# ListKeyRingsResponse.next_page_token.
|
|
126
|
+
# @param [Fixnum] page_size
|
|
127
|
+
# Optional limit on the number of KeyRings to include in the
|
|
128
|
+
# response. Further KeyRings can subsequently be obtained by
|
|
129
|
+
# including the ListKeyRingsResponse.next_page_token in a subsequent
|
|
130
|
+
# request. If unspecified, the server will pick an appropriate default.
|
|
131
|
+
# @param [String] fields
|
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
|
133
|
+
# @param [String] quota_user
|
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
137
|
+
# Request-specific options
|
|
138
|
+
#
|
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
|
140
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListKeyRingsResponse] parsed result object
|
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
142
|
+
#
|
|
143
|
+
# @return [Google::Apis::CloudkmsV1::ListKeyRingsResponse]
|
|
144
|
+
#
|
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
148
|
+
def list_project_location_key_rings(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
149
|
+
command = make_simple_command(:get, 'v1/{+parent}/keyRings', options)
|
|
150
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListKeyRingsResponse::Representation
|
|
151
|
+
command.response_class = Google::Apis::CloudkmsV1::ListKeyRingsResponse
|
|
152
|
+
command.params['parent'] = parent unless parent.nil?
|
|
153
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
154
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
115
155
|
command.query['fields'] = fields unless fields.nil?
|
|
156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
116
157
|
execute_or_queue_command(command, &block)
|
|
117
158
|
end
|
|
118
159
|
|
|
@@ -124,11 +165,11 @@ module Google
|
|
|
124
165
|
# @param [String] key_ring_id
|
|
125
166
|
# Required. It must be unique within a location and match the regular
|
|
126
167
|
# expression `[a-zA-Z0-9_-]`1,63``
|
|
168
|
+
# @param [String] fields
|
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
|
127
170
|
# @param [String] quota_user
|
|
128
171
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
129
172
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
|
-
# @param [String] fields
|
|
131
|
-
# Selector specifying which fields to include in a partial response.
|
|
132
173
|
# @param [Google::Apis::RequestOptions] options
|
|
133
174
|
# Request-specific options
|
|
134
175
|
#
|
|
@@ -141,7 +182,7 @@ module Google
|
|
|
141
182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
142
183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
143
184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
144
|
-
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil,
|
|
185
|
+
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
145
186
|
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
|
|
146
187
|
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
147
188
|
command.request_object = key_ring_object
|
|
@@ -149,8 +190,8 @@ module Google
|
|
|
149
190
|
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
|
150
191
|
command.params['parent'] = parent unless parent.nil?
|
|
151
192
|
command.query['keyRingId'] = key_ring_id unless key_ring_id.nil?
|
|
152
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
153
193
|
command.query['fields'] = fields unless fields.nil?
|
|
194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
154
195
|
execute_or_queue_command(command, &block)
|
|
155
196
|
end
|
|
156
197
|
|
|
@@ -160,11 +201,11 @@ module Google
|
|
|
160
201
|
# REQUIRED: The resource for which the policy is being specified.
|
|
161
202
|
# See the operation documentation for the appropriate value for this field.
|
|
162
203
|
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
204
|
+
# @param [String] fields
|
|
205
|
+
# Selector specifying which fields to include in a partial response.
|
|
163
206
|
# @param [String] quota_user
|
|
164
207
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
165
208
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
166
|
-
# @param [String] fields
|
|
167
|
-
# Selector specifying which fields to include in a partial response.
|
|
168
209
|
# @param [Google::Apis::RequestOptions] options
|
|
169
210
|
# Request-specific options
|
|
170
211
|
#
|
|
@@ -177,15 +218,15 @@ module Google
|
|
|
177
218
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
178
219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
179
220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
180
|
-
def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil,
|
|
221
|
+
def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
181
222
|
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
182
223
|
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
|
183
224
|
command.request_object = set_iam_policy_request_object
|
|
184
225
|
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
185
226
|
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
186
227
|
command.params['resource'] = resource unless resource.nil?
|
|
187
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
188
228
|
command.query['fields'] = fields unless fields.nil?
|
|
229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
189
230
|
execute_or_queue_command(command, &block)
|
|
190
231
|
end
|
|
191
232
|
|
|
@@ -195,11 +236,11 @@ module Google
|
|
|
195
236
|
# @param [String] resource
|
|
196
237
|
# REQUIRED: The resource for which the policy is being requested.
|
|
197
238
|
# See the operation documentation for the appropriate value for this field.
|
|
239
|
+
# @param [String] fields
|
|
240
|
+
# Selector specifying which fields to include in a partial response.
|
|
198
241
|
# @param [String] quota_user
|
|
199
242
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
200
243
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
201
|
-
# @param [String] fields
|
|
202
|
-
# Selector specifying which fields to include in a partial response.
|
|
203
244
|
# @param [Google::Apis::RequestOptions] options
|
|
204
245
|
# Request-specific options
|
|
205
246
|
#
|
|
@@ -212,24 +253,24 @@ module Google
|
|
|
212
253
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
213
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
214
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
215
|
-
def get_project_location_key_ring_iam_policy(resource,
|
|
256
|
+
def get_project_location_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
216
257
|
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
217
258
|
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
218
259
|
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
219
260
|
command.params['resource'] = resource unless resource.nil?
|
|
220
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
221
261
|
command.query['fields'] = fields unless fields.nil?
|
|
262
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
222
263
|
execute_or_queue_command(command, &block)
|
|
223
264
|
end
|
|
224
265
|
|
|
225
266
|
# Returns metadata for a given KeyRing.
|
|
226
267
|
# @param [String] name
|
|
227
268
|
# The name of the KeyRing to get.
|
|
269
|
+
# @param [String] fields
|
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
|
228
271
|
# @param [String] quota_user
|
|
229
272
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
230
273
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
231
|
-
# @param [String] fields
|
|
232
|
-
# Selector specifying which fields to include in a partial response.
|
|
233
274
|
# @param [Google::Apis::RequestOptions] options
|
|
234
275
|
# Request-specific options
|
|
235
276
|
#
|
|
@@ -242,13 +283,13 @@ module Google
|
|
|
242
283
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
243
284
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
244
285
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
245
|
-
def get_project_location_key_ring(name,
|
|
286
|
+
def get_project_location_key_ring(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
246
287
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
247
288
|
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
248
289
|
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
|
249
290
|
command.params['name'] = name unless name.nil?
|
|
250
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
251
291
|
command.query['fields'] = fields unless fields.nil?
|
|
292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
252
293
|
execute_or_queue_command(command, &block)
|
|
253
294
|
end
|
|
254
295
|
|
|
@@ -262,11 +303,11 @@ module Google
|
|
|
262
303
|
# REQUIRED: The resource for which the policy detail is being requested.
|
|
263
304
|
# See the operation documentation for the appropriate value for this field.
|
|
264
305
|
# @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
306
|
+
# @param [String] fields
|
|
307
|
+
# Selector specifying which fields to include in a partial response.
|
|
265
308
|
# @param [String] quota_user
|
|
266
309
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
267
310
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
268
|
-
# @param [String] fields
|
|
269
|
-
# Selector specifying which fields to include in a partial response.
|
|
270
311
|
# @param [Google::Apis::RequestOptions] options
|
|
271
312
|
# Request-specific options
|
|
272
313
|
#
|
|
@@ -279,56 +320,56 @@ module Google
|
|
|
279
320
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
280
321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
281
322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
282
|
-
def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil,
|
|
323
|
+
def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
283
324
|
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
284
325
|
command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
|
|
285
326
|
command.request_object = test_iam_permissions_request_object
|
|
286
327
|
command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation
|
|
287
328
|
command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse
|
|
288
329
|
command.params['resource'] = resource unless resource.nil?
|
|
289
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
290
330
|
command.query['fields'] = fields unless fields.nil?
|
|
331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
291
332
|
execute_or_queue_command(command, &block)
|
|
292
333
|
end
|
|
293
334
|
|
|
294
|
-
# Lists
|
|
335
|
+
# Lists CryptoKeys.
|
|
295
336
|
# @param [String] parent
|
|
296
|
-
# Required. The resource name of the
|
|
297
|
-
#
|
|
337
|
+
# Required. The resource name of the KeyRing to list, in the format
|
|
338
|
+
# `projects/*/locations/*/keyRings/*`.
|
|
298
339
|
# @param [String] page_token
|
|
299
340
|
# Optional pagination token, returned earlier via
|
|
300
|
-
#
|
|
341
|
+
# ListCryptoKeysResponse.next_page_token.
|
|
301
342
|
# @param [Fixnum] page_size
|
|
302
|
-
# Optional limit on the number of
|
|
303
|
-
# response. Further
|
|
304
|
-
# including the
|
|
343
|
+
# Optional limit on the number of CryptoKeys to include in the
|
|
344
|
+
# response. Further CryptoKeys can subsequently be obtained by
|
|
345
|
+
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
|
305
346
|
# request. If unspecified, the server will pick an appropriate default.
|
|
347
|
+
# @param [String] fields
|
|
348
|
+
# Selector specifying which fields to include in a partial response.
|
|
306
349
|
# @param [String] quota_user
|
|
307
350
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
308
351
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
309
|
-
# @param [String] fields
|
|
310
|
-
# Selector specifying which fields to include in a partial response.
|
|
311
352
|
# @param [Google::Apis::RequestOptions] options
|
|
312
353
|
# Request-specific options
|
|
313
354
|
#
|
|
314
355
|
# @yield [result, err] Result & error if block supplied
|
|
315
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::
|
|
356
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
|
316
357
|
# @yieldparam err [StandardError] error object if request failed
|
|
317
358
|
#
|
|
318
|
-
# @return [Google::Apis::CloudkmsV1::
|
|
359
|
+
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
|
319
360
|
#
|
|
320
361
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
321
362
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
322
363
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
323
|
-
def
|
|
324
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
|
325
|
-
command.response_representation = Google::Apis::CloudkmsV1::
|
|
326
|
-
command.response_class = Google::Apis::CloudkmsV1::
|
|
364
|
+
def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
365
|
+
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
|
366
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
|
367
|
+
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
|
327
368
|
command.params['parent'] = parent unless parent.nil?
|
|
328
369
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
329
370
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
330
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
331
371
|
command.query['fields'] = fields unless fields.nil?
|
|
372
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
332
373
|
execute_or_queue_command(command, &block)
|
|
333
374
|
end
|
|
334
375
|
|
|
@@ -339,11 +380,11 @@ module Google
|
|
|
339
380
|
# If a CryptoKey is specified, the server will use its
|
|
340
381
|
# primary version.
|
|
341
382
|
# @param [Google::Apis::CloudkmsV1::EncryptRequest] encrypt_request_object
|
|
383
|
+
# @param [String] fields
|
|
384
|
+
# Selector specifying which fields to include in a partial response.
|
|
342
385
|
# @param [String] quota_user
|
|
343
386
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
344
387
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
345
|
-
# @param [String] fields
|
|
346
|
-
# Selector specifying which fields to include in a partial response.
|
|
347
388
|
# @param [Google::Apis::RequestOptions] options
|
|
348
389
|
# Request-specific options
|
|
349
390
|
#
|
|
@@ -356,15 +397,15 @@ module Google
|
|
|
356
397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
357
398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
358
399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
359
|
-
def encrypt_crypto_key(name, encrypt_request_object = nil,
|
|
400
|
+
def encrypt_crypto_key(name, encrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
360
401
|
command = make_simple_command(:post, 'v1/{+name}:encrypt', options)
|
|
361
402
|
command.request_representation = Google::Apis::CloudkmsV1::EncryptRequest::Representation
|
|
362
403
|
command.request_object = encrypt_request_object
|
|
363
404
|
command.response_representation = Google::Apis::CloudkmsV1::EncryptResponse::Representation
|
|
364
405
|
command.response_class = Google::Apis::CloudkmsV1::EncryptResponse
|
|
365
406
|
command.params['name'] = name unless name.nil?
|
|
366
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
367
407
|
command.query['fields'] = fields unless fields.nil?
|
|
408
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
368
409
|
execute_or_queue_command(command, &block)
|
|
369
410
|
end
|
|
370
411
|
|
|
@@ -377,11 +418,11 @@ module Google
|
|
|
377
418
|
# @param [String] crypto_key_id
|
|
378
419
|
# Required. It must be unique within a KeyRing and match the regular
|
|
379
420
|
# expression `[a-zA-Z0-9_-]`1,63``
|
|
421
|
+
# @param [String] fields
|
|
422
|
+
# Selector specifying which fields to include in a partial response.
|
|
380
423
|
# @param [String] quota_user
|
|
381
424
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
382
425
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
383
|
-
# @param [String] fields
|
|
384
|
-
# Selector specifying which fields to include in a partial response.
|
|
385
426
|
# @param [Google::Apis::RequestOptions] options
|
|
386
427
|
# Request-specific options
|
|
387
428
|
#
|
|
@@ -394,7 +435,7 @@ module Google
|
|
|
394
435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
395
436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
396
437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
397
|
-
def create_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil,
|
|
438
|
+
def create_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
398
439
|
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options)
|
|
399
440
|
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
400
441
|
command.request_object = crypto_key_object
|
|
@@ -402,8 +443,8 @@ module Google
|
|
|
402
443
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
403
444
|
command.params['parent'] = parent unless parent.nil?
|
|
404
445
|
command.query['cryptoKeyId'] = crypto_key_id unless crypto_key_id.nil?
|
|
405
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
406
446
|
command.query['fields'] = fields unless fields.nil?
|
|
447
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
407
448
|
execute_or_queue_command(command, &block)
|
|
408
449
|
end
|
|
409
450
|
|
|
@@ -413,11 +454,11 @@ module Google
|
|
|
413
454
|
# REQUIRED: The resource for which the policy is being specified.
|
|
414
455
|
# See the operation documentation for the appropriate value for this field.
|
|
415
456
|
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
457
|
+
# @param [String] fields
|
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
|
416
459
|
# @param [String] quota_user
|
|
417
460
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
418
461
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
419
|
-
# @param [String] fields
|
|
420
|
-
# Selector specifying which fields to include in a partial response.
|
|
421
462
|
# @param [Google::Apis::RequestOptions] options
|
|
422
463
|
# Request-specific options
|
|
423
464
|
#
|
|
@@ -430,15 +471,15 @@ module Google
|
|
|
430
471
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
431
472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
432
473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
433
|
-
def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil,
|
|
474
|
+
def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
434
475
|
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
435
476
|
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
|
436
477
|
command.request_object = set_iam_policy_request_object
|
|
437
478
|
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
438
479
|
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
439
480
|
command.params['resource'] = resource unless resource.nil?
|
|
440
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
441
481
|
command.query['fields'] = fields unless fields.nil?
|
|
482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
442
483
|
execute_or_queue_command(command, &block)
|
|
443
484
|
end
|
|
444
485
|
|
|
@@ -446,11 +487,11 @@ module Google
|
|
|
446
487
|
# @param [String] name
|
|
447
488
|
# The resource name of the CryptoKey to update.
|
|
448
489
|
# @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object
|
|
490
|
+
# @param [String] fields
|
|
491
|
+
# Selector specifying which fields to include in a partial response.
|
|
449
492
|
# @param [String] quota_user
|
|
450
493
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
451
494
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
452
|
-
# @param [String] fields
|
|
453
|
-
# Selector specifying which fields to include in a partial response.
|
|
454
495
|
# @param [Google::Apis::RequestOptions] options
|
|
455
496
|
# Request-specific options
|
|
456
497
|
#
|
|
@@ -463,15 +504,15 @@ module Google
|
|
|
463
504
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
464
505
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
465
506
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
466
|
-
def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil,
|
|
507
|
+
def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
467
508
|
command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options)
|
|
468
509
|
command.request_representation = Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest::Representation
|
|
469
510
|
command.request_object = update_crypto_key_primary_version_request_object
|
|
470
511
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
471
512
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
472
513
|
command.params['name'] = name unless name.nil?
|
|
473
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
474
514
|
command.query['fields'] = fields unless fields.nil?
|
|
515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
475
516
|
execute_or_queue_command(command, &block)
|
|
476
517
|
end
|
|
477
518
|
|
|
@@ -481,11 +522,11 @@ module Google
|
|
|
481
522
|
# @param [String] resource
|
|
482
523
|
# REQUIRED: The resource for which the policy is being requested.
|
|
483
524
|
# See the operation documentation for the appropriate value for this field.
|
|
525
|
+
# @param [String] fields
|
|
526
|
+
# Selector specifying which fields to include in a partial response.
|
|
484
527
|
# @param [String] quota_user
|
|
485
528
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
486
529
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
487
|
-
# @param [String] fields
|
|
488
|
-
# Selector specifying which fields to include in a partial response.
|
|
489
530
|
# @param [Google::Apis::RequestOptions] options
|
|
490
531
|
# Request-specific options
|
|
491
532
|
#
|
|
@@ -498,28 +539,25 @@ module Google
|
|
|
498
539
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
499
540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
500
541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
501
|
-
def get_project_location_key_ring_crypto_key_iam_policy(resource,
|
|
542
|
+
def get_project_location_key_ring_crypto_key_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
502
543
|
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
503
544
|
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
504
545
|
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
505
546
|
command.params['resource'] = resource unless resource.nil?
|
|
506
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
507
547
|
command.query['fields'] = fields unless fields.nil?
|
|
548
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
508
549
|
execute_or_queue_command(command, &block)
|
|
509
550
|
end
|
|
510
551
|
|
|
511
|
-
#
|
|
552
|
+
# Returns metadata for a given CryptoKey, as well as its
|
|
553
|
+
# primary CryptoKeyVersion.
|
|
512
554
|
# @param [String] name
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
# @param [String] update_mask
|
|
517
|
-
# Required list of fields to be updated in this request.
|
|
555
|
+
# The name of the CryptoKey to get.
|
|
556
|
+
# @param [String] fields
|
|
557
|
+
# Selector specifying which fields to include in a partial response.
|
|
518
558
|
# @param [String] quota_user
|
|
519
559
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
520
560
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
521
|
-
# @param [String] fields
|
|
522
|
-
# Selector specifying which fields to include in a partial response.
|
|
523
561
|
# @param [Google::Apis::RequestOptions] options
|
|
524
562
|
# Request-specific options
|
|
525
563
|
#
|
|
@@ -532,28 +570,28 @@ module Google
|
|
|
532
570
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
533
571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
534
572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
535
|
-
def
|
|
536
|
-
command = make_simple_command(:
|
|
537
|
-
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
538
|
-
command.request_object = crypto_key_object
|
|
573
|
+
def get_project_location_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
574
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
539
575
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
540
576
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
541
577
|
command.params['name'] = name unless name.nil?
|
|
542
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
543
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
544
578
|
command.query['fields'] = fields unless fields.nil?
|
|
579
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
545
580
|
execute_or_queue_command(command, &block)
|
|
546
581
|
end
|
|
547
582
|
|
|
548
|
-
#
|
|
549
|
-
# primary CryptoKeyVersion.
|
|
583
|
+
# Update a CryptoKey.
|
|
550
584
|
# @param [String] name
|
|
551
|
-
# The name
|
|
585
|
+
# Output only. The resource name for this CryptoKey in the format
|
|
586
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
587
|
+
# @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object
|
|
588
|
+
# @param [String] update_mask
|
|
589
|
+
# Required list of fields to be updated in this request.
|
|
590
|
+
# @param [String] fields
|
|
591
|
+
# Selector specifying which fields to include in a partial response.
|
|
552
592
|
# @param [String] quota_user
|
|
553
593
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
554
594
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
555
|
-
# @param [String] fields
|
|
556
|
-
# Selector specifying which fields to include in a partial response.
|
|
557
595
|
# @param [Google::Apis::RequestOptions] options
|
|
558
596
|
# Request-specific options
|
|
559
597
|
#
|
|
@@ -566,13 +604,16 @@ module Google
|
|
|
566
604
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
567
605
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
568
606
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
569
|
-
def
|
|
570
|
-
command = make_simple_command(:
|
|
607
|
+
def patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
608
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
609
|
+
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
610
|
+
command.request_object = crypto_key_object
|
|
571
611
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
572
612
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
573
613
|
command.params['name'] = name unless name.nil?
|
|
574
|
-
command.query['
|
|
614
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
575
615
|
command.query['fields'] = fields unless fields.nil?
|
|
616
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
576
617
|
execute_or_queue_command(command, &block)
|
|
577
618
|
end
|
|
578
619
|
|
|
@@ -586,11 +627,11 @@ module Google
|
|
|
586
627
|
# REQUIRED: The resource for which the policy detail is being requested.
|
|
587
628
|
# See the operation documentation for the appropriate value for this field.
|
|
588
629
|
# @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
630
|
+
# @param [String] fields
|
|
631
|
+
# Selector specifying which fields to include in a partial response.
|
|
589
632
|
# @param [String] quota_user
|
|
590
633
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
591
634
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
592
|
-
# @param [String] fields
|
|
593
|
-
# Selector specifying which fields to include in a partial response.
|
|
594
635
|
# @param [Google::Apis::RequestOptions] options
|
|
595
636
|
# Request-specific options
|
|
596
637
|
#
|
|
@@ -603,15 +644,15 @@ module Google
|
|
|
603
644
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
604
645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
605
646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
606
|
-
def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil,
|
|
647
|
+
def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
607
648
|
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
608
649
|
command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
|
|
609
650
|
command.request_object = test_iam_permissions_request_object
|
|
610
651
|
command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation
|
|
611
652
|
command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse
|
|
612
653
|
command.params['resource'] = resource unless resource.nil?
|
|
613
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
614
654
|
command.query['fields'] = fields unless fields.nil?
|
|
655
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
615
656
|
execute_or_queue_command(command, &block)
|
|
616
657
|
end
|
|
617
658
|
|
|
@@ -620,11 +661,11 @@ module Google
|
|
|
620
661
|
# Required. The resource name of the CryptoKey to use for decryption.
|
|
621
662
|
# The server will choose the appropriate version.
|
|
622
663
|
# @param [Google::Apis::CloudkmsV1::DecryptRequest] decrypt_request_object
|
|
664
|
+
# @param [String] fields
|
|
665
|
+
# Selector specifying which fields to include in a partial response.
|
|
623
666
|
# @param [String] quota_user
|
|
624
667
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
625
668
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
626
|
-
# @param [String] fields
|
|
627
|
-
# Selector specifying which fields to include in a partial response.
|
|
628
669
|
# @param [Google::Apis::RequestOptions] options
|
|
629
670
|
# Request-specific options
|
|
630
671
|
#
|
|
@@ -637,98 +678,15 @@ module Google
|
|
|
637
678
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
638
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
639
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
640
|
-
def decrypt_crypto_key(name, decrypt_request_object = nil,
|
|
681
|
+
def decrypt_crypto_key(name, decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
641
682
|
command = make_simple_command(:post, 'v1/{+name}:decrypt', options)
|
|
642
683
|
command.request_representation = Google::Apis::CloudkmsV1::DecryptRequest::Representation
|
|
643
684
|
command.request_object = decrypt_request_object
|
|
644
685
|
command.response_representation = Google::Apis::CloudkmsV1::DecryptResponse::Representation
|
|
645
686
|
command.response_class = Google::Apis::CloudkmsV1::DecryptResponse
|
|
646
687
|
command.params['name'] = name unless name.nil?
|
|
647
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
648
688
|
command.query['fields'] = fields unless fields.nil?
|
|
649
|
-
execute_or_queue_command(command, &block)
|
|
650
|
-
end
|
|
651
|
-
|
|
652
|
-
# Lists CryptoKeys.
|
|
653
|
-
# @param [String] parent
|
|
654
|
-
# Required. The resource name of the KeyRing to list, in the format
|
|
655
|
-
# `projects/*/locations/*/keyRings/*`.
|
|
656
|
-
# @param [String] page_token
|
|
657
|
-
# Optional pagination token, returned earlier via
|
|
658
|
-
# ListCryptoKeysResponse.next_page_token.
|
|
659
|
-
# @param [Fixnum] page_size
|
|
660
|
-
# Optional limit on the number of CryptoKeys to include in the
|
|
661
|
-
# response. Further CryptoKeys can subsequently be obtained by
|
|
662
|
-
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
|
663
|
-
# request. If unspecified, the server will pick an appropriate default.
|
|
664
|
-
# @param [String] quota_user
|
|
665
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
666
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
667
|
-
# @param [String] fields
|
|
668
|
-
# Selector specifying which fields to include in a partial response.
|
|
669
|
-
# @param [Google::Apis::RequestOptions] options
|
|
670
|
-
# Request-specific options
|
|
671
|
-
#
|
|
672
|
-
# @yield [result, err] Result & error if block supplied
|
|
673
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
|
674
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
675
|
-
#
|
|
676
|
-
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
|
677
|
-
#
|
|
678
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
679
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
680
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
681
|
-
def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
682
|
-
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
|
683
|
-
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
|
684
|
-
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
|
685
|
-
command.params['parent'] = parent unless parent.nil?
|
|
686
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
687
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
688
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
689
|
-
command.query['fields'] = fields unless fields.nil?
|
|
690
|
-
execute_or_queue_command(command, &block)
|
|
691
|
-
end
|
|
692
|
-
|
|
693
|
-
# Lists CryptoKeyVersions.
|
|
694
|
-
# @param [String] parent
|
|
695
|
-
# Required. The resource name of the CryptoKey to list, in the format
|
|
696
|
-
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
697
|
-
# @param [String] page_token
|
|
698
|
-
# Optional pagination token, returned earlier via
|
|
699
|
-
# ListCryptoKeyVersionsResponse.next_page_token.
|
|
700
|
-
# @param [Fixnum] page_size
|
|
701
|
-
# Optional limit on the number of CryptoKeyVersions to
|
|
702
|
-
# include in the response. Further CryptoKeyVersions can
|
|
703
|
-
# subsequently be obtained by including the
|
|
704
|
-
# ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
|
|
705
|
-
# If unspecified, the server will pick an appropriate default.
|
|
706
|
-
# @param [String] quota_user
|
|
707
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
708
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
709
|
-
# @param [String] fields
|
|
710
|
-
# Selector specifying which fields to include in a partial response.
|
|
711
|
-
# @param [Google::Apis::RequestOptions] options
|
|
712
|
-
# Request-specific options
|
|
713
|
-
#
|
|
714
|
-
# @yield [result, err] Result & error if block supplied
|
|
715
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object
|
|
716
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
717
|
-
#
|
|
718
|
-
# @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse]
|
|
719
|
-
#
|
|
720
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
721
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
722
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
723
|
-
def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
724
|
-
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
|
|
725
|
-
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation
|
|
726
|
-
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
|
|
727
|
-
command.params['parent'] = parent unless parent.nil?
|
|
728
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
729
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
730
689
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
731
|
-
command.query['fields'] = fields unless fields.nil?
|
|
732
690
|
execute_or_queue_command(command, &block)
|
|
733
691
|
end
|
|
734
692
|
|
|
@@ -740,11 +698,11 @@ module Google
|
|
|
740
698
|
# Required. The name of the CryptoKey associated with
|
|
741
699
|
# the CryptoKeyVersions.
|
|
742
700
|
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
701
|
+
# @param [String] fields
|
|
702
|
+
# Selector specifying which fields to include in a partial response.
|
|
743
703
|
# @param [String] quota_user
|
|
744
704
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
745
705
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
746
|
-
# @param [String] fields
|
|
747
|
-
# Selector specifying which fields to include in a partial response.
|
|
748
706
|
# @param [Google::Apis::RequestOptions] options
|
|
749
707
|
# Request-specific options
|
|
750
708
|
#
|
|
@@ -757,15 +715,15 @@ module Google
|
|
|
757
715
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
758
716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
759
717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
760
|
-
def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil,
|
|
718
|
+
def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
761
719
|
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options)
|
|
762
720
|
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
763
721
|
command.request_object = crypto_key_version_object
|
|
764
722
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
765
723
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
766
724
|
command.params['parent'] = parent unless parent.nil?
|
|
767
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
768
725
|
command.query['fields'] = fields unless fields.nil?
|
|
726
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
769
727
|
execute_or_queue_command(command, &block)
|
|
770
728
|
end
|
|
771
729
|
|
|
@@ -782,11 +740,11 @@ module Google
|
|
|
782
740
|
# @param [String] name
|
|
783
741
|
# The resource name of the CryptoKeyVersion to destroy.
|
|
784
742
|
# @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object
|
|
743
|
+
# @param [String] fields
|
|
744
|
+
# Selector specifying which fields to include in a partial response.
|
|
785
745
|
# @param [String] quota_user
|
|
786
746
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
787
747
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
788
|
-
# @param [String] fields
|
|
789
|
-
# Selector specifying which fields to include in a partial response.
|
|
790
748
|
# @param [Google::Apis::RequestOptions] options
|
|
791
749
|
# Request-specific options
|
|
792
750
|
#
|
|
@@ -799,15 +757,15 @@ module Google
|
|
|
799
757
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
800
758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
801
759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
802
|
-
def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil,
|
|
760
|
+
def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
803
761
|
command = make_simple_command(:post, 'v1/{+name}:destroy', options)
|
|
804
762
|
command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation
|
|
805
763
|
command.request_object = destroy_crypto_key_version_request_object
|
|
806
764
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
807
765
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
808
766
|
command.params['name'] = name unless name.nil?
|
|
809
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
810
767
|
command.query['fields'] = fields unless fields.nil?
|
|
768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
811
769
|
execute_or_queue_command(command, &block)
|
|
812
770
|
end
|
|
813
771
|
|
|
@@ -820,11 +778,11 @@ module Google
|
|
|
820
778
|
# @param [String] name
|
|
821
779
|
# The resource name of the CryptoKeyVersion to restore.
|
|
822
780
|
# @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
|
|
781
|
+
# @param [String] fields
|
|
782
|
+
# Selector specifying which fields to include in a partial response.
|
|
823
783
|
# @param [String] quota_user
|
|
824
784
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
825
785
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
826
|
-
# @param [String] fields
|
|
827
|
-
# Selector specifying which fields to include in a partial response.
|
|
828
786
|
# @param [Google::Apis::RequestOptions] options
|
|
829
787
|
# Request-specific options
|
|
830
788
|
#
|
|
@@ -837,15 +795,15 @@ module Google
|
|
|
837
795
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
838
796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
839
797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
840
|
-
def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil,
|
|
798
|
+
def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
841
799
|
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
|
842
800
|
command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation
|
|
843
801
|
command.request_object = restore_crypto_key_version_request_object
|
|
844
802
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
845
803
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
846
804
|
command.params['name'] = name unless name.nil?
|
|
847
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
848
805
|
command.query['fields'] = fields unless fields.nil?
|
|
806
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
849
807
|
execute_or_queue_command(command, &block)
|
|
850
808
|
end
|
|
851
809
|
|
|
@@ -861,11 +819,11 @@ module Google
|
|
|
861
819
|
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
862
820
|
# @param [String] update_mask
|
|
863
821
|
# Required list of fields to be updated in this request.
|
|
822
|
+
# @param [String] fields
|
|
823
|
+
# Selector specifying which fields to include in a partial response.
|
|
864
824
|
# @param [String] quota_user
|
|
865
825
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
866
826
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
867
|
-
# @param [String] fields
|
|
868
|
-
# Selector specifying which fields to include in a partial response.
|
|
869
827
|
# @param [Google::Apis::RequestOptions] options
|
|
870
828
|
# Request-specific options
|
|
871
829
|
#
|
|
@@ -878,7 +836,7 @@ module Google
|
|
|
878
836
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
879
837
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
880
838
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
881
|
-
def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil,
|
|
839
|
+
def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
882
840
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
883
841
|
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
884
842
|
command.request_object = crypto_key_version_object
|
|
@@ -886,19 +844,19 @@ module Google
|
|
|
886
844
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
887
845
|
command.params['name'] = name unless name.nil?
|
|
888
846
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
889
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
890
847
|
command.query['fields'] = fields unless fields.nil?
|
|
848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
891
849
|
execute_or_queue_command(command, &block)
|
|
892
850
|
end
|
|
893
851
|
|
|
894
852
|
# Returns metadata for a given CryptoKeyVersion.
|
|
895
853
|
# @param [String] name
|
|
896
854
|
# The name of the CryptoKeyVersion to get.
|
|
855
|
+
# @param [String] fields
|
|
856
|
+
# Selector specifying which fields to include in a partial response.
|
|
897
857
|
# @param [String] quota_user
|
|
898
858
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
899
859
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
900
|
-
# @param [String] fields
|
|
901
|
-
# Selector specifying which fields to include in a partial response.
|
|
902
860
|
# @param [Google::Apis::RequestOptions] options
|
|
903
861
|
# Request-specific options
|
|
904
862
|
#
|
|
@@ -911,13 +869,55 @@ module Google
|
|
|
911
869
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
912
870
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
913
871
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
914
|
-
def get_project_location_key_ring_crypto_key_crypto_key_version(name,
|
|
872
|
+
def get_project_location_key_ring_crypto_key_crypto_key_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
915
873
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
916
874
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
917
875
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
918
876
|
command.params['name'] = name unless name.nil?
|
|
877
|
+
command.query['fields'] = fields unless fields.nil?
|
|
919
878
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
879
|
+
execute_or_queue_command(command, &block)
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
# Lists CryptoKeyVersions.
|
|
883
|
+
# @param [String] parent
|
|
884
|
+
# Required. The resource name of the CryptoKey to list, in the format
|
|
885
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
886
|
+
# @param [String] page_token
|
|
887
|
+
# Optional pagination token, returned earlier via
|
|
888
|
+
# ListCryptoKeyVersionsResponse.next_page_token.
|
|
889
|
+
# @param [Fixnum] page_size
|
|
890
|
+
# Optional limit on the number of CryptoKeyVersions to
|
|
891
|
+
# include in the response. Further CryptoKeyVersions can
|
|
892
|
+
# subsequently be obtained by including the
|
|
893
|
+
# ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
|
|
894
|
+
# If unspecified, the server will pick an appropriate default.
|
|
895
|
+
# @param [String] fields
|
|
896
|
+
# Selector specifying which fields to include in a partial response.
|
|
897
|
+
# @param [String] quota_user
|
|
898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
900
|
+
# @param [Google::Apis::RequestOptions] options
|
|
901
|
+
# Request-specific options
|
|
902
|
+
#
|
|
903
|
+
# @yield [result, err] Result & error if block supplied
|
|
904
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object
|
|
905
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
906
|
+
#
|
|
907
|
+
# @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse]
|
|
908
|
+
#
|
|
909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
912
|
+
def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
913
|
+
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
|
|
914
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation
|
|
915
|
+
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
|
|
916
|
+
command.params['parent'] = parent unless parent.nil?
|
|
917
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
918
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
920
919
|
command.query['fields'] = fields unless fields.nil?
|
|
920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
921
921
|
execute_or_queue_command(command, &block)
|
|
922
922
|
end
|
|
923
923
|
|