google-api-client 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +238 -10
- data/generated/google/apis/admin_directory_v1/representations.rb +101 -0
- data/generated/google/apis/admin_directory_v1/service.rb +529 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +21 -17
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +21 -17
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +326 -0
- data/generated/google/apis/calendar_v3/representations.rb +118 -0
- data/generated/google/apis/calendar_v3/service.rb +28 -4
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +69 -0
- data/generated/google/apis/classroom_v1/representations.rb +31 -0
- data/generated/google/apis/classroom_v1/service.rb +88 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +49 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +20 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +9 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +25 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +4 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +8 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +19 -13
- data/generated/google/apis/cloudshell_v1.rb +35 -0
- data/generated/google/apis/cloudshell_v1/classes.rb +409 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +161 -0
- data/generated/google/apis/cloudshell_v1/service.rb +214 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +35 -0
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +403 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +160 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +237 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +106 -13
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +31 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +63 -8
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +6 -7
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +4 -4
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +257 -0
- data/generated/google/apis/content_v2/representations.rb +114 -0
- data/generated/google/apis/content_v2/service.rb +84 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +257 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +114 -0
- data/generated/google/apis/content_v2sandbox/service.rb +84 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +32 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +305 -0
- data/generated/google/apis/digitalassetlinks_v1/representations.rb +133 -0
- data/generated/google/apis/digitalassetlinks_v1/service.rb +324 -0
- data/generated/google/apis/dlp_v2beta2.rb +36 -0
- data/generated/google/apis/dlp_v2beta2/classes.rb +5475 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +2734 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +1135 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +25 -16
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +50 -1
- data/generated/google/apis/monitoring_v3/representations.rb +16 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -5
- data/generated/google/apis/slides_v1.rb +4 -1
- data/generated/google/apis/speech_v1.rb +1 -4
- data/generated/google/apis/speech_v1beta1.rb +1 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +0 -2
- data/generated/google/apis/streetviewpublish_v1/service.rb +6 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +81 -0
- data/generated/google/apis/testing_v1/representations.rb +45 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -6
- data/generated/google/apis/youtube_v3/representations.rb +0 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +576 -19
- data/generated/google/apis/youtubereporting_v1/representations.rb +218 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -2
|
@@ -160,6 +160,12 @@ module Google
|
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
+
class LauncherActivityIntent
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
163
169
|
class Locale
|
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
171
|
|
|
@@ -202,6 +208,18 @@ module Google
|
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
209
|
end
|
|
204
210
|
|
|
211
|
+
class RoboStartingIntent
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class StartActivityIntent
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
205
223
|
class TestDetails
|
|
206
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
225
|
|
|
@@ -354,6 +372,8 @@ module Google
|
|
|
354
372
|
property :max_steps, as: 'maxSteps'
|
|
355
373
|
collection :robo_directives, as: 'roboDirectives', class: Google::Apis::TestingV1::RoboDirective, decorator: Google::Apis::TestingV1::RoboDirective::Representation
|
|
356
374
|
|
|
375
|
+
collection :starting_intents, as: 'startingIntents', class: Google::Apis::TestingV1::RoboStartingIntent, decorator: Google::Apis::TestingV1::RoboStartingIntent::Representation
|
|
376
|
+
|
|
357
377
|
end
|
|
358
378
|
end
|
|
359
379
|
|
|
@@ -488,6 +508,12 @@ module Google
|
|
|
488
508
|
end
|
|
489
509
|
end
|
|
490
510
|
|
|
511
|
+
class LauncherActivityIntent
|
|
512
|
+
# @private
|
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
514
|
+
end
|
|
515
|
+
end
|
|
516
|
+
|
|
491
517
|
class Locale
|
|
492
518
|
# @private
|
|
493
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -556,6 +582,25 @@ module Google
|
|
|
556
582
|
end
|
|
557
583
|
end
|
|
558
584
|
|
|
585
|
+
class RoboStartingIntent
|
|
586
|
+
# @private
|
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
588
|
+
property :launcher_activity, as: 'launcherActivity', class: Google::Apis::TestingV1::LauncherActivityIntent, decorator: Google::Apis::TestingV1::LauncherActivityIntent::Representation
|
|
589
|
+
|
|
590
|
+
property :start_activity, as: 'startActivity', class: Google::Apis::TestingV1::StartActivityIntent, decorator: Google::Apis::TestingV1::StartActivityIntent::Representation
|
|
591
|
+
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
class StartActivityIntent
|
|
596
|
+
# @private
|
|
597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
598
|
+
property :action, as: 'action'
|
|
599
|
+
collection :categories, as: 'categories'
|
|
600
|
+
property :uri, as: 'uri'
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
|
+
|
|
559
604
|
class TestDetails
|
|
560
605
|
# @private
|
|
561
606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
|
26
26
|
module ToolresultsV1beta3
|
|
27
27
|
VERSION = 'V1beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171211'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -6963,11 +6963,6 @@ module Google
|
|
|
6963
6963
|
class Video
|
|
6964
6964
|
include Google::Apis::Core::Hashable
|
|
6965
6965
|
|
|
6966
|
-
# The access token to uniquely identify a revocable unlisted video.
|
|
6967
|
-
# Corresponds to the JSON property `accessToken`
|
|
6968
|
-
# @return [String]
|
|
6969
|
-
attr_accessor :access_token
|
|
6970
|
-
|
|
6971
6966
|
# Age restriction details related to a video. This data can only be retrieved by
|
|
6972
6967
|
# the video owner.
|
|
6973
6968
|
# Corresponds to the JSON property `ageGating`
|
|
@@ -7072,7 +7067,6 @@ module Google
|
|
|
7072
7067
|
|
|
7073
7068
|
# Update properties of this object
|
|
7074
7069
|
def update!(**args)
|
|
7075
|
-
@access_token = args[:access_token] if args.key?(:access_token)
|
|
7076
7070
|
@age_gating = args[:age_gating] if args.key?(:age_gating)
|
|
7077
7071
|
@content_details = args[:content_details] if args.key?(:content_details)
|
|
7078
7072
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -2903,7 +2903,6 @@ module Google
|
|
|
2903
2903
|
class Video
|
|
2904
2904
|
# @private
|
|
2905
2905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2906
|
-
property :access_token, as: 'accessToken'
|
|
2907
2906
|
property :age_gating, as: 'ageGating', class: Google::Apis::YoutubeV3::VideoAgeGating, decorator: Google::Apis::YoutubeV3::VideoAgeGating::Representation
|
|
2908
2907
|
|
|
2909
2908
|
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoContentDetails, decorator: Google::Apis::YoutubeV3::VideoContentDetails::Representation
|
|
@@ -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 = '20171211'
|
|
30
30
|
|
|
31
31
|
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
|
32
32
|
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
|
@@ -41,6 +41,582 @@ module Google
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# gdata
|
|
45
|
+
class GdataBlobstore2Info
|
|
46
|
+
include Google::Apis::Core::Hashable
|
|
47
|
+
|
|
48
|
+
# gdata
|
|
49
|
+
# Corresponds to the JSON property `blobGeneration`
|
|
50
|
+
# @return [Fixnum]
|
|
51
|
+
attr_accessor :blob_generation
|
|
52
|
+
|
|
53
|
+
# gdata
|
|
54
|
+
# Corresponds to the JSON property `blobId`
|
|
55
|
+
# @return [String]
|
|
56
|
+
attr_accessor :blob_id
|
|
57
|
+
|
|
58
|
+
# gdata
|
|
59
|
+
# Corresponds to the JSON property `downloadReadHandle`
|
|
60
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
61
|
+
# @return [String]
|
|
62
|
+
attr_accessor :download_read_handle
|
|
63
|
+
|
|
64
|
+
# gdata
|
|
65
|
+
# Corresponds to the JSON property `readToken`
|
|
66
|
+
# @return [String]
|
|
67
|
+
attr_accessor :read_token
|
|
68
|
+
|
|
69
|
+
# gdata
|
|
70
|
+
# Corresponds to the JSON property `uploadMetadataContainer`
|
|
71
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
72
|
+
# @return [String]
|
|
73
|
+
attr_accessor :upload_metadata_container
|
|
74
|
+
|
|
75
|
+
def initialize(**args)
|
|
76
|
+
update!(**args)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Update properties of this object
|
|
80
|
+
def update!(**args)
|
|
81
|
+
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
|
|
82
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
|
83
|
+
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
|
|
84
|
+
@read_token = args[:read_token] if args.key?(:read_token)
|
|
85
|
+
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# gdata
|
|
90
|
+
class GdataCompositeMedia
|
|
91
|
+
include Google::Apis::Core::Hashable
|
|
92
|
+
|
|
93
|
+
# gdata
|
|
94
|
+
# Corresponds to the JSON property `blobRef`
|
|
95
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
96
|
+
# @return [String]
|
|
97
|
+
attr_accessor :blob_ref
|
|
98
|
+
|
|
99
|
+
# gdata
|
|
100
|
+
# Corresponds to the JSON property `blobstore2Info`
|
|
101
|
+
# @return [Google::Apis::YoutubereportingV1::GdataBlobstore2Info]
|
|
102
|
+
attr_accessor :blobstore2_info
|
|
103
|
+
|
|
104
|
+
# gdata
|
|
105
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
|
106
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
107
|
+
# @return [String]
|
|
108
|
+
attr_accessor :cosmo_binary_reference
|
|
109
|
+
|
|
110
|
+
# gdata
|
|
111
|
+
# Corresponds to the JSON property `crc32cHash`
|
|
112
|
+
# @return [Fixnum]
|
|
113
|
+
attr_accessor :crc32c_hash
|
|
114
|
+
|
|
115
|
+
# gdata
|
|
116
|
+
# Corresponds to the JSON property `inline`
|
|
117
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
118
|
+
# @return [String]
|
|
119
|
+
attr_accessor :inline
|
|
120
|
+
|
|
121
|
+
# gdata
|
|
122
|
+
# Corresponds to the JSON property `length`
|
|
123
|
+
# @return [Fixnum]
|
|
124
|
+
attr_accessor :length
|
|
125
|
+
|
|
126
|
+
# gdata
|
|
127
|
+
# Corresponds to the JSON property `md5Hash`
|
|
128
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :md5_hash
|
|
131
|
+
|
|
132
|
+
# gdata
|
|
133
|
+
# Corresponds to the JSON property `objectId`
|
|
134
|
+
# @return [Google::Apis::YoutubereportingV1::GdataObjectId]
|
|
135
|
+
attr_accessor :object_id_prop
|
|
136
|
+
|
|
137
|
+
# gdata
|
|
138
|
+
# Corresponds to the JSON property `path`
|
|
139
|
+
# @return [String]
|
|
140
|
+
attr_accessor :path
|
|
141
|
+
|
|
142
|
+
# gdata
|
|
143
|
+
# Corresponds to the JSON property `referenceType`
|
|
144
|
+
# @return [String]
|
|
145
|
+
attr_accessor :reference_type
|
|
146
|
+
|
|
147
|
+
# gdata
|
|
148
|
+
# Corresponds to the JSON property `sha1Hash`
|
|
149
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
150
|
+
# @return [String]
|
|
151
|
+
attr_accessor :sha1_hash
|
|
152
|
+
|
|
153
|
+
def initialize(**args)
|
|
154
|
+
update!(**args)
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Update properties of this object
|
|
158
|
+
def update!(**args)
|
|
159
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
|
160
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
|
161
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
|
162
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
|
163
|
+
@inline = args[:inline] if args.key?(:inline)
|
|
164
|
+
@length = args[:length] if args.key?(:length)
|
|
165
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
|
166
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
|
167
|
+
@path = args[:path] if args.key?(:path)
|
|
168
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
|
169
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# gdata
|
|
174
|
+
class GdataContentTypeInfo
|
|
175
|
+
include Google::Apis::Core::Hashable
|
|
176
|
+
|
|
177
|
+
# gdata
|
|
178
|
+
# Corresponds to the JSON property `bestGuess`
|
|
179
|
+
# @return [String]
|
|
180
|
+
attr_accessor :best_guess
|
|
181
|
+
|
|
182
|
+
# gdata
|
|
183
|
+
# Corresponds to the JSON property `fromBytes`
|
|
184
|
+
# @return [String]
|
|
185
|
+
attr_accessor :from_bytes
|
|
186
|
+
|
|
187
|
+
# gdata
|
|
188
|
+
# Corresponds to the JSON property `fromFileName`
|
|
189
|
+
# @return [String]
|
|
190
|
+
attr_accessor :from_file_name
|
|
191
|
+
|
|
192
|
+
# gdata
|
|
193
|
+
# Corresponds to the JSON property `fromHeader`
|
|
194
|
+
# @return [String]
|
|
195
|
+
attr_accessor :from_header
|
|
196
|
+
|
|
197
|
+
# gdata
|
|
198
|
+
# Corresponds to the JSON property `fromUrlPath`
|
|
199
|
+
# @return [String]
|
|
200
|
+
attr_accessor :from_url_path
|
|
201
|
+
|
|
202
|
+
def initialize(**args)
|
|
203
|
+
update!(**args)
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Update properties of this object
|
|
207
|
+
def update!(**args)
|
|
208
|
+
@best_guess = args[:best_guess] if args.key?(:best_guess)
|
|
209
|
+
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
|
|
210
|
+
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
|
|
211
|
+
@from_header = args[:from_header] if args.key?(:from_header)
|
|
212
|
+
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# gdata
|
|
217
|
+
class GdataDiffChecksumsResponse
|
|
218
|
+
include Google::Apis::Core::Hashable
|
|
219
|
+
|
|
220
|
+
# gdata
|
|
221
|
+
# Corresponds to the JSON property `checksumsLocation`
|
|
222
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
223
|
+
attr_accessor :checksums_location
|
|
224
|
+
|
|
225
|
+
# gdata
|
|
226
|
+
# Corresponds to the JSON property `chunkSizeBytes`
|
|
227
|
+
# @return [Fixnum]
|
|
228
|
+
attr_accessor :chunk_size_bytes
|
|
229
|
+
|
|
230
|
+
# gdata
|
|
231
|
+
# Corresponds to the JSON property `objectLocation`
|
|
232
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
233
|
+
attr_accessor :object_location
|
|
234
|
+
|
|
235
|
+
# gdata
|
|
236
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
|
237
|
+
# @return [Fixnum]
|
|
238
|
+
attr_accessor :object_size_bytes
|
|
239
|
+
|
|
240
|
+
# gdata
|
|
241
|
+
# Corresponds to the JSON property `objectVersion`
|
|
242
|
+
# @return [String]
|
|
243
|
+
attr_accessor :object_version
|
|
244
|
+
|
|
245
|
+
def initialize(**args)
|
|
246
|
+
update!(**args)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Update properties of this object
|
|
250
|
+
def update!(**args)
|
|
251
|
+
@checksums_location = args[:checksums_location] if args.key?(:checksums_location)
|
|
252
|
+
@chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
|
|
253
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
|
254
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
|
255
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# gdata
|
|
260
|
+
class GdataDiffDownloadResponse
|
|
261
|
+
include Google::Apis::Core::Hashable
|
|
262
|
+
|
|
263
|
+
# gdata
|
|
264
|
+
# Corresponds to the JSON property `objectLocation`
|
|
265
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
266
|
+
attr_accessor :object_location
|
|
267
|
+
|
|
268
|
+
def initialize(**args)
|
|
269
|
+
update!(**args)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Update properties of this object
|
|
273
|
+
def update!(**args)
|
|
274
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# gdata
|
|
279
|
+
class GdataDiffUploadRequest
|
|
280
|
+
include Google::Apis::Core::Hashable
|
|
281
|
+
|
|
282
|
+
# gdata
|
|
283
|
+
# Corresponds to the JSON property `checksumsInfo`
|
|
284
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
285
|
+
attr_accessor :checksums_info
|
|
286
|
+
|
|
287
|
+
# gdata
|
|
288
|
+
# Corresponds to the JSON property `objectInfo`
|
|
289
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
290
|
+
attr_accessor :object_info
|
|
291
|
+
|
|
292
|
+
# gdata
|
|
293
|
+
# Corresponds to the JSON property `objectVersion`
|
|
294
|
+
# @return [String]
|
|
295
|
+
attr_accessor :object_version
|
|
296
|
+
|
|
297
|
+
def initialize(**args)
|
|
298
|
+
update!(**args)
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# Update properties of this object
|
|
302
|
+
def update!(**args)
|
|
303
|
+
@checksums_info = args[:checksums_info] if args.key?(:checksums_info)
|
|
304
|
+
@object_info = args[:object_info] if args.key?(:object_info)
|
|
305
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# gdata
|
|
310
|
+
class GdataDiffUploadResponse
|
|
311
|
+
include Google::Apis::Core::Hashable
|
|
312
|
+
|
|
313
|
+
# gdata
|
|
314
|
+
# Corresponds to the JSON property `objectVersion`
|
|
315
|
+
# @return [String]
|
|
316
|
+
attr_accessor :object_version
|
|
317
|
+
|
|
318
|
+
# gdata
|
|
319
|
+
# Corresponds to the JSON property `originalObject`
|
|
320
|
+
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
|
|
321
|
+
attr_accessor :original_object
|
|
322
|
+
|
|
323
|
+
def initialize(**args)
|
|
324
|
+
update!(**args)
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Update properties of this object
|
|
328
|
+
def update!(**args)
|
|
329
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
|
330
|
+
@original_object = args[:original_object] if args.key?(:original_object)
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# gdata
|
|
335
|
+
class GdataDiffVersionResponse
|
|
336
|
+
include Google::Apis::Core::Hashable
|
|
337
|
+
|
|
338
|
+
# gdata
|
|
339
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
|
340
|
+
# @return [Fixnum]
|
|
341
|
+
attr_accessor :object_size_bytes
|
|
342
|
+
|
|
343
|
+
# gdata
|
|
344
|
+
# Corresponds to the JSON property `objectVersion`
|
|
345
|
+
# @return [String]
|
|
346
|
+
attr_accessor :object_version
|
|
347
|
+
|
|
348
|
+
def initialize(**args)
|
|
349
|
+
update!(**args)
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
# Update properties of this object
|
|
353
|
+
def update!(**args)
|
|
354
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
|
355
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
# gdata
|
|
360
|
+
class GdataDownloadParameters
|
|
361
|
+
include Google::Apis::Core::Hashable
|
|
362
|
+
|
|
363
|
+
# gdata
|
|
364
|
+
# Corresponds to the JSON property `allowGzipCompression`
|
|
365
|
+
# @return [Boolean]
|
|
366
|
+
attr_accessor :allow_gzip_compression
|
|
367
|
+
alias_method :allow_gzip_compression?, :allow_gzip_compression
|
|
368
|
+
|
|
369
|
+
# gdata
|
|
370
|
+
# Corresponds to the JSON property `ignoreRange`
|
|
371
|
+
# @return [Boolean]
|
|
372
|
+
attr_accessor :ignore_range
|
|
373
|
+
alias_method :ignore_range?, :ignore_range
|
|
374
|
+
|
|
375
|
+
def initialize(**args)
|
|
376
|
+
update!(**args)
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
# Update properties of this object
|
|
380
|
+
def update!(**args)
|
|
381
|
+
@allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
|
|
382
|
+
@ignore_range = args[:ignore_range] if args.key?(:ignore_range)
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# gdata
|
|
387
|
+
class GdataMedia
|
|
388
|
+
include Google::Apis::Core::Hashable
|
|
389
|
+
|
|
390
|
+
# gdata
|
|
391
|
+
# Corresponds to the JSON property `algorithm`
|
|
392
|
+
# @return [String]
|
|
393
|
+
attr_accessor :algorithm
|
|
394
|
+
|
|
395
|
+
# gdata
|
|
396
|
+
# Corresponds to the JSON property `bigstoreObjectRef`
|
|
397
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
398
|
+
# @return [String]
|
|
399
|
+
attr_accessor :bigstore_object_ref
|
|
400
|
+
|
|
401
|
+
# gdata
|
|
402
|
+
# Corresponds to the JSON property `blobRef`
|
|
403
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
404
|
+
# @return [String]
|
|
405
|
+
attr_accessor :blob_ref
|
|
406
|
+
|
|
407
|
+
# gdata
|
|
408
|
+
# Corresponds to the JSON property `blobstore2Info`
|
|
409
|
+
# @return [Google::Apis::YoutubereportingV1::GdataBlobstore2Info]
|
|
410
|
+
attr_accessor :blobstore2_info
|
|
411
|
+
|
|
412
|
+
# gdata
|
|
413
|
+
# Corresponds to the JSON property `compositeMedia`
|
|
414
|
+
# @return [Array<Google::Apis::YoutubereportingV1::GdataCompositeMedia>]
|
|
415
|
+
attr_accessor :composite_media
|
|
416
|
+
|
|
417
|
+
# gdata
|
|
418
|
+
# Corresponds to the JSON property `contentType`
|
|
419
|
+
# @return [String]
|
|
420
|
+
attr_accessor :content_type
|
|
421
|
+
|
|
422
|
+
# gdata
|
|
423
|
+
# Corresponds to the JSON property `contentTypeInfo`
|
|
424
|
+
# @return [Google::Apis::YoutubereportingV1::GdataContentTypeInfo]
|
|
425
|
+
attr_accessor :content_type_info
|
|
426
|
+
|
|
427
|
+
# gdata
|
|
428
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
|
429
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
430
|
+
# @return [String]
|
|
431
|
+
attr_accessor :cosmo_binary_reference
|
|
432
|
+
|
|
433
|
+
# gdata
|
|
434
|
+
# Corresponds to the JSON property `crc32cHash`
|
|
435
|
+
# @return [Fixnum]
|
|
436
|
+
attr_accessor :crc32c_hash
|
|
437
|
+
|
|
438
|
+
# gdata
|
|
439
|
+
# Corresponds to the JSON property `diffChecksumsResponse`
|
|
440
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse]
|
|
441
|
+
attr_accessor :diff_checksums_response
|
|
442
|
+
|
|
443
|
+
# gdata
|
|
444
|
+
# Corresponds to the JSON property `diffDownloadResponse`
|
|
445
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse]
|
|
446
|
+
attr_accessor :diff_download_response
|
|
447
|
+
|
|
448
|
+
# gdata
|
|
449
|
+
# Corresponds to the JSON property `diffUploadRequest`
|
|
450
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDiffUploadRequest]
|
|
451
|
+
attr_accessor :diff_upload_request
|
|
452
|
+
|
|
453
|
+
# gdata
|
|
454
|
+
# Corresponds to the JSON property `diffUploadResponse`
|
|
455
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDiffUploadResponse]
|
|
456
|
+
attr_accessor :diff_upload_response
|
|
457
|
+
|
|
458
|
+
# gdata
|
|
459
|
+
# Corresponds to the JSON property `diffVersionResponse`
|
|
460
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDiffVersionResponse]
|
|
461
|
+
attr_accessor :diff_version_response
|
|
462
|
+
|
|
463
|
+
# gdata
|
|
464
|
+
# Corresponds to the JSON property `downloadParameters`
|
|
465
|
+
# @return [Google::Apis::YoutubereportingV1::GdataDownloadParameters]
|
|
466
|
+
attr_accessor :download_parameters
|
|
467
|
+
|
|
468
|
+
# gdata
|
|
469
|
+
# Corresponds to the JSON property `filename`
|
|
470
|
+
# @return [String]
|
|
471
|
+
attr_accessor :filename
|
|
472
|
+
|
|
473
|
+
# gdata
|
|
474
|
+
# Corresponds to the JSON property `hash`
|
|
475
|
+
# @return [String]
|
|
476
|
+
attr_accessor :hash_prop
|
|
477
|
+
|
|
478
|
+
# gdata
|
|
479
|
+
# Corresponds to the JSON property `hashVerified`
|
|
480
|
+
# @return [Boolean]
|
|
481
|
+
attr_accessor :hash_verified
|
|
482
|
+
alias_method :hash_verified?, :hash_verified
|
|
483
|
+
|
|
484
|
+
# gdata
|
|
485
|
+
# Corresponds to the JSON property `inline`
|
|
486
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
487
|
+
# @return [String]
|
|
488
|
+
attr_accessor :inline
|
|
489
|
+
|
|
490
|
+
# gdata
|
|
491
|
+
# Corresponds to the JSON property `isPotentialRetry`
|
|
492
|
+
# @return [Boolean]
|
|
493
|
+
attr_accessor :is_potential_retry
|
|
494
|
+
alias_method :is_potential_retry?, :is_potential_retry
|
|
495
|
+
|
|
496
|
+
# gdata
|
|
497
|
+
# Corresponds to the JSON property `length`
|
|
498
|
+
# @return [Fixnum]
|
|
499
|
+
attr_accessor :length
|
|
500
|
+
|
|
501
|
+
# gdata
|
|
502
|
+
# Corresponds to the JSON property `md5Hash`
|
|
503
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
504
|
+
# @return [String]
|
|
505
|
+
attr_accessor :md5_hash
|
|
506
|
+
|
|
507
|
+
# gdata
|
|
508
|
+
# Corresponds to the JSON property `mediaId`
|
|
509
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
510
|
+
# @return [String]
|
|
511
|
+
attr_accessor :media_id
|
|
512
|
+
|
|
513
|
+
# gdata
|
|
514
|
+
# Corresponds to the JSON property `objectId`
|
|
515
|
+
# @return [Google::Apis::YoutubereportingV1::GdataObjectId]
|
|
516
|
+
attr_accessor :object_id_prop
|
|
517
|
+
|
|
518
|
+
# gdata
|
|
519
|
+
# Corresponds to the JSON property `path`
|
|
520
|
+
# @return [String]
|
|
521
|
+
attr_accessor :path
|
|
522
|
+
|
|
523
|
+
# gdata
|
|
524
|
+
# Corresponds to the JSON property `referenceType`
|
|
525
|
+
# @return [String]
|
|
526
|
+
attr_accessor :reference_type
|
|
527
|
+
|
|
528
|
+
# gdata
|
|
529
|
+
# Corresponds to the JSON property `sha1Hash`
|
|
530
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
531
|
+
# @return [String]
|
|
532
|
+
attr_accessor :sha1_hash
|
|
533
|
+
|
|
534
|
+
# gdata
|
|
535
|
+
# Corresponds to the JSON property `sha256Hash`
|
|
536
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
537
|
+
# @return [String]
|
|
538
|
+
attr_accessor :sha256_hash
|
|
539
|
+
|
|
540
|
+
# gdata
|
|
541
|
+
# Corresponds to the JSON property `timestamp`
|
|
542
|
+
# @return [Fixnum]
|
|
543
|
+
attr_accessor :timestamp
|
|
544
|
+
|
|
545
|
+
# gdata
|
|
546
|
+
# Corresponds to the JSON property `token`
|
|
547
|
+
# @return [String]
|
|
548
|
+
attr_accessor :token
|
|
549
|
+
|
|
550
|
+
def initialize(**args)
|
|
551
|
+
update!(**args)
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
# Update properties of this object
|
|
555
|
+
def update!(**args)
|
|
556
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
|
557
|
+
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
|
|
558
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
|
559
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
|
560
|
+
@composite_media = args[:composite_media] if args.key?(:composite_media)
|
|
561
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
562
|
+
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
|
|
563
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
|
564
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
|
565
|
+
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
|
|
566
|
+
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
|
|
567
|
+
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
|
|
568
|
+
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
|
|
569
|
+
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
|
|
570
|
+
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
|
|
571
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
572
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
|
573
|
+
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
|
|
574
|
+
@inline = args[:inline] if args.key?(:inline)
|
|
575
|
+
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
|
|
576
|
+
@length = args[:length] if args.key?(:length)
|
|
577
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
|
578
|
+
@media_id = args[:media_id] if args.key?(:media_id)
|
|
579
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
|
580
|
+
@path = args[:path] if args.key?(:path)
|
|
581
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
|
582
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
|
583
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
|
584
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
585
|
+
@token = args[:token] if args.key?(:token)
|
|
586
|
+
end
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
# gdata
|
|
590
|
+
class GdataObjectId
|
|
591
|
+
include Google::Apis::Core::Hashable
|
|
592
|
+
|
|
593
|
+
# gdata
|
|
594
|
+
# Corresponds to the JSON property `bucketName`
|
|
595
|
+
# @return [String]
|
|
596
|
+
attr_accessor :bucket_name
|
|
597
|
+
|
|
598
|
+
# gdata
|
|
599
|
+
# Corresponds to the JSON property `generation`
|
|
600
|
+
# @return [Fixnum]
|
|
601
|
+
attr_accessor :generation
|
|
602
|
+
|
|
603
|
+
# gdata
|
|
604
|
+
# Corresponds to the JSON property `objectName`
|
|
605
|
+
# @return [String]
|
|
606
|
+
attr_accessor :object_name
|
|
607
|
+
|
|
608
|
+
def initialize(**args)
|
|
609
|
+
update!(**args)
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# Update properties of this object
|
|
613
|
+
def update!(**args)
|
|
614
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
|
615
|
+
@generation = args[:generation] if args.key?(:generation)
|
|
616
|
+
@object_name = args[:object_name] if args.key?(:object_name)
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
44
620
|
# A job creating reports of a specific type.
|
|
45
621
|
class Job
|
|
46
622
|
include Google::Apis::Core::Hashable
|
|
@@ -181,25 +757,6 @@ module Google
|
|
|
181
757
|
end
|
|
182
758
|
end
|
|
183
759
|
|
|
184
|
-
# Media resource.
|
|
185
|
-
class Media
|
|
186
|
-
include Google::Apis::Core::Hashable
|
|
187
|
-
|
|
188
|
-
# Name of the media resource.
|
|
189
|
-
# Corresponds to the JSON property `resourceName`
|
|
190
|
-
# @return [String]
|
|
191
|
-
attr_accessor :resource_name
|
|
192
|
-
|
|
193
|
-
def initialize(**args)
|
|
194
|
-
update!(**args)
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# Update properties of this object
|
|
198
|
-
def update!(**args)
|
|
199
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
200
|
-
end
|
|
201
|
-
end
|
|
202
|
-
|
|
203
760
|
# A report's metadata including the URL from which the report itself can be
|
|
204
761
|
# downloaded.
|
|
205
762
|
class Report
|