google-api-client 0.9.8 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/Gemfile +9 -1
- data/README.md +10 -2
- data/api_names.yaml +63 -110
- 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 +260 -13
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +217 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
- data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
- data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- 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 +277 -20
- data/generated/google/apis/bigquery_v2/representations.rb +86 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -2
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +79 -1
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +183 -37
- data/generated/google/apis/classroom_v1/representations.rb +74 -9
- data/generated/google/apis/classroom_v1/service.rb +403 -38
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
- data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
- 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 +502 -111
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2299 -434
- data/generated/google/apis/compute_beta/representations.rb +752 -33
- data/generated/google/apis/compute_beta/service.rb +6067 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1681 -207
- data/generated/google/apis/compute_v1/representations.rb +552 -0
- data/generated/google/apis/compute_v1/service.rb +2797 -1171
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +757 -1
- data/generated/google/apis/content_v2/representations.rb +337 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.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 +27 -3
- data/generated/google/apis/drive_v2/representations.rb +4 -0
- data/generated/google/apis/drive_v2/service.rb +16 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +50 -16
- data/generated/google/apis/drive_v3/representations.rb +4 -0
- data/generated/google/apis/drive_v3/service.rb +12 -2
- data/generated/google/apis/fitness_v1.rb +8 -2
- data/generated/google/apis/fitness_v1/classes.rb +64 -6
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- 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 +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +143 -34
- data/generated/google/apis/genomics_v1/representations.rb +48 -11
- data/generated/google/apis/genomics_v1/service.rb +35 -37
- data/generated/google/apis/gmail_v1.rb +10 -1
- data/generated/google/apis/gmail_v1/classes.rb +542 -4
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- 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 +171 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +599 -0
- data/generated/google/apis/language_v1beta1/representations.rb +289 -0
- data/generated/google/apis/language_v1beta1/service.rb +152 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
- data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
- data/generated/google/apis/logging_v2beta1/service.rb +290 -209
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +711 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_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/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +910 -89
- data/generated/google/apis/sheets_v4/representations.rb +194 -10
- data/generated/google/apis/sheets_v4/service.rb +216 -49
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +271 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +43 -18
- data/generated/google/apis/storage_v1/representations.rb +4 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +12 -11
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +183 -21
- data/generated/google/apis/youtube_v3/representations.rb +85 -4
- data/generated/google/apis/youtube_v3/service.rb +41 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/core/base_service.rb +10 -4
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +2 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/sync.rb +71 -0
- metadata +55 -13
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161020'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -146,7 +146,7 @@ module Google
|
|
146
146
|
attr_accessor :kind
|
147
147
|
|
148
148
|
# User assigned name for this resource. Must be unique within the project. The
|
149
|
-
# name must be 1-
|
149
|
+
# name must be 1-63 characters long, must begin with a letter, end with a letter
|
150
150
|
# or digit, and only contain lowercase letters, digits or dashes.
|
151
151
|
# Corresponds to the JSON property `name`
|
152
152
|
# @return [String]
|
@@ -81,6 +81,85 @@ module Google
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
+
# Request to fetch stored insertion orders, line items, TrueView ad groups and
|
85
|
+
# ads.
|
86
|
+
class DownloadRequest
|
87
|
+
include Google::Apis::Core::Hashable
|
88
|
+
|
89
|
+
# File types that will be returned.
|
90
|
+
# Corresponds to the JSON property `fileTypes`
|
91
|
+
# @return [Array<String>]
|
92
|
+
attr_accessor :file_types
|
93
|
+
|
94
|
+
# The IDs of the specified filter type. This is used to filter entities to fetch.
|
95
|
+
# At least one ID must be specified. Only one ID is allowed for the
|
96
|
+
# ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types
|
97
|
+
# all IDs must be from the same Advertiser.
|
98
|
+
# Corresponds to the JSON property `filterIds`
|
99
|
+
# @return [Array<String>]
|
100
|
+
attr_accessor :filter_ids
|
101
|
+
|
102
|
+
# Filter type used to filter line items to fetch.
|
103
|
+
# Corresponds to the JSON property `filterType`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :filter_type
|
106
|
+
|
107
|
+
# SDF Version (column names, types, order) in which the entities will be
|
108
|
+
# returned. Default to 3.
|
109
|
+
# Corresponds to the JSON property `version`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :version
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@file_types = args[:file_types] if args.key?(:file_types)
|
120
|
+
@filter_ids = args[:filter_ids] if args.key?(:filter_ids)
|
121
|
+
@filter_type = args[:filter_type] if args.key?(:filter_type)
|
122
|
+
@version = args[:version] if args.key?(:version)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# Download response.
|
127
|
+
class DownloadResponse
|
128
|
+
include Google::Apis::Core::Hashable
|
129
|
+
|
130
|
+
# Retrieved ad groups in SDF format.
|
131
|
+
# Corresponds to the JSON property `adGroups`
|
132
|
+
# @return [String]
|
133
|
+
attr_accessor :ad_groups
|
134
|
+
|
135
|
+
# Retrieved ads in SDF format.
|
136
|
+
# Corresponds to the JSON property `ads`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :ads
|
139
|
+
|
140
|
+
# Retrieved insertion orders in SDF format.
|
141
|
+
# Corresponds to the JSON property `insertionOrders`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :insertion_orders
|
144
|
+
|
145
|
+
# Retrieved line items in SDF format.
|
146
|
+
# Corresponds to the JSON property `lineItems`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :line_items
|
149
|
+
|
150
|
+
def initialize(**args)
|
151
|
+
update!(**args)
|
152
|
+
end
|
153
|
+
|
154
|
+
# Update properties of this object
|
155
|
+
def update!(**args)
|
156
|
+
@ad_groups = args[:ad_groups] if args.key?(:ad_groups)
|
157
|
+
@ads = args[:ads] if args.key?(:ads)
|
158
|
+
@insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
|
159
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
84
163
|
# Filter used to match traffic data in your report.
|
85
164
|
class FilterPair
|
86
165
|
include Google::Apis::Core::Hashable
|
@@ -158,92 +237,6 @@ module Google
|
|
158
237
|
end
|
159
238
|
end
|
160
239
|
|
161
|
-
# Publisher comment from Rubicon.
|
162
|
-
class Note
|
163
|
-
include Google::Apis::Core::Hashable
|
164
|
-
|
165
|
-
# Note id.
|
166
|
-
# Corresponds to the JSON property `id`
|
167
|
-
# @return [String]
|
168
|
-
attr_accessor :id
|
169
|
-
|
170
|
-
# Message from publisher.
|
171
|
-
# Corresponds to the JSON property `message`
|
172
|
-
# @return [String]
|
173
|
-
attr_accessor :message
|
174
|
-
|
175
|
-
# Equals "publisher" for notification from Rubicon.
|
176
|
-
# Corresponds to the JSON property `source`
|
177
|
-
# @return [String]
|
178
|
-
attr_accessor :source
|
179
|
-
|
180
|
-
# Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00".
|
181
|
-
# Corresponds to the JSON property `timestamp`
|
182
|
-
# @return [String]
|
183
|
-
attr_accessor :timestamp
|
184
|
-
|
185
|
-
# Publisher user name.
|
186
|
-
# Corresponds to the JSON property `username`
|
187
|
-
# @return [String]
|
188
|
-
attr_accessor :username
|
189
|
-
|
190
|
-
def initialize(**args)
|
191
|
-
update!(**args)
|
192
|
-
end
|
193
|
-
|
194
|
-
# Update properties of this object
|
195
|
-
def update!(**args)
|
196
|
-
@id = args[:id] if args.key?(:id)
|
197
|
-
@message = args[:message] if args.key?(:message)
|
198
|
-
@source = args[:source] if args.key?(:source)
|
199
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
200
|
-
@username = args[:username] if args.key?(:username)
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
# NotifyProposalChange request.
|
205
|
-
class NotifyProposalChangeRequest
|
206
|
-
include Google::Apis::Core::Hashable
|
207
|
-
|
208
|
-
# Action taken by publisher. One of: Accept, Decline, Append
|
209
|
-
# Corresponds to the JSON property `action`
|
210
|
-
# @return [String]
|
211
|
-
attr_accessor :action
|
212
|
-
|
213
|
-
# URL to access proposal detail.
|
214
|
-
# Corresponds to the JSON property `href`
|
215
|
-
# @return [String]
|
216
|
-
attr_accessor :href
|
217
|
-
|
218
|
-
# Below are contents of notification from Rubicon. Proposal id.
|
219
|
-
# Corresponds to the JSON property `id`
|
220
|
-
# @return [String]
|
221
|
-
attr_accessor :id
|
222
|
-
|
223
|
-
# Notes from publisher
|
224
|
-
# Corresponds to the JSON property `notes`
|
225
|
-
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::Note>]
|
226
|
-
attr_accessor :notes
|
227
|
-
|
228
|
-
# Deal token, available when proposal is accepted by publisher.
|
229
|
-
# Corresponds to the JSON property `token`
|
230
|
-
# @return [String]
|
231
|
-
attr_accessor :token
|
232
|
-
|
233
|
-
def initialize(**args)
|
234
|
-
update!(**args)
|
235
|
-
end
|
236
|
-
|
237
|
-
# Update properties of this object
|
238
|
-
def update!(**args)
|
239
|
-
@action = args[:action] if args.key?(:action)
|
240
|
-
@href = args[:href] if args.key?(:href)
|
241
|
-
@id = args[:id] if args.key?(:id)
|
242
|
-
@notes = args[:notes] if args.key?(:notes)
|
243
|
-
@token = args[:token] if args.key?(:token)
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
240
|
# Parameters of a query or report.
|
248
241
|
class Parameters
|
249
242
|
include Google::Apis::Core::Hashable
|
@@ -34,31 +34,31 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class DownloadRequest
|
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 DownloadResponse
|
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 FilterPair
|
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 ListQueriesResponse
|
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
|
61
|
+
class ListReportsResponse
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -165,52 +165,49 @@ module Google
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
168
|
-
class
|
168
|
+
class DownloadRequest
|
169
169
|
# @private
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
171
|
-
|
172
|
-
|
171
|
+
collection :file_types, as: 'fileTypes'
|
172
|
+
collection :filter_ids, as: 'filterIds'
|
173
|
+
property :filter_type, as: 'filterType'
|
174
|
+
property :version, as: 'version'
|
173
175
|
end
|
174
176
|
end
|
175
177
|
|
176
|
-
class
|
178
|
+
class DownloadResponse
|
177
179
|
# @private
|
178
180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
179
|
-
property :
|
180
|
-
|
181
|
-
|
181
|
+
property :ad_groups, as: 'adGroups'
|
182
|
+
property :ads, as: 'ads'
|
183
|
+
property :insertion_orders, as: 'insertionOrders'
|
184
|
+
property :line_items, as: 'lineItems'
|
182
185
|
end
|
183
186
|
end
|
184
187
|
|
185
|
-
class
|
188
|
+
class FilterPair
|
186
189
|
# @private
|
187
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
188
|
-
property :
|
189
|
-
|
190
|
-
|
191
|
+
property :type, as: 'type'
|
192
|
+
property :value, as: 'value'
|
191
193
|
end
|
192
194
|
end
|
193
195
|
|
194
|
-
class
|
196
|
+
class ListQueriesResponse
|
195
197
|
# @private
|
196
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
-
property :
|
198
|
-
|
199
|
-
|
200
|
-
property :timestamp, as: 'timestamp'
|
201
|
-
property :username, as: 'username'
|
199
|
+
property :kind, as: 'kind'
|
200
|
+
collection :queries, as: 'queries', class: Google::Apis::DoubleclickbidmanagerV1::Query, decorator: Google::Apis::DoubleclickbidmanagerV1::Query::Representation
|
201
|
+
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
-
class
|
205
|
+
class ListReportsResponse
|
206
206
|
# @private
|
207
207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
-
property :
|
209
|
-
|
210
|
-
property :id, as: 'id'
|
211
|
-
collection :notes, as: 'notes', class: Google::Apis::DoubleclickbidmanagerV1::Note, decorator: Google::Apis::DoubleclickbidmanagerV1::Note::Representation
|
208
|
+
property :kind, as: 'kind'
|
209
|
+
collection :reports, as: 'reports', class: Google::Apis::DoubleclickbidmanagerV1::Report, decorator: Google::Apis::DoubleclickbidmanagerV1::Report::Representation
|
212
210
|
|
213
|
-
property :token, as: 'token'
|
214
211
|
end
|
215
212
|
end
|
216
213
|
|
@@ -328,8 +328,8 @@ module Google
|
|
328
328
|
execute_or_queue_command(command, &block)
|
329
329
|
end
|
330
330
|
|
331
|
-
#
|
332
|
-
# @param [Google::Apis::DoubleclickbidmanagerV1::
|
331
|
+
# Retrieves entities in SDF format.
|
332
|
+
# @param [Google::Apis::DoubleclickbidmanagerV1::DownloadRequest] download_request_object
|
333
333
|
# @param [String] fields
|
334
334
|
# Selector specifying which fields to include in a partial response.
|
335
335
|
# @param [String] quota_user
|
@@ -343,18 +343,20 @@ module Google
|
|
343
343
|
# Request-specific options
|
344
344
|
#
|
345
345
|
# @yield [result, err] Result & error if block supplied
|
346
|
-
# @yieldparam result [
|
346
|
+
# @yieldparam result [Google::Apis::DoubleclickbidmanagerV1::DownloadResponse] parsed result object
|
347
347
|
# @yieldparam err [StandardError] error object if request failed
|
348
348
|
#
|
349
|
-
# @return [
|
349
|
+
# @return [Google::Apis::DoubleclickbidmanagerV1::DownloadResponse]
|
350
350
|
#
|
351
351
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
352
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
353
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def
|
355
|
-
command = make_simple_command(:post, '
|
356
|
-
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::
|
357
|
-
command.request_object =
|
354
|
+
def download_sdf(download_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
355
|
+
command = make_simple_command(:post, 'sdf/download', options)
|
356
|
+
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadRequest::Representation
|
357
|
+
command.request_object = download_request_object
|
358
|
+
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse::Representation
|
359
|
+
command.response_class = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse
|
358
360
|
command.query['fields'] = fields unless fields.nil?
|
359
361
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
360
362
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
27
27
|
module DoubleclicksearchV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20161031'
|
30
30
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
# @return [String]
|
138
138
|
attr_accessor :quota_type
|
139
139
|
|
140
|
-
# The number of remaining change ids.
|
140
|
+
# The number of remaining change ids, limited to no more than 2500.
|
141
141
|
# Corresponds to the JSON property `remainingChangeIds`
|
142
142
|
# @return [String]
|
143
143
|
attr_accessor :remaining_change_ids
|
@@ -1802,6 +1802,12 @@ module Google
|
|
1802
1802
|
attr_accessor :hidden
|
1803
1803
|
alias_method :hidden?, :hidden
|
1804
1804
|
|
1805
|
+
# Whether the file has been modified by this user.
|
1806
|
+
# Corresponds to the JSON property `modified`
|
1807
|
+
# @return [Boolean]
|
1808
|
+
attr_accessor :modified
|
1809
|
+
alias_method :modified?, :modified
|
1810
|
+
|
1805
1811
|
# Whether viewers and commenters are prevented from downloading, printing, and
|
1806
1812
|
# copying this file.
|
1807
1813
|
# Corresponds to the JSON property `restricted`
|
@@ -1835,6 +1841,7 @@ module Google
|
|
1835
1841
|
# Update properties of this object
|
1836
1842
|
def update!(**args)
|
1837
1843
|
@hidden = args[:hidden] if args.key?(:hidden)
|
1844
|
+
@modified = args[:modified] if args.key?(:modified)
|
1838
1845
|
@restricted = args[:restricted] if args.key?(:restricted)
|
1839
1846
|
@starred = args[:starred] if args.key?(:starred)
|
1840
1847
|
@trashed = args[:trashed] if args.key?(:trashed)
|
@@ -2093,9 +2100,15 @@ module Google
|
|
2093
2100
|
# @return [String]
|
2094
2101
|
attr_accessor :etag
|
2095
2102
|
|
2103
|
+
# The time at which this permission will expire (RFC 3339 date-time).
|
2104
|
+
# Corresponds to the JSON property `expirationDate`
|
2105
|
+
# @return [DateTime]
|
2106
|
+
attr_accessor :expiration_date
|
2107
|
+
|
2096
2108
|
# The ID of the user this permission refers to, and identical to the
|
2097
2109
|
# permissionId in the About and Files resources. When making a drive.permissions.
|
2098
|
-
# insert request, exactly one of the id or value fields must be specified
|
2110
|
+
# insert request, exactly one of the id or value fields must be specified unless
|
2111
|
+
# the permission type anyone, in which case both id and value are ignored.
|
2099
2112
|
# Corresponds to the JSON property `id`
|
2100
2113
|
# @return [String]
|
2101
2114
|
attr_accessor :id
|
@@ -2139,7 +2152,8 @@ module Google
|
|
2139
2152
|
|
2140
2153
|
# The email address or domain name for the entity. This is used during inserts
|
2141
2154
|
# and is not populated in responses. When making a drive.permissions.insert
|
2142
|
-
# request, exactly one of the id or value fields must be specified
|
2155
|
+
# request, exactly one of the id or value fields must be specified unless the
|
2156
|
+
# permission type anyone, in which case both id and value are ignored.
|
2143
2157
|
# Corresponds to the JSON property `value`
|
2144
2158
|
# @return [String]
|
2145
2159
|
attr_accessor :value
|
@@ -2161,6 +2175,7 @@ module Google
|
|
2161
2175
|
@domain = args[:domain] if args.key?(:domain)
|
2162
2176
|
@email_address = args[:email_address] if args.key?(:email_address)
|
2163
2177
|
@etag = args[:etag] if args.key?(:etag)
|
2178
|
+
@expiration_date = args[:expiration_date] if args.key?(:expiration_date)
|
2164
2179
|
@id = args[:id] if args.key?(:id)
|
2165
2180
|
@kind = args[:kind] if args.key?(:kind)
|
2166
2181
|
@name = args[:name] if args.key?(:name)
|
@@ -2483,6 +2498,14 @@ module Google
|
|
2483
2498
|
# @return [String]
|
2484
2499
|
attr_accessor :kind
|
2485
2500
|
|
2501
|
+
# The page token for the next page of revisions. This field will be absent if
|
2502
|
+
# the end of the revisions list has been reached. If the token is rejected for
|
2503
|
+
# any reason, it should be discarded and pagination should be restarted from the
|
2504
|
+
# first page of results.
|
2505
|
+
# Corresponds to the JSON property `nextPageToken`
|
2506
|
+
# @return [String]
|
2507
|
+
attr_accessor :next_page_token
|
2508
|
+
|
2486
2509
|
# A link back to this list.
|
2487
2510
|
# Corresponds to the JSON property `selfLink`
|
2488
2511
|
# @return [String]
|
@@ -2497,6 +2520,7 @@ module Google
|
|
2497
2520
|
@etag = args[:etag] if args.key?(:etag)
|
2498
2521
|
@items = args[:items] if args.key?(:items)
|
2499
2522
|
@kind = args[:kind] if args.key?(:kind)
|
2523
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2500
2524
|
@self_link = args[:self_link] if args.key?(:self_link)
|
2501
2525
|
end
|
2502
2526
|
end
|