google-api-client 0.9.25 → 0.9.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/api_names.yaml +279 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +110 -110
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +25 -25
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +145 -145
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +419 -419
- data/generated/google/apis/cloudbuild_v1/representations.rb +73 -73
- data/generated/google/apis/cloudbuild_v1/service.rb +86 -86
- data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +478 -478
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +96 -96
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +271 -271
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +353 -353
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +81 -81
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +299 -299
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2259 -2257
- data/generated/google/apis/genomics_v1/representations.rb +461 -526
- data/generated/google/apis/genomics_v1/service.rb +1203 -1105
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +852 -852
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +230 -230
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +744 -744
- data/generated/google/apis/monitoring_v3/representations.rb +164 -164
- data/generated/google/apis/monitoring_v3/service.rb +335 -335
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1/classes.rb +325 -325
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +256 -256
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4283 -4283
- data/generated/google/apis/sheets_v4/representations.rb +833 -833
- data/generated/google/apis/sheets_v4/service.rb +184 -184
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +213 -211
- data/generated/google/apis/speech_v1beta1/representations.rb +49 -49
- data/generated/google/apis/speech_v1beta1/service.rb +71 -71
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +20 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +861 -859
- data/generated/google/apis/vision_v1/representations.rb +140 -140
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +139 -139
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +152 -152
- data/lib/google/apis/version.rb +1 -1
- metadata +9 -1
@@ -50,11 +50,11 @@ module Google
|
|
50
50
|
|
51
51
|
# Run image detection and annotation for a batch of images.
|
52
52
|
# @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
|
53
|
+
# @param [String] fields
|
54
|
+
# Selector specifying which fields to include in a partial response.
|
53
55
|
# @param [String] quota_user
|
54
56
|
# Available to use for quota purposes for server-side applications. Can be any
|
55
57
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
56
|
-
# @param [String] fields
|
57
|
-
# Selector specifying which fields to include in a partial response.
|
58
58
|
# @param [Google::Apis::RequestOptions] options
|
59
59
|
# Request-specific options
|
60
60
|
#
|
@@ -67,14 +67,14 @@ module Google
|
|
67
67
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
68
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
69
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def annotate_image(batch_annotate_images_request_object = nil,
|
70
|
+
def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
71
71
|
command = make_simple_command(:post, 'v1/images:annotate', options)
|
72
72
|
command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
|
73
73
|
command.request_object = batch_annotate_images_request_object
|
74
74
|
command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
|
75
75
|
command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
|
76
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
76
|
command.query['fields'] = fields unless fields.nil?
|
77
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
78
|
execute_or_queue_command(command, &block)
|
79
79
|
end
|
80
80
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see http://developers.google.com/youtube/analytics/
|
26
26
|
module YoutubeAnalyticsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170125'
|
29
29
|
|
30
30
|
# Manage your YouTube account
|
31
31
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
@@ -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 = '
|
28
|
+
REVISION = '20170124'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/youtube/reporting/v1/reports/
|
27
27
|
module YoutubereportingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170126'
|
30
30
|
|
31
31
|
# View YouTube Analytics reports for your YouTube content
|
32
32
|
AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly'
|
@@ -22,31 +22,98 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module YoutubereportingV1
|
24
24
|
|
25
|
-
#
|
26
|
-
|
27
|
-
class Report
|
25
|
+
# Response message for ReportingService.ListReportTypes.
|
26
|
+
class ListReportTypesResponse
|
28
27
|
include Google::Apis::Core::Hashable
|
29
28
|
|
30
|
-
# The
|
29
|
+
# The list of report types.
|
30
|
+
# Corresponds to the JSON property `reportTypes`
|
31
|
+
# @return [Array<Google::Apis::YoutubereportingV1::ReportType>]
|
32
|
+
attr_accessor :report_types
|
33
|
+
|
34
|
+
# A token to retrieve next page of results.
|
35
|
+
# Pass this value in the
|
36
|
+
# ListReportTypesRequest.page_token
|
37
|
+
# field in the subsequent call to `ListReportTypes` method to retrieve the next
|
38
|
+
# page of results.
|
39
|
+
# Corresponds to the JSON property `nextPageToken`
|
40
|
+
# @return [String]
|
41
|
+
attr_accessor :next_page_token
|
42
|
+
|
43
|
+
def initialize(**args)
|
44
|
+
update!(**args)
|
45
|
+
end
|
46
|
+
|
47
|
+
# Update properties of this object
|
48
|
+
def update!(**args)
|
49
|
+
@report_types = args[:report_types] if args.key?(:report_types)
|
50
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
55
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
56
|
+
# or the response type of an API method. For instance:
|
57
|
+
# service Foo `
|
58
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
59
|
+
# `
|
60
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
61
|
+
class Empty
|
62
|
+
include Google::Apis::Core::Hashable
|
63
|
+
|
64
|
+
def initialize(**args)
|
65
|
+
update!(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Update properties of this object
|
69
|
+
def update!(**args)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# A report type.
|
74
|
+
class ReportType
|
75
|
+
include Google::Apis::Core::Hashable
|
76
|
+
|
77
|
+
# The ID of the report type (max. 100 characters).
|
31
78
|
# Corresponds to the JSON property `id`
|
32
79
|
# @return [String]
|
33
80
|
attr_accessor :id
|
34
81
|
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
|
82
|
+
# True if this a system-managed report type; otherwise false. Reporting jobs
|
83
|
+
# for system-managed report types are created automatically and can thus not
|
84
|
+
# be used in the `CreateJob` method.
|
85
|
+
# Corresponds to the JSON property `systemManaged`
|
86
|
+
# @return [Boolean]
|
87
|
+
attr_accessor :system_managed
|
88
|
+
alias_method :system_managed?, :system_managed
|
39
89
|
|
40
|
-
# The
|
41
|
-
#
|
42
|
-
# Corresponds to the JSON property `endTime`
|
90
|
+
# The date/time when this report type was/will be deprecated.
|
91
|
+
# Corresponds to the JSON property `deprecateTime`
|
43
92
|
# @return [String]
|
44
|
-
attr_accessor :
|
93
|
+
attr_accessor :deprecate_time
|
45
94
|
|
46
|
-
# The
|
47
|
-
# Corresponds to the JSON property `
|
95
|
+
# The name of the report type (max. 100 characters).
|
96
|
+
# Corresponds to the JSON property `name`
|
48
97
|
# @return [String]
|
49
|
-
attr_accessor :
|
98
|
+
attr_accessor :name
|
99
|
+
|
100
|
+
def initialize(**args)
|
101
|
+
update!(**args)
|
102
|
+
end
|
103
|
+
|
104
|
+
# Update properties of this object
|
105
|
+
def update!(**args)
|
106
|
+
@id = args[:id] if args.key?(:id)
|
107
|
+
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
108
|
+
@deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time)
|
109
|
+
@name = args[:name] if args.key?(:name)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# A report's metadata including the URL from which the report itself can be
|
114
|
+
# downloaded.
|
115
|
+
class Report
|
116
|
+
include Google::Apis::Core::Hashable
|
50
117
|
|
51
118
|
# The start of the time period that the report instance covers. The value is
|
52
119
|
# inclusive.
|
@@ -54,29 +121,50 @@ module Google
|
|
54
121
|
# @return [String]
|
55
122
|
attr_accessor :start_time
|
56
123
|
|
57
|
-
# The date/time when
|
58
|
-
# Corresponds to the JSON property `
|
124
|
+
# The date/time when this report was created.
|
125
|
+
# Corresponds to the JSON property `createTime`
|
59
126
|
# @return [String]
|
60
|
-
attr_accessor :
|
127
|
+
attr_accessor :create_time
|
61
128
|
|
62
129
|
# The ID of the job that created this report.
|
63
130
|
# Corresponds to the JSON property `jobId`
|
64
131
|
# @return [String]
|
65
132
|
attr_accessor :job_id
|
66
133
|
|
134
|
+
# The server-generated ID of the report.
|
135
|
+
# Corresponds to the JSON property `id`
|
136
|
+
# @return [String]
|
137
|
+
attr_accessor :id
|
138
|
+
|
139
|
+
# The end of the time period that the report instance covers. The value is
|
140
|
+
# exclusive.
|
141
|
+
# Corresponds to the JSON property `endTime`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :end_time
|
144
|
+
|
145
|
+
# The date/time when the job this report belongs to will expire/expired.
|
146
|
+
# Corresponds to the JSON property `jobExpireTime`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :job_expire_time
|
149
|
+
|
150
|
+
# The URL from which the report can be downloaded (max. 1000 characters).
|
151
|
+
# Corresponds to the JSON property `downloadUrl`
|
152
|
+
# @return [String]
|
153
|
+
attr_accessor :download_url
|
154
|
+
|
67
155
|
def initialize(**args)
|
68
156
|
update!(**args)
|
69
157
|
end
|
70
158
|
|
71
159
|
# Update properties of this object
|
72
160
|
def update!(**args)
|
161
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
162
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
163
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
73
164
|
@id = args[:id] if args.key?(:id)
|
74
|
-
@download_url = args[:download_url] if args.key?(:download_url)
|
75
165
|
@end_time = args[:end_time] if args.key?(:end_time)
|
76
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
77
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
78
166
|
@job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time)
|
79
|
-
@
|
167
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
80
168
|
end
|
81
169
|
end
|
82
170
|
|
@@ -84,6 +172,11 @@ module Google
|
|
84
172
|
class ListJobsResponse
|
85
173
|
include Google::Apis::Core::Hashable
|
86
174
|
|
175
|
+
# The list of jobs.
|
176
|
+
# Corresponds to the JSON property `jobs`
|
177
|
+
# @return [Array<Google::Apis::YoutubereportingV1::Job>]
|
178
|
+
attr_accessor :jobs
|
179
|
+
|
87
180
|
# A token to retrieve next page of results.
|
88
181
|
# Pass this value in the
|
89
182
|
# ListJobsRequest.page_token
|
@@ -93,38 +186,14 @@ module Google
|
|
93
186
|
# @return [String]
|
94
187
|
attr_accessor :next_page_token
|
95
188
|
|
96
|
-
# The list of jobs.
|
97
|
-
# Corresponds to the JSON property `jobs`
|
98
|
-
# @return [Array<Google::Apis::YoutubereportingV1::Job>]
|
99
|
-
attr_accessor :jobs
|
100
|
-
|
101
189
|
def initialize(**args)
|
102
190
|
update!(**args)
|
103
191
|
end
|
104
192
|
|
105
193
|
# Update properties of this object
|
106
194
|
def update!(**args)
|
107
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
108
195
|
@jobs = args[:jobs] if args.key?(:jobs)
|
109
|
-
|
110
|
-
end
|
111
|
-
|
112
|
-
# Media resource.
|
113
|
-
class Media
|
114
|
-
include Google::Apis::Core::Hashable
|
115
|
-
|
116
|
-
# Name of the media resource.
|
117
|
-
# Corresponds to the JSON property `resourceName`
|
118
|
-
# @return [String]
|
119
|
-
attr_accessor :resource_name
|
120
|
-
|
121
|
-
def initialize(**args)
|
122
|
-
update!(**args)
|
123
|
-
end
|
124
|
-
|
125
|
-
# Update properties of this object
|
126
|
-
def update!(**args)
|
127
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
196
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
128
197
|
end
|
129
198
|
end
|
130
199
|
|
@@ -132,111 +201,52 @@ module Google
|
|
132
201
|
class Job
|
133
202
|
include Google::Apis::Core::Hashable
|
134
203
|
|
135
|
-
# The server-generated ID of the job (max. 40 characters).
|
136
|
-
# Corresponds to the JSON property `id`
|
137
|
-
# @return [String]
|
138
|
-
attr_accessor :id
|
139
|
-
|
140
204
|
# The creation date/time of the job.
|
141
205
|
# Corresponds to the JSON property `createTime`
|
142
206
|
# @return [String]
|
143
207
|
attr_accessor :create_time
|
144
208
|
|
145
|
-
# True if this a system-managed job that cannot be modified by the user;
|
146
|
-
# otherwise false.
|
147
|
-
# Corresponds to the JSON property `systemManaged`
|
148
|
-
# @return [Boolean]
|
149
|
-
attr_accessor :system_managed
|
150
|
-
alias_method :system_managed?, :system_managed
|
151
|
-
|
152
209
|
# The date/time when this job will expire/expired. After a job expired, no
|
153
210
|
# new reports are generated.
|
154
211
|
# Corresponds to the JSON property `expireTime`
|
155
212
|
# @return [String]
|
156
213
|
attr_accessor :expire_time
|
157
214
|
|
158
|
-
# The name of the job (max. 100 characters).
|
159
|
-
# Corresponds to the JSON property `name`
|
160
|
-
# @return [String]
|
161
|
-
attr_accessor :name
|
162
|
-
|
163
215
|
# The type of reports this job creates. Corresponds to the ID of a
|
164
216
|
# ReportType.
|
165
217
|
# Corresponds to the JSON property `reportTypeId`
|
166
218
|
# @return [String]
|
167
219
|
attr_accessor :report_type_id
|
168
220
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
# Update properties of this object
|
174
|
-
def update!(**args)
|
175
|
-
@id = args[:id] if args.key?(:id)
|
176
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
177
|
-
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
178
|
-
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
179
|
-
@name = args[:name] if args.key?(:name)
|
180
|
-
@report_type_id = args[:report_type_id] if args.key?(:report_type_id)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
185
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
186
|
-
# or the response type of an API method. For instance:
|
187
|
-
# service Foo `
|
188
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
189
|
-
# `
|
190
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
191
|
-
class Empty
|
192
|
-
include Google::Apis::Core::Hashable
|
193
|
-
|
194
|
-
def initialize(**args)
|
195
|
-
update!(**args)
|
196
|
-
end
|
197
|
-
|
198
|
-
# Update properties of this object
|
199
|
-
def update!(**args)
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
# A report type.
|
204
|
-
class ReportType
|
205
|
-
include Google::Apis::Core::Hashable
|
221
|
+
# The name of the job (max. 100 characters).
|
222
|
+
# Corresponds to the JSON property `name`
|
223
|
+
# @return [String]
|
224
|
+
attr_accessor :name
|
206
225
|
|
207
|
-
# True if this a system-managed
|
208
|
-
#
|
209
|
-
# be used in the `CreateJob` method.
|
226
|
+
# True if this a system-managed job that cannot be modified by the user;
|
227
|
+
# otherwise false.
|
210
228
|
# Corresponds to the JSON property `systemManaged`
|
211
229
|
# @return [Boolean]
|
212
230
|
attr_accessor :system_managed
|
213
231
|
alias_method :system_managed?, :system_managed
|
214
232
|
|
215
|
-
# The
|
216
|
-
# Corresponds to the JSON property `deprecateTime`
|
217
|
-
# @return [String]
|
218
|
-
attr_accessor :deprecate_time
|
219
|
-
|
220
|
-
# The ID of the report type (max. 100 characters).
|
233
|
+
# The server-generated ID of the job (max. 40 characters).
|
221
234
|
# Corresponds to the JSON property `id`
|
222
235
|
# @return [String]
|
223
236
|
attr_accessor :id
|
224
237
|
|
225
|
-
# The name of the report type (max. 100 characters).
|
226
|
-
# Corresponds to the JSON property `name`
|
227
|
-
# @return [String]
|
228
|
-
attr_accessor :name
|
229
|
-
|
230
238
|
def initialize(**args)
|
231
239
|
update!(**args)
|
232
240
|
end
|
233
241
|
|
234
242
|
# Update properties of this object
|
235
243
|
def update!(**args)
|
244
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
245
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
246
|
+
@report_type_id = args[:report_type_id] if args.key?(:report_type_id)
|
247
|
+
@name = args[:name] if args.key?(:name)
|
236
248
|
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
237
|
-
@deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time)
|
238
249
|
@id = args[:id] if args.key?(:id)
|
239
|
-
@name = args[:name] if args.key?(:name)
|
240
250
|
end
|
241
251
|
end
|
242
252
|
|
@@ -244,6 +254,11 @@ module Google
|
|
244
254
|
class ListReportsResponse
|
245
255
|
include Google::Apis::Core::Hashable
|
246
256
|
|
257
|
+
# The list of report types.
|
258
|
+
# Corresponds to the JSON property `reports`
|
259
|
+
# @return [Array<Google::Apis::YoutubereportingV1::Report>]
|
260
|
+
attr_accessor :reports
|
261
|
+
|
247
262
|
# A token to retrieve next page of results.
|
248
263
|
# Pass this value in the
|
249
264
|
# ListReportsRequest.page_token
|
@@ -253,39 +268,25 @@ module Google
|
|
253
268
|
# @return [String]
|
254
269
|
attr_accessor :next_page_token
|
255
270
|
|
256
|
-
# The list of report types.
|
257
|
-
# Corresponds to the JSON property `reports`
|
258
|
-
# @return [Array<Google::Apis::YoutubereportingV1::Report>]
|
259
|
-
attr_accessor :reports
|
260
|
-
|
261
271
|
def initialize(**args)
|
262
272
|
update!(**args)
|
263
273
|
end
|
264
274
|
|
265
275
|
# Update properties of this object
|
266
276
|
def update!(**args)
|
267
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
268
277
|
@reports = args[:reports] if args.key?(:reports)
|
278
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
269
279
|
end
|
270
280
|
end
|
271
281
|
|
272
|
-
#
|
273
|
-
class
|
282
|
+
# Media resource.
|
283
|
+
class Media
|
274
284
|
include Google::Apis::Core::Hashable
|
275
285
|
|
276
|
-
#
|
277
|
-
# Corresponds to the JSON property `
|
278
|
-
# @return [Array<Google::Apis::YoutubereportingV1::ReportType>]
|
279
|
-
attr_accessor :report_types
|
280
|
-
|
281
|
-
# A token to retrieve next page of results.
|
282
|
-
# Pass this value in the
|
283
|
-
# ListReportTypesRequest.page_token
|
284
|
-
# field in the subsequent call to `ListReportTypes` method to retrieve the next
|
285
|
-
# page of results.
|
286
|
-
# Corresponds to the JSON property `nextPageToken`
|
286
|
+
# Name of the media resource.
|
287
|
+
# Corresponds to the JSON property `resourceName`
|
287
288
|
# @return [String]
|
288
|
-
attr_accessor :
|
289
|
+
attr_accessor :resource_name
|
289
290
|
|
290
291
|
def initialize(**args)
|
291
292
|
update!(**args)
|
@@ -293,8 +294,7 @@ module Google
|
|
293
294
|
|
294
295
|
# Update properties of this object
|
295
296
|
def update!(**args)
|
296
|
-
@
|
297
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
297
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
298
298
|
end
|
299
299
|
end
|
300
300
|
end
|