google-api-client 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- 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.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- 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 +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- 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 +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- 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 +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- 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 +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- 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 +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- 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 +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SourcerepoV1
|
24
24
|
|
25
|
-
class DataAccessOptions
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class AuditConfig
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -52,13 +46,13 @@ module Google
|
|
52
46
|
include Google::Apis::Core::JsonObjectSupport
|
53
47
|
end
|
54
48
|
|
55
|
-
class
|
49
|
+
class MirrorConfig
|
56
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
51
|
|
58
52
|
include Google::Apis::Core::JsonObjectSupport
|
59
53
|
end
|
60
54
|
|
61
|
-
class
|
55
|
+
class Empty
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
64
58
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -70,19 +64,19 @@ module Google
|
|
70
64
|
include Google::Apis::Core::JsonObjectSupport
|
71
65
|
end
|
72
66
|
|
73
|
-
class
|
67
|
+
class ListReposResponse
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
69
|
|
76
70
|
include Google::Apis::Core::JsonObjectSupport
|
77
71
|
end
|
78
72
|
|
79
|
-
class
|
73
|
+
class TestIamPermissionsResponse
|
80
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
75
|
|
82
76
|
include Google::Apis::Core::JsonObjectSupport
|
83
77
|
end
|
84
78
|
|
85
|
-
class
|
79
|
+
class Condition
|
86
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
81
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -125,18 +119,18 @@ module Google
|
|
125
119
|
end
|
126
120
|
|
127
121
|
class DataAccessOptions
|
128
|
-
|
129
|
-
|
130
|
-
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
125
|
end
|
132
126
|
|
133
127
|
class AuditConfig
|
134
128
|
# @private
|
135
129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
-
property :service, as: 'service'
|
137
130
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
|
138
131
|
|
139
132
|
collection :exempted_members, as: 'exemptedMembers'
|
133
|
+
property :service, as: 'service'
|
140
134
|
end
|
141
135
|
end
|
142
136
|
|
@@ -164,12 +158,6 @@ module Google
|
|
164
158
|
end
|
165
159
|
end
|
166
160
|
|
167
|
-
class Empty
|
168
|
-
# @private
|
169
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
161
|
class MirrorConfig
|
174
162
|
# @private
|
175
163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -179,35 +167,29 @@ module Google
|
|
179
167
|
end
|
180
168
|
end
|
181
169
|
|
182
|
-
class
|
170
|
+
class Empty
|
183
171
|
# @private
|
184
172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
185
|
-
property :url, as: 'url'
|
186
|
-
property :size, :numeric_string => true, as: 'size'
|
187
|
-
property :name, as: 'name'
|
188
|
-
property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
|
189
|
-
|
190
173
|
end
|
191
174
|
end
|
192
175
|
|
193
|
-
class
|
176
|
+
class Repo
|
194
177
|
# @private
|
195
178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
196
|
-
property :
|
197
|
-
property :
|
198
|
-
|
199
|
-
property :
|
200
|
-
property :
|
201
|
-
property :svc, as: 'svc'
|
179
|
+
property :name, as: 'name'
|
180
|
+
property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
|
181
|
+
|
182
|
+
property :url, as: 'url'
|
183
|
+
property :size, :numeric_string => true, as: 'size'
|
202
184
|
end
|
203
185
|
end
|
204
186
|
|
205
187
|
class ListReposResponse
|
206
188
|
# @private
|
207
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
-
property :next_page_token, as: 'nextPageToken'
|
209
190
|
collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation
|
210
191
|
|
192
|
+
property :next_page_token, as: 'nextPageToken'
|
211
193
|
end
|
212
194
|
end
|
213
195
|
|
@@ -218,19 +200,31 @@ module Google
|
|
218
200
|
end
|
219
201
|
end
|
220
202
|
|
203
|
+
class Condition
|
204
|
+
# @private
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
206
|
+
property :sys, as: 'sys'
|
207
|
+
property :value, as: 'value'
|
208
|
+
collection :values, as: 'values'
|
209
|
+
property :iam, as: 'iam'
|
210
|
+
property :op, as: 'op'
|
211
|
+
property :svc, as: 'svc'
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
221
215
|
class CounterOptions
|
222
216
|
# @private
|
223
217
|
class Representation < Google::Apis::Core::JsonRepresentation
|
224
|
-
property :metric, as: 'metric'
|
225
218
|
property :field, as: 'field'
|
219
|
+
property :metric, as: 'metric'
|
226
220
|
end
|
227
221
|
end
|
228
222
|
|
229
223
|
class AuditLogConfig
|
230
224
|
# @private
|
231
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
232
|
-
property :log_type, as: 'logType'
|
233
226
|
collection :exempted_members, as: 'exemptedMembers'
|
227
|
+
property :log_type, as: 'logType'
|
234
228
|
end
|
235
229
|
end
|
236
230
|
|
@@ -252,12 +246,12 @@ module Google
|
|
252
246
|
class LogConfig
|
253
247
|
# @private
|
254
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
-
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
|
256
|
-
|
257
249
|
property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
|
258
250
|
|
259
251
|
property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
|
260
252
|
|
253
|
+
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
|
254
|
+
|
261
255
|
end
|
262
256
|
end
|
263
257
|
|
@@ -271,6 +265,7 @@ module Google
|
|
271
265
|
class Policy
|
272
266
|
# @private
|
273
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :etag, :base64 => true, as: 'etag'
|
274
269
|
property :iam_owned, as: 'iamOwned'
|
275
270
|
collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
|
276
271
|
|
@@ -279,7 +274,12 @@ module Google
|
|
279
274
|
|
280
275
|
collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
|
281
276
|
|
282
|
-
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class DataAccessOptions
|
281
|
+
# @private
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
283
283
|
end
|
284
284
|
end
|
285
285
|
end
|
@@ -53,11 +53,11 @@ module Google
|
|
53
53
|
# @param [String] resource
|
54
54
|
# REQUIRED: The resource for which the policy is being requested.
|
55
55
|
# See the operation documentation for the appropriate value for this field.
|
56
|
-
# @param [String] fields
|
57
|
-
# Selector specifying which fields to include in a partial response.
|
58
56
|
# @param [String] quota_user
|
59
57
|
# Available to use for quota purposes for server-side applications. Can be any
|
60
58
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
61
|
# @param [Google::Apis::RequestOptions] options
|
62
62
|
# Request-specific options
|
63
63
|
#
|
@@ -70,13 +70,13 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
-
def get_project_repo_iam_policy(resource,
|
73
|
+
def get_project_repo_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
|
74
74
|
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
75
75
|
command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
|
76
76
|
command.response_class = Google::Apis::SourcerepoV1::Policy
|
77
77
|
command.params['resource'] = resource unless resource.nil?
|
78
|
-
command.query['fields'] = fields unless fields.nil?
|
79
78
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
80
|
execute_or_queue_command(command, &block)
|
81
81
|
end
|
82
82
|
|
@@ -84,11 +84,11 @@ module Google
|
|
84
84
|
# @param [String] name
|
85
85
|
# The name of the requested repository. Values are of the form
|
86
86
|
# `projects/<project>/repos/<repo>`.
|
87
|
-
# @param [String] fields
|
88
|
-
# Selector specifying which fields to include in a partial response.
|
89
87
|
# @param [String] quota_user
|
90
88
|
# Available to use for quota purposes for server-side applications. Can be any
|
91
89
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
90
|
+
# @param [String] fields
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
92
92
|
# @param [Google::Apis::RequestOptions] options
|
93
93
|
# Request-specific options
|
94
94
|
#
|
@@ -101,13 +101,13 @@ module Google
|
|
101
101
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
102
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
103
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
-
def get_project_repo(name,
|
104
|
+
def get_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
|
105
105
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
106
106
|
command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
107
107
|
command.response_class = Google::Apis::SourcerepoV1::Repo
|
108
108
|
command.params['name'] = name unless name.nil?
|
109
|
-
command.query['fields'] = fields unless fields.nil?
|
110
109
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
111
111
|
execute_or_queue_command(command, &block)
|
112
112
|
end
|
113
113
|
|
@@ -118,11 +118,11 @@ module Google
|
|
118
118
|
# REQUIRED: The resource for which the policy detail is being requested.
|
119
119
|
# See the operation documentation for the appropriate value for this field.
|
120
120
|
# @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
121
|
-
# @param [String] fields
|
122
|
-
# Selector specifying which fields to include in a partial response.
|
123
121
|
# @param [String] quota_user
|
124
122
|
# Available to use for quota purposes for server-side applications. Can be any
|
125
123
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
124
|
+
# @param [String] fields
|
125
|
+
# Selector specifying which fields to include in a partial response.
|
126
126
|
# @param [Google::Apis::RequestOptions] options
|
127
127
|
# Request-specific options
|
128
128
|
#
|
@@ -135,15 +135,15 @@ module Google
|
|
135
135
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
136
136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
|
-
def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil,
|
138
|
+
def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
139
139
|
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
140
140
|
command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
|
141
141
|
command.request_object = test_iam_permissions_request_object
|
142
142
|
command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
|
143
143
|
command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
|
144
144
|
command.params['resource'] = resource unless resource.nil?
|
145
|
-
command.query['fields'] = fields unless fields.nil?
|
146
145
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
|
+
command.query['fields'] = fields unless fields.nil?
|
147
147
|
execute_or_queue_command(command, &block)
|
148
148
|
end
|
149
149
|
|
@@ -151,11 +151,11 @@ module Google
|
|
151
151
|
# @param [String] name
|
152
152
|
# The name of the repo to delete. Values are of the form
|
153
153
|
# `projects/<project>/repos/<repo>`.
|
154
|
-
# @param [String] fields
|
155
|
-
# Selector specifying which fields to include in a partial response.
|
156
154
|
# @param [String] quota_user
|
157
155
|
# Available to use for quota purposes for server-side applications. Can be any
|
158
156
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
157
|
+
# @param [String] fields
|
158
|
+
# Selector specifying which fields to include in a partial response.
|
159
159
|
# @param [Google::Apis::RequestOptions] options
|
160
160
|
# Request-specific options
|
161
161
|
#
|
@@ -168,13 +168,13 @@ module Google
|
|
168
168
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
169
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
|
-
def delete_project_repo(name,
|
171
|
+
def delete_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
|
172
172
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
173
173
|
command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
|
174
174
|
command.response_class = Google::Apis::SourcerepoV1::Empty
|
175
175
|
command.params['name'] = name unless name.nil?
|
176
|
-
command.query['fields'] = fields unless fields.nil?
|
177
176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
177
|
+
command.query['fields'] = fields unless fields.nil?
|
178
178
|
execute_or_queue_command(command, &block)
|
179
179
|
end
|
180
180
|
|
@@ -183,18 +183,18 @@ module Google
|
|
183
183
|
# @param [String] name
|
184
184
|
# The project ID whose repos should be listed. Values are of the form
|
185
185
|
# `projects/<project>`.
|
186
|
-
# @param [Fixnum] page_size
|
187
|
-
# Maximum number of repositories to return; between 1 and 500.
|
188
|
-
# If not set or zero, defaults to 100 at the server.
|
189
186
|
# @param [String] page_token
|
190
187
|
# Resume listing repositories where a prior ListReposResponse
|
191
188
|
# left off. This is an opaque token that must be obtained from
|
192
189
|
# a recent, prior ListReposResponse's next_page_token field.
|
193
|
-
# @param [
|
194
|
-
#
|
190
|
+
# @param [Fixnum] page_size
|
191
|
+
# Maximum number of repositories to return; between 1 and 500.
|
192
|
+
# If not set or zero, defaults to 100 at the server.
|
195
193
|
# @param [String] quota_user
|
196
194
|
# Available to use for quota purposes for server-side applications. Can be any
|
197
195
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
196
|
+
# @param [String] fields
|
197
|
+
# Selector specifying which fields to include in a partial response.
|
198
198
|
# @param [Google::Apis::RequestOptions] options
|
199
199
|
# Request-specific options
|
200
200
|
#
|
@@ -207,50 +207,15 @@ module Google
|
|
207
207
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
-
def list_project_repos(name,
|
210
|
+
def list_project_repos(name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
211
211
|
command = make_simple_command(:get, 'v1/{+name}/repos', options)
|
212
212
|
command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
|
213
213
|
command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
|
214
214
|
command.params['name'] = name unless name.nil?
|
215
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
216
215
|
command.query['pageToken'] = page_token unless page_token.nil?
|
217
|
-
command.query['
|
216
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
218
217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
219
|
-
execute_or_queue_command(command, &block)
|
220
|
-
end
|
221
|
-
|
222
|
-
# Sets the access control policy on the specified resource. Replaces any
|
223
|
-
# existing policy.
|
224
|
-
# @param [String] resource
|
225
|
-
# REQUIRED: The resource for which the policy is being specified.
|
226
|
-
# See the operation documentation for the appropriate value for this field.
|
227
|
-
# @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
|
228
|
-
# @param [String] fields
|
229
|
-
# Selector specifying which fields to include in a partial response.
|
230
|
-
# @param [String] quota_user
|
231
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
232
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
233
|
-
# @param [Google::Apis::RequestOptions] options
|
234
|
-
# Request-specific options
|
235
|
-
#
|
236
|
-
# @yield [result, err] Result & error if block supplied
|
237
|
-
# @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
|
238
|
-
# @yieldparam err [StandardError] error object if request failed
|
239
|
-
#
|
240
|
-
# @return [Google::Apis::SourcerepoV1::Policy]
|
241
|
-
#
|
242
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
243
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
|
-
def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
246
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
247
|
-
command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
|
248
|
-
command.request_object = set_iam_policy_request_object
|
249
|
-
command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
|
250
|
-
command.response_class = Google::Apis::SourcerepoV1::Policy
|
251
|
-
command.params['resource'] = resource unless resource.nil?
|
252
218
|
command.query['fields'] = fields unless fields.nil?
|
253
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
254
219
|
execute_or_queue_command(command, &block)
|
255
220
|
end
|
256
221
|
|
@@ -261,11 +226,11 @@ module Google
|
|
261
226
|
# The project in which to create the repo. Values are of the form
|
262
227
|
# `projects/<project>`.
|
263
228
|
# @param [Google::Apis::SourcerepoV1::Repo] repo_object
|
264
|
-
# @param [String] fields
|
265
|
-
# Selector specifying which fields to include in a partial response.
|
266
229
|
# @param [String] quota_user
|
267
230
|
# Available to use for quota purposes for server-side applications. Can be any
|
268
231
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
232
|
+
# @param [String] fields
|
233
|
+
# Selector specifying which fields to include in a partial response.
|
269
234
|
# @param [Google::Apis::RequestOptions] options
|
270
235
|
# Request-specific options
|
271
236
|
#
|
@@ -278,15 +243,50 @@ module Google
|
|
278
243
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
279
244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
280
245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
281
|
-
def create_project_repo(parent, repo_object = nil,
|
246
|
+
def create_project_repo(parent, repo_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
282
247
|
command = make_simple_command(:post, 'v1/{+parent}/repos', options)
|
283
248
|
command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
284
249
|
command.request_object = repo_object
|
285
250
|
command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
286
251
|
command.response_class = Google::Apis::SourcerepoV1::Repo
|
287
252
|
command.params['parent'] = parent unless parent.nil?
|
253
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
288
254
|
command.query['fields'] = fields unless fields.nil?
|
255
|
+
execute_or_queue_command(command, &block)
|
256
|
+
end
|
257
|
+
|
258
|
+
# Sets the access control policy on the specified resource. Replaces any
|
259
|
+
# existing policy.
|
260
|
+
# @param [String] resource
|
261
|
+
# REQUIRED: The resource for which the policy is being specified.
|
262
|
+
# See the operation documentation for the appropriate value for this field.
|
263
|
+
# @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
|
264
|
+
# @param [String] quota_user
|
265
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
266
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
267
|
+
# @param [String] fields
|
268
|
+
# Selector specifying which fields to include in a partial response.
|
269
|
+
# @param [Google::Apis::RequestOptions] options
|
270
|
+
# Request-specific options
|
271
|
+
#
|
272
|
+
# @yield [result, err] Result & error if block supplied
|
273
|
+
# @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
|
274
|
+
# @yieldparam err [StandardError] error object if request failed
|
275
|
+
#
|
276
|
+
# @return [Google::Apis::SourcerepoV1::Policy]
|
277
|
+
#
|
278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
281
|
+
def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
282
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
283
|
+
command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
|
284
|
+
command.request_object = set_iam_policy_request_object
|
285
|
+
command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
|
286
|
+
command.response_class = Google::Apis::SourcerepoV1::Policy
|
287
|
+
command.params['resource'] = resource unless resource.nil?
|
289
288
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
|
+
command.query['fields'] = fields unless fields.nil?
|
290
290
|
execute_or_queue_command(command, &block)
|
291
291
|
end
|
292
292
|
|