google-api-client 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +3 -3
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  5. data/generated/google/apis/adsense_v1_4.rb +1 -1
  6. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -0
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +38 -0
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  13. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  14. data/generated/google/apis/appsactivity_v1.rb +1 -1
  15. data/generated/google/apis/calendar_v3.rb +1 -1
  16. data/generated/google/apis/civicinfo_v2.rb +1 -1
  17. data/generated/google/apis/civicinfo_v2/classes.rb +118 -1
  18. data/generated/google/apis/civicinfo_v2/representations.rb +83 -0
  19. data/generated/google/apis/civicinfo_v2/service.rb +20 -5
  20. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  21. data/generated/google/apis/compute_beta.rb +1 -1
  22. data/generated/google/apis/compute_beta/classes.rb +4 -5
  23. data/generated/google/apis/compute_beta/service.rb +3 -1
  24. data/generated/google/apis/compute_v1.rb +1 -1
  25. data/generated/google/apis/compute_v1/classes.rb +4 -5
  26. data/generated/google/apis/datastore_v1.rb +1 -1
  27. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  28. data/generated/google/apis/genomics_v1/classes.rb +25 -25
  29. data/generated/google/apis/genomics_v1/representations.rb +11 -11
  30. data/generated/google/apis/genomics_v1/service.rb +30 -30
  31. data/generated/google/apis/logging_v2beta1.rb +1 -1
  32. data/generated/google/apis/logging_v2beta1/classes.rb +46 -31
  33. data/generated/google/apis/logging_v2beta1/representations.rb +5 -3
  34. data/generated/google/apis/monitoring_v3.rb +1 -1
  35. data/generated/google/apis/plus_domains_v1.rb +1 -1
  36. data/generated/google/apis/plus_v1.rb +1 -1
  37. data/generated/google/apis/sheets_v4.rb +1 -1
  38. data/generated/google/apis/sheets_v4/classes.rb +89 -1
  39. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  40. data/generated/google/apis/sheets_v4/service.rb +164 -89
  41. data/generated/google/apis/speech_v1beta1.rb +1 -1
  42. data/generated/google/apis/storage_v1.rb +1 -1
  43. data/generated/google/apis/storage_v1/classes.rb +21 -5
  44. data/generated/google/apis/storage_v1/representations.rb +2 -0
  45. data/lib/google/apis/version.rb +1 -1
  46. metadata +2 -2
@@ -52,6 +52,24 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class ContextParams
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DivisionRepresentativeInfoRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DivisionSearchRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
55
73
  class DivisionSearchResponse
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -76,6 +94,12 @@ module Google
76
94
  include Google::Apis::Core::JsonObjectSupport
77
95
  end
78
96
 
97
+ class ElectionsQueryRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
79
103
  class QueryElectionsResponse
80
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
105
 
@@ -118,6 +142,12 @@ module Google
118
142
  include Google::Apis::Core::JsonObjectSupport
119
143
  end
120
144
 
145
+ class RepresentativeInfoRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
121
151
  class RepresentativeInfoResponse
122
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
153
 
@@ -136,6 +166,12 @@ module Google
136
166
  include Google::Apis::Core::JsonObjectSupport
137
167
  end
138
168
 
169
+ class VoterInfoRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
139
175
  class VoterInfoResponse
140
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
177
 
@@ -235,6 +271,29 @@ module Google
235
271
  end
236
272
  end
237
273
 
274
+ class ContextParams
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :client_profile, as: 'clientProfile'
278
+ end
279
+ end
280
+
281
+ class DivisionRepresentativeInfoRequest
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation
285
+
286
+ end
287
+ end
288
+
289
+ class DivisionSearchRequest
290
+ # @private
291
+ class Representation < Google::Apis::Core::JsonRepresentation
292
+ property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation
293
+
294
+ end
295
+ end
296
+
238
297
  class DivisionSearchResponse
239
298
  # @private
240
299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -274,6 +333,14 @@ module Google
274
333
  end
275
334
  end
276
335
 
336
+ class ElectionsQueryRequest
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation
340
+
341
+ end
342
+ end
343
+
277
344
  class QueryElectionsResponse
278
345
  # @private
279
346
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -360,6 +427,14 @@ module Google
360
427
  end
361
428
  end
362
429
 
430
+ class RepresentativeInfoRequest
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation
434
+
435
+ end
436
+ end
437
+
363
438
  class RepresentativeInfoResponse
