google-api-client 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -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/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- 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 +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- 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 +3 -0
- 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 +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- 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 +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- 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 +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- 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 +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- 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 +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24c9efae9946508c668c6a0b51fef17b41343a0a
|
4
|
+
data.tar.gz: 8bd5da176766dd167455227822457f8921cf8fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97806eb4e66475094e046a7a4d68ffcf972ca62b61196422d0bd09c93ea6b2d5bb61dd9cb4a7fad7017c1840b8ce6e0359d55b5faaeeea7e8d338c436efdc0ef
|
7
|
+
data.tar.gz: cc6b4beb005d132bde46fa6325fd19ac12a3a1a8410948361c6042e430ad21c25f5701bd256d0eddce7c7e6b8a5968187eff2a6693084961ec197bf21158577a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
|
+
# 0.11.3
|
2
|
+
* Add `RequestOptions.api_format_version` to opt-in to receive v2 error messages
|
3
|
+
* Fix `to_json` signature to allow args
|
4
|
+
* Regenerate APIs
|
5
|
+
|
1
6
|
# 0.11.2
|
2
|
-
* Regenerate all APIs except dataflow:v1b3
|
7
|
+
* Regenerate all APIs except `dataflow:v1b3`
|
3
8
|
* Add `dfareporting:v2.8`
|
4
9
|
|
5
10
|
# 0.11.1
|
data/README.md
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
This library is in Alpha. We will make an effort to support the library, but we reserve the right to make incompatible
|
6
6
|
changes when necessary.
|
7
7
|
|
8
|
+
## Working with Google Cloud Platform APIs?
|
9
|
+
|
10
|
+
If you're working with Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, consider using [gcloud](https://github.com/GoogleCloudPlatform/google-cloud-ruby), an idiomatic Ruby client for Google Cloud Platform services.
|
11
|
+
|
12
|
+
You can find the list of Google Cloud Platform APIs supported by gcloud in the [gcloud docs](https://googlecloudplatform.github.io/gcloud-ruby/#/docs/google-cloud).
|
13
|
+
|
8
14
|
## Migrating from 0.8.x
|
9
15
|
|
10
16
|
See [MIGRATING](MIGRATING.md) for additional details on how to migrate to the latest version.
|
data/api_names.yaml
CHANGED
@@ -1086,6 +1086,7 @@
|
|
1086
1086
|
"/coordinate:v1/LocationListResponse": list_location_response
|
1087
1087
|
"/coordinate:v1/TeamListResponse": list_team_response
|
1088
1088
|
"/coordinate:v1/WorkerListResponse": list_worker_response
|
1089
|
+
"/dataflow:v1b3/dataflow.projects.locations.templates.create": create_job_from_template_with_location
|
1089
1090
|
"/dataflow:v1b3/CounterStructuredName/otherOrigin": other_origin
|
1090
1091
|
"/dataflow:v1b3/CounterStructuredName/standardOrigin": standard_origin
|
1091
1092
|
"/dataflow:v1b3/KeyRangeLocation/persistentDirectory": persistent_directory
|
@@ -22,38 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AcceleratedmobilepageurlV1
|
24
24
|
|
25
|
-
# AMP URL response for a requested URL.
|
26
|
-
class AmpUrl
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to
|
30
|
-
# the cached document in the Google AMP Cache.
|
31
|
-
# Corresponds to the JSON property `cdnAmpUrl`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :cdn_amp_url
|
34
|
-
|
35
|
-
# The original non-AMP URL.
|
36
|
-
# Corresponds to the JSON property `originalUrl`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :original_url
|
39
|
-
|
40
|
-
# The AMP URL pointing to the publisher's web server.
|
41
|
-
# Corresponds to the JSON property `ampUrl`
|
42
|
-
# @return [String]
|
43
|
-
attr_accessor :amp_url
|
44
|
-
|
45
|
-
def initialize(**args)
|
46
|
-
update!(**args)
|
47
|
-
end
|
48
|
-
|
49
|
-
# Update properties of this object
|
50
|
-
def update!(**args)
|
51
|
-
@cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url)
|
52
|
-
@original_url = args[:original_url] if args.key?(:original_url)
|
53
|
-
@amp_url = args[:amp_url] if args.key?(:amp_url)
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
25
|
# AMP URL Error resource for a requested URL that couldn't be found.
|
58
26
|
class AmpUrlError
|
59
27
|
include Google::Apis::Core::Hashable
|
@@ -89,6 +57,11 @@ module Google
|
|
89
57
|
class BatchGetAmpUrlsRequest
|
90
58
|
include Google::Apis::Core::Hashable
|
91
59
|
|
60
|
+
# The lookup_strategy being requested.
|
61
|
+
# Corresponds to the JSON property `lookupStrategy`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :lookup_strategy
|
64
|
+
|
92
65
|
# List of URLs to look up for the paired AMP URLs.
|
93
66
|
# The URLs are case-sensitive. Up to 50 URLs per lookup
|
94
67
|
# (see [Usage Limits](/amp/cache/reference/limits)).
|
@@ -96,19 +69,14 @@ module Google
|
|
96
69
|
# @return [Array<String>]
|
97
70
|
attr_accessor :urls
|
98
71
|
|
99
|
-
# The lookup_strategy being requested.
|
100
|
-
# Corresponds to the JSON property `lookupStrategy`
|
101
|
-
# @return [String]
|
102
|
-
attr_accessor :lookup_strategy
|
103
|
-
|
104
72
|
def initialize(**args)
|
105
73
|
update!(**args)
|
106
74
|
end
|
107
75
|
|
108
76
|
# Update properties of this object
|
109
77
|
def update!(**args)
|
110
|
-
@urls = args[:urls] if args.key?(:urls)
|
111
78
|
@lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy)
|
79
|
+
@urls = args[:urls] if args.key?(:urls)
|
112
80
|
end
|
113
81
|
end
|
114
82
|
|
@@ -139,6 +107,38 @@ module Google
|
|
139
107
|
@url_errors = args[:url_errors] if args.key?(:url_errors)
|
140
108
|
end
|
141
109
|
end
|
110
|
+
|
111
|
+
# AMP URL response for a requested URL.
|
112
|
+
class AmpUrl
|
113
|
+
include Google::Apis::Core::Hashable
|
114
|
+
|
115
|
+
# The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to
|
116
|
+
# the cached document in the Google AMP Cache.
|
117
|
+
# Corresponds to the JSON property `cdnAmpUrl`
|
118
|
+
# @return [String]
|
119
|
+
attr_accessor :cdn_amp_url
|
120
|
+
|
121
|
+
# The original non-AMP URL.
|
122
|
+
# Corresponds to the JSON property `originalUrl`
|
123
|
+
# @return [String]
|
124
|
+
attr_accessor :original_url
|
125
|
+
|
126
|
+
# The AMP URL pointing to the publisher's web server.
|
127
|
+
# Corresponds to the JSON property `ampUrl`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :amp_url
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url)
|
138
|
+
@original_url = args[:original_url] if args.key?(:original_url)
|
139
|
+
@amp_url = args[:amp_url] if args.key?(:amp_url)
|
140
|
+
end
|
141
|
+
end
|
142
142
|
end
|
143
143
|
end
|
144
144
|
end
|
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AcceleratedmobilepageurlV1
|
24
24
|
|
25
|
-
class AmpUrl
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class AmpUrlError
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -47,12 +41,9 @@ module Google
|
|
47
41
|
end
|
48
42
|
|
49
43
|
class AmpUrl
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
property :original_url, as: 'originalUrl'
|
54
|
-
property :amp_url, as: 'ampUrl'
|
55
|
-
end
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
56
47
|
end
|
57
48
|
|
58
49
|
class AmpUrlError
|
@@ -67,8 +58,8 @@ module Google
|
|
67
58
|
class BatchGetAmpUrlsRequest
|
68
59
|
# @private
|
69
60
|
class Representation < Google::Apis::Core::JsonRepresentation
|
70
|
-
collection :urls, as: 'urls'
|
71
61
|
property :lookup_strategy, as: 'lookupStrategy'
|
62
|
+
collection :urls, as: 'urls'
|
72
63
|
end
|
73
64
|
end
|
74
65
|
|
@@ -81,6 +72,15 @@ module Google
|
|
81
72
|
|
82
73
|
end
|
83
74
|
end
|
75
|
+
|
76
|
+
class AmpUrl
|
77
|
+
# @private
|
78
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
79
|
+
property :cdn_amp_url, as: 'cdnAmpUrl'
|
80
|
+
property :original_url, as: 'originalUrl'
|
81
|
+
property :amp_url, as: 'ampUrl'
|
82
|
+
end
|
83
|
+
end
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|
@@ -33,16 +33,16 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://developers.google.com/amp/cache/
|
35
35
|
class AcceleratedmobilepageurlService < Google::Apis::Core::BaseService
|
36
|
-
# @return [String]
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
-
attr_accessor :key
|
40
|
-
|
41
36
|
# @return [String]
|
42
37
|
# Available to use for quota purposes for server-side applications. Can be any
|
43
38
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
39
|
attr_accessor :quota_user
|
45
40
|
|
41
|
+
# @return [String]
|
42
|
+
# API key. Your API key identifies your project and provides you with API access,
|
43
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
44
|
+
attr_accessor :key
|
45
|
+
|
46
46
|
def initialize
|
47
47
|
super('https://acceleratedmobilepageurl.googleapis.com/', '')
|
48
48
|
@batch_path = 'batch'
|
@@ -51,11 +51,11 @@ module Google
|
|
51
51
|
# Returns AMP URL(s) and equivalent
|
52
52
|
# [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
|
53
53
|
# @param [Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest] batch_get_amp_urls_request_object
|
54
|
-
# @param [String] fields
|
55
|
-
# Selector specifying which fields to include in a partial response.
|
56
54
|
# @param [String] quota_user
|
57
55
|
# Available to use for quota purposes for server-side applications. Can be any
|
58
56
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
59
59
|
# @param [Google::Apis::RequestOptions] options
|
60
60
|
# Request-specific options
|
61
61
|
#
|
@@ -68,22 +68,22 @@ module Google
|
|
68
68
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def batch_get_amp_urls(batch_get_amp_urls_request_object = nil,
|
71
|
+
def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
72
72
|
command = make_simple_command(:post, 'v1/ampUrls:batchGet', options)
|
73
73
|
command.request_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest::Representation
|
74
74
|
command.request_object = batch_get_amp_urls_request_object
|
75
75
|
command.response_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse::Representation
|
76
76
|
command.response_class = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse
|
77
|
-
command.query['fields'] = fields unless fields.nil?
|
78
77
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
79
|
execute_or_queue_command(command, &block)
|
80
80
|
end
|
81
81
|
|
82
82
|
protected
|
83
83
|
|
84
84
|
def apply_command_defaults(command)
|
85
|
-
command.query['key'] = key unless key.nil?
|
86
85
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
command.query['key'] = key unless key.nil?
|
87
87
|
end
|
88
88
|
end
|
89
89
|
end
|
@@ -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 = '20170525'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -45,38 +45,48 @@ module Google
|
|
45
45
|
class NativeContent
|
46
46
|
include Google::Apis::Core::Hashable
|
47
47
|
|
48
|
+
# A long description of the ad.
|
49
|
+
# Corresponds to the JSON property `body`
|
50
|
+
# @return [String]
|
51
|
+
attr_accessor :body
|
52
|
+
|
53
|
+
# The app rating in the app store. Must be in the range [0-5].
|
54
|
+
# Corresponds to the JSON property `starRating`
|
55
|
+
# @return [Float]
|
56
|
+
attr_accessor :star_rating
|
57
|
+
|
48
58
|
# The URL to fetch a native video ad.
|
49
59
|
# Corresponds to the JSON property `videoUrl`
|
50
60
|
# @return [String]
|
51
61
|
attr_accessor :video_url
|
52
62
|
|
63
|
+
# The URL that the browser/SDK will load when the user clicks the ad.
|
64
|
+
# Corresponds to the JSON property `clickLinkUrl`
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :click_link_url
|
67
|
+
|
53
68
|
# An image resource. You may provide a larger image than was requested,
|
54
69
|
# so long as the aspect ratio is preserved.
|
55
70
|
# Corresponds to the JSON property `logo`
|
56
71
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
|
57
72
|
attr_accessor :logo
|
58
73
|
|
59
|
-
# The URL that the browser/SDK will load when the user clicks the ad.
|
60
|
-
# Corresponds to the JSON property `clickLinkUrl`
|
61
|
-
# @return [String]
|
62
|
-
attr_accessor :click_link_url
|
63
|
-
|
64
74
|
# The price of the promoted app including currency info.
|
65
75
|
# Corresponds to the JSON property `priceDisplayText`
|
66
76
|
# @return [String]
|
67
77
|
attr_accessor :price_display_text
|
68
78
|
|
79
|
+
# The URL to use for click tracking.
|
80
|
+
# Corresponds to the JSON property `clickTrackingUrl`
|
81
|
+
# @return [String]
|
82
|
+
attr_accessor :click_tracking_url
|
83
|
+
|
69
84
|
# An image resource. You may provide a larger image than was requested,
|
70
85
|
# so long as the aspect ratio is preserved.
|
71
86
|
# Corresponds to the JSON property `image`
|
72
87
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
|
73
88
|
attr_accessor :image
|
74
89
|
|
75
|
-
# The URL to use for click tracking.
|
76
|
-
# Corresponds to the JSON property `clickTrackingUrl`
|
77
|
-
# @return [String]
|
78
|
-
attr_accessor :click_tracking_url
|
79
|
-
|
80
90
|
# The name of the advertiser or sponsor, to be displayed in the ad creative.
|
81
91
|
# Corresponds to the JSON property `advertiserName`
|
82
92
|
# @return [String]
|
@@ -103,35 +113,25 @@ module Google
|
|
103
113
|
# @return [String]
|
104
114
|
attr_accessor :call_to_action
|
105
115
|
|
106
|
-
# A long description of the ad.
|
107
|
-
# Corresponds to the JSON property `body`
|
108
|
-
# @return [String]
|
109
|
-
attr_accessor :body
|
110
|
-
|
111
|
-
# The app rating in the app store. Must be in the range [0-5].
|
112
|
-
# Corresponds to the JSON property `starRating`
|
113
|
-
# @return [Float]
|
114
|
-
attr_accessor :star_rating
|
115
|
-
|
116
116
|
def initialize(**args)
|
117
117
|
update!(**args)
|
118
118
|
end
|
119
119
|
|
120
120
|
# Update properties of this object
|
121
121
|
def update!(**args)
|
122
|
+
@body = args[:body] if args.key?(:body)
|
123
|
+
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
122
124
|
@video_url = args[:video_url] if args.key?(:video_url)
|
123
|
-
@logo = args[:logo] if args.key?(:logo)
|
124
125
|
@click_link_url = args[:click_link_url] if args.key?(:click_link_url)
|
126
|
+
@logo = args[:logo] if args.key?(:logo)
|
125
127
|
@price_display_text = args[:price_display_text] if args.key?(:price_display_text)
|
126
|
-
@image = args[:image] if args.key?(:image)
|
127
128
|
@click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
|
129
|
+
@image = args[:image] if args.key?(:image)
|
128
130
|
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
129
131
|
@store_url = args[:store_url] if args.key?(:store_url)
|
130
132
|
@headline = args[:headline] if args.key?(:headline)
|
131
133
|
@app_icon = args[:app_icon] if args.key?(:app_icon)
|
132
134
|
@call_to_action = args[:call_to_action] if args.key?(:call_to_action)
|
133
|
-
@body = args[:body] if args.key?(:body)
|
134
|
-
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
@@ -139,11 +139,6 @@ module Google
|
|
139
139
|
class ListClientsResponse
|
140
140
|
include Google::Apis::Core::Hashable
|
141
141
|
|
142
|
-
# The returned list of clients.
|
143
|
-
# Corresponds to the JSON property `clients`
|
144
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
145
|
-
attr_accessor :clients
|
146
|
-
|
147
142
|
# A token to retrieve the next page of results.
|
148
143
|
# Pass this value in the
|
149
144
|
# ListClientsRequest.pageToken
|
@@ -154,14 +149,19 @@ module Google
|
|
154
149
|
# @return [String]
|
155
150
|
attr_accessor :next_page_token
|
156
151
|
|
152
|
+
# The returned list of clients.
|
153
|
+
# Corresponds to the JSON property `clients`
|
154
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
|
155
|
+
attr_accessor :clients
|
156
|
+
|
157
157
|
def initialize(**args)
|
158
158
|
update!(**args)
|
159
159
|
end
|
160
160
|
|
161
161
|
# Update properties of this object
|
162
162
|
def update!(**args)
|
163
|
-
@clients = args[:clients] if args.key?(:clients)
|
164
163
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
164
|
+
@clients = args[:clients] if args.key?(:clients)
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
@@ -217,11 +217,6 @@ module Google
|
|
217
217
|
class HtmlContent
|
218
218
|
include Google::Apis::Core::Hashable
|
219
219
|
|
220
|
-
# The height of the HTML snippet in pixels.
|
221
|
-
# Corresponds to the JSON property `height`
|
222
|
-
# @return [Fixnum]
|
223
|
-
attr_accessor :height
|
224
|
-
|
225
220
|
# The width of the HTML snippet in pixels.
|
226
221
|
# Corresponds to the JSON property `width`
|
227
222
|
# @return [Fixnum]
|
@@ -232,15 +227,20 @@ module Google
|
|
232
227
|
# @return [String]
|
233
228
|
attr_accessor :snippet
|
234
229
|
|
230
|
+
# The height of the HTML snippet in pixels.
|
231
|
+
# Corresponds to the JSON property `height`
|
232
|
+
# @return [Fixnum]
|
233
|
+
attr_accessor :height
|
234
|
+
|
235
235
|
def initialize(**args)
|
236
236
|
update!(**args)
|
237
237
|
end
|
238
238
|
|
239
239
|
# Update properties of this object
|
240
240
|
def update!(**args)
|
241
|
-
@height = args[:height] if args.key?(:height)
|
242
241
|
@width = args[:width] if args.key?(:width)
|
243
242
|
@snippet = args[:snippet] if args.key?(:snippet)
|
243
|
+
@height = args[:height] if args.key?(:height)
|
244
244
|
end
|
245
245
|
end
|
246
246
|
|
@@ -248,16 +248,6 @@ module Google
|
|
248
248
|
class ServingContext
|
249
249
|
include Google::Apis::Core::Hashable
|
250
250
|
|
251
|
-
# @OutputOnly The type of platform the restriction applies to.
|
252
|
-
# Corresponds to the JSON property `platform`
|
253
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
|
254
|
-
attr_accessor :platform
|
255
|
-
|
256
|
-
# @OutputOnly The Geo criteria the restriction applies to.
|
257
|
-
# Corresponds to the JSON property `location`
|
258
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
|
259
|
-
attr_accessor :location
|
260
|
-
|
261
251
|
# @OutputOnly The auction type the restriction applies to.
|
262
252
|
# Corresponds to the JSON property `auctionType`
|
263
253
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext]
|
@@ -278,18 +268,28 @@ module Google
|
|
278
268
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
|
279
269
|
attr_accessor :security_type
|
280
270
|
|
271
|
+
# @OutputOnly The type of platform the restriction applies to.
|
272
|
+
# Corresponds to the JSON property `platform`
|
273
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
|
274
|
+
attr_accessor :platform
|
275
|
+
|
276
|
+
# @OutputOnly The Geo criteria the restriction applies to.
|
277
|
+
# Corresponds to the JSON property `location`
|
278
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
|
279
|
+
attr_accessor :location
|
280
|
+
|
281
281
|
def initialize(**args)
|
282
282
|
update!(**args)
|
283
283
|
end
|
284
284
|
|
285
285
|
# Update properties of this object
|
286
286
|
def update!(**args)
|
287
|
-
@platform = args[:platform] if args.key?(:platform)
|
288
|
-
@location = args[:location] if args.key?(:location)
|
289
287
|
@auction_type = args[:auction_type] if args.key?(:auction_type)
|
290
288
|
@all = args[:all] if args.key?(:all)
|
291
289
|
@app_type = args[:app_type] if args.key?(:app_type)
|
292
290
|
@security_type = args[:security_type] if args.key?(:security_type)
|
291
|
+
@platform = args[:platform] if args.key?(:platform)
|
292
|
+
@location = args[:location] if args.key?(:location)
|
293
293
|
end
|
294
294
|
end
|
295
295
|
|
@@ -329,12 +329,6 @@ module Google
|
|
329
329
|
class Reason
|
330
330
|
include Google::Apis::Core::Hashable
|
331
331
|
|
332
|
-
# The number of times the creative was filtered for the status. The
|
333
|
-
# count is aggregated across all publishers on the exchange.
|
334
|
-
# Corresponds to the JSON property `count`
|
335
|
-
# @return [Fixnum]
|
336
|
-
attr_accessor :count
|
337
|
-
|
338
332
|
# The filtering status code. Please refer to the
|
339
333
|
# [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-
|
340
334
|
# dictionaries/creative-status-codes.txt)
|
@@ -343,14 +337,20 @@ module Google
|
|
343
337
|
# @return [Fixnum]
|
344
338
|
attr_accessor :status
|
345
339
|
|
340
|
+
# The number of times the creative was filtered for the status. The
|
341
|
+
# count is aggregated across all publishers on the exchange.
|
342
|
+
# Corresponds to the JSON property `count`
|
343
|
+
# @return [Fixnum]
|
344
|
+
attr_accessor :count
|
345
|
+
|
346
346
|
def initialize(**args)
|
347
347
|
update!(**args)
|
348
348
|
end
|
349
349
|
|
350
350
|
# Update properties of this object
|
351
351
|
def update!(**args)
|
352
|
-
@count = args[:count] if args.key?(:count)
|
353
352
|
@status = args[:status] if args.key?(:status)
|
353
|
+
@count = args[:count] if args.key?(:count)
|
354
354
|
end
|
355
355
|
end
|
356
356
|
|
@@ -431,12 +431,12 @@ module Google
|
|
431
431
|
end
|
432
432
|
|
433
433
|
#
|
434
|
-
class
|
434
|
+
class ListClientUserInvitationsResponse
|
435
435
|
include Google::Apis::Core::Hashable
|
436
436
|
|
437
437
|
# A token to retrieve the next page of results.
|
438
438
|
# Pass this value in the
|
439
|
-
#
|
439
|
+
# ListClientUserInvitationsRequest.pageToken
|
440
440
|
# field in the subsequent call to the
|
441
441
|
# clients.invitations.list
|
442
442
|
# method to retrieve the next
|
@@ -446,9 +446,9 @@ module Google
|
|
446
446
|
attr_accessor :next_page_token
|
447
447
|
|
448
448
|
# The returned list of client users.
|
449
|
-
# Corresponds to the JSON property `
|
450
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::
|
451
|
-
attr_accessor :
|
449
|
+
# Corresponds to the JSON property `invitations`
|
450
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
|
451
|
+
attr_accessor :invitations
|
452
452
|
|
453
453
|
def initialize(**args)
|
454
454
|
update!(**args)
|
@@ -457,17 +457,22 @@ module Google
|
|
457
457
|
# Update properties of this object
|
458
458
|
def update!(**args)
|
459
459
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
460
|
-
@
|
460
|
+
@invitations = args[:invitations] if args.key?(:invitations)
|
461
461
|
end
|
462
462
|
end
|
463
463
|
|
464
464
|
#
|
465
|
-
class
|
465
|
+
class ListClientUsersResponse
|
466
466
|
include Google::Apis::Core::Hashable
|
467
467
|
|
468
|
+
# The returned list of client users.
|
469
|
+
# Corresponds to the JSON property `users`
|
470
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
|
471
|
+
attr_accessor :users
|
472
|
+
|
468
473
|
# A token to retrieve the next page of results.
|
469
474
|
# Pass this value in the
|
470
|
-
#
|
475
|
+
# ListClientUsersRequest.pageToken
|
471
476
|
# field in the subsequent call to the
|
472
477
|
# clients.invitations.list
|
473
478
|
# method to retrieve the next
|
@@ -476,19 +481,14 @@ module Google
|
|
476
481
|
# @return [String]
|
477
482
|
attr_accessor :next_page_token
|
478
483
|
|
479
|
-
# The returned list of client users.
|
480
|
-
# Corresponds to the JSON property `invitations`
|
481
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
|
482
|
-
attr_accessor :invitations
|
483
|
-
|
484
484
|
def initialize(**args)
|
485
485
|
update!(**args)
|
486
486
|
end
|
487
487
|
|
488
488
|
# Update properties of this object
|
489
489
|
def update!(**args)
|
490
|
+
@users = args[:users] if args.key?(:users)
|
490
491
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
491
|
-
@invitations = args[:invitations] if args.key?(:invitations)
|
492
492
|
end
|
493
493
|
end
|
494
494
|
|
@@ -547,19 +547,6 @@ module Google
|
|
547
547
|
class ClientUser
|
548
548
|
include Google::Apis::Core::Hashable
|
549
549
|
|
550
|
-
# The unique numerical ID of the client user
|
551
|
-
# that has accepted an invitation.
|
552
|
-
# The value of this field is ignored in an update operation.
|
553
|
-
# Corresponds to the JSON property `userId`
|
554
|
-
# @return [Fixnum]
|
555
|
-
attr_accessor :user_id
|
556
|
-
|
557
|
-
# User's email address. The value of this field
|
558
|
-
# is ignored in an update operation.
|
559
|
-
# Corresponds to the JSON property `email`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :email
|
562
|
-
|
563
550
|
# Numerical account ID of the client buyer
|
564
551
|
# with which the user is associated; the
|
565
552
|
# buyer must be a client of the current sponsor buyer.
|
@@ -573,16 +560,29 @@ module Google
|
|
573
560
|
# @return [String]
|
574
561
|
attr_accessor :status
|
575
562
|
|
563
|
+
# The unique numerical ID of the client user
|
564
|
+
# that has accepted an invitation.
|
565
|
+
# The value of this field is ignored in an update operation.
|
566
|
+
# Corresponds to the JSON property `userId`
|
567
|
+
# @return [Fixnum]
|
568
|
+
attr_accessor :user_id
|
569
|
+
|
570
|
+
# User's email address. The value of this field
|
571
|
+
# is ignored in an update operation.
|
572
|
+
# Corresponds to the JSON property `email`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :email
|
575
|
+
|
576
576
|
def initialize(**args)
|
577
577
|
update!(**args)
|
578
578
|
end
|
579
579
|
|
580
580
|
# Update properties of this object
|
581
581
|
def update!(**args)
|
582
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
583
|
-
@email = args[:email] if args.key?(:email)
|
584
582
|
@client_account_id = args[:client_account_id] if args.key?(:client_account_id)
|
585
583
|
@status = args[:status] if args.key?(:status)
|
584
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
585
|
+
@email = args[:email] if args.key?(:email)
|
586
586
|
end
|
587
587
|
end
|
588
588
|
|
@@ -617,10 +617,100 @@ module Google
|
|
617
617
|
end
|
618
618
|
end
|
619
619
|
|
620
|
+
# @OutputOnly Filtering reasons for this creative during a period of a single
|
621
|
+
# day (from midnight to midnight Pacific).
|
622
|
+
class FilteringStats
|
623
|
+
include Google::Apis::Core::Hashable
|
624
|
+
|
625
|
+
# The set of filtering reasons for this date.
|
626
|
+
# Corresponds to the JSON property `reasons`
|
627
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
|
628
|
+
attr_accessor :reasons
|
629
|
+
|
630
|
+
# Represents a whole calendar date, e.g. date of birth. The time of day and
|
631
|
+
# time zone are either specified elsewhere or are not significant. The date
|
632
|
+
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
|
633
|
+
# represent a year and month where the day is not significant, e.g. credit card
|
634
|
+
# expiration date. The year may be 0 to represent a month and day independent
|
635
|
+
# of year, e.g. anniversary date. Related types are google.type.TimeOfDay
|
636
|
+
# and `google.protobuf.Timestamp`.
|
637
|
+
# Corresponds to the JSON property `date`
|
638
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
639
|
+
attr_accessor :date
|
640
|
+
|
641
|
+
def initialize(**args)
|
642
|
+
update!(**args)
|
643
|
+
end
|
644
|
+
|
645
|
+
# Update properties of this object
|
646
|
+
def update!(**args)
|
647
|
+
@reasons = args[:reasons] if args.key?(:reasons)
|
648
|
+
@date = args[:date] if args.key?(:date)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
620
652
|
# A creative and its classification data.
|
621
653
|
class Creative
|
622
654
|
include Google::Apis::Core::Hashable
|
623
655
|
|
656
|
+
# HTML content for a creative.
|
657
|
+
# Corresponds to the JSON property `html`
|
658
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]
|
659
|
+
attr_accessor :html
|
660
|
+
|
661
|
+
# @OutputOnly The top-level deals status of this creative.
|
662
|
+
# If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
|
663
|
+
# serving_restrictions will also exist. Note
|
664
|
+
# that this may be nuanced with other contextual restrictions, in which case,
|
665
|
+
# it may be preferable to read from serving_restrictions directly.
|
666
|
+
# Can be used to filter the response of the
|
667
|
+
# creatives.list
|
668
|
+
# method.
|
669
|
+
# Corresponds to the JSON property `dealsStatus`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :deals_status
|
672
|
+
|
673
|
+
# @OutputOnly Detected product categories, if any.
|
674
|
+
# See the ad-product-categories.txt file in the technical documentation
|
675
|
+
# for a list of IDs.
|
676
|
+
# Corresponds to the JSON property `detectedProductCategories`
|
677
|
+
# @return [Array<Fixnum>]
|
678
|
+
attr_accessor :detected_product_categories
|
679
|
+
|
680
|
+
# @OutputOnly The top-level open auction status of this creative.
|
681
|
+
# If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
|
682
|
+
# serving_restrictions will also exist. Note
|
683
|
+
# that this may be nuanced with other contextual restrictions, in which case,
|
684
|
+
# it may be preferable to read from serving_restrictions directly.
|
685
|
+
# Can be used to filter the response of the
|
686
|
+
# creatives.list
|
687
|
+
# method.
|
688
|
+
# Corresponds to the JSON property `openAuctionStatus`
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :open_auction_status
|
691
|
+
|
692
|
+
# The name of the company being advertised in the creative.
|
693
|
+
# Corresponds to the JSON property `advertiserName`
|
694
|
+
# @return [String]
|
695
|
+
attr_accessor :advertiser_name
|
696
|
+
|
697
|
+
# @OutputOnly Detected advertiser IDs, if any.
|
698
|
+
# Corresponds to the JSON property `detectedAdvertiserIds`
|
699
|
+
# @return [Array<Fixnum>]
|
700
|
+
attr_accessor :detected_advertiser_ids
|
701
|
+
|
702
|
+
# @OutputOnly
|
703
|
+
# The detected domains for this creative.
|
704
|
+
# Corresponds to the JSON property `detectedDomains`
|
705
|
+
# @return [Array<String>]
|
706
|
+
attr_accessor :detected_domains
|
707
|
+
|
708
|
+
# @OutputOnly Filtering reasons for this creative during a period of a single
|
709
|
+
# day (from midnight to midnight Pacific).
|
710
|
+
# Corresponds to the JSON property `filteringStats`
|
711
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
|
712
|
+
attr_accessor :filtering_stats
|
713
|
+
|
624
714
|
# All attributes for the ads that may be shown from this creative.
|
625
715
|
# Can be used to filter the response of the
|
626
716
|
# creatives.list
|
@@ -663,6 +753,11 @@ module Google
|
|
663
753
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]
|
664
754
|
attr_accessor :native
|
665
755
|
|
756
|
+
# Video content for a creative.
|
757
|
+
# Corresponds to the JSON property `video`
|
758
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
|
759
|
+
attr_accessor :video
|
760
|
+
|
666
761
|
# @OutputOnly The granular status of this ad in specific contexts.
|
667
762
|
# A context here relates to where something ultimately serves (for example,
|
668
763
|
# a physical location, a platform, an HTTPS vs HTTP request, or the type
|
@@ -671,11 +766,6 @@ module Google
|
|
671
766
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]
|
672
767
|
attr_accessor :serving_restrictions
|
673
768
|
|
674
|
-
# Video content for a creative.
|
675
|
-
# Corresponds to the JSON property `video`
|
676
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
|
677
|
-
attr_accessor :video
|
678
|
-
|
679
769
|
# The agency ID for this creative.
|
680
770
|
# Corresponds to the JSON property `agencyId`
|
681
771
|
# @return [Fixnum]
|
@@ -726,78 +816,28 @@ module Google
|
|
726
816
|
# @return [Array<String>]
|
727
817
|
attr_accessor :impression_tracking_urls
|
728
818
|
|
729
|
-
# HTML content for a creative.
|
730
|
-
# Corresponds to the JSON property `html`
|
731
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]
|
732
|
-
attr_accessor :html
|
733
|
-
|
734
|
-
# @OutputOnly Detected product categories, if any.
|
735
|
-
# See the ad-product-categories.txt file in the technical documentation
|
736
|
-
# for a list of IDs.
|
737
|
-
# Corresponds to the JSON property `detectedProductCategories`
|
738
|
-
# @return [Array<Fixnum>]
|
739
|
-
attr_accessor :detected_product_categories
|
740
|
-
|
741
|
-
# @OutputOnly The top-level deals status of this creative.
|
742
|
-
# If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
|
743
|
-
# serving_restrictions will also exist. Note
|
744
|
-
# that this may be nuanced with other contextual restrictions, in which case,
|
745
|
-
# it may be preferable to read from serving_restrictions directly.
|
746
|
-
# Can be used to filter the response of the
|
747
|
-
# creatives.list
|
748
|
-
# method.
|
749
|
-
# Corresponds to the JSON property `dealsStatus`
|
750
|
-
# @return [String]
|
751
|
-
attr_accessor :deals_status
|
752
|
-
|
753
|
-
# @OutputOnly The top-level open auction status of this creative.
|
754
|
-
# If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
|
755
|
-
# serving_restrictions will also exist. Note
|
756
|
-
# that this may be nuanced with other contextual restrictions, in which case,
|
757
|
-
# it may be preferable to read from serving_restrictions directly.
|
758
|
-
# Can be used to filter the response of the
|
759
|
-
# creatives.list
|
760
|
-
# method.
|
761
|
-
# Corresponds to the JSON property `openAuctionStatus`
|
762
|
-
# @return [String]
|
763
|
-
attr_accessor :open_auction_status
|
764
|
-
|
765
|
-
# The name of the company being advertised in the creative.
|
766
|
-
# Corresponds to the JSON property `advertiserName`
|
767
|
-
# @return [String]
|
768
|
-
attr_accessor :advertiser_name
|
769
|
-
|
770
|
-
# @OutputOnly Detected advertiser IDs, if any.
|
771
|
-
# Corresponds to the JSON property `detectedAdvertiserIds`
|
772
|
-
# @return [Array<Fixnum>]
|
773
|
-
attr_accessor :detected_advertiser_ids
|
774
|
-
|
775
|
-
# @OutputOnly
|
776
|
-
# The detected domains for this creative.
|
777
|
-
# Corresponds to the JSON property `detectedDomains`
|
778
|
-
# @return [Array<String>]
|
779
|
-
attr_accessor :detected_domains
|
780
|
-
|
781
|
-
# @OutputOnly Filtering reasons for this creative during a period of a single
|
782
|
-
# day (from midnight to midnight Pacific).
|
783
|
-
# Corresponds to the JSON property `filteringStats`
|
784
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
|
785
|
-
attr_accessor :filtering_stats
|
786
|
-
|
787
819
|
def initialize(**args)
|
788
820
|
update!(**args)
|
789
821
|
end
|
790
822
|
|
791
823
|
# Update properties of this object
|
792
824
|
def update!(**args)
|
825
|
+
@html = args[:html] if args.key?(:html)
|
826
|
+
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
827
|
+
@detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
|
828
|
+
@open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
|
829
|
+
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
830
|
+
@detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
|
831
|
+
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
832
|
+
@filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
|
793
833
|
@attributes = args[:attributes] if args.key?(:attributes)
|
794
834
|
@api_update_time = args[:api_update_time] if args.key?(:api_update_time)
|
795
835
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
796
836
|
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
797
837
|
@account_id = args[:account_id] if args.key?(:account_id)
|
798
838
|
@native = args[:native] if args.key?(:native)
|
799
|
-
@serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
|
800
839
|
@video = args[:video] if args.key?(:video)
|
840
|
+
@serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
|
801
841
|
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
802
842
|
@click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
|
803
843
|
@ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
|
@@ -807,46 +847,6 @@ module Google
|
|
807
847
|
@version = args[:version] if args.key?(:version)
|
808
848
|
@vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids)
|
809
849
|
@impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls)
|
810
|
-
@html = args[:html] if args.key?(:html)
|
811
|
-
@detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
|
812
|
-
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
813
|
-
@open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
|
814
|
-
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
815
|
-
@detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
|
816
|
-
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
817
|
-
@filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
|
818
|
-
end
|
819
|
-
end
|
820
|
-
|
821
|
-
# @OutputOnly Filtering reasons for this creative during a period of a single
|
822
|
-
# day (from midnight to midnight Pacific).
|
823
|
-
class FilteringStats
|
824
|
-
include Google::Apis::Core::Hashable
|
825
|
-
|
826
|
-
# The set of filtering reasons for this date.
|
827
|
-
# Corresponds to the JSON property `reasons`
|
828
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
|
829
|
-
attr_accessor :reasons
|
830
|
-
|
831
|
-
# Represents a whole calendar date, e.g. date of birth. The time of day and
|
832
|
-
# time zone are either specified elsewhere or are not significant. The date
|
833
|
-
# is relative to the Proleptic Gregorian Calendar. The day may be 0 to
|
834
|
-
# represent a year and month where the day is not significant, e.g. credit card
|
835
|
-
# expiration date. The year may be 0 to represent a month and day independent
|
836
|
-
# of year, e.g. anniversary date. Related types are google.type.TimeOfDay
|
837
|
-
# and `google.protobuf.Timestamp`.
|
838
|
-
# Corresponds to the JSON property `date`
|
839
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
|
840
|
-
attr_accessor :date
|
841
|
-
|
842
|
-
def initialize(**args)
|
843
|
-
update!(**args)
|
844
|
-
end
|
845
|
-
|
846
|
-
# Update properties of this object
|
847
|
-
def update!(**args)
|
848
|
-
@reasons = args[:reasons] if args.key?(:reasons)
|
849
|
-
@date = args[:date] if args.key?(:date)
|
850
850
|
end
|
851
851
|
end
|
852
852
|
|
@@ -1013,6 +1013,11 @@ module Google
|
|
1013
1013
|
class ListDealAssociationsResponse
|
1014
1014
|
include Google::Apis::Core::Hashable
|
1015
1015
|
|
1016
|
+
# The list of associations.
|
1017
|
+
# Corresponds to the JSON property `associations`
|
1018
|
+
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
|
1019
|
+
attr_accessor :associations
|
1020
|
+
|
1016
1021
|
# A token to retrieve the next page of results.
|
1017
1022
|
# Pass this value in the
|
1018
1023
|
# ListDealAssociationsRequest.page_token
|
@@ -1022,19 +1027,14 @@ module Google
|
|
1022
1027
|
# @return [String]
|
1023
1028
|
attr_accessor :next_page_token
|
1024
1029
|
|
1025
|
-
# The list of associations.
|
1026
|
-
# Corresponds to the JSON property `associations`
|
1027
|
-
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
|
1028
|
-
attr_accessor :associations
|
1029
|
-
|
1030
1030
|
def initialize(**args)
|
1031
1031
|
update!(**args)
|
1032
1032
|
end
|
1033
1033
|
|
1034
1034
|
# Update properties of this object
|
1035
1035
|
def update!(**args)
|
1036
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1037
1036
|
@associations = args[:associations] if args.key?(:associations)
|
1037
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1038
1038
|
end
|
1039
1039
|
end
|
1040
1040
|
|
@@ -1083,6 +1083,12 @@ module Google
|
|
1083
1083
|
class ServingRestriction
|
1084
1084
|
include Google::Apis::Core::Hashable
|
1085
1085
|
|
1086
|
+
# The status of the creative in this context (for example, it has been
|
1087
|
+
# explicitly disapproved or is pending review).
|
1088
|
+
# Corresponds to the JSON property `status`
|
1089
|
+
# @return [String]
|
1090
|
+
attr_accessor :status
|
1091
|
+
|
1086
1092
|
# Any disapprovals bound to this restriction.
|
1087
1093
|
# Only present if status=DISAPPROVED.
|
1088
1094
|
# Can be used to filter the response of the
|
@@ -1097,21 +1103,15 @@ module Google
|
|
1097
1103
|
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
|
1098
1104
|
attr_accessor :contexts
|
1099
1105
|
|
1100
|
-
# The status of the creative in this context (for example, it has been
|
1101
|
-
# explicitly disapproved or is pending review).
|
1102
|
-
# Corresponds to the JSON property `status`
|
1103
|
-
# @return [String]
|
1104
|
-
attr_accessor :status
|
1105
|
-
|
1106
1106
|
def initialize(**args)
|
1107
1107
|
update!(**args)
|
1108
1108
|
end
|
1109
1109
|
|
1110
1110
|
# Update properties of this object
|
1111
1111
|
def update!(**args)
|
1112
|
+
@status = args[:status] if args.key?(:status)
|
1112
1113
|
@disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
|
1113
1114
|
@contexts = args[:contexts] if args.key?(:contexts)
|
1114
|
-
@status = args[:status] if args.key?(:status)
|
1115
1115
|
end
|
1116
1116
|
end
|
1117
1117
|
|