google-api-client 0.23.9 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2030 -58
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +878 -43
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +604 -0
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -1
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +8 -2
  11. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  12. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +108 -5
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +60 -0
  15. data/generated/google/apis/appengine_v1.rb +1 -1
  16. data/generated/google/apis/appengine_v1/classes.rb +1 -1
  17. data/generated/google/apis/appengine_v1/service.rb +3 -3
  18. data/generated/google/apis/appengine_v1beta.rb +1 -1
  19. data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta/service.rb +3 -3
  21. data/generated/google/apis/classroom_v1.rb +1 -1
  22. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  26. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  27. data/generated/google/apis/cloudtrace_v1/classes.rb +3 -2
  28. data/generated/google/apis/composer_v1.rb +1 -1
  29. data/generated/google/apis/composer_v1/classes.rb +1 -1
  30. data/generated/google/apis/composer_v1/service.rb +6 -6
  31. data/generated/google/apis/composer_v1beta1.rb +1 -1
  32. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  33. data/generated/google/apis/dataproc_v1.rb +1 -1
  34. data/generated/google/apis/dataproc_v1/classes.rb +475 -0
  35. data/generated/google/apis/dataproc_v1/representations.rb +188 -0
  36. data/generated/google/apis/dataproc_v1/service.rb +550 -0
  37. data/generated/google/apis/dlp_v2.rb +1 -1
  38. data/generated/google/apis/dlp_v2/classes.rb +21 -21
  39. data/generated/google/apis/file_v1beta1.rb +34 -0
  40. data/generated/google/apis/file_v1beta1/classes.rb +810 -0
  41. data/generated/google/apis/file_v1beta1/representations.rb +298 -0
  42. data/generated/google/apis/file_v1beta1/service.rb +472 -0
  43. data/generated/google/apis/jobs_v3.rb +1 -1
  44. data/generated/google/apis/jobs_v3/classes.rb +16 -17
  45. data/generated/google/apis/logging_v2.rb +1 -1
  46. data/generated/google/apis/logging_v2/classes.rb +8 -9
  47. data/generated/google/apis/logging_v2/service.rb +9 -9
  48. data/generated/google/apis/logging_v2beta1.rb +1 -1
  49. data/generated/google/apis/logging_v2beta1/classes.rb +8 -9
  50. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  51. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  52. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +14 -14
  53. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  54. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +142 -98
  55. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  56. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -2
  57. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  58. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -98
  59. data/generated/google/apis/serviceusage_v1.rb +1 -1
  60. data/generated/google/apis/serviceusage_v1/classes.rb +142 -98
  61. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  62. data/generated/google/apis/serviceusage_v1beta1/classes.rb +142 -98
  63. data/generated/google/apis/serviceuser_v1.rb +1 -1
  64. data/generated/google/apis/serviceuser_v1/classes.rb +142 -98
  65. data/generated/google/apis/speech_v1.rb +1 -1
  66. data/generated/google/apis/speech_v1/classes.rb +91 -0
  67. data/generated/google/apis/speech_v1/representations.rb +18 -0
  68. data/generated/google/apis/speech_v1/service.rb +47 -0
  69. data/generated/google/apis/speech_v1beta1.rb +1 -1
  70. data/generated/google/apis/speech_v1beta1/classes.rb +25 -0
  71. data/generated/google/apis/speech_v1beta1/representations.rb +15 -0
  72. data/generated/google/apis/speech_v1beta1/service.rb +47 -0
  73. data/generated/google/apis/sqladmin_v1beta4.rb +3 -3
  74. data/generated/google/apis/sqladmin_v1beta4/classes.rb +34 -31
  75. data/generated/google/apis/sqladmin_v1beta4/service.rb +8 -8
  76. data/generated/google/apis/storage_v1.rb +1 -1
  77. data/generated/google/apis/storage_v1/classes.rb +3 -4
  78. data/generated/google/apis/storage_v1/service.rb +2 -1
  79. data/generated/google/apis/storage_v1beta2.rb +1 -1
  80. data/generated/google/apis/storage_v1beta2/classes.rb +1 -2
  81. data/generated/google/apis/storage_v1beta2/service.rb +2 -1
  82. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  83. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -21
  84. data/generated/google/apis/testing_v1.rb +1 -1
  85. data/generated/google/apis/testing_v1/classes.rb +308 -14
  86. data/generated/google/apis/testing_v1/representations.rb +136 -0
  87. data/generated/google/apis/vision_v1.rb +1 -1
  88. data/generated/google/apis/vision_v1/classes.rb +156 -2
  89. data/generated/google/apis/vision_v1/representations.rb +60 -0
  90. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/vision_v1p1beta1/classes.rb +156 -2
  92. data/generated/google/apis/vision_v1p1beta1/representations.rb +60 -0
  93. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  94. data/generated/google/apis/vision_v1p2beta1/classes.rb +156 -2
  95. data/generated/google/apis/vision_v1p2beta1/representations.rb +60 -0
  96. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  97. data/lib/google/apis/version.rb +1 -1
  98. metadata +6 -14
  99. data/generated/google/apis/adexchangeseller_v1.rb +0 -37
  100. data/generated/google/apis/adexchangeseller_v1/classes.rb +0 -557
  101. data/generated/google/apis/adexchangeseller_v1/representations.rb +0 -248
  102. data/generated/google/apis/adexchangeseller_v1/service.rb +0 -544
  103. data/generated/google/apis/adexchangeseller_v1_1.rb +0 -37
  104. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +0 -842
  105. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +0 -364
  106. data/generated/google/apis/adexchangeseller_v1_1/service.rb +0 -735
  107. data/generated/google/apis/adexchangeseller_v2_0.rb +0 -37
  108. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +0 -792
  109. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +0 -347
  110. data/generated/google/apis/adexchangeseller_v2_0/service.rb +0 -638
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class GoogleCloudVisionV1p1beta1LocationInfo
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -526,6 +532,12 @@ module Google
526
532
  include Google::Apis::Core::JsonObjectSupport
