google-api-client 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +13 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +6 -1
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +1 -1
  9. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  10. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -1
  11. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  12. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  13. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +13 -1
  14. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  15. data/generated/google/apis/container_v1beta1.rb +1 -1
  16. data/generated/google/apis/container_v1beta1/classes.rb +52 -0
  17. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  18. data/generated/google/apis/container_v1beta1/service.rb +78 -0
  19. data/generated/google/apis/content_v2.rb +1 -1
  20. data/generated/google/apis/content_v2/classes.rb +6 -11
  21. data/generated/google/apis/content_v2/representations.rb +0 -1
  22. data/generated/google/apis/content_v2sandbox.rb +1 -1
  23. data/generated/google/apis/content_v2sandbox/classes.rb +6 -11
  24. data/generated/google/apis/content_v2sandbox/representations.rb +0 -1
  25. data/generated/google/apis/dataproc_v1.rb +1 -1
  26. data/generated/google/apis/dataproc_v1/service.rb +3 -3
  27. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  28. data/generated/google/apis/dataproc_v1beta2/service.rb +3 -3
  29. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  30. data/generated/google/apis/videointelligence_v1beta1/classes.rb +149 -51
  31. data/generated/google/apis/videointelligence_v1beta1/representations.rb +66 -16
  32. data/generated/google/apis/vision_v1.rb +1 -1
  33. data/generated/google/apis/vision_v1/classes.rb +439 -563
  34. data/generated/google/apis/vision_v1/representations.rb +178 -178
  35. data/generated/google/apis/vision_v1/service.rb +8 -8
  36. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  37. data/generated/google/apis/youtube_v3.rb +1 -1
  38. data/lib/google/apis/version.rb +1 -1
  39. metadata +2 -6
  40. data/generated/google/apis/cloudmonitoring_v2beta2.rb +0 -37
  41. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +0 -679
  42. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +0 -353
  43. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +0 -453
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 341d99e39cba5f49855b88a975d26e055f3b36cf
4
- data.tar.gz: 081b80eebc1107f96dbcbfdba8cc01b66ac2b09e
3
+ metadata.gz: c3ef0a8acaefc34839b7e369024d3de9a22f6354
4
+ data.tar.gz: fb9a3b88f015fb2b0feb5f7a09f5e15db0db3d98
5
5
  SHA512:
6
- metadata.gz: 924e966723b808d72cf6ca811f735a837430fde7064f5ddcfd19203e82e494bc53aba603bdac2db21a9522e6e321391c7f5f102662d34a69a070917bc23e0e4e
7
- data.tar.gz: 6efd66109c5597b0e032778dcc9ee2ef0bf2766dbea08529cc2e3c33d17553ace23d86f1506a62edd8f9789a5d84b740f40b3187d5a03784319927aab1053cdb
6
+ metadata.gz: 4dc405db666ed2fc932377802cd47c4fac4572ab25aa00fba332cb7228b88ac175cc62b709fce51d19e2bfa24d3625448a1fad894c8268e7fc29d28508ac2ea8
7
+ data.tar.gz: 8ab2a9261ed173351e1686806552fc762194087036500e439e862d0ab6ddc3ad6a42295a209452fd646e7e4d5f7f6177e6eb81b0b06f09315539ca1b95a718ae
@@ -1,3 +1,21 @@
1
+ # 0.17.0
2
+ * Breaking changes:
3
+ * Deleted `cloudmonitoring_v2beta2`
4
+ * Backwards compatible changes:
5
+ * Updated `adexchangebuyer2_v2beta1`
6
+ * Updated `bigquery_v2`
7
+ * Updated `cloudfunctions_v1`
8
+ * Updated `cloudfunctions_v1beta2`
9
+ * Updated `container_v1beta1`
10
+ * Updated `content_v2`
11
+ * Updated `content_v2sandbox`
12
+ * Updated `dataproc_v1`
13
+ * Updated `dataproc_v1beta2`
14
+ * Updated `videointelligence_v1beta1`
15
+ * Updated `vision_v1`
16
+ * Updated `youtube_partner_v1`
17
+ * Updated `youtube_v3`
18
+
1
19
  # 0.16.0
