google-api-client 0.29.2 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/admin_reports_v1.rb +1 -1
  4. data/generated/google/apis/admin_reports_v1/classes.rb +106 -0
  5. data/generated/google/apis/admin_reports_v1/representations.rb +51 -0
  6. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  7. data/generated/google/apis/alertcenter_v1beta1/classes.rb +6 -0
  8. data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -3
  11. data/generated/google/apis/composer_v1.rb +1 -1
  12. data/generated/google/apis/composer_v1/classes.rb +24 -21
  13. data/generated/google/apis/composer_v1/service.rb +4 -2
  14. data/generated/google/apis/composer_v1beta1.rb +1 -1
  15. data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
  16. data/generated/google/apis/composer_v1beta1/service.rb +4 -2
  17. data/generated/google/apis/container_v1.rb +1 -1
  18. data/generated/google/apis/container_v1/classes.rb +1 -1
  19. data/generated/google/apis/container_v1beta1.rb +1 -1
  20. data/generated/google/apis/container_v1beta1/classes.rb +36 -1
  21. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  22. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  23. data/generated/google/apis/dataflow_v1b3/service.rb +44 -2
  24. data/generated/google/apis/dialogflow_v2.rb +1 -1
  25. data/generated/google/apis/dialogflow_v2/classes.rb +4 -2
  26. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  27. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
  28. data/generated/google/apis/fcm_v1.rb +1 -1
  29. data/generated/google/apis/fcm_v1/classes.rb +19 -0
  30. data/generated/google/apis/fcm_v1/representations.rb +14 -0
  31. data/generated/google/apis/games_v1.rb +1 -4
  32. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  33. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2 -2
  34. data/generated/google/apis/healthcare_v1alpha2/service.rb +21 -21
  35. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  36. data/generated/google/apis/healthcare_v1beta1/service.rb +21 -21
  37. data/generated/google/apis/logging_v2.rb +1 -1
  38. data/generated/google/apis/logging_v2/classes.rb +8 -1
  39. data/generated/google/apis/logging_v2/representations.rb +1 -0
  40. data/generated/google/apis/redis_v1.rb +1 -1
  41. data/generated/google/apis/redis_v1/classes.rb +1 -1
  42. data/generated/google/apis/redis_v1beta1.rb +1 -1
  43. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  44. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  45. data/generated/google/apis/remotebuildexecution_v1/classes.rb +25 -0
  46. data/generated/google/apis/remotebuildexecution_v1/representations.rb +14 -0
  47. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  48. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +25 -0
  49. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +14 -0
  50. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  51. data/generated/google/apis/remotebuildexecution_v2/classes.rb +25 -0
  52. data/generated/google/apis/remotebuildexecution_v2/representations.rb +14 -0
  53. data/generated/google/apis/run_v1alpha1.rb +1 -1
  54. data/generated/google/apis/run_v1alpha1/classes.rb +354 -0
  55. data/generated/google/apis/run_v1alpha1/representations.rb +129 -0
  56. data/generated/google/apis/run_v1alpha1/service.rb +176 -0
  57. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  58. data/generated/google/apis/securitycenter_v1.rb +1 -1
  59. data/generated/google/apis/securitycenter_v1/classes.rb +2 -4
  60. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  61. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -4
  62. data/generated/google/apis/tagmanager_v1.rb +1 -1
  63. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  64. data/generated/google/apis/tagmanager_v2.rb +1 -1
  65. data/generated/google/apis/tagmanager_v2/classes.rb +46 -0
  66. data/generated/google/apis/tagmanager_v2/representations.rb +29 -0
  67. data/generated/google/apis/tagmanager_v2/service.rb +219 -0
  68. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  69. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -1
  70. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  71. data/generated/google/apis/youtube_analytics_v1.rb +2 -17
  72. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -311
  73. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -148
  74. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -419
  75. data/lib/google/apis/version.rb +1 -1
  76. metadata +2 -6
  77. data/generated/google/apis/youtube_analytics_v1beta1.rb +0 -46
  78. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +0 -337
  79. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +0 -174
  80. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +0 -473