527
533
  end
528
534
 
535
+ class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
529
541
  class GoogleCloudVisionV1p2beta1LocationInfo
530
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
543
 
@@ -970,6 +982,12 @@ module Google
970
982
  include Google::Apis::Core::JsonObjectSupport
971
983
  end
972
984
 
985
+ class LocalizedObjectAnnotation
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
973
991
  class LocationInfo
974
992
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
993
 
@@ -1125,6 +1143,8 @@ module Google
1125
1143
 
1126
1144
  collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
1127
1145
 
1146
+ collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::LocalizedObjectAnnotation::Representation
1147
+
1128
1148
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
1129
1149
 
1130
1150
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation::Representation
@@ -1323,6 +1343,8 @@ module Google
1323
1343
 
1324
1344
  collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
1325
1345
 
1346
+ collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::Representation
1347
+
1326
1348
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
1327
1349
 
1328
1350
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
@@ -1498,6 +1520,18 @@ module Google
1498
1520
  end
1499
1521
  end
1500
1522
 
1523
+ class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
1527
+
1528
+ property :language_code, as: 'languageCode'
1529
+ property :mid, as: 'mid'
1530
+ property :name, as: 'name'
1531
+ property :score, as: 'score'
1532
+ end
1533
+ end
1534
+
1501
1535
  class GoogleCloudVisionV1p1beta1LocationInfo
1502
1536
  # @private
1503
1537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1744,6 +1778,8 @@ module Google
1744
1778
 
1745
1779
  collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
1746
1780
 
1781
+ collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::Representation
1782
+
1747
1783
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
1748
1784
 
1749
1785
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
@@ -2015,6 +2051,18 @@ module Google
2015
2051
  end
2016
2052
  end
2017
2053
 
2054
+ class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
2055
+ # @private
2056
+ class Representation < Google::Apis::Core::JsonRepresentation
2057
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
2058
+
2059
+ property :language_code, as: 'languageCode'
2060
+ property :mid, as: 'mid'
2061
+ property :name, as: 'name'
2062
+ property :score, as: 'score'
2063
+ end
2064
+ end
2065
+
2018
2066
  class GoogleCloudVisionV1p2beta1LocationInfo
2019
2067
  # @private
2020
2068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2780,6 +2828,18 @@ module Google
2780
2828
  end
2781
2829
  end
2782
2830
 
2831
+ class LocalizedObjectAnnotation
2832
+ # @private
2833
+ class Representation < Google::Apis::Core::JsonRepresentation
2834
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
2835
+
2836
+ property :language_code, as: 'languageCode'
2837
+ property :mid, as: 'mid'
2838
+ property :name, as: 'name'
2839
+ property :score, as: 'score'
2840
+ end
2841
+ end
2842
+
2783
2843
  class LocationInfo