364
439
  # @private
365
440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +471,14 @@ module Google
396
471
  end
397
472
  end
398
473
 
474
+ class VoterInfoRequest
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation
478
+
479
+ end
480
+ end
481
+
399
482
  class VoterInfoResponse
400
483
  # @private
401
484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -54,6 +54,7 @@ module Google
54
54
  end
55
55
 
56
56
  # Searches for political divisions by their natural name or OCD ID.
57
+ # @param [Google::Apis::CivicinfoV2::DivisionSearchRequest] division_search_request_object
57
58
  # @param [String] query
58
59
  # The search query. Queries can cover any parts of a OCD ID or a human readable
59
60
  # division name. All words given in the query are treated as required patterns.
@@ -80,8 +81,10 @@ module Google
80
81
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
82
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
83
  # @raise [Google::Apis::AuthorizationError] Authorization is required
83
- def search_divisions(query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
84
+ def search_divisions(division_search_request_object = nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
84
85
  command = make_simple_command(:get, 'divisions', options)
86
+ command.request_representation = Google::Apis::CivicinfoV2::DivisionSearchRequest::Representation
87
+ command.request_object = division_search_request_object
85
88
  command.response_representation = Google::Apis::CivicinfoV2::DivisionSearchResponse::Representation
86
89
  command.response_class = Google::Apis::CivicinfoV2::DivisionSearchResponse
87
90
  command.query['query'] = query unless query.nil?
@@ -92,6 +95,7 @@ module Google
92
95
  end
93
96
 
94
97
  # List of available elections to query.
98
+ # @param [Google::Apis::CivicinfoV2::ElectionsQueryRequest] elections_query_request_object
95
99
  # @param [String] fields
96
100
  # Selector specifying which fields to include in a partial response.
97
101
  # @param [String] quota_user
@@ -113,8 +117,10 @@ module Google
113
117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
116
- def query_election(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
120
+ def query_election(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
117
121
  command = make_simple_command(:get, 'elections', options)
122
+ command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation
123
+ command.request_object = elections_query_request_object
118
124
  command.response_representation = Google::Apis::CivicinfoV2::QueryElectionsResponse::Representation
119
125
  command.response_class = Google::Apis::CivicinfoV2::QueryElectionsResponse
120
126
  command.query['fields'] = fields unless fields.nil?
@@ -127,6 +133,7 @@ module Google
127
133
  # address.
128
134
  # @param [String] address
129
135
  # The registered address of the voter to look up.
136
+ # @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object
130
137
  # @param [String] election_id
131
138
  # The unique ID of the election to look up. A list of election IDs can be
132
139
  # obtained at https://www.googleapis.com/civicinfo/`version`/elections
@@ -157,8 +164,10 @@ module Google
157
164
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
165
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
166
  # @raise [Google::Apis::AuthorizationError] Authorization is required
160
- def query_voter_info(address, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
167
+ def query_voter_info(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
161
168
  command = make_simple_command(:get, 'voterinfo', options)
169
+ command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
170
+ command.request_object = voter_info_request_object
162
171
  command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
163
172
  command.response_class = Google::Apis::CivicinfoV2::VoterInfoResponse
164
173
  command.query['address'] = address unless address.nil?
@@ -173,6 +182,7 @@ module Google
173
182
 
174
183
  # Looks up political geography and representative information for a single
175
184
  # address.
185
+ # @param [Google::Apis::CivicinfoV2::RepresentativeInfoRequest] representative_info_request_object
176
186
  # @param [String] address
177
187
  # The address to look up. May only be specified if the field ocdId is not given
178
188
  # in the URL.
@@ -208,8 +218,10 @@ module Google
208
218
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
209
219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
210
220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
211
- def representative_info_by_address(address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
221
+ def representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
212
222
  command = make_simple_command(:get, 'representatives', options)
223
+ command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation
224
+ command.request_object = representative_info_request_object
213
225
  command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoResponse::Representation
214
226
  command.response_class = Google::Apis::CivicinfoV2::RepresentativeInfoResponse
215
227
  command.query['address'] = address unless address.nil?
@@ -225,6 +237,7 @@ module Google
225
237
  # Looks up representative information for a single geographic division.
226
238
  # @param [String] ocd_id
227
239
  # The Open Civic Data division identifier of the division to look up.
240
+ # @param [Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest] division_representative_info_request_object
228
241
  # @param [Array<String>, String] levels
229
242
  # A list of office levels to filter by. Only offices that serve at least one of
230
243
  # these levels will be returned. Divisions that don't contain a matching office
@@ -258,8 +271,10 @@ module Google
258
271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def representative_info_by_division(ocd_id, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
274
+ def representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
262
275
  command = make_simple_command(:get, 'representatives/{ocdId}', options)
276
+ command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation
277
+ command.request_object = division_representative_info_request_object
263
278
  command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoData::Representation
264
279
  command.response_class = Google::Apis::CivicinfoV2::RepresentativeInfoData
265
280
  command.params['ocdId'] = ocd_id unless ocd_id.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20161013'
28
+ REVISION = '20161020'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20160926'
28
+ REVISION = '20161012'
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'
@@ -1767,8 +1767,7 @@ module Google
1767
1767
  # @return [String]
1768
1768
  attr_accessor :source_snapshot_id
1769
1769
 
1770
- # [Output Only] The status of disk creation. Applicable statuses includes:
1771
- # CREATING, FAILED, READY, RESTORING.
1770
+ # [Output Only] The status of disk creation.
1772
1771
  # Corresponds to the JSON property `status`
1773
1772
  # @return [String]
1774
1773
  attr_accessor :status
@@ -3749,8 +3748,8 @@ module Google
3749
3748
  # valid partial URL. You must provide either this property or the rawDisk.source
3750
3749
  # property but not both to create an image. For example, the following are valid
3751
3750
  # values:
3752
- # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk
3753
- # - projects/project/zones/zone/disk/disk
3751
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
3752
+ # - projects/project/zones/zone/disks/disk
3754
3753
  # - zones/zone/disks/disk
3755
3754
  # Corresponds to the JSON property `sourceDisk`
3756
3755
  # @return [String]
@@ -7930,7 +7929,7 @@ module Google
7930
7929
  attr_accessor :id
7931
7930
 
7932
7931
  # Router interfaces. Each interface requires either one linked resource (e.g.
7933
- # linkedVpnTunnel) or IP address and IP address range (e.g. ipRange).
7932
+ # linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
7934
7933
  # Corresponds to the JSON property `interfaces`
7935
7934
  # @return [Array<Google::Apis::ComputeBeta::RouterInterface>]
7936
7935
  attr_accessor :interfaces
@@ -1520,6 +1520,7 @@ module Google
1520
1520
  # @param [String] disk
1521
1521
  # Name of the persistent disk to snapshot.
1522
1522
  # @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
1523
+ # @param [Boolean] guest_flush
1523
1524
  # @param [String] fields
1524
1525
  # Selector specifying which fields to include in a partial response.
1525
1526
  # @param [String] quota_user
@@ -1541,7 +1542,7 @@ module Google
1541
1542
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1542
1543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1543
1544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1544
- def create_disk_snapshot(project, zone, disk, snapshot_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1545
+ def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1545
1546
  command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options)
1546
1547
  command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation
1547
1548
  command.request_object = snapshot_object
@@ -1550,6 +1551,7 @@ module Google
1550
1551
  command.params['project'] = project unless project.nil?
1551
1552
  command.params['zone'] = zone unless zone.nil?
1552
1553
  command.params['disk'] = disk unless disk.nil?
1554
+ command.query['guestFlush'] = guest_flush unless guest_flush.nil?
1553
1555
  command.query['fields'] = fields unless fields.nil?
1554
1556
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1555
1557
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160926'
28
+ REVISION = '20161012'
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'
@@ -1552,8 +1552,7 @@ module Google
1552
1552
  # @return [String]
1553
1553
  attr_accessor :source_snapshot_id
1554
1554
 
1555
- # [Output Only] The status of disk creation. Applicable statuses includes:
1556
- # CREATING, FAILED, READY, RESTORING.
1555
+ # [Output Only] The status of disk creation.
1557
1556
  # Corresponds to the JSON property `status`
1558
1557
  # @return [String]
1559
1558
  attr_accessor :status
@@ -3395,8 +3394,8 @@ module Google
3395
3394
  # valid partial URL. You must provide either this property or the rawDisk.source
3396
3395
  # property but not both to create an image. For example, the following are valid
3397
3396
  # values:
3398
- # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk
3399
- # - projects/project/zones/zone/disk/disk
3397
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
3398
+ # - projects/project/zones/zone/disks/disk
3400
3399
  # - zones/zone/disks/disk
3401
3400
  # Corresponds to the JSON property `sourceDisk`
3402
3401
  # @return [String]
@@ -7045,7 +7044,7 @@ module Google
7045
7044
  attr_accessor :id
7046
7045
 
7047
7046
  # Router interfaces. Each interface requires either one linked resource (e.g.
7048
- # linkedVpnTunnel) or IP address and IP address range (e.g. ipRange).
7047
+ # linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
7049
7048
  # Corresponds to the JSON property `interfaces`
7050
7049
  # @return [Array<Google::Apis::ComputeV1::RouterInterface>]
7051
7050
  attr_accessor :interfaces
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20161004'
29
+ REVISION = '20161013'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/doubleclick-search/
27
27
  module DoubleclicksearchV2
28
28
  VERSION = 'V2'
29
- REVISION = '20161005'
29
+ REVISION = '20161012'
30
30
 
31
31
  # View and manage your advertising data in DoubleClick Search
32
32
  AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
@@ -1037,6 +1037,31 @@ module Google
1037
1037
  end
1038
1038
  end
1039
1039
 
1040
+ # The response message for Operations.ListOperations.
1041
+ class ListOperationsResponse
1042
+ include Google::Apis::Core::Hashable
1043
+
1044
+ # A list of operations that matches the specified filter in the request.
1045
+ # Corresponds to the JSON property `operations`
1046
+ # @return [Array<Google::Apis::GenomicsV1::Operation>]
1047
+ attr_accessor :operations
1048
+
1049
+ # The standard List next-page token.
1050
+ # Corresponds to the JSON property `nextPageToken`
1051
+ # @return [String]
1052
+ attr_accessor :next_page_token
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @operations = args[:operations] if args.key?(:operations)
1061
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1062
+ end
1063
+ end
1064
+
1040
1065
  # This resource represents a long-running operation that is the result of a
1041
1066
  # network API call.
1042
1067
  class Operation
@@ -1118,31 +1143,6 @@ module Google
1118
1143
  end
1119
1144
  end
1120
1145
 
1121
- # The response message for Operations.ListOperations.
1122
- class ListOperationsResponse
1123
- include Google::Apis::Core::Hashable
1124
-
1125
- # A list of operations that matches the specified filter in the request.
1126
- # Corresponds to the JSON property `operations`
1127
- # @return [Array<Google::Apis::GenomicsV1::Operation>]
1128
- attr_accessor :operations
1129
-
1130
- # The standard List next-page token.
1131
- # Corresponds to the JSON property `nextPageToken`
1132
- # @return [String]
1133
- attr_accessor :next_page_token
1134
-
1135
- def initialize(**args)
1136
- update!(**args)
1137
- end
1138
-
1139
- # Update properties of this object
1140
- def update!(**args)
1141
- @operations = args[:operations] if args.key?(:operations)
1142
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1143
- end
1144
- end
1145
-
1146
1146
  # The request message for Operations.CancelOperation.
1147
1147
  class CancelOperationRequest
1148
1148
  include Google::Apis::Core::Hashable
@@ -178,13 +178,13 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class Operation
181
+ class ListOperationsResponse
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class ListOperationsResponse
187
+ class Operation
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
@@ -748,24 +748,24 @@ module Google
748
748
  end
749
749
  end
750
750
 
751
- class Operation
751
+ class ListOperationsResponse
752
752
  # @private
753
753
  class Representation < Google::Apis::Core::JsonRepresentation
754
- property :name, as: 'name'
755
- hash :metadata, as: 'metadata'
756
- property :done, as: 'done'
757
- property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
754
+ collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
758
755
 
759
- hash :response, as: 'response'
756
+ property :next_page_token, as: 'nextPageToken'
760
757
  end
761
758
  end
762
759
 
763
- class ListOperationsResponse
760
+ class Operation
764
761
  # @private
765
762
  class Representation < Google::Apis::Core::JsonRepresentation
766
- collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
763
+ property :name, as: 'name'
764
+ hash :metadata, as: 'metadata'
765
+ property :done, as: 'done'
766
+ property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
767
767
 
768
- property :next_page_token, as: 'nextPageToken'
768
+ hash :response, as: 'response'
769
769
  end
770
770
  end
771
771