2
20
  * Breaking changes:
3
21
  * Deleted `playmoviespartner_v1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20171030'
29
+ REVISION = '20171102'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -311,6 +311,18 @@ module Google
311
311
  # @return [String]
312
312
  attr_accessor :entity_type
313
313
 
314
+ # Optional arbitrary unique identifier of this client buyer from the
315
+ # standpoint of its Ad Exchange sponsor buyer.
316
+ # This field can be used to associate a client buyer with the identifier
317
+ # in the namespace of its sponsor buyer, lookup client buyers by that
318
+ # identifier and verify whether an Ad Exchange counterpart of a given client
319
+ # buyer already exists.
320
+ # If present, must be unique among all the client buyers for its
321
+ # Ad Exchange sponsor buyer.
322
+ # Corresponds to the JSON property `partnerClientId`
323
+ # @return [String]
324
+ attr_accessor :partner_client_id
325
+
314
326
  # The role which is assigned to the client buyer. Each role implies a set of
315
327
  # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
316
328
  # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
@@ -340,6 +352,7 @@ module Google
340
352
  @entity_id = args[:entity_id] if args.key?(:entity_id)
341
353
  @entity_name = args[:entity_name] if args.key?(:entity_name)
342
354
  @entity_type = args[:entity_type] if args.key?(:entity_type)
355
+ @partner_client_id = args[:partner_client_id] if args.key?(:partner_client_id)
343
356
  @role = args[:role] if args.key?(:role)
344
357
  @status = args[:status] if args.key?(:status)
345
358
  @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
@@ -446,6 +446,7 @@ module Google
446
446
  property :entity_id, :numeric_string => true, as: 'entityId'
447
447
  property :entity_name, as: 'entityName'
448
448
  property :entity_type, as: 'entityType'
449
+ property :partner_client_id, as: 'partnerClientId'
449
450
  property :role, as: 'role'
450
451
  property :status, as: 'status'
451
452
  property :visible_to_seller, as: 'visibleToSeller'
@@ -127,6 +127,10 @@ module Google
127
127
  # ListClientsResponse.nextPageToken
128
128
  # returned from the previous call to the
129
129
  # accounts.clients.list method.
130
+ # @param [String] partner_client_id
131
+ # Optional unique identifier (from the standpoint of an Ad Exchange sponsor
132
+ # buyer partner) of the client to return.
133
+ # If specified, at most one client will be returned in the response.
130
134
  # @param [String] fields
131
135
  # Selector specifying which fields to include in a partial response.
132
136
  # @param [String] quota_user
@@ -144,13 +148,14 @@ module Google
144
148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
147
- def list_account_clients(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
151
+ def list_account_clients(account_id, page_size: nil, page_token: nil, partner_client_id: nil, fields: nil, quota_user: nil, options: nil, &block)
148
152
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
149
153
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
150
154
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
151
155
  command.params['accountId'] = account_id unless account_id.nil?
152
156
  command.query['pageSize'] = page_size unless page_size.nil?
153
157
  command.query['pageToken'] = page_token unless page_token.nil?
158
+ command.query['partnerClientId'] = partner_client_id unless partner_client_id.nil?
154
159
  command.query['fields'] = fields unless fields.nil?
155
160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
156
161
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20171022'
28
+ REVISION = '20171027'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -1403,7 +1403,7 @@ module Google
1403
1403
  # @return [String]
1404
1404
  attr_accessor :schema_inline_format
1405
1405
 
1406
- # Allows the schema of the desitination table to be updated as a side effect of
1406
+ # Allows the schema of the destination table to be updated as a side effect of
1407
1407
  # the load job if a schema is autodetected or supplied in the job configuration.
1408
1408
  # Schema update options are supported in two cases: when writeDisposition is
1409
1409
  # WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/functions
27
27
  module CloudfunctionsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171017'
29
+ REVISION = '20171101'
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'
@@ -245,7 +245,7 @@ module Google
245
245
  # The hostname of the service that should be observed.
246
246
  # If no string is provided, the default service implementing the API will
247
247
  # be used. For example, `storage.googleapis.com` is the default for all
248
- # event types in the 'google.storage` namespace.
248
+ # event types in the `google.storage` namespace.
249
249
  # Corresponds to the JSON property `service`