2784
2844
  # @private
2785
2845
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180903'
28
+ REVISION = '20180910'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.23.9'.freeze
18
+ VERSION = '0.24.0'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.9
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-09-10 00:00:00.000000000 Z
14
+ date: 2018-09-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -217,18 +217,6 @@ files:
217
217
  - generated/google/apis/adexchangebuyer_v1_4/classes.rb
218
218
  - generated/google/apis/adexchangebuyer_v1_4/representations.rb
219
219
  - generated/google/apis/adexchangebuyer_v1_4/service.rb
220
- - generated/google/apis/adexchangeseller_v1.rb
221
- - generated/google/apis/adexchangeseller_v1/classes.rb
222
- - generated/google/apis/adexchangeseller_v1/representations.rb
223
- - generated/google/apis/adexchangeseller_v1/service.rb
224
- - generated/google/apis/adexchangeseller_v1_1.rb
225
- - generated/google/apis/adexchangeseller_v1_1/classes.rb
226
- - generated/google/apis/adexchangeseller_v1_1/representations.rb
227
- - generated/google/apis/adexchangeseller_v1_1/service.rb
228
- - generated/google/apis/adexchangeseller_v2_0.rb
229
- - generated/google/apis/adexchangeseller_v2_0/classes.rb
230
- - generated/google/apis/adexchangeseller_v2_0/representations.rb
231
- - generated/google/apis/adexchangeseller_v2_0/service.rb
232
220
  - generated/google/apis/adexperiencereport_v1.rb
233
221
  - generated/google/apis/adexperiencereport_v1/classes.rb
234
222
  - generated/google/apis/adexperiencereport_v1/representations.rb
@@ -585,6 +573,10 @@ files:
585
573
  - generated/google/apis/drive_v3/classes.rb
586
574
  - generated/google/apis/drive_v3/representations.rb
587
575
  - generated/google/apis/drive_v3/service.rb
576
+ - generated/google/apis/file_v1beta1.rb
577
+ - generated/google/apis/file_v1beta1/classes.rb
578
+ - generated/google/apis/file_v1beta1/representations.rb
579
+ - generated/google/apis/file_v1beta1/service.rb
588
580
  - generated/google/apis/firebasedynamiclinks_v1.rb
589
581
  - generated/google/apis/firebasedynamiclinks_v1/classes.rb
590
582
  - generated/google/apis/firebasedynamiclinks_v1/representations.rb
