google-api-client 0.9.26 → 0.9.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/api_names.yaml +36326 -36213
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +155 -155
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +32 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +104 -104
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +260 -248
- data/generated/google/apis/cloudbuild_v1/representations.rb +47 -45
- data/generated/google/apis/cloudbuild_v1/service.rb +167 -167
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +569 -569
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +145 -145
- data/generated/google/apis/cloudkms_v1beta1.rb +4 -3
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +428 -428
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +115 -115
- data/generated/google/apis/cloudkms_v1beta1/service.rb +161 -160
- 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 +583 -583
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +100 -100
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +195 -195
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +58 -58
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +316 -316
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +12 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2833 -2694
- data/generated/google/apis/dataflow_v1b3/representations.rb +666 -666
- data/generated/google/apis/dataflow_v1b3/service.rb +351 -349
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +21 -12
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +26 -0
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +38 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +4 -4
- data/generated/google/apis/genomics_v1/classes.rb +2317 -2317
- data/generated/google/apis/genomics_v1/representations.rb +476 -476
- data/generated/google/apis/genomics_v1/service.rb +1038 -1038
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +82 -1
- data/generated/google/apis/gmail_v1/representations.rb +33 -0
- data/generated/google/apis/gmail_v1/service.rb +215 -5
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +446 -343
- data/generated/google/apis/iam_v1/representations.rb +112 -85
- data/generated/google/apis/iam_v1/service.rb +248 -192
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +15 -15
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +396 -396
- data/generated/google/apis/language_v1beta1/representations.rb +97 -97
- data/generated/google/apis/language_v1beta1/service.rb +42 -42
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +855 -855
- data/generated/google/apis/logging_v2beta1/representations.rb +155 -155
- data/generated/google/apis/logging_v2beta1/service.rb +214 -214
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +551 -551
- data/generated/google/apis/monitoring_v3/representations.rb +123 -123
- data/generated/google/apis/monitoring_v3/service.rb +80 -80
- 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 +3 -3
- data/generated/google/apis/pubsub_v1/classes.rb +391 -391
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +257 -257
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4334 -4334
- data/generated/google/apis/sheets_v4/representations.rb +861 -861
- data/generated/google/apis/sheets_v4/service.rb +191 -191
- data/generated/google/apis/slides_v1.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2726 -2555
- data/generated/google/apis/slides_v1/representations.rb +678 -607
- 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 -59
- data/generated/google/apis/speech_v1beta1/representations.rb +9 -9
- data/generated/google/apis/speech_v1beta1/service.rb +63 -63
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +4 -3
- data/generated/google/apis/vision_v1/classes.rb +925 -925
- data/generated/google/apis/vision_v1/representations.rb +134 -134
- 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/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +234 -1
- data/generated/google/apis/youtube_v3/representations.rb +83 -0
- data/generated/google/apis/youtube_v3/service.rb +55 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +105 -105
- data/generated/google/apis/youtubereporting_v1/representations.rb +31 -31
- data/generated/google/apis/youtubereporting_v1/service.rb +78 -78
- data/lib/google/apis/core/api_command.rb +11 -5
- data/lib/google/apis/core/base_service.rb +7 -5
- data/lib/google/apis/errors.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +28 -28
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
|
|
27
27
|
module Adexchangebuyer2V2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170130'
|
|
30
30
|
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
|
@@ -22,18 +22,154 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module Adexchangebuyer2V2beta1
|
|
24
24
|
|
|
25
|
+
# A client resource represents a client buyer—an agency,
|
|
26
|
+
# a brand, or an advertiser customer of the sponsor buyer.
|
|
27
|
+
# Users associated with the client buyer have restricted access to
|
|
28
|
+
# the Ad Exchange Marketplace and certain other sections
|
|
29
|
+
# of the Ad Exchange Buyer UI based on the role
|
|
30
|
+
# granted to the client buyer.
|
|
31
|
+
# All fields are required unless otherwise specified.
|
|
32
|
+
class Client
|
|
33
|
+
include Google::Apis::Core::Hashable
|
|
34
|
+
|
|
35
|
+
# The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
|
|
36
|
+
# Corresponds to the JSON property `entityType`
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :entity_type
|
|
39
|
+
|
|
40
|
+
# Name used to represent this client to publishers.
|
|
41
|
+
# You may have multiple clients that map to the same entity,
|
|
42
|
+
# but for each client the combination of `clientName` and entity
|
|
43
|
+
# must be unique.
|
|
44
|
+
# You can specify this field as empty.
|
|
45
|
+
# Corresponds to the JSON property `clientName`
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :client_name
|
|
48
|
+
|
|
49
|
+
# The role which is assigned to the client buyer. Each role implies a set of
|
|
50
|
+
# permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
|
|
51
|
+
# `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
|
|
52
|
+
# Corresponds to the JSON property `role`
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :role
|
|
55
|
+
|
|
56
|
+
# Whether the client buyer will be visible to sellers.
|
|
57
|
+
# Corresponds to the JSON property `visibleToSeller`
|
|
58
|
+
# @return [Boolean]
|
|
59
|
+
attr_accessor :visible_to_seller
|
|
60
|
+
alias_method :visible_to_seller?, :visible_to_seller
|
|
61
|
+
|
|
62
|
+
# Numerical identifier of the client entity.
|
|
63
|
+
# The entity can be an advertiser, a brand, or an agency.
|
|
64
|
+
# This identifier is unique among all the entities with the same type.
|
|
65
|
+
# A list of all known advertisers with their identifiers is available in the
|
|
66
|
+
# [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
|
|
67
|
+
# advertisers.txt)
|
|
68
|
+
# file.
|
|
69
|
+
# A list of all known brands with their identifiers is available in the
|
|
70
|
+
# [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
|
|
71
|
+
# file.
|
|
72
|
+
# A list of all known agencies with their identifiers is available in the
|
|
73
|
+
# [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
|
|
74
|
+
# txt)
|
|
75
|
+
# file.
|
|
76
|
+
# Corresponds to the JSON property `entityId`
|
|
77
|
+
# @return [String]
|
|
78
|
+
attr_accessor :entity_id
|
|
79
|
+
|
|
80
|
+
# The globally-unique numerical ID of the client.
|
|
81
|
+
# The value of this field is ignored in create and update operations.
|
|
82
|
+
# Corresponds to the JSON property `clientAccountId`
|
|
83
|
+
# @return [String]
|
|
84
|
+
attr_accessor :client_account_id
|
|
85
|
+
|
|
86
|
+
# The name of the entity. This field is automatically fetched based on
|
|
87
|
+
# the type and ID.
|
|
88
|
+
# The value of this field is ignored in create and update operations.
|
|
89
|
+
# Corresponds to the JSON property `entityName`
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :entity_name
|
|
92
|
+
|
|
93
|
+
# The status of the client buyer.
|
|
94
|
+
# Corresponds to the JSON property `status`
|
|
95
|
+
# @return [String]
|
|
96
|
+
attr_accessor :status
|
|
97
|
+
|
|
98
|
+
def initialize(**args)
|
|
99
|
+
update!(**args)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Update properties of this object
|
|
103
|
+
def update!(**args)
|
|
104
|
+
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
|
105
|
+
@client_name = args[:client_name] if args.key?(:client_name)
|
|
106
|
+
@role = args[:role] if args.key?(:role)
|
|
107
|
+
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
|
|
108
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
|
109
|
+
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
|
110
|
+
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
|
111
|
+
@status = args[:status] if args.key?(:status)
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# A client user is created under a client buyer and has restricted access to
|
|
116
|
+
# the Ad Exchange Marketplace and certain other sections
|
|
117
|
+
# of the Ad Exchange Buyer UI based on the role
|
|
118
|
+
# granted to the associated client buyer.
|
|
119
|
+
# The only way a new client user can be created is via accepting an
|
|
120
|
+
# email invitation
|
|
121
|
+
# (see the
|
|
122
|
+
# accounts.clients.invitations.create
|
|
123
|
+
# method).
|
|
124
|
+
# All fields are required unless otherwise specified.
|
|
125
|
+
class ClientUser
|
|
126
|
+
include Google::Apis::Core::Hashable
|
|
127
|
+
|
|
128
|
+
# The unique numerical ID of the client user
|
|
129
|
+
# that has accepted an invitation.
|
|
130
|
+
# The value of this field is ignored in an update operation.
|
|
131
|
+
# Corresponds to the JSON property `userId`
|
|
132
|
+
# @return [String]
|
|
133
|
+
attr_accessor :user_id
|
|
134
|
+
|
|
135
|
+
# User's email address. The value of this field
|
|
136
|
+
# is ignored in an update operation.
|
|
137
|
+
# Corresponds to the JSON property `email`
|
|
138
|
+
# @return [String]
|
|
139
|
+
attr_accessor :email
|
|
140
|
+
|
|
141
|
+
# Numerical account ID of the client buyer
|
|
142
|
+
# with which the user is associated; the
|
|
143
|
+
# buyer must be a client of the current sponsor buyer.
|
|
144
|
+
# The value of this field is ignored in an update operation.
|
|
145
|
+
# Corresponds to the JSON property `clientAccountId`
|
|
146
|
+
# @return [String]
|
|
147
|
+
attr_accessor :client_account_id
|
|
148
|
+
|
|
149
|
+
# The status of the client user.
|
|
150
|
+
# Corresponds to the JSON property `status`
|
|
151
|
+
# @return [String]
|
|
152
|
+
attr_accessor :status
|
|
153
|
+
|
|
154
|
+
def initialize(**args)
|
|
155
|
+
update!(**args)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Update properties of this object
|
|
159
|
+
def update!(**args)
|
|
160
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
|
161
|
+
@email = args[:email] if args.key?(:email)
|
|
162
|
+
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
|
163
|
+
@status = args[:status] if args.key?(:status)
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
25
167
|
# An invitation for a new client user to get access to the Ad Exchange
|
|
26
168
|
# Buyer UI.
|
|
27
169
|
# All fields are required unless otherwise specified.
|
|
28
170
|
class ClientUserInvitation
|
|
29
171
|
include Google::Apis::Core::Hashable
|
|
30
172
|
|
|
31
|
-
# The unique numerical ID of the invitation that is sent to the user.
|
|
32
|
-
# The value of this field is ignored in create operations.
|
|
33
|
-
# Corresponds to the JSON property `invitationId`
|
|
34
|
-
# @return [String]
|
|
35
|
-
attr_accessor :invitation_id
|
|
36
|
-
|
|
37
173
|
# The email address to which the invitation is sent. Email
|
|
38
174
|
# addresses should be unique among all client users under each sponsor
|
|
39
175
|
# buyer.
|
|
@@ -48,15 +184,21 @@ module Google
|
|
|
48
184
|
# @return [String]
|
|
49
185
|
attr_accessor :client_account_id
|
|
50
186
|
|
|
187
|
+
# The unique numerical ID of the invitation that is sent to the user.
|
|
188
|
+
# The value of this field is ignored in create operations.
|
|
189
|
+
# Corresponds to the JSON property `invitationId`
|
|
190
|
+
# @return [String]
|
|
191
|
+
attr_accessor :invitation_id
|
|
192
|
+
|
|
51
193
|
def initialize(**args)
|
|
52
194
|
update!(**args)
|
|
53
195
|
end
|
|
54
196
|
|
|
55
197
|
# Update properties of this object
|
|
56
198
|
def update!(**args)
|
|
57
|
-
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
|
58
199
|
@email = args[:email] if args.key?(:email)
|
|
59
200
|
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
|
201
|
+
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
|
60
202
|
end
|
|
61
203
|
end
|
|
62
204
|
|
|
@@ -64,11 +206,6 @@ module Google
|
|
|
64
206
|
class ListClientsResponse
|
|
65
207
|
include Google::Apis::Core::Hashable
|
|
66
208
|
|
|
67
|
-
# The returned list of clients.
|
|
68
|
-
# Corresponds to the JSON property `clients`
|
|
69
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
|
70
|
-
attr_accessor :clients
|
|
71
|
-
|
|
72
209
|
# A token to retrieve the next page of results.
|
|
73
210
|
# Pass this value in the
|
|
74
211
|
# ListClientsRequest.pageToken
|
|
@@ -79,14 +216,19 @@ module Google
|
|
|
79
216
|
# @return [String]
|
|
80
217
|
attr_accessor :next_page_token
|
|
81
218
|
|
|
219
|
+
# The returned list of clients.
|
|
220
|
+
# Corresponds to the JSON property `clients`
|
|
221
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
|
222
|
+
attr_accessor :clients
|
|
223
|
+
|
|
82
224
|
def initialize(**args)
|
|
83
225
|
update!(**args)
|
|
84
226
|
end
|
|
85
227
|
|
|
86
228
|
# Update properties of this object
|
|
87
229
|
def update!(**args)
|
|
88
|
-
@clients = args[:clients] if args.key?(:clients)
|
|
89
230
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
231
|
+
@clients = args[:clients] if args.key?(:clients)
|
|
90
232
|
end
|
|
91
233
|
end
|
|
92
234
|
|
|
@@ -151,148 +293,6 @@ module Google
|
|
|
151
293
|
@invitations = args[:invitations] if args.key?(:invitations)
|
|
152
294
|
end
|
|
153
295
|
end
|
|
154
|
-
|
|
155
|
-
# A client resource represents a client buyer—an agency,
|
|
156
|
-
# a brand, or an advertiser customer of the sponsor buyer.
|
|
157
|
-
# Users associated with the client buyer have restricted access to
|
|
158
|
-
# the Ad Exchange Marketplace and certain other sections
|
|
159
|
-
# of the Ad Exchange Buyer UI based on the role
|
|
160
|
-
# granted to the client buyer.
|
|
161
|
-
# All fields are required unless otherwise specified.
|
|
162
|
-
class Client
|
|
163
|
-
include Google::Apis::Core::Hashable
|
|
164
|
-
|
|
165
|
-
# The globally-unique numerical ID of the client.
|
|
166
|
-
# The value of this field is ignored in create and update operations.
|
|
167
|
-
# Corresponds to the JSON property `clientAccountId`
|
|
168
|
-
# @return [String]
|
|
169
|
-
attr_accessor :client_account_id
|
|
170
|
-
|
|
171
|
-
# The name of the entity. This field is automatically fetched based on
|
|
172
|
-
# the type and ID.
|
|
173
|
-
# The value of this field is ignored in create and update operations.
|
|
174
|
-
# Corresponds to the JSON property `entityName`
|
|
175
|
-
# @return [String]
|
|
176
|
-
attr_accessor :entity_name
|
|
177
|
-
|
|
178
|
-
# The status of the client buyer.
|
|
179
|
-
# Corresponds to the JSON property `status`
|
|
180
|
-
# @return [String]
|
|
181
|
-
attr_accessor :status
|
|
182
|
-
|
|
183
|
-
# The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
|
|
184
|
-
# Corresponds to the JSON property `entityType`
|
|
185
|
-
# @return [String]
|
|
186
|
-
attr_accessor :entity_type
|
|
187
|
-
|
|
188
|
-
# Name used to represent this client to publishers.
|
|
189
|
-
# You may have multiple clients that map to the same entity,
|
|
190
|
-
# but for each client the combination of `clientName` and entity
|
|
191
|
-
# must be unique.
|
|
192
|
-
# You can specify this field as empty.
|
|
193
|
-
# Corresponds to the JSON property `clientName`
|
|
194
|
-
# @return [String]
|
|
195
|
-
attr_accessor :client_name
|
|
196
|
-
|
|
197
|
-
# The role which is assigned to the client buyer. Each role implies a set of
|
|
198
|
-
# permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
|
|
199
|
-
# `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
|
|
200
|
-
# Corresponds to the JSON property `role`
|
|
201
|
-
# @return [String]
|
|
202
|
-
attr_accessor :role
|
|
203
|
-
|
|
204
|
-
# Whether the client buyer will be visible to sellers.
|
|
205
|
-
# Corresponds to the JSON property `visibleToSeller`
|
|
206
|
-
# @return [Boolean]
|
|
207
|
-
attr_accessor :visible_to_seller
|
|
208
|
-
alias_method :visible_to_seller?, :visible_to_seller
|
|
209
|
-
|
|
210
|
-
# Numerical identifier of the client entity.
|
|
211
|
-
# The entity can be an advertiser, a brand, or an agency.
|
|
212
|
-
# This identifier is unique among all the entities with the same type.
|
|
213
|
-
# A list of all known advertisers with their identifiers is available in the
|
|
214
|
-
# [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
|
|
215
|
-
# advertisers.txt)
|
|
216
|
-
# file.
|
|
217
|
-
# A list of all known brands with their identifiers is available in the
|
|
218
|
-
# [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
|
|
219
|
-
# file.
|
|
220
|
-
# A list of all known agencies with their identifiers is available in the
|
|
221
|
-
# [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
|
|
222
|
-
# txt)
|
|
223
|
-
# file.
|
|
224
|
-
# Corresponds to the JSON property `entityId`
|
|
225
|
-
# @return [String]
|
|
226
|
-
attr_accessor :entity_id
|
|
227
|
-
|
|
228
|
-
def initialize(**args)
|
|
229
|
-
update!(**args)
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
# Update properties of this object
|
|
233
|
-
def update!(**args)
|
|
234
|
-
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
|
235
|
-
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
|
236
|
-
@status = args[:status] if args.key?(:status)
|
|
237
|
-
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
|
238
|
-
@client_name = args[:client_name] if args.key?(:client_name)
|
|
239
|
-
@role = args[:role] if args.key?(:role)
|
|
240
|
-
@visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
|
|
241
|
-
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
|
242
|
-
end
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
# A client user is created under a client buyer and has restricted access to
|
|
246
|
-
# the Ad Exchange Marketplace and certain other sections
|
|
247
|
-
# of the Ad Exchange Buyer UI based on the role
|
|
248
|
-
# granted to the associated client buyer.
|
|
249
|
-
# The only way a new client user can be created is via accepting an
|
|
250
|
-
# email invitation
|
|
251
|
-
# (see the
|
|
252
|
-
# accounts.clients.invitations.create
|
|
253
|
-
# method).
|
|
254
|
-
# All fields are required unless otherwise specified.
|
|
255
|
-
class ClientUser
|
|
256
|
-
include Google::Apis::Core::Hashable
|
|
257
|
-
|
|
258
|
-
# Numerical account ID of the client buyer
|
|
259
|
-
# with which the user is associated; the
|
|
260
|
-
# buyer must be a client of the current sponsor buyer.
|
|
261
|
-
# The value of this field is ignored in an update operation.
|
|
262
|
-
# Corresponds to the JSON property `clientAccountId`
|
|
263
|
-
# @return [String]
|
|
264
|
-
attr_accessor :client_account_id
|
|
265
|
-
|
|
266
|
-
# The status of the client user.
|
|
267
|
-
# Corresponds to the JSON property `status`
|
|
268
|
-
# @return [String]
|
|
269
|
-
attr_accessor :status
|
|
270
|
-
|
|
271
|
-
# The unique numerical ID of the client user
|
|
272
|
-
# that has accepted an invitation.
|
|
273
|
-
# The value of this field is ignored in an update operation.
|
|
274
|
-
# Corresponds to the JSON property `userId`
|
|
275
|
-
# @return [String]
|
|
276
|
-
attr_accessor :user_id
|
|
277
|
-
|
|
278
|
-
# User's email address. The value of this field
|
|
279
|
-
# is ignored in an update operation.
|
|
280
|
-
# Corresponds to the JSON property `email`
|
|
281
|
-
# @return [String]
|
|
282
|
-
attr_accessor :email
|
|
283
|
-
|
|
284
|
-
def initialize(**args)
|
|
285
|
-
update!(**args)
|
|
286
|
-
end
|
|
287
|
-
|
|
288
|
-
# Update properties of this object
|
|
289
|
-
def update!(**args)
|
|
290
|
-
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
|
291
|
-
@status = args[:status] if args.key?(:status)
|
|
292
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
|
293
|
-
@email = args[:email] if args.key?(:email)
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
296
|
end
|
|
297
297
|
end
|
|
298
298
|
end
|
|
@@ -22,57 +22,81 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module Adexchangebuyer2V2beta1
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Client
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
27
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ClientUser
|
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
33
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ClientUserInvitation
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
39
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class ListClientsResponse
|
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
45
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class ListClientUsersResponse
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
51
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class ListClientUserInvitationsResponse
|
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
57
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class Client
|
|
62
|
+
# @private
|
|
63
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
64
|
+
property :entity_type, as: 'entityType'
|
|
65
|
+
property :client_name, as: 'clientName'
|
|
66
|
+
property :role, as: 'role'
|
|
67
|
+
property :visible_to_seller, as: 'visibleToSeller'
|
|
68
|
+
property :entity_id, as: 'entityId'
|
|
69
|
+
property :client_account_id, as: 'clientAccountId'
|
|
70
|
+
property :entity_name, as: 'entityName'
|
|
71
|
+
property :status, as: 'status'
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
class ClientUser
|
|
76
|
+
# @private
|
|
77
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
78
|
+
property :user_id, as: 'userId'
|
|
79
|
+
property :email, as: 'email'
|
|
80
|
+
property :client_account_id, as: 'clientAccountId'
|
|
81
|
+
property :status, as: 'status'
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
61
85
|
class ClientUserInvitation
|
|
62
86
|
# @private
|
|
63
87
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
64
|
-
property :invitation_id, as: 'invitationId'
|
|
65
88
|
property :email, as: 'email'
|
|
66
89
|
property :client_account_id, as: 'clientAccountId'
|
|
90
|
+
property :invitation_id, as: 'invitationId'
|
|
67
91
|
end
|
|
68
92
|
end
|
|
69
93
|
|
|
70
94
|
class ListClientsResponse
|
|
71
95
|
# @private
|
|
72
96
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
97
|
+
property :next_page_token, as: 'nextPageToken'
|
|
73
98
|
collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
74
99
|
|
|
75
|
-
property :next_page_token, as: 'nextPageToken'
|
|
76
100
|
end
|
|
77
101
|
end
|
|
78
102
|
|
|
@@ -93,30 +117,6 @@ module Google
|
|
|
93
117
|
|
|
94
118
|
end
|
|
95
119
|
end
|
|
96
|
-
|
|
97
|
-
class Client
|
|
98
|
-
# @private
|
|
99
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
100
|
-
property :client_account_id, as: 'clientAccountId'
|
|
101
|
-
property :entity_name, as: 'entityName'
|
|
102
|
-
property :status, as: 'status'
|
|
103
|
-
property :entity_type, as: 'entityType'
|
|
104
|
-
property :client_name, as: 'clientName'
|
|
105
|
-
property :role, as: 'role'
|
|
106
|
-
property :visible_to_seller, as: 'visibleToSeller'
|
|
107
|
-
property :entity_id, as: 'entityId'
|
|
108
|
-
end
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
class ClientUser
|
|
112
|
-
# @private
|
|
113
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
114
|
-
property :client_account_id, as: 'clientAccountId'
|
|
115
|
-
property :status, as: 'status'
|
|
116
|
-
property :user_id, as: 'userId'
|
|
117
|
-
property :email, as: 'email'
|
|
118
|
-
end
|
|
119
|
-
end
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
end
|