250
250
  # @return [String]
251
251
  attr_accessor :service
@@ -615,6 +615,11 @@ module Google
615
615
  # @return [String]
616
616
  attr_accessor :type
617
617
 
618
+ # The last update timestamp of the operation.
619
+ # Corresponds to the JSON property `updateTime`
620
+ # @return [String]
621
+ attr_accessor :update_time
622
+
618
623
  # Version id of the function created or updated by an API call.
619
624
  # This field is only pupulated for Create and Update operations.
620
625
  # Corresponds to the JSON property `versionId`
@@ -630,6 +635,7 @@ module Google
630
635
  @request = args[:request] if args.key?(:request)
631
636
  @target = args[:target] if args.key?(:target)
632
637
  @type = args[:type] if args.key?(:type)
638
+ @update_time = args[:update_time] if args.key?(:update_time)
633
639
  @version_id = args[:version_id] if args.key?(:version_id)
634
640
  end
635
641
  end
@@ -654,6 +660,11 @@ module Google
654
660
  # @return [String]
655
661
  attr_accessor :type
656
662
 
663
+ # The last update timestamp of the operation.
664
+ # Corresponds to the JSON property `updateTime`
665
+ # @return [String]
666
+ attr_accessor :update_time
667
+
657
668
  # Version id of the function created or updated by an API call.
658
669
  # This field is only pupulated for Create and Update operations.
659
670
  # Corresponds to the JSON property `versionId`
@@ -669,6 +680,7 @@ module Google
669
680
  @request = args[:request] if args.key?(:request)
670
681
  @target = args[:target] if args.key?(:target)
671
682
  @type = args[:type] if args.key?(:type)
683
+ @update_time = args[:update_time] if args.key?(:update_time)
672
684
  @version_id = args[:version_id] if args.key?(:version_id)
673
685
  end
674
686
  end
@@ -290,6 +290,7 @@ module Google
290
290
  hash :request, as: 'request'
291
291
  property :target, as: 'target'
292
292
  property :type, as: 'type'
293
+ property :update_time, as: 'updateTime'
293
294
  property :version_id, :numeric_string => true, as: 'versionId'
294
295
  end
295
296
  end
@@ -300,6 +301,7 @@ module Google
300
301
  hash :request, as: 'request'
301
302
  property :target, as: 'target'
302
303
  property :type, as: 'type'
304
+ property :update_time, as: 'updateTime'
303
305
  property :version_id, :numeric_string => true, as: 'versionId'
304
306
  end
305
307
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/functions
27
27
  module CloudfunctionsV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20171017'
29
+ REVISION = '20171101'
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'
@@ -247,7 +247,7 @@ module Google
247
247
  # The hostname of the service that should be observed.
248
248
  # If no string is provided, the default service implementing the API will
249
249
  # be used. For example, `storage.googleapis.com` is the default for all
250
- # event types in the 'google.storage` namespace.
250
+ # event types in the `google.storage` namespace.
251
251
  # Corresponds to the JSON property `service`
252
252
  # @return [String]
253
253
  attr_accessor :service
@@ -616,6 +616,11 @@ module Google
616
616
  # @return [String]
617
617
  attr_accessor :type
618
618
 
619
+ # The last update timestamp of the operation.
620
+ # Corresponds to the JSON property `updateTime`
621
+ # @return [String]
622
+ attr_accessor :update_time
623
+
619
624
  # Version id of the function created or updated by an API call.
620
625
  # This field is only pupulated for Create and Update operations.
621
626
  # Corresponds to the JSON property `versionId`
@@ -631,6 +636,7 @@ module Google
631
636
  @request = args[:request] if args.key?(:request)
632
637
  @target = args[:target] if args.key?(:target)
633
638
  @type = args[:type] if args.key?(:type)
639
+ @update_time = args[:update_time] if args.key?(:update_time)
634
640
  @version_id = args[:version_id] if args.key?(:version_id)
635
641
  end
636
642
  end
@@ -655,6 +661,11 @@ module Google
655
661
  # @return [String]