@@ -343,6 +343,7 @@ module Google
343
343
 
344
344
  property :max_qps, as: 'maxQps'
345
345
  property :name, as: 'name'
346
+ property :risk_level, as: 'riskLevel'
346
347
  property :schedule, as: 'schedule', class: Google::Apis::WebsecurityscannerV1beta::Schedule, decorator: Google::Apis::WebsecurityscannerV1beta::Schedule::Representation
347
348
 
348
349
  collection :starting_urls, as: 'startingUrls'
@@ -22,25 +22,10 @@ module Google
22
22
  #
23
23
  # Retrieves your YouTube Analytics data.
24
24
  #
25
- # @see http://developers.google.com/youtube/analytics/
25
+ # @see https://developers.google.com/youtube/analytics
26
26
  module YoutubeAnalyticsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180805'
29
-
30
- # Manage your YouTube account
31
- AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
32
-
33
- # View your YouTube account
34
- AUTH_YOUTUBE_READONLY = 'https://www.googleapis.com/auth/youtube.readonly'
35
-
36
- # View and manage your assets and associated content on YouTube
37
- AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
38
-
39
- # View monetary and non-monetary YouTube Analytics reports for your YouTube content
40
- AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
41
-
42
- # View YouTube Analytics reports for your YouTube content
43
- AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly'
28
+ REVISION = '20190521'
44
29
  end
45
30
  end
46
31
  end
@@ -21,317 +21,6 @@ require 'google/apis/errors'
21
21
  module Google
22
22
  module Apis
23
23
  module YoutubeAnalyticsV1
