google-api-client 0.10.0 → 0.10.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 +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.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 +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- 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 +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- 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 +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- 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 +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
@@ -26,13 +26,13 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
29
|
+
REVISION = '20170301'
|
33
30
|
|
34
31
|
# View your data across Google Cloud Platform services
|
35
32
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
33
|
+
|
34
|
+
# View and manage your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -22,19 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudresourcemanagerV1beta1
|
24
24
|
|
25
|
-
# Request message for `GetIamPolicy` method.
|
26
|
-
class GetIamPolicyRequest
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
def initialize(**args)
|
30
|
-
update!(**args)
|
31
|
-
end
|
32
|
-
|
33
|
-
# Update properties of this object
|
34
|
-
def update!(**args)
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
25
|
# Response message for `TestIamPermissions` method.
|
39
26
|
class TestIamPermissionsResponse
|
40
27
|
include Google::Apis::Core::Hashable
|
@@ -55,24 +42,16 @@ module Google
|
|
55
42
|
end
|
56
43
|
end
|
57
44
|
|
58
|
-
#
|
59
|
-
class
|
45
|
+
# Request message for `GetIamPolicy` method.
|
46
|
+
class GetIamPolicyRequest
|
60
47
|
include Google::Apis::Core::Hashable
|
61
48
|
|
62
|
-
# Ancestors are ordered from bottom to top of the resource hierarchy. The
|
63
|
-
# first ancestor is the project itself, followed by the project's parent,
|
64
|
-
# etc.
|
65
|
-
# Corresponds to the JSON property `ancestor`
|
66
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
|
67
|
-
attr_accessor :ancestor
|
68
|
-
|
69
49
|
def initialize(**args)
|
70
50
|
update!(**args)
|
71
51
|
end
|
72
52
|
|
73
53
|
# Update properties of this object
|
74
54
|
def update!(**args)
|
75
|
-
@ancestor = args[:ancestor] if args.key?(:ancestor)
|
76
55
|
end
|
77
56
|
end
|
78
57
|
|
@@ -98,6 +77,27 @@ module Google
|
|
98
77
|
end
|
99
78
|
end
|
100
79
|
|
80
|
+
# Response from the GetAncestry method.
|
81
|
+
class GetAncestryResponse
|
82
|
+
include Google::Apis::Core::Hashable
|
83
|
+
|
84
|
+
# Ancestors are ordered from bottom to top of the resource hierarchy. The
|
85
|
+
# first ancestor is the project itself, followed by the project's parent,
|
86
|
+
# etc.
|
87
|
+
# Corresponds to the JSON property `ancestor`
|
88
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
|
89
|
+
attr_accessor :ancestor
|
90
|
+
|
91
|
+
def initialize(**args)
|
92
|
+
update!(**args)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Update properties of this object
|
96
|
+
def update!(**args)
|
97
|
+
@ancestor = args[:ancestor] if args.key?(:ancestor)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
101
|
# A page of the response received from the
|
102
102
|
# ListProjects
|
103
103
|
# method.
|
@@ -136,6 +136,49 @@ module Google
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
+
# Provides the configuration for logging a type of permissions.
|
140
|
+
# Example:
|
141
|
+
# `
|
142
|
+
# "audit_log_configs": [
|
143
|
+
# `
|
144
|
+
# "log_type": "DATA_READ",
|
145
|
+
# "exempted_members": [
|
146
|
+
# "user:foo@gmail.com"
|
147
|
+
# ]
|
148
|
+
# `,
|
149
|
+
# `
|
150
|
+
# "log_type": "DATA_WRITE",
|
151
|
+
# `
|
152
|
+
# ]
|
153
|
+
# `
|
154
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
155
|
+
# foo@gmail.com from DATA_READ logging.
|
156
|
+
class AuditLogConfig
|
157
|
+
include Google::Apis::Core::Hashable
|
158
|
+
|
159
|
+
# Specifies the identities that do not cause logging for this type of
|
160
|
+
# permission.
|
161
|
+
# Follows the same format of Binding.members.
|
162
|
+
# Corresponds to the JSON property `exemptedMembers`
|
163
|
+
# @return [Array<String>]
|
164
|
+
attr_accessor :exempted_members
|
165
|
+
|
166
|
+
# The log type that this config enables.
|
167
|
+
# Corresponds to the JSON property `logType`
|
168
|
+
# @return [String]
|
169
|
+
attr_accessor :log_type
|
170
|
+
|
171
|
+
def initialize(**args)
|
172
|
+
update!(**args)
|
173
|
+
end
|
174
|
+
|
175
|
+
# Update properties of this object
|
176
|
+
def update!(**args)
|
177
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
178
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
139
182
|
# The request sent to the
|
140
183
|
# GetAncestry
|
141
184
|
# method.
|
@@ -152,7 +195,7 @@ module Google
|
|
152
195
|
end
|
153
196
|
|
154
197
|
# A Project is a high-level Google Cloud Platform entity. It is a
|
155
|
-
# container for ACLs, APIs,
|
198
|
+
# container for ACLs, APIs, App Engine Apps, VMs, and other
|
156
199
|
# Google Cloud Platform resources.
|
157
200
|
class Project
|
158
201
|
include Google::Apis::Core::Hashable
|
@@ -182,12 +225,18 @@ module Google
|
|
182
225
|
|
183
226
|
# A container to reference an id for any resource type. A `resource` in Google
|
184
227
|
# Cloud Platform is a generic term for something you (a developer) may want to
|
185
|
-
# interact with through one of our API's. Some examples are an
|
228
|
+
# interact with through one of our API's. Some examples are an App Engine app,
|
186
229
|
# a Compute Engine instance, a Cloud SQL database, and so on.
|
187
230
|
# Corresponds to the JSON property `parent`
|
188
231
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
189
232
|
attr_accessor :parent
|
190
233
|
|
234
|
+
# Creation time.
|
235
|
+
# Read-only.
|
236
|
+
# Corresponds to the JSON property `createTime`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :create_time
|
239
|
+
|
191
240
|
# The labels associated with this Project.
|
192
241
|
# Label keys must be between 1 and 63 characters long and must conform
|
193
242
|
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
@@ -202,12 +251,6 @@ module Google
|
|
202
251
|
# @return [Hash<String,String>]
|
203
252
|
attr_accessor :labels
|
204
253
|
|
205
|
-
# Creation time.
|
206
|
-
# Read-only.
|
207
|
-
# Corresponds to the JSON property `createTime`
|
208
|
-
# @return [String]
|
209
|
-
attr_accessor :create_time
|
210
|
-
|
211
254
|
# The user-assigned display name of the Project.
|
212
255
|
# It must be 4 to 30 characters.
|
213
256
|
# Allowed characters are: lowercase and uppercase letters, numbers,
|
@@ -228,8 +271,8 @@ module Google
|
|
228
271
|
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
229
272
|
@project_number = args[:project_number] if args.key?(:project_number)
|
230
273
|
@parent = args[:parent] if args.key?(:parent)
|
231
|
-
@labels = args[:labels] if args.key?(:labels)
|
232
274
|
@create_time = args[:create_time] if args.key?(:create_time)
|
275
|
+
@labels = args[:labels] if args.key?(:labels)
|
233
276
|
@name = args[:name] if args.key?(:name)
|
234
277
|
end
|
235
278
|
end
|
@@ -256,25 +299,6 @@ module Google
|
|
256
299
|
end
|
257
300
|
end
|
258
301
|
|
259
|
-
# A classification of the Folder Operation error.
|
260
|
-
class FolderOperationError
|
261
|
-
include Google::Apis::Core::Hashable
|
262
|
-
|
263
|
-
# The type of operation error experienced.
|
264
|
-
# Corresponds to the JSON property `errorMessageId`
|
265
|
-
# @return [String]
|
266
|
-
attr_accessor :error_message_id
|
267
|
-
|
268
|
-
def initialize(**args)
|
269
|
-
update!(**args)
|
270
|
-
end
|
271
|
-
|
272
|
-
# Update properties of this object
|
273
|
-
def update!(**args)
|
274
|
-
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
302
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
279
303
|
# specify access control policies for Cloud Platform resources.
|
280
304
|
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
@@ -304,6 +328,18 @@ module Google
|
|
304
328
|
class Policy
|
305
329
|
include Google::Apis::Core::Hashable
|
306
330
|
|
331
|
+
# Specifies cloud audit logging configuration for this policy.
|
332
|
+
# Corresponds to the JSON property `auditConfigs`
|
333
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
334
|
+
attr_accessor :audit_configs
|
335
|
+
|
336
|
+
# Associates a list of `members` to a `role`.
|
337
|
+
# Multiple `bindings` must not be specified for the same `role`.
|
338
|
+
# `bindings` with no members will result in an error.
|
339
|
+
# Corresponds to the JSON property `bindings`
|
340
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
341
|
+
attr_accessor :bindings
|
342
|
+
|
307
343
|
# `etag` is used for optimistic concurrency control as a way to help
|
308
344
|
# prevent simultaneous updates of a policy from overwriting each other.
|
309
345
|
# It is strongly suggested that systems make use of the `etag` in the
|
@@ -322,22 +358,16 @@ module Google
|
|
322
358
|
# @return [Fixnum]
|
323
359
|
attr_accessor :version
|
324
360
|
|
325
|
-
# Associates a list of `members` to a `role`.
|
326
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
327
|
-
# `bindings` with no members will result in an error.
|
328
|
-
# Corresponds to the JSON property `bindings`
|
329
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
330
|
-
attr_accessor :bindings
|
331
|
-
|
332
361
|
def initialize(**args)
|
333
362
|
update!(**args)
|
334
363
|
end
|
335
364
|
|
336
365
|
# Update properties of this object
|
337
366
|
def update!(**args)
|
367
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
368
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
338
369
|
@etag = args[:etag] if args.key?(:etag)
|
339
370
|
@version = args[:version] if args.key?(:version)
|
340
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
341
371
|
end
|
342
372
|
end
|
343
373
|
|
@@ -345,11 +375,6 @@ module Google
|
|
345
375
|
class FolderOperation
|
346
376
|
include Google::Apis::Core::Hashable
|
347
377
|
|
348
|
-
# The type of this operation.
|
349
|
-
# Corresponds to the JSON property `operationType`
|
350
|
-
# @return [String]
|
351
|
-
attr_accessor :operation_type
|
352
|
-
|
353
378
|
# The display name of the folder.
|
354
379
|
# Corresponds to the JSON property `displayName`
|
355
380
|
# @return [String]
|
@@ -367,22 +392,46 @@ module Google
|
|
367
392
|
# @return [String]
|
368
393
|
attr_accessor :destination_parent
|
369
394
|
|
395
|
+
# The type of this operation.
|
396
|
+
# Corresponds to the JSON property `operationType`
|
397
|
+
# @return [String]
|
398
|
+
attr_accessor :operation_type
|
399
|
+
|
370
400
|
def initialize(**args)
|
371
401
|
update!(**args)
|
372
402
|
end
|
373
403
|
|
374
404
|
# Update properties of this object
|
375
405
|
def update!(**args)
|
376
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
377
406
|
@display_name = args[:display_name] if args.key?(:display_name)
|
378
407
|
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
379
408
|
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
409
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
# A classification of the Folder Operation error.
|
414
|
+
class FolderOperationError
|
415
|
+
include Google::Apis::Core::Hashable
|
416
|
+
|
417
|
+
# The type of operation error experienced.
|
418
|
+
# Corresponds to the JSON property `errorMessageId`
|
419
|
+
# @return [String]
|
420
|
+
attr_accessor :error_message_id
|
421
|
+
|
422
|
+
def initialize(**args)
|
423
|
+
update!(**args)
|
424
|
+
end
|
425
|
+
|
426
|
+
# Update properties of this object
|
427
|
+
def update!(**args)
|
428
|
+
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
380
429
|
end
|
381
430
|
end
|
382
431
|
|
383
432
|
# A container to reference an id for any resource type. A `resource` in Google
|
384
433
|
# Cloud Platform is a generic term for something you (a developer) may want to
|
385
|
-
# interact with through one of our API's. Some examples are an
|
434
|
+
# interact with through one of our API's. Some examples are an App Engine app,
|
386
435
|
# a Compute Engine instance, a Cloud SQL database, and so on.
|
387
436
|
class ResourceId
|
388
437
|
include Google::Apis::Core::Hashable
|
@@ -410,17 +459,68 @@ module Google
|
|
410
459
|
end
|
411
460
|
end
|
412
461
|
|
413
|
-
#
|
414
|
-
|
462
|
+
# Specifies the audit configuration for a service.
|
463
|
+
# It consists of which permission types are logged, and what identities, if
|
464
|
+
# any, are exempted from logging.
|
465
|
+
# An AuditConifg must have one or more AuditLogConfigs.
|
466
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
467
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
468
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
469
|
+
# AuditConfig are exempted.
|
470
|
+
# Example Policy with multiple AuditConfigs:
|
471
|
+
# `
|
472
|
+
# "audit_configs": [
|
473
|
+
# `
|
474
|
+
# "service": "allServices"
|
475
|
+
# "audit_log_configs": [
|
476
|
+
# `
|
477
|
+
# "log_type": "DATA_READ",
|
478
|
+
# "exempted_members": [
|
479
|
+
# "user:foo@gmail.com"
|
480
|
+
# ]
|
481
|
+
# `,
|
482
|
+
# `
|
483
|
+
# "log_type": "DATA_WRITE",
|
484
|
+
# `,
|
485
|
+
# `
|
486
|
+
# "log_type": "ADMIN_READ",
|
487
|
+
# `
|
488
|
+
# ]
|
489
|
+
# `,
|
490
|
+
# `
|
491
|
+
# "service": "fooservice@googleapis.com"
|
492
|
+
# "audit_log_configs": [
|
493
|
+
# `
|
494
|
+
# "log_type": "DATA_READ",
|
495
|
+
# `,
|
496
|
+
# `
|
497
|
+
# "log_type": "DATA_WRITE",
|
498
|
+
# "exempted_members": [
|
499
|
+
# "user:bar@gmail.com"
|
500
|
+
# ]
|
501
|
+
# `
|
502
|
+
# ]
|
503
|
+
# `
|
504
|
+
# ]
|
505
|
+
# `
|
506
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
507
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
508
|
+
# bar@gmail.com from DATA_WRITE logging.
|
509
|
+
class AuditConfig
|
415
510
|
include Google::Apis::Core::Hashable
|
416
511
|
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
|
423
|
-
|
512
|
+
# Specifies a service that will be enabled for audit logging.
|
513
|
+
# For example, `resourcemanager`, `storage`, `compute`.
|
514
|
+
# `allServices` is a special value that covers all services.
|
515
|
+
# Corresponds to the JSON property `service`
|
516
|
+
# @return [String]
|
517
|
+
attr_accessor :service
|
518
|
+
|
519
|
+
# The configuration for logging of each type of permission.
|
520
|
+
# Next ID: 4
|
521
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
522
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
|
523
|
+
attr_accessor :audit_log_configs
|
424
524
|
|
425
525
|
def initialize(**args)
|
426
526
|
update!(**args)
|
@@ -428,27 +528,22 @@ module Google
|
|
428
528
|
|
429
529
|
# Update properties of this object
|
430
530
|
def update!(**args)
|
431
|
-
@
|
531
|
+
@service = args[:service] if args.key?(:service)
|
532
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
432
533
|
end
|
433
534
|
end
|
434
535
|
|
435
|
-
#
|
436
|
-
class
|
536
|
+
# Identifying information for a single ancestor of a project.
|
537
|
+
class Ancestor
|
437
538
|
include Google::Apis::Core::Hashable
|
438
539
|
|
439
|
-
# A
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
|
446
|
-
attr_accessor :next_page_token
|
447
|
-
|
448
|
-
# The list of Organizations that matched the list query, possibly paginated.
|
449
|
-
# Corresponds to the JSON property `organizations`
|
450
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
|
451
|
-
attr_accessor :organizations
|
540
|
+
# A container to reference an id for any resource type. A `resource` in Google
|
541
|
+
# Cloud Platform is a generic term for something you (a developer) may want to
|
542
|
+
# interact with through one of our API's. Some examples are an App Engine app,
|
543
|
+
# a Compute Engine instance, a Cloud SQL database, and so on.
|
544
|
+
# Corresponds to the JSON property `resourceId`
|
545
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
546
|
+
attr_accessor :resource_id
|
452
547
|
|
453
548
|
def initialize(**args)
|
454
549
|
update!(**args)
|
@@ -456,8 +551,7 @@ module Google
|
|
456
551
|
|
457
552
|
# Update properties of this object
|
458
553
|
def update!(**args)
|
459
|
-
@
|
460
|
-
@organizations = args[:organizations] if args.key?(:organizations)
|
554
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
461
555
|
end
|
462
556
|
end
|
463
557
|
|
@@ -495,6 +589,15 @@ module Google
|
|
495
589
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
496
590
|
attr_accessor :policy
|
497
591
|
|
592
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
593
|
+
# the fields in the mask will be modified. If no mask is provided, a default
|
594
|
+
# mask is used:
|
595
|
+
# paths: "bindings, etag"
|
596
|
+
# This field is only used by Cloud IAM.
|
597
|
+
# Corresponds to the JSON property `updateMask`
|
598
|
+
# @return [String]
|
599
|
+
attr_accessor :update_mask
|
600
|
+
|
498
601
|
def initialize(**args)
|
499
602
|
update!(**args)
|
500
603
|
end
|
@@ -502,6 +605,36 @@ module Google
|
|
502
605
|
# Update properties of this object
|
503
606
|
def update!(**args)
|
504
607
|
@policy = args[:policy] if args.key?(:policy)
|
608
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
# The response returned from the `ListOrganizations` method.
|
613
|
+
class ListOrganizationsResponse
|
614
|
+
include Google::Apis::Core::Hashable
|
615
|
+
|
616
|
+
# A pagination token to be used to retrieve the next page of results. If the
|
617
|
+
# result is too large to fit within the page size specified in the request,
|
618
|
+
# this field will be set with a token that can be used to fetch the next page
|
619
|
+
# of results. If this field is empty, it indicates that this response
|
620
|
+
# contains the last page of results.
|
621
|
+
# Corresponds to the JSON property `nextPageToken`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :next_page_token
|
624
|
+
|
625
|
+
# The list of Organizations that matched the list query, possibly paginated.
|
626
|
+
# Corresponds to the JSON property `organizations`
|
627
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
|
628
|
+
attr_accessor :organizations
|
629
|
+
|
630
|
+
def initialize(**args)
|
631
|
+
update!(**args)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Update properties of this object
|
635
|
+
def update!(**args)
|
636
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
637
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
505
638
|
end
|
506
639
|
end
|
507
640
|
|
@@ -564,20 +697,6 @@ module Google
|
|
564
697
|
end
|
565
698
|
end
|
566
699
|
|
567
|
-
# The request sent to the UndeleteProject
|
568
|
-
# method.
|
569
|
-
class UndeleteProjectRequest
|
570
|
-
include Google::Apis::Core::Hashable
|
571
|
-
|
572
|
-
def initialize(**args)
|
573
|
-
update!(**args)
|
574
|
-
end
|
575
|
-
|
576
|
-
# Update properties of this object
|
577
|
-
def update!(**args)
|
578
|
-
end
|
579
|
-
end
|
580
|
-
|
581
700
|
# The root node in the resource hierarchy to which a particular entity's
|
582
701
|
# (e.g., company) resources belong.
|
583
702
|
class Organization
|
@@ -641,18 +760,26 @@ module Google
|
|
641
760
|
end
|
642
761
|
end
|
643
762
|
|
763
|
+
# The request sent to the UndeleteProject
|
764
|
+
# method.
|
765
|
+
class UndeleteProjectRequest
|
766
|
+
include Google::Apis::Core::Hashable
|
767
|
+
|
768
|
+
def initialize(**args)
|
769
|
+
update!(**args)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Update properties of this object
|
773
|
+
def update!(**args)
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
644
777
|
# A status object which is used as the `metadata` field for the Operation
|
645
778
|
# returned by CreateProject. It provides insight for when significant phases of
|
646
779
|
# Project creation have completed.
|
647
780
|
class ProjectCreationStatus
|
648
781
|
include Google::Apis::Core::Hashable
|
649
782
|
|
650
|
-
# True if the project creation process is complete.
|
651
|
-
# Corresponds to the JSON property `ready`
|
652
|
-
# @return [Boolean]
|
653
|
-
attr_accessor :ready
|
654
|
-
alias_method :ready?, :ready
|
655
|
-
|
656
783
|
# Creation time of the project creation workflow.
|
657
784
|
# Corresponds to the JSON property `createTime`
|
658
785
|
# @return [String]
|
@@ -666,15 +793,21 @@ module Google
|
|
666
793
|
attr_accessor :gettable
|
667
794
|
alias_method :gettable?, :gettable
|
668
795
|
|
796
|
+
# True if the project creation process is complete.
|
797
|
+
# Corresponds to the JSON property `ready`
|
798
|
+
# @return [Boolean]
|
799
|
+
attr_accessor :ready
|
800
|
+
alias_method :ready?, :ready
|
801
|
+
|
669
802
|
def initialize(**args)
|
670
803
|
update!(**args)
|
671
804
|
end
|
672
805
|
|
673
806
|
# Update properties of this object
|
674
807
|
def update!(**args)
|
675
|
-
@ready = args[:ready] if args.key?(:ready)
|
676
808
|
@create_time = args[:create_time] if args.key?(:create_time)
|
677
809
|
@gettable = args[:gettable] if args.key?(:gettable)
|
810
|
+
@ready = args[:ready] if args.key?(:ready)
|
678
811
|
end
|
679
812
|
end
|
680
813
|
end
|