656
662
  attr_accessor :type
657
663
 
664
+ # The last update timestamp of the operation.
665
+ # Corresponds to the JSON property `updateTime`
666
+ # @return [String]
667
+ attr_accessor :update_time
668
+
658
669
  # Version id of the function created or updated by an API call.
659
670
  # This field is only pupulated for Create and Update operations.
660
671
  # Corresponds to the JSON property `versionId`
@@ -670,6 +681,7 @@ module Google
670
681
  @request = args[:request] if args.key?(:request)
671
682
  @target = args[:target] if args.key?(:target)
672
683
  @type = args[:type] if args.key?(:type)
684
+ @update_time = args[:update_time] if args.key?(:update_time)
673
685
  @version_id = args[:version_id] if args.key?(:version_id)
674
686
  end
675
687
  end
@@ -291,6 +291,7 @@ module Google
291
291
  hash :request, as: 'request'
292
292
  property :target, as: 'target'
293
293
  property :type, as: 'type'
294
+ property :update_time, as: 'updateTime'
294
295
  property :version_id, :numeric_string => true, as: 'versionId'
295
296
  end
296
297
  end
@@ -301,6 +302,7 @@ module Google
301
302
  hash :request, as: 'request'
302
303
  property :target, as: 'target'
303
304
  property :type, as: 'type'
305
+ property :update_time, as: 'updateTime'
304
306
  property :version_id, :numeric_string => true, as: 'versionId'
305
307
  end
306
308
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170929'
29
+ REVISION = '20171020'
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'
@@ -1874,6 +1874,58 @@ module Google
1874
1874
  end
1875
1875
  end
1876
1876
 
1877
+ # SetLoggingServiceRequest sets the logging service of a cluster.
1878
+ class SetLoggingServiceRequest
1879
+ include Google::Apis::Core::Hashable
1880
+
1881
+ # The name of the cluster to upgrade.
1882
+ # This field is deprecated, use name instead.
1883
+ # Corresponds to the JSON property `clusterId`
1884
+ # @return [String]
1885
+ attr_accessor :cluster_id
1886
+
1887
+ # The logging service the cluster should use to write metrics.
1888
+ # Currently available options:
1889
+ # * "logging.googleapis.com" - the Google Cloud Logging service
1890
+ # * "none" - no metrics will be exported from the cluster
1891
+ # Corresponds to the JSON property `loggingService`
1892
+ # @return [String]
1893
+ attr_accessor :logging_service
1894
+
1895
+ # The name (project, location, cluster) of the cluster to set logging.
1896
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
1897
+ # Corresponds to the JSON property `name`
1898
+ # @return [String]
1899
+ attr_accessor :name
1900
+
1901
+ # The Google Developers Console [project ID or project
1902
+ # number](https://support.google.com/cloud/answer/6158840).
1903
+ # This field is deprecated, use name instead.
1904
+ # Corresponds to the JSON property `projectId`
1905
+ # @return [String]
1906
+ attr_accessor :project_id
1907
+
1908
+ # The name of the Google Compute Engine
1909
+ # [zone](/compute/docs/zones#available) in which the cluster
1910
+ # resides.
1911
+ # Corresponds to the JSON property `zone`
1912
+ # @return [String]
1913
+ attr_accessor :zone
1914
+
1915
+ def initialize(**args)
1916
+ update!(**args)
1917
+ end
1918
+
1919
+ # Update properties of this object
1920
+ def update!(**args)
1921
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1922
+ @logging_service = args[:logging_service] if args.key?(:logging_service)
1923
+ @name = args[:name] if args.key?(:name)
1924
+ @project_id = args[:project_id] if args.key?(:project_id)
1925
+ @zone = args[:zone] if args.key?(:zone)
1926
+ end
1927
+ end
1928
+
1877
1929
  # SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
1878
1930
  class SetMaintenancePolicyRequest
1879
1931
  include Google::Apis::Core::Hashable
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class SetLoggingServiceRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class SetMaintenancePolicyRequest
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -705,6 +711,17 @@ module Google
705
711
  end
706
712
  end
707
713
 