24
-
25
- #
26
- class Group
27
- include Google::Apis::Core::Hashable
28
-
29
- #
30
- # Corresponds to the JSON property `contentDetails`
31
- # @return [Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails]
32
- attr_accessor :content_details
33
-
34
- #
35
- # Corresponds to the JSON property `etag`
36
- # @return [String]
37
- attr_accessor :etag
38
-
39
- #
40
- # Corresponds to the JSON property `id`
41
- # @return [String]
42
- attr_accessor :id
43
-
44
- #
45
- # Corresponds to the JSON property `kind`
46
- # @return [String]
47
- attr_accessor :kind
48
-
49
- #
50
- # Corresponds to the JSON property `snippet`
51
- # @return [Google::Apis::YoutubeAnalyticsV1::Group::Snippet]
52
- attr_accessor :snippet
53
-
54
- def initialize(**args)
55
- update!(**args)
56
- end
57
-
58
- # Update properties of this object
59
- def update!(**args)
60
- @content_details = args[:content_details] if args.key?(:content_details)
61
- @etag = args[:etag] if args.key?(:etag)
62
- @id = args[:id] if args.key?(:id)
63
- @kind = args[:kind] if args.key?(:kind)
64
- @snippet = args[:snippet] if args.key?(:snippet)
65
- end
66
-
67
- #
68
- class ContentDetails
69
- include Google::Apis::Core::Hashable
70
-
71
- #
72
- # Corresponds to the JSON property `itemCount`
73
- # @return [Fixnum]
74
- attr_accessor :item_count
75
-
76
- #
77
- # Corresponds to the JSON property `itemType`
78
- # @return [String]
79
- attr_accessor :item_type
80
-
81
- def initialize(**args)
82
- update!(**args)
83
- end
84
-
85
- # Update properties of this object
86
- def update!(**args)
87
- @item_count = args[:item_count] if args.key?(:item_count)
88
- @item_type = args[:item_type] if args.key?(:item_type)
89
- end
90
- end
91
-
92
- #
93
- class Snippet
94
- include Google::Apis::Core::Hashable
95
-
96
- #
97
- # Corresponds to the JSON property `publishedAt`
98
- # @return [DateTime]
99
- attr_accessor :published_at
100
-
101
- #
102
- # Corresponds to the JSON property `title`
103
- # @return [String]
104
- attr_accessor :title
105
-
106
- def initialize(**args)
107
- update!(**args)
108
- end
109
-
110
- # Update properties of this object
111
- def update!(**args)
112
- @published_at = args[:published_at] if args.key?(:published_at)
113
- @title = args[:title] if args.key?(:title)
114
- end
115
- end
116
- end
117
-
118
- #
119
- class GroupItem
120
- include Google::Apis::Core::Hashable
121
-
122
- #
123
- # Corresponds to the JSON property `etag`
124
- # @return [String]
125
- attr_accessor :etag
126
-
127
- #
128
- # Corresponds to the JSON property `groupId`
129
- # @return [String]
130
- attr_accessor :group_id
131
-
132
- #
133
- # Corresponds to the JSON property `id`
134
- # @return [String]
135
- attr_accessor :id
136
-
137
- #
138
- # Corresponds to the JSON property `kind`
139
- # @return [String]
140
- attr_accessor :kind
141
-
142
- #
143
- # Corresponds to the JSON property `resource`
144
- # @return [Google::Apis::YoutubeAnalyticsV1::GroupItem::Resource]
145
- attr_accessor :resource
146
-
147
- def initialize(**args)
148
- update!(**args)
149
- end
150
-
151
- # Update properties of this object
152
- def update!(**args)
153
- @etag = args[:etag] if args.key?(:etag)
154
- @group_id = args[:group_id] if args.key?(:group_id)
155
- @id = args[:id] if args.key?(:id)
156
- @kind = args[:kind] if args.key?(:kind)
157
- @resource = args[:resource] if args.key?(:resource)
158
- end
159
-
160
- #
161
- class Resource
162
- include Google::Apis::Core::Hashable
163
-
164
- #
165
- # Corresponds to the JSON property `id`
166
- # @return [String]
167
- attr_accessor :id
168
-
169
- #
170
- # Corresponds to the JSON property `kind`
171
- # @return [String]
172
- attr_accessor :kind
173
-
174
- def initialize(**args)
175
- update!(**args)
176
- end
177
-
178
- # Update properties of this object
179
- def update!(**args)
180
- @id = args[:id] if args.key?(:id)
181
- @kind = args[:kind] if args.key?(:kind)
182
- end
183
- end
184
- end
185
-
186
- # A paginated list of grouList resources returned in response to a
187
- # youtubeAnalytics.groupApi.list request.
188
- class ListGroupItemResponse
189
- include Google::Apis::Core::Hashable
190
-
191
- #
192
- # Corresponds to the JSON property `etag`
193
- # @return [String]
194
- attr_accessor :etag
195
-
196
- #
197
- # Corresponds to the JSON property `items`
198
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::GroupItem>]
199
- attr_accessor :items
200
-
201
- #
202
- # Corresponds to the JSON property `kind`
203
- # @return [String]
204
- attr_accessor :kind
205
-
206
- def initialize(**args)
207
- update!(**args)
208
- end
209
-
210
- # Update properties of this object
211
- def update!(**args)
212
- @etag = args[:etag] if args.key?(:etag)
213
- @items = args[:items] if args.key?(:items)
214
- @kind = args[:kind] if args.key?(:kind)
215
- end
216
- end
217
-
218
- # A paginated list of grouList resources returned in response to a
219
- # youtubeAnalytics.groupApi.list request.
220
- class ListGroupsResponse
221
- include Google::Apis::Core::Hashable
222
-
223
- #
224
- # Corresponds to the JSON property `etag`
225
- # @return [String]
226
- attr_accessor :etag
227
-
228
- #
229
- # Corresponds to the JSON property `items`
230
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::Group>]
231
- attr_accessor :items
232
-
233
- #
234
- # Corresponds to the JSON property `kind`
235
- # @return [String]
236
- attr_accessor :kind
237
-
238
- #
239
- # Corresponds to the JSON property `nextPageToken`
240
- # @return [String]
241
- attr_accessor :next_page_token
242
-
243
- def initialize(**args)
244
- update!(**args)
245
- end
246
-
247
- # Update properties of this object
248
- def update!(**args)
249
- @etag = args[:etag] if args.key?(:etag)
250
- @items = args[:items] if args.key?(:items)
251
- @kind = args[:kind] if args.key?(:kind)
252
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
253
- end
254
- end
255
-
256
- # Contains a single result table. The table is returned as an array of rows that
257
- # contain the values for the cells of the table. Depending on the metric or
258
- # dimension, the cell can contain a string (video ID, country code) or a number (
259
- # number of views or number of likes).
260
- class ResultTable
261
- include Google::Apis::Core::Hashable
262
-
263
- # This value specifies information about the data returned in the rows fields.
264
- # Each item in the columnHeaders list identifies a field returned in the rows
265
- # value, which contains a list of comma-delimited data. The columnHeaders list
266
- # will begin with the dimensions specified in the API request, which will be
267
- # followed by the metrics specified in the API request. The order of both
268
- # dimensions and metrics will match the ordering in the API request. For example,
269
- # if the API request contains the parameters dimensions=ageGroup,gender&metrics=
270
- # viewerPercentage, the API response will return columns in this order: ageGroup,
271
- # gender,viewerPercentage.
272
- # Corresponds to the JSON property `columnHeaders`
273
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::ResultTable::ColumnHeader>]
274
- attr_accessor :column_headers
275
-
276
- # This value specifies the type of data included in the API response. For the
277
- # query method, the kind property value will be youtubeAnalytics#resultTable.
278
- # Corresponds to the JSON property `kind`
279
- # @return [String]
280
- attr_accessor :kind
281
-
282
- # The list contains all rows of the result table. Each item in the list is an
283
- # array that contains comma-delimited data corresponding to a single row of data.
284
- # The order of the comma-delimited data fields will match the order of the
285
- # columns listed in the columnHeaders field. If no data is available for the
286
- # given query, the rows element will be omitted from the response. The response
287
- # for a query with the day dimension will not contain rows for the most recent
288
- # days.
289
- # Corresponds to the JSON property `rows`
290
- # @return [Array<Array<Object>>]
291
- attr_accessor :rows
292
-
293
- def initialize(**args)
294
- update!(**args)
295
- end
296
-
297
- # Update properties of this object
298
- def update!(**args)
299
- @column_headers = args[:column_headers] if args.key?(:column_headers)
300
- @kind = args[:kind] if args.key?(:kind)
301
- @rows = args[:rows] if args.key?(:rows)
302
- end
303
-
304
- #
305
- class ColumnHeader
306
- include Google::Apis::Core::Hashable
307
-
308
- # The type of the column (DIMENSION or METRIC).
309
- # Corresponds to the JSON property `columnType`
310
- # @return [String]
311
- attr_accessor :column_type
312
-
313
- # The type of the data in the column (STRING, INTEGER, FLOAT, etc.).
314
- # Corresponds to the JSON property `dataType`
315
- # @return [String]
316
- attr_accessor :data_type
317
-
318
- # The name of the dimension or metric.
319
- # Corresponds to the JSON property `name`
320
- # @return [String]
321
- attr_accessor :name
322
-
323
- def initialize(**args)
324
- update!(**args)
325
- end
326
-
327
- # Update properties of this object
328
- def update!(**args)
329
- @column_type = args[:column_type] if args.key?(:column_type)
330
- @data_type = args[:data_type] if args.key?(:data_type)
331
- @name = args[:name] if args.key?(:name)
332
- end
333
- end
334
- end
335
24
  end
