google-api-client 0.9.15 → 0.9.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +82 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +80 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +23 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- 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/analytics_v3/classes.rb +11 -5
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analytics_v3/service.rb +17 -18
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +80 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +30 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +55 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/service.rb +36 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +7 -0
- data/generated/google/apis/classroom_v1/representations.rb +1 -0
- data/generated/google/apis/classroom_v1/service.rb +25 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +56 -8
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +535 -298
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +141 -36
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +250 -45
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +99 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +44 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +44 -29
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +123 -25
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -20
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +608 -67
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4009 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1718 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +515 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +8 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +8 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +181 -206
- data/generated/google/apis/iam_v1/representations.rb +36 -45
- data/generated/google/apis/iam_v1/service.rb +101 -67
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +11 -27
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -4
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +742 -732
- data/generated/google/apis/logging_v2beta1/representations.rb +134 -147
- data/generated/google/apis/logging_v2beta1/service.rb +276 -209
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -13
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +10 -9
- data/generated/google/apis/pubsub_v1/service.rb +128 -27
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +20 -30
- data/generated/google/apis/speech_v1beta1/representations.rb +6 -7
- data/generated/google/apis/speech_v1beta1/service.rb +68 -65
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +6 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -3
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4302651b757d6a66e494bbd2852bde19972140e2
|
4
|
+
data.tar.gz: 2847e09d425daaec7dbc6268bae45cd09bb60d8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f04dd247bb2d9a36c0fef8c355f3d4520ec91b5b7c6666345f6a325cee37a7cbd0a83370bd393f909d7900c7603c6fe137b04e01e78afdeaaa6cdf97cc620dd0
|
7
|
+
data.tar.gz: c9ec8297b4ef0889c4917ff132788811307949e4810ebddb5acd90a5f9d65b1c207734fa5284dd020eae79332f4e90ac2fef0a81c92368569d15bffcdd77be96
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/adexchangebuyer2_v2beta1/service.rb'
|
16
|
+
require 'google/apis/adexchangebuyer2_v2beta1/classes.rb'
|
17
|
+
require 'google/apis/adexchangebuyer2_v2beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Ad Exchange Buyer API II
|
22
|
+
#
|
23
|
+
# Accesses the latest features for managing Ad Exchange accounts and Real-Time
|
24
|
+
# Bidding configurations and auction metrics.
|
25
|
+
#
|
26
|
+
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
|
27
|
+
module Adexchangebuyer2V2beta1
|
28
|
+
VERSION = 'V2beta1'
|
29
|
+
REVISION = '20161012'
|
30
|
+
|
31
|
+
# Manage your Ad Exchange buyer account configuration
|
32
|
+
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,298 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module Adexchangebuyer2V2beta1
|
24
|
+
|
25
|
+
# A client user is created under a client buyer and has restricted access to
|
26
|
+
# the Ad Exchange Marketplace and certain other sections
|
27
|
+
# of the Ad Exchange Buyer UI based on the role
|
28
|
+
# granted to the associated client buyer.
|
29
|
+
# The only way a new client user can be created is via accepting an
|
30
|
+
# email invitation
|
31
|
+
# (see the
|
32
|
+
# accounts.clients.invitations.create
|
33
|
+
# method).
|
34
|
+
# All fields are required unless otherwise specified.
|
35
|
+
class ClientUser
|
36
|
+
include Google::Apis::Core::Hashable
|
37
|
+
|
38
|
+
# User's email address. The value of this field
|
39
|
+
# is ignored in an update operation.
|
40
|
+
# Corresponds to the JSON property `email`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :email
|
43
|
+
|
44
|
+
# Numerical account ID of the client buyer
|
45
|
+
# with which the user is associated; the
|
46
|
+
# buyer must be a client of the current sponsor buyer.
|
47
|
+
# The value of this field is ignored in an update operation.
|
48
|
+
# Corresponds to the JSON property `clientAccountId`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :client_account_id
|
51
|
+
|
52
|
+
# The status of the client user.
|
53
|
+
# Corresponds to the JSON property `status`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :status
|
56
|
+
|
57
|
+
# The unique numerical ID of the client user
|
58
|
+
# that has accepted an invitation.
|
59
|
+
# The value of this field is ignored in an update operation.
|
60
|
+
# Corresponds to the JSON property `userId`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :user_id
|
63
|
+
|
64
|
+
def initialize(**args)
|
65
|
+
update!(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Update properties of this object
|
69
|
+
def update!(**args)
|
70
|
+
@email = args[:email] if args.key?(:email)
|
71
|
+
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
72
|
+
@status = args[:status] if args.key?(:status)
|
73
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# An invitation for a new client user to get access to the Ad Exchange
|
78
|
+
# Buyer UI.
|
79
|
+
# All fields are required unless otherwise specified.
|
80
|
+
class ClientUserInvitation
|
81
|
+
include Google::Apis::Core::Hashable
|
82
|
+
|
83
|
+
# The email address to which the invitation is sent. Email
|
84
|
+
# addresses should be unique among all client users under each sponsor
|
85
|
+
# buyer.
|
86
|
+
# Corresponds to the JSON property `email`
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :email
|
89
|
+
|
90
|
+
# Numerical account ID of the client buyer
|
91
|
+
# that the invited user is associated with.
|
92
|
+
# The value of this field is ignored in create operations.
|
93
|
+
# Corresponds to the JSON property `clientAccountId`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :client_account_id
|
96
|
+
|
97
|
+
# The unique numerical ID of the invitation that is sent to the user.
|
98
|
+
# The value of this field is ignored in create operations.
|
99
|
+
# Corresponds to the JSON property `invitationId`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :invitation_id
|
102
|
+
|
103
|
+
def initialize(**args)
|
104
|
+
update!(**args)
|
105
|
+
end
|
106
|
+
|
107
|
+
# Update properties of this object
|
108
|
+
def update!(**args)
|
109
|
+
@email = args[:email] if args.key?(:email)
|
110
|
+
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
111
|
+
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
#
|
116
|
+
class ListClientUserInvitationsResponse
|
117
|
+
include Google::Apis::Core::Hashable
|
118
|
+
|
119
|
+
# A token to retrieve the next page of results.
|
120
|
+
# Pass this value in the
|
121
|
+
# ListClientUserInvitationsRequest.pageToken
|
122
|
+
# field in the subsequent call to the
|
123
|
+
# clients.invitations.list
|
124
|
+
# method to retrieve the next
|
125
|
+
# page of results.
|
126
|
+
# Corresponds to the JSON property `nextPageToken`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :next_page_token
|
129
|
+
|
130
|
+
# The returned list of client users.
|
131
|
+
# Corresponds to the JSON property `invitations`
|
132
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
|
133
|
+
attr_accessor :invitations
|
134
|
+
|
135
|
+
def initialize(**args)
|
136
|
+
update!(**args)
|
137
|
+
end
|
138
|
+
|
139
|
+
# Update properties of this object
|
140
|
+
def update!(**args)
|
141
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
142
|
+
@invitations = args[:invitations] if args.key?(:invitations)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
#
|
147
|
+
class ListClientUsersResponse
|
148
|
+
include Google::Apis::Core::Hashable
|
149
|
+
|
150
|
+
# The returned list of client users.
|
151
|
+
# Corresponds to the JSON property `users`
|
152
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
|
153
|
+
attr_accessor :users
|
154
|
+
|
155
|
+
# A token to retrieve the next page of results.
|
156
|
+
# Pass this value in the
|
157
|
+
# ListClientUsersRequest.pageToken
|
158
|
+
# field in the subsequent call to the
|
159
|
+
# clients.invitations.list
|
160
|
+
# method to retrieve the next
|
161
|
+
# page of results.
|
162
|
+
# Corresponds to the JSON property `nextPageToken`
|
163
|
+
# @return [String]
|
164
|
+
attr_accessor :next_page_token
|
165
|
+
|
166
|
+
def initialize(**args)
|
167
|
+
update!(**args)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Update properties of this object
|
171
|
+
def update!(**args)
|
172
|
+
@users = args[:users] if args.key?(:users)
|
173
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# A client resource represents a client buyer—an agency,
|
178
|
+
# a brand, or an advertiser customer of the sponsor buyer.
|
179
|
+
# Users associated with the client buyer have restricted access to
|
180
|
+
# the Ad Exchange Marketplace and certain other sections
|
181
|
+
# of the Ad Exchange Buyer UI based on the role
|
182
|
+
# granted to the client buyer.
|
183
|
+
# All fields are required unless otherwise specified.
|
184
|
+
class Client
|
185
|
+
include Google::Apis::Core::Hashable
|
186
|
+
|
187
|
+
# Whether the client buyer will be visible to sellers.
|
188
|
+
# Corresponds to the JSON property `visibleToSeller`
|
189
|
+
# @return [Boolean]
|
190
|
+
attr_accessor :visible_to_seller
|
191
|
+
alias_method :visible_to_seller?, :visible_to_seller
|
192
|
+
|
193
|
+
# The status of the client buyer.
|
194
|
+
# Corresponds to the JSON property `status`
|
195
|
+
# @return [String]
|
196
|
+
attr_accessor :status
|
197
|
+
|
198
|
+
# The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
|
199
|
+
# Corresponds to the JSON property `entityType`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :entity_type
|
202
|
+
|
203
|
+
# The role which is assigned to the client buyer. Each role implies a set of
|
204
|
+
# permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
|
205
|
+
# `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
|
206
|
+
# Corresponds to the JSON property `role`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :role
|
209
|
+
|
210
|
+
# Name used to represent this client to publishers.
|
211
|
+
# You may have multiple clients that map to the same entity,
|
212
|
+
# but for each client the combination of `clientName` and entity
|
213
|
+
# must be unique.
|
214
|
+
# You can specify this field as empty.
|
215
|
+
# Corresponds to the JSON property `clientName`
|
216
|
+
# @return [String]
|
217
|
+
attr_accessor :client_name
|
218
|
+
|
219
|
+
# The globally-unique numerical ID of the client.
|
220
|
+
# The value of this field is ignored in create and update operations.
|
221
|
+
# Corresponds to the JSON property `clientAccountId`
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :client_account_id
|
224
|
+
|
225
|
+
# Numerical identifier of the client entity.
|
226
|
+
# The entity can be an advertiser, a brand, or an agency.
|
227
|
+
# This identifier is unique among all the entities with the same type.
|
228
|
+
# A list of all known advertisers with their identifiers is available in the
|
229
|
+
# [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
|
230
|
+
# advertisers.txt)
|
231
|
+
# file.
|
232
|
+
# A list of all known brands with their identifiers is available in the
|
233
|
+
# [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
|
234
|
+
# file.
|
235
|
+
# A list of all known agencies with their identifiers is available in the
|
236
|
+
# [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
|
237
|
+
# txt)
|
238
|
+
# file.
|
239
|
+
# Corresponds to the JSON property `entityId`
|
240
|
+
# @return [String]
|
241
|
+
attr_accessor :entity_id
|
242
|
+
|
243
|
+
# The name of the entity. This field is automatically fetched based on
|
244
|
+
# the type and ID.
|
245
|
+
# The value of this field is ignored in create and update operations.
|
246
|
+
# Corresponds to the JSON property `entityName`
|
247
|
+
# @return [String]
|
248
|
+
attr_accessor :entity_name
|
249
|
+
|
250
|
+
def initialize(**args)
|
251
|
+
update!(**args)
|
252
|
+
end
|
253
|
+
|
254
|
+
# Update properties of this object
|
255
|
+
def update!(**args)
|
256
|
+
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
|
257
|
+
@status = args[:status] if args.key?(:status)
|
258
|
+
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
259
|
+
@role = args[:role] if args.key?(:role)
|
260
|
+
@client_name = args[:client_name] if args.key?(:client_name)
|
261
|
+
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
262
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
263
|
+
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
#
|
268
|
+
class ListClientsResponse
|
269
|
+
include Google::Apis::Core::Hashable
|
270
|
+
|
271
|
+
# A token to retrieve the next page of results.
|
272
|
+
# Pass this value in the
|
273
|
+
# ListClientsRequest.pageToken
|
274
|
+
# field in the subsequent call to the
|
275
|
+
# accounts.clients.list method
|
276
|
+
# to retrieve the next page of results.
|
277
|
+
# Corresponds to the JSON property `nextPageToken`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :next_page_token
|
280
|
+
|
281
|
+
# The returned list of clients.
|
282
|
+
# Corresponds to the JSON property `clients`
|
283
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
284
|
+
attr_accessor :clients
|
285
|
+
|
286
|
+
def initialize(**args)
|
287
|
+
update!(**args)
|
288
|
+
end
|
289
|
+
|
290
|
+
# Update properties of this object
|
291
|
+
def update!(**args)
|
292
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
293
|
+
@clients = args[:clients] if args.key?(:clients)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
298
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module Adexchangebuyer2V2beta1
|
24
|
+
|
25
|
+
class ClientUser
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ClientUserInvitation
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ListClientUserInvitationsResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class ListClientUsersResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Client
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ListClientsResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ClientUser
|
62
|
+
# @private
|
63
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
64
|
+
property :email, as: 'email'
|
65
|
+
property :client_account_id, as: 'clientAccountId'
|
66
|
+
property :status, as: 'status'
|
67
|
+
property :user_id, as: 'userId'
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class ClientUserInvitation
|
72
|
+
# @private
|
73
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
74
|
+
property :email, as: 'email'
|
75
|
+
property :client_account_id, as: 'clientAccountId'
|
76
|
+
property :invitation_id, as: 'invitationId'
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
class ListClientUserInvitationsResponse
|
81
|
+
# @private
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
83
|
+
property :next_page_token, as: 'nextPageToken'
|
84
|
+
collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
85
|
+
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class ListClientUsersResponse
|
90
|
+
# @private
|
91
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
92
|
+
collection :users, as: 'users', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUser, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
93
|
+
|
94
|
+
property :next_page_token, as: 'nextPageToken'
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class Client
|
99
|
+
# @private
|
100
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
101
|
+
property :visible_to_seller, as: 'visibleToSeller'
|
102
|
+
property :status, as: 'status'
|
103
|
+
property :entity_type, as: 'entityType'
|
104
|
+
property :role, as: 'role'
|
105
|
+
property :client_name, as: 'clientName'
|
106
|
+
property :client_account_id, as: 'clientAccountId'
|
107
|
+
property :entity_id, as: 'entityId'
|
108
|
+
property :entity_name, as: 'entityName'
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class ListClientsResponse
|
113
|
+
# @private
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
115
|
+
property :next_page_token, as: 'nextPageToken'
|
116
|
+
collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
117
|
+
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|