@@ -1,37 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/adexchangeseller_v1/service.rb'
16
- require 'google/apis/adexchangeseller_v1/classes.rb'
17
- require 'google/apis/adexchangeseller_v1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Ad Exchange Seller API
22
- #
23
- # Accesses the inventory of Ad Exchange seller users and generates reports.
24
- #
25
- # @see https://developers.google.com/ad-exchange/seller-rest/
26
- module AdexchangesellerV1
27
- VERSION = 'V1'
28
- REVISION = '20180708'
29
-
30
- # View and manage your Ad Exchange data
31
- AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
32
-
33
- # View your Ad Exchange data
34
- AUTH_ADEXCHANGE_SELLER_READONLY = 'https://www.googleapis.com/auth/adexchange.seller.readonly'
35
- end
36
- end
37
- end
@@ -1,557 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module AdexchangesellerV1
24
-
25
- #
26
- class AdClient
27
- include Google::Apis::Core::Hashable
28
-
29
- # Whether this ad client is opted in to ARC.
30
- # Corresponds to the JSON property `arcOptIn`
31
- # @return [Boolean]
32
- attr_accessor :arc_opt_in
33
- alias_method :arc_opt_in?, :arc_opt_in
34
-
35
- # Unique identifier of this ad client.
36
- # Corresponds to the JSON property `id`
37
- # @return [String]
38
- attr_accessor :id
39
-
40
- # Kind of resource this is, in this case adexchangeseller#adClient.
41
- # Corresponds to the JSON property `kind`
42
- # @return [String]
43
- attr_accessor :kind
44
-
45
- # This ad client's product code, which corresponds to the PRODUCT_CODE report
46
- # dimension.
47
- # Corresponds to the JSON property `productCode`
48
- # @return [String]
49
- attr_accessor :product_code
50
-
51
- # Whether this ad client supports being reported on.
52
- # Corresponds to the JSON property `supportsReporting`
53
- # @return [Boolean]
54
- attr_accessor :supports_reporting
55
- alias_method :supports_reporting?, :supports_reporting
56
-
57
- def initialize(**args)
58
- update!(**args)
59
- end
60
-
61
- # Update properties of this object
62
- def update!(**args)
63
- @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in)
64
- @id = args[:id] if args.key?(:id)
65
- @kind = args[:kind] if args.key?(:kind)
66
- @product_code = args[:product_code] if args.key?(:product_code)
67
- @supports_reporting = args[:supports_reporting] if args.key?(:supports_reporting)
68
- end
69
- end
70
-
71
- #
72
- class AdClients
73
- include Google::Apis::Core::Hashable
74
-
75
- # ETag of this response for caching purposes.
76
- # Corresponds to the JSON property `etag`
77
- # @return [String]
78
- attr_accessor :etag
79
-
80
- # The ad clients returned in this list response.
81
- # Corresponds to the JSON property `items`
82
- # @return [Array<Google::Apis::AdexchangesellerV1::AdClient>]
83
- attr_accessor :items
84
-
85
- # Kind of list this is, in this case adexchangeseller#adClients.
86
- # Corresponds to the JSON property `kind`
87
- # @return [String]
88
- attr_accessor :kind
89
-
90
- # Continuation token used to page through ad clients. To retrieve the next page
91
- # of results, set the next request's "pageToken" value to this.
92
- # Corresponds to the JSON property `nextPageToken`
93
- # @return [String]
94
- attr_accessor :next_page_token
95
-
96
- def initialize(**args)
97
- update!(**args)
98
- end
99
-
100
- # Update properties of this object
101
- def update!(**args)
102
- @etag = args[:etag] if args.key?(:etag)
103
- @items = args[:items] if args.key?(:items)
104
- @kind = args[:kind] if args.key?(:kind)
105
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
106
- end
107
- end
108
-
109
- #
110
- class AdUnit
111
- include Google::Apis::Core::Hashable
112
-
113
- # Identity code of this ad unit, not necessarily unique across ad clients.
114
- # Corresponds to the JSON property `code`
115
- # @return [String]
116
- attr_accessor :code
117
-
118
- # Unique identifier of this ad unit. This should be considered an opaque
119
- # identifier; it is not safe to rely on it being in any particular format.
120
- # Corresponds to the JSON property `id`
121
- # @return [String]
122
- attr_accessor :id
123
-
124
- # Kind of resource this is, in this case adexchangeseller#adUnit.
125
- # Corresponds to the JSON property `kind`
126
- # @return [String]
127
- attr_accessor :kind
128
-
129
- # Name of this ad unit.
130
- # Corresponds to the JSON property `name`
131
- # @return [String]
132
- attr_accessor :name
133
-
134
- # Status of this ad unit. Possible values are:
135
- # NEW: Indicates that the ad unit was created within the last seven days and
136
- # does not yet have any activity associated with it.
137
- # ACTIVE: Indicates that there has been activity on this ad unit in the last
138
- # seven days.
139
- # INACTIVE: Indicates that there has been no activity on this ad unit in the
140
- # last seven days.
141
- # Corresponds to the JSON property `status`
142
- # @return [String]
143
- attr_accessor :status
144
-
145
- def initialize(**args)
146
- update!(**args)
147
- end
148
-
149
- # Update properties of this object
150
- def update!(**args)
151
- @code = args[:code] if args.key?(:code)
152
- @id = args[:id] if args.key?(:id)
153
- @kind = args[:kind] if args.key?(:kind)
154
- @name = args[:name] if args.key?(:name)
155
- @status = args[:status] if args.key?(:status)
156
- end
157
- end
158
-
159
- #
160
- class AdUnits
161
- include Google::Apis::Core::Hashable
162
-
163
- # ETag of this response for caching purposes.
164
- # Corresponds to the JSON property `etag`
165
- # @return [String]
166
- attr_accessor :etag
167
-
168
- # The ad units returned in this list response.
169
- # Corresponds to the JSON property `items`
170
- # @return [Array<Google::Apis::AdexchangesellerV1::AdUnit>]
171
- attr_accessor :items
172
-
173
- # Kind of list this is, in this case adexchangeseller#adUnits.
174
- # Corresponds to the JSON property `kind`
175
- # @return [String]
176
- attr_accessor :kind
177
-
178
- # Continuation token used to page through ad units. To retrieve the next page of
179
- # results, set the next request's "pageToken" value to this.
180
- # Corresponds to the JSON property `nextPageToken`
181
- # @return [String]
182
- attr_accessor :next_page_token
183
-
184
- def initialize(**args)
185
- update!(**args)
186
- end
187
-
188
- # Update properties of this object
189
- def update!(**args)
190
- @etag = args[:etag] if args.key?(:etag)
191
- @items = args[:items] if args.key?(:items)
192
- @kind = args[:kind] if args.key?(:kind)
193
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
194
- end
195
- end
196
-
197
- #
198
- class CustomChannel
199
- include Google::Apis::Core::Hashable
200
-
201
- # Code of this custom channel, not necessarily unique across ad clients.
202
- # Corresponds to the JSON property `code`
203
- # @return [String]
204
- attr_accessor :code
205
-
206
- # Unique identifier of this custom channel. This should be considered an opaque
207
- # identifier; it is not safe to rely on it being in any particular format.
208
- # Corresponds to the JSON property `id`
209
- # @return [String]
210
- attr_accessor :id
211
-
212
- # Kind of resource this is, in this case adexchangeseller#customChannel.
213
- # Corresponds to the JSON property `kind`
214
- # @return [String]
215
- attr_accessor :kind
216
-
217
- # Name of this custom channel.
218
- # Corresponds to the JSON property `name`
219
- # @return [String]
220
- attr_accessor :name
221
-
222
- # The targeting information of this custom channel, if activated.
223
- # Corresponds to the JSON property `targetingInfo`
224
- # @return [Google::Apis::AdexchangesellerV1::CustomChannel::TargetingInfo]
225
- attr_accessor :targeting_info
226
-
227
- def initialize(**args)
228
- update!(**args)
229
- end
230
-
231
- # Update properties of this object
232
- def update!(**args)
233
- @code = args[:code] if args.key?(:code)
234
- @id = args[:id] if args.key?(:id)
235
- @kind = args[:kind] if args.key?(:kind)
236
- @name = args[:name] if args.key?(:name)
237
- @targeting_info = args[:targeting_info] if args.key?(:targeting_info)
238
- end
239
-
240
- # The targeting information of this custom channel, if activated.
241
- class TargetingInfo
242
- include Google::Apis::Core::Hashable
243
-
244
- # The name used to describe this channel externally.
245
- # Corresponds to the JSON property `adsAppearOn`
246
- # @return [String]
247
- attr_accessor :ads_appear_on
248
-
249
- # The external description of the channel.
250
- # Corresponds to the JSON property `description`
251
- # @return [String]
252
- attr_accessor :description
253
-
254
- # The locations in which ads appear. (Only valid for content and mobile content
255
- # ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
256
- # MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER,
257
- # BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads are:
258
- # TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.
259
- # Corresponds to the JSON property `location`
260
- # @return [String]
261
- attr_accessor :location
262
-
263
- # The language of the sites ads will be displayed on.
264
- # Corresponds to the JSON property `siteLanguage`
265
- # @return [String]
266
- attr_accessor :site_language
267
-
268
- def initialize(**args)
269
- update!(**args)
270
- end
271
-
272
- # Update properties of this object
273
- def update!(**args)
274
- @ads_appear_on = args[:ads_appear_on] if args.key?(:ads_appear_on)
275
- @description = args[:description] if args.key?(:description)
276
- @location = args[:location] if args.key?(:location)
277
- @site_language = args[:site_language] if args.key?(:site_language)
278
- end
279
- end
280
- end
281
-
282
- #
283
- class CustomChannels
284
- include Google::Apis::Core::Hashable
285
-
286
- # ETag of this response for caching purposes.
287
- # Corresponds to the JSON property `etag`
288
- # @return [String]
289
- attr_accessor :etag
290
-
291
- # The custom channels returned in this list response.
292
- # Corresponds to the JSON property `items`
293
- # @return [Array<Google::Apis::AdexchangesellerV1::CustomChannel>]
294
- attr_accessor :items
295
-
296
- # Kind of list this is, in this case adexchangeseller#customChannels.
297
- # Corresponds to the JSON property `kind`
298
- # @return [String]
299
- attr_accessor :kind
300
-
301
- # Continuation token used to page through custom channels. To retrieve the next
302
- # page of results, set the next request's "pageToken" value to this.
303
- # Corresponds to the JSON property `nextPageToken`
304
- # @return [String]
305
- attr_accessor :next_page_token
306
-
307
- def initialize(**args)
308
- update!(**args)
309
- end
310
-
311
- # Update properties of this object
312
- def update!(**args)
313
- @etag = args[:etag] if args.key?(:etag)
314
- @items = args[:items] if args.key?(:items)
315
- @kind = args[:kind] if args.key?(:kind)
316
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
317
- end
318
- end
319
-
320
- #
321
- class Report
322
- include Google::Apis::Core::Hashable
323
-
324
- # The averages of the report. This is the same length as any other row in the
325
- # report; cells corresponding to dimension columns are empty.
326
- # Corresponds to the JSON property `averages`
327
- # @return [Array<String>]
328
- attr_accessor :averages
329
-
330
- # The header information of the columns requested in the report. This is a list
331
- # of headers; one for each dimension in the request, followed by one for each
332
- # metric in the request.
333
- # Corresponds to the JSON property `headers`
334
- # @return [Array<Google::Apis::AdexchangesellerV1::Report::Header>]
335
- attr_accessor :headers
336
-
337
- # Kind this is, in this case adexchangeseller#report.
338
- # Corresponds to the JSON property `kind`
339
- # @return [String]
340
- attr_accessor :kind
341
-
342
- # The output rows of the report. Each row is a list of cells; one for each
343
- # dimension in the request, followed by one for each metric in the request. The
344
- # dimension cells contain strings, and the metric cells contain numbers.
345
- # Corresponds to the JSON property `rows`
346
- # @return [Array<Array<String>>]
347
- attr_accessor :rows
348
-
349
- # The total number of rows matched by the report request. Fewer rows may be
350
- # returned in the response due to being limited by the row count requested or
351
- # the report row limit.
352
- # Corresponds to the JSON property `totalMatchedRows`
353
- # @return [Fixnum]
354
- attr_accessor :total_matched_rows
355
-
356
- # The totals of the report. This is the same length as any other row in the
357
- # report; cells corresponding to dimension columns are empty.
358
- # Corresponds to the JSON property `totals`
359
- # @return [Array<String>]
360
- attr_accessor :totals
361
-
362
- # Any warnings associated with generation of the report.
363
- # Corresponds to the JSON property `warnings`
364
- # @return [Array<String>]
365
- attr_accessor :warnings
366
-
367
- def initialize(**args)
368
- update!(**args)
369
- end
370
-
371
- # Update properties of this object
372
- def update!(**args)
373
- @averages = args[:averages] if args.key?(:averages)
374
- @headers = args[:headers] if args.key?(:headers)
375
- @kind = args[:kind] if args.key?(:kind)
376
- @rows = args[:rows] if args.key?(:rows)
377
- @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
378
- @totals = args[:totals] if args.key?(:totals)
379
- @warnings = args[:warnings] if args.key?(:warnings)
380
- end
381
-
382
- #
383
- class Header
384
- include Google::Apis::Core::Hashable
385
-
386
- # The currency of this column. Only present if the header type is
387
- # METRIC_CURRENCY.
388
- # Corresponds to the JSON property `currency`
389
- # @return [String]
390
- attr_accessor :currency
391
-
392
- # The name of the header.
393
- # Corresponds to the JSON property `name`
394
- # @return [String]
395
- attr_accessor :name
396
-
397
- # The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
398
- # METRIC_CURRENCY.
399
- # Corresponds to the JSON property `type`
400
- # @return [String]
401
- attr_accessor :type
402
-
403
- def initialize(**args)
404
- update!(**args)
405
- end
406
-
407
- # Update properties of this object
408
- def update!(**args)
409
- @currency = args[:currency] if args.key?(:currency)
410
- @name = args[:name] if args.key?(:name)
411
- @type = args[:type] if args.key?(:type)
412
- end
413
- end
414
- end
415
-
416
- #
417
- class SavedReport
418
- include Google::Apis::Core::Hashable
419
-
420
- # Unique identifier of this saved report.
421
- # Corresponds to the JSON property `id`
422
- # @return [String]
423
- attr_accessor :id
424
-
425
- # Kind of resource this is, in this case adexchangeseller#savedReport.
426
- # Corresponds to the JSON property `kind`
427
- # @return [String]
428
- attr_accessor :kind
429
-
430
- # This saved report's name.
431
- # Corresponds to the JSON property `name`
432
- # @return [String]
433
- attr_accessor :name
434
-
435
- def initialize(**args)
436
- update!(**args)
437
- end
438
-
439
- # Update properties of this object
440
- def update!(**args)
441
- @id = args[:id] if args.key?(:id)
442
- @kind = args[:kind] if args.key?(:kind)
443
- @name = args[:name] if args.key?(:name)
444
- end
445
- end
446
-
447
- #
448
- class SavedReports
449
- include Google::Apis::Core::Hashable
450
-
451
- # ETag of this response for caching purposes.
452
- # Corresponds to the JSON property `etag`
453
- # @return [String]
454
- attr_accessor :etag
455
-
456
- # The saved reports returned in this list response.
457
- # Corresponds to the JSON property `items`
458
- # @return [Array<Google::Apis::AdexchangesellerV1::SavedReport>]
459
- attr_accessor :items
460
-
461
- # Kind of list this is, in this case adexchangeseller#savedReports.
462
- # Corresponds to the JSON property `kind`
463
- # @return [String]
464
- attr_accessor :kind
465
-
466
- # Continuation token used to page through saved reports. To retrieve the next
467
- # page of results, set the next request's "pageToken" value to this.
468
- # Corresponds to the JSON property `nextPageToken`
469
- # @return [String]
470
- attr_accessor :next_page_token
471
-
472
- def initialize(**args)
473
- update!(**args)
474
- end
475
-
476
- # Update properties of this object
477
- def update!(**args)
478
- @etag = args[:etag] if args.key?(:etag)
479
- @items = args[:items] if args.key?(:items)
480
- @kind = args[:kind] if args.key?(:kind)
481
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
482
- end
483
- end
484
-
485
- #
486
- class UrlChannel
487
- include Google::Apis::Core::Hashable
488
-
489
- # Unique identifier of this URL channel. This should be considered an opaque
490
- # identifier; it is not safe to rely on it being in any particular format.
491
- # Corresponds to the JSON property `id`
492
- # @return [String]
493
- attr_accessor :id
494
-
495
- # Kind of resource this is, in this case adexchangeseller#urlChannel.
496
- # Corresponds to the JSON property `kind`
497
- # @return [String]
498
- attr_accessor :kind
499
-
500
- # URL Pattern of this URL channel. Does not include "http://" or "https://".
501
- # Example: www.example.com/home
502
- # Corresponds to the JSON property `urlPattern`
503
- # @return [String]
504
- attr_accessor :url_pattern
505
-
506
- def initialize(**args)
507
- update!(**args)
508
- end
509
-
510
- # Update properties of this object
511
- def update!(**args)
512
- @id = args[:id] if args.key?(:id)
513
- @kind = args[:kind] if args.key?(:kind)
514
- @url_pattern = args[:url_pattern] if args.key?(:url_pattern)
515
- end
516
- end
517
-
518
- #
519
- class UrlChannels
520
- include Google::Apis::Core::Hashable
521
-
522
- # ETag of this response for caching purposes.
523
- # Corresponds to the JSON property `etag`
524
- # @return [String]
525
- attr_accessor :etag
526
-
527
- # The URL channels returned in this list response.
528
- # Corresponds to the JSON property `items`
529
- # @return [Array<Google::Apis::AdexchangesellerV1::UrlChannel>]
530
- attr_accessor :items
531
-
532
- # Kind of list this is, in this case adexchangeseller#urlChannels.
533
- # Corresponds to the JSON property `kind`
534
- # @return [String]
535
- attr_accessor :kind
536
-
537
- # Continuation token used to page through URL channels. To retrieve the next
538
- # page of results, set the next request's "pageToken" value to this.
539
- # Corresponds to the JSON property `nextPageToken`
540
- # @return [String]
541
- attr_accessor :next_page_token
542
-
543
- def initialize(**args)
544
- update!(**args)
545
- end
546
-
547
- # Update properties of this object
548
- def update!(**args)
549
- @etag = args[:etag] if args.key?(:etag)
550
- @items = args[:items] if args.key?(:items)
551
- @kind = args[:kind] if args.key?(:kind)
552
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
553
- end
554
- end
555
- end
556
- end
557
- end