714
+ class SetLoggingServiceRequest
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :cluster_id, as: 'clusterId'
718
+ property :logging_service, as: 'loggingService'
719
+ property :name, as: 'name'
720
+ property :project_id, as: 'projectId'
721
+ property :zone, as: 'zone'
722
+ end
723
+ end
724
+
708
725
  class SetMaintenancePolicyRequest
709
726
  # @private
710
727
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -343,6 +343,40 @@ module Google
343
343
  execute_or_queue_command(command, &block)
344
344
  end
345
345
 
346
+ # Sets the logging service of a specific cluster.
347
+ # @param [String] name
348
+ # The name (project, location, cluster) of the cluster to set logging.
349
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
350
+ # @param [Google::Apis::ContainerV1beta1::SetLoggingServiceRequest] set_logging_service_request_object
351
+ # @param [String] fields
352
+ # Selector specifying which fields to include in a partial response.
353
+ # @param [String] quota_user
354
+ # Available to use for quota purposes for server-side applications. Can be any
355
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
356
+ # @param [Google::Apis::RequestOptions] options
357
+ # Request-specific options
358
+ #
359
+ # @yield [result, err] Result & error if block supplied
360
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
361
+ # @yieldparam err [StandardError] error object if request failed
362
+ #
363
+ # @return [Google::Apis::ContainerV1beta1::Operation]
364
+ #
365
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
366
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
367
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
368
+ def set_cluster_logging_service(name, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
369
+ command = make_simple_command(:post, 'v1beta1/{+name}:setLogging', options)
370
+ command.request_representation = Google::Apis::ContainerV1beta1::SetLoggingServiceRequest::Representation
371
+ command.request_object = set_logging_service_request_object
372
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
373
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
374
+ command.params['name'] = name unless name.nil?
375
+ command.query['fields'] = fields unless fields.nil?
376
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
377
+ execute_or_queue_command(command, &block)
378
+ end
379
+
346
380
  # Sets the maintenance policy for a cluster.
347
381
  # @param [String] name
348
382
  # The name (project, location, cluster id) of the cluster to set maintenance
@@ -1248,6 +1282,50 @@ module Google
1248
1282
  execute_or_queue_command(command, &block)
1249
1283
  end
1250
1284
 
1285
+ # Sets the logging service of a specific cluster.
1286
+ # @param [String] project_id
1287
+ # The Google Developers Console [project ID or project
1288
+ # number](https://support.google.com/cloud/answer/6158840).
1289
+ # This field is deprecated, use name instead.
1290
+ # @param [String] zone
1291
+ # The name of the Google Compute Engine
1292
+ # [zone](/compute/docs/zones#available) in which the cluster
1293
+ # resides.
1294
+ # @param [String] cluster_id
1295
+ # The name of the cluster to upgrade.
1296
+ # This field is deprecated, use name instead.
1297
+ # @param [Google::Apis::ContainerV1beta1::SetLoggingServiceRequest] set_logging_service_request_object
1298
+ # @param [String] fields
1299
+ # Selector specifying which fields to include in a partial response.
1300
+ # @param [String] quota_user
1301
+ # Available to use for quota purposes for server-side applications. Can be any
1302
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1303
+ # @param [Google::Apis::RequestOptions] options
1304
+ # Request-specific options
1305
+ #
1306
+ # @yield [result, err] Result & error if block supplied
1307
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1308
+ # @yieldparam err [StandardError] error object if request failed
1309
+ #
1310
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1311
+ #
1312
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1313
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1314
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1315
+ def logging_project_zone_cluster(project_id, zone, cluster_id, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1316
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options)
1317
+ command.request_representation = Google::Apis::ContainerV1beta1::SetLoggingServiceRequest::Representation
1318
+ command.request_object = set_logging_service_request_object
1319
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1320
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1321
+ command.params['projectId'] = project_id unless project_id.nil?
1322
+ command.params['zone'] = zone unless zone.nil?
1323
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1324
+ command.query['fields'] = fields unless fields.nil?
1325
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1326
+ execute_or_queue_command(command, &block)
1327
+ end
1328
+
1251
1329
  # Sets labels on a cluster.
1252
1330
  # @param [String] project_id
1253
1331
  # The Google Developers Console [project ID or project