336
25
  end
337
26
  end
@@ -21,154 +21,6 @@ require 'google/apis/errors'
21
21
  module Google
22
22
  module Apis
23
23
  module YoutubeAnalyticsV1
24
-
25
- class Group
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- class ContentDetails
29
- class Representation < Google::Apis::Core::JsonRepresentation; end
30
-
31
- include Google::Apis::Core::JsonObjectSupport
32
- end
33
-
34
- class Snippet
35
- class Representation < Google::Apis::Core::JsonRepresentation; end
36
-
37
- include Google::Apis::Core::JsonObjectSupport
38
- end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class GroupItem
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- class Resource
47
- class Representation < Google::Apis::Core::JsonRepresentation; end
48
-
49
- include Google::Apis::Core::JsonObjectSupport
50
- end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class ListGroupItemResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class ListGroupsResponse
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class ResultTable
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- class ColumnHeader
71
- class Representation < Google::Apis::Core::JsonRepresentation; end
72
-
73
- include Google::Apis::Core::JsonObjectSupport
74
- end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class Group
80
- # @private
81
- class Representation < Google::Apis::Core::JsonRepresentation
82
- property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails, decorator: Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails::Representation
83
-
84
- property :etag, as: 'etag'
85
- property :id, as: 'id'
86
- property :kind, as: 'kind'
87
- property :snippet, as: 'snippet', class: Google::Apis::YoutubeAnalyticsV1::Group::Snippet, decorator: Google::Apis::YoutubeAnalyticsV1::Group::Snippet::Representation
88
-
89
- end
90
-
91
- class ContentDetails
92
- # @private
93
- class Representation < Google::Apis::Core::JsonRepresentation
94
- property :item_count, :numeric_string => true, as: 'itemCount'
95
- property :item_type, as: 'itemType'
96
- end
97
- end
98
-
99
- class Snippet
100
- # @private
101
- class Representation < Google::Apis::Core::JsonRepresentation
102
- property :published_at, as: 'publishedAt', type: DateTime
103
-
104
- property :title, as: 'title'
105
- end
106
- end
107
- end
108
-
109
- class GroupItem
110
- # @private
111
- class Representation < Google::Apis::Core::JsonRepresentation
112
- property :etag, as: 'etag'
113
- property :group_id, as: 'groupId'
114
- property :id, as: 'id'
115
- property :kind, as: 'kind'
116
- property :resource, as: 'resource', class: Google::Apis::YoutubeAnalyticsV1::GroupItem::Resource, decorator: Google::Apis::YoutubeAnalyticsV1::GroupItem::Resource::Representation
117
-
118
- end
119
-
120
- class Resource
121
- # @private
122
- class Representation < Google::Apis::Core::JsonRepresentation
123
- property :id, as: 'id'
124
- property :kind, as: 'kind'
125
- end
126
- end
127
- end
128
-
129
- class ListGroupItemResponse
130
- # @private
131
- class Representation < Google::Apis::Core::JsonRepresentation
132
- property :etag, as: 'etag'
133
- collection :items, as: 'items', class: Google::Apis::YoutubeAnalyticsV1::GroupItem, decorator: Google::Apis::YoutubeAnalyticsV1::GroupItem::Representation
134
-
135
- property :kind, as: 'kind'
136
- end
137
- end
138
-
139
- class ListGroupsResponse
140
- # @private
141
- class Representation < Google::Apis::Core::JsonRepresentation
142
- property :etag, as: 'etag'
143
- collection :items, as: 'items', class: Google::Apis::YoutubeAnalyticsV1::Group, decorator: Google::Apis::YoutubeAnalyticsV1::Group::Representation
144
-
145
- property :kind, as: 'kind'
146
- property :next_page_token, as: 'nextPageToken'
147
- end
148
- end
149
-
150
- class ResultTable
151
- # @private
152
- class Representation < Google::Apis::Core::JsonRepresentation
153
- collection :column_headers, as: 'columnHeaders', class: Google::Apis::YoutubeAnalyticsV1::ResultTable::ColumnHeader, decorator: Google::Apis::YoutubeAnalyticsV1::ResultTable::ColumnHeader::Representation
154
-
155
- property :kind, as: 'kind'
156
- collection :rows, as: 'rows', :class => Array do
157
- include Representable::JSON::Collection
158
- items
159
- end
160
-
161
- end
162
-
163
- class ColumnHeader
164
- # @private
165
- class Representation < Google::Apis::Core::JsonRepresentation
166
- property :column_type, as: 'columnType'
167
- property :data_type, as: 'dataType'
168
- property :name, as: 'name'
169
- end
170
- end
171
- end
172
24
  end
173
25
  end
174
26
  end