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.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +238 -10
  9. data/generated/google/apis/admin_directory_v1/representations.rb +101 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +529 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -0
  13. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +9 -0
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +1 -0
  17. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v2/classes.rb +34 -0
  19. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +21 -17
  22. data/generated/google/apis/appengine_v1beta.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta/classes.rb +21 -17
  24. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  25. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +326 -0
  28. data/generated/google/apis/calendar_v3/representations.rb +118 -0
  29. data/generated/google/apis/calendar_v3/service.rb +28 -4
  30. data/generated/google/apis/classroom_v1.rb +1 -1
  31. data/generated/google/apis/classroom_v1/classes.rb +69 -0
  32. data/generated/google/apis/classroom_v1/representations.rb +31 -0
  33. data/generated/google/apis/classroom_v1/service.rb +88 -0
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +49 -0
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -0
  37. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  38. data/generated/google/apis/cloudfunctions_v1/classes.rb +9 -12
  39. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +25 -0
  41. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +4 -0
  42. data/generated/google/apis/cloudresourcemanager_v1/service.rb +8 -3
  43. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +7 -3
  45. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -6
  47. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +19 -13
  48. data/generated/google/apis/cloudshell_v1.rb +35 -0
  49. data/generated/google/apis/cloudshell_v1/classes.rb +409 -0
  50. data/generated/google/apis/cloudshell_v1/representations.rb +161 -0
  51. data/generated/google/apis/cloudshell_v1/service.rb +214 -0
  52. data/generated/google/apis/cloudshell_v1alpha1.rb +35 -0
  53. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +403 -0
  54. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +160 -0
  55. data/generated/google/apis/cloudshell_v1alpha1/service.rb +237 -0
  56. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +106 -13
  58. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +31 -1
  59. data/generated/google/apis/cloudtasks_v2beta2/service.rb +63 -8
  60. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  61. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  62. data/generated/google/apis/container_v1.rb +2 -2
  63. data/generated/google/apis/container_v1/classes.rb +6 -7
  64. data/generated/google/apis/container_v1/service.rb +2 -2
  65. data/generated/google/apis/container_v1beta1.rb +2 -2
  66. data/generated/google/apis/container_v1beta1/classes.rb +4 -4
  67. data/generated/google/apis/container_v1beta1/service.rb +3 -3
  68. data/generated/google/apis/content_v2.rb +1 -1
  69. data/generated/google/apis/content_v2/classes.rb +257 -0
  70. data/generated/google/apis/content_v2/representations.rb +114 -0
  71. data/generated/google/apis/content_v2/service.rb +84 -0
  72. data/generated/google/apis/content_v2sandbox.rb +1 -1
  73. data/generated/google/apis/content_v2sandbox/classes.rb +257 -0
  74. data/generated/google/apis/content_v2sandbox/representations.rb +114 -0
  75. data/generated/google/apis/content_v2sandbox/service.rb +84 -0
  76. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  77. data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
  78. data/generated/google/apis/digitalassetlinks_v1.rb +32 -0
  79. data/generated/google/apis/digitalassetlinks_v1/classes.rb +305 -0
  80. data/generated/google/apis/digitalassetlinks_v1/representations.rb +133 -0
  81. data/generated/google/apis/digitalassetlinks_v1/service.rb +324 -0
  82. data/generated/google/apis/dlp_v2beta2.rb +36 -0
  83. data/generated/google/apis/dlp_v2beta2/classes.rb +5475 -0
  84. data/generated/google/apis/dlp_v2beta2/representations.rb +2734 -0
  85. data/generated/google/apis/dlp_v2beta2/service.rb +1135 -0
  86. data/generated/google/apis/drive_v2.rb +1 -1
  87. data/generated/google/apis/drive_v2/service.rb +25 -16
  88. data/generated/google/apis/drive_v3.rb +1 -1
  89. data/generated/google/apis/drive_v3/service.rb +1 -1
  90. data/generated/google/apis/monitoring_v3.rb +1 -1
  91. data/generated/google/apis/monitoring_v3/classes.rb +50 -1
  92. data/generated/google/apis/monitoring_v3/representations.rb +16 -0
  93. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  94. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -5
  95. data/generated/google/apis/slides_v1.rb +4 -1
  96. data/generated/google/apis/speech_v1.rb +1 -4
  97. data/generated/google/apis/speech_v1beta1.rb +1 -4
  98. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  99. data/generated/google/apis/streetviewpublish_v1/classes.rb +0 -2
  100. data/generated/google/apis/streetviewpublish_v1/service.rb +6 -0
  101. data/generated/google/apis/testing_v1.rb +1 -1
  102. data/generated/google/apis/testing_v1/classes.rb +81 -0
  103. data/generated/google/apis/testing_v1/representations.rb +45 -0
  104. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  105. data/generated/google/apis/youtube_v3.rb +1 -1
  106. data/generated/google/apis/youtube_v3/classes.rb +0 -6
  107. data/generated/google/apis/youtube_v3/representations.rb +0 -1
  108. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  109. data/generated/google/apis/youtubereporting_v1/classes.rb +576 -19
  110. data/generated/google/apis/youtubereporting_v1/representations.rb +218 -12
  111. data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
  112. data/lib/google/apis/version.rb +1 -1
  113. metadata +18 -2
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class LeaseTasksRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class LeaseTasksResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class ListLocationsResponse
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -305,6 +317,24 @@ module Google
305
317
  end
306
318
  end
307
319
 
320
+ class LeaseTasksRequest
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ property :filter, as: 'filter'
324
+ property :lease_duration, as: 'leaseDuration'
325
+ property :max_tasks, as: 'maxTasks'
326
+ property :response_view, as: 'responseView'
327
+ end
328
+ end
329
+
330
+ class LeaseTasksResponse
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation
334
+
335
+ end
336
+ end
337
+
308
338
  class ListLocationsResponse
309
339
  # @private
310
340
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,7 +513,7 @@ module Google
483
513
  property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation
484
514
 
485
515
  property :schedule_time, as: 'scheduleTime'
486
- property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
516
+ property :status, as: 'status', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
487
517
 
488
518
  property :view, as: 'view'
489
519
  end
@@ -118,6 +118,10 @@ module Google
118
118
  end
119
119
 
120
120
  # Creates a queue.
121
+ # Queues created with this method allow tasks to live for a maximum of 31
122
+ # days. After a task is 31 days old, the task will be deleted regardless of
123
+ # whether
124
+ # it was dispatched or not.
121
125
  # WARNING: Using this method may have unintended side effects if you are
122
126
  # using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
123
127
  # Read
@@ -334,6 +338,10 @@ module Google
334
338
  # Updates a queue.
335
339
  # This method creates the queue if it does not exist and updates
336
340
  # the queue if it does exist.
341
+ # Queues created with this method allow tasks to live for a maximum of 31
342
+ # days. After a task is 31 days old, the task will be deleted regardless of
343
+ # whether
344
+ # it was dispatched or not.
337
345
  # WARNING: Using this method may have unintended side effects if you are
338
346
  # using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
339
347
  # Read
@@ -593,10 +601,10 @@ module Google
593
601
  end
594
602
 
595
603
  # Acknowledges a pull task.
596
- # The lease holder, that is, the entity that received this task in
604
+ # The pull worker, that is, the entity that received this task in
597
605
  # a PullTasksResponse, must call this method to indicate that
598
606
  # the work associated with the task has finished.
599
- # The lease holder must acknowledge a task within the
607
+ # The pull worker must acknowledge a task within the
600
608
  # PullTasksRequest.lease_duration or the lease will expire and
601
609
  # the task will become ready to be returned in a different
602
610
  # PullTasksResponse. After the task is acknowledged, it will
@@ -641,7 +649,7 @@ module Google
641
649
  end
642
650
 
643
651
  # Cancel a pull task's lease.
644
- # The lease holder can use this method to cancel a task's lease
652
+ # The pull worker can use this method to cancel a task's lease
645
653
  # by setting Task.schedule_time to now. This will make the task
646
654
  # available to be leased to the next caller of CloudTasks.PullTasks.
647
655
  # @param [String] name
@@ -802,6 +810,53 @@ module Google
802
810
  execute_or_queue_command(command, &block)
803
811
  end
804
812
 
813
+ # Leases tasks from a pull queue for LeaseTasksRequest.lease_duration.
814
+ # This method is invoked by the pull worker to obtain a
815
+ # lease. The pull worker must acknowledge the task via
816
+ # CloudTasks.AcknowledgeTask after they have performed the work
817
+ # associated with the task.
818
+ # The payload is intended to store data that the pull worker needs
819
+ # to perform the work associated with the task. To return the
820
+ # payloads in the LeaseTasksResponse, set
821
+ # LeaseTasksRequest.response_view to Task.View.FULL.
822
+ # A maximum of 10 qps of CloudTasks.LeaseTasks requests are allowed per
823
+ # queue. google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit
824
+ # is exceeded. google.rpc.Code.RESOURCE_EXHAUSTED is also returned when
825
+ # RateLimits.max_tasks_dispatched_per_second is exceeded.
826
+ # @param [String] parent
827
+ # Required.
828
+ # The queue name. For example:
829
+ # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
830
+ # @param [Google::Apis::CloudtasksV2beta2::LeaseTasksRequest] lease_tasks_request_object
831
+ # @param [String] fields
832
+ # Selector specifying which fields to include in a partial response.
833
+ # @param [String] quota_user
834
+ # Available to use for quota purposes for server-side applications. Can be any
835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
836
+ # @param [Google::Apis::RequestOptions] options
837
+ # Request-specific options
838
+ #
839
+ # @yield [result, err] Result & error if block supplied
840
+ # @yieldparam result [Google::Apis::CloudtasksV2beta2::LeaseTasksResponse] parsed result object
841
+ # @yieldparam err [StandardError] error object if request failed
842
+ #
843
+ # @return [Google::Apis::CloudtasksV2beta2::LeaseTasksResponse]
844
+ #
845
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
846
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
847
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
848
+ def lease_tasks(parent, lease_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
849
+ command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
850
+ command.request_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksRequest::Representation
851
+ command.request_object = lease_tasks_request_object
852
+ command.response_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksResponse::Representation
853
+ command.response_class = Google::Apis::CloudtasksV2beta2::LeaseTasksResponse
854
+ command.params['parent'] = parent unless parent.nil?
855
+ command.query['fields'] = fields unless fields.nil?
856
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
857
+ execute_or_queue_command(command, &block)
858
+ end
859
+
805
860
  # Lists the tasks in a queue.
806
861
  # By default response_view is Task.View.BASIC; not all
807
862
  # information is retrieved by default due to performance
@@ -874,11 +929,11 @@ module Google
874
929
 
875
930
  # Pulls tasks from a pull queue and acquires a lease on them for a
876
931
  # specified PullTasksRequest.lease_duration.
877
- # This method is invoked by the lease holder to obtain the
878
- # lease. The lease holder must acknowledge the task via
932
+ # This method is invoked by the pull worker to obtain the
933
+ # lease. The pull worker must acknowledge the task via
879
934
  # CloudTasks.AcknowledgeTask after they have performed the work
880
935
  # associated with the task.
881
- # The payload is intended to store data that the lease holder needs
936
+ # The payload is intended to store data that the pull worker needs
882
937
  # to perform the work associated with the task. To return the
883
938
  # payloads in the PullTasksResponse, set
884
939
  # PullTasksRequest.response_view to Task.View.FULL.
@@ -921,7 +976,7 @@ module Google
921
976
  end
922
977
 
923
978
  # Renew the current lease of a pull task.
924
- # The lease holder can use this method to extend the lease by a new
979
+ # The pull worker can use this method to extend the lease by a new
925
980
  # duration, starting from now. The new task lease will be
926
981
  # returned in Task.schedule_time.
927
982
  # @param [String] name
@@ -966,7 +1021,7 @@ module Google
966
1021
  # When this method is called, Cloud Tasks will dispatch the task to its
967
1022
  # target, even if the queue is Queue.State.PAUSED.
968
1023
  # The dispatched task is returned. That is, the task that is returned
969
- # contains the Task.task_status after the task is dispatched but
1024
+ # contains the Task.status after the task is dispatched but
970
1025
  # before the task is received by its target.
971
1026
  # If Cloud Tasks receives a successful response from the task's
972
1027
  # handler, then the task will be deleted; otherwise the task's
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/trace
28
28
  module CloudtraceV2
29
29
  VERSION = 'V2'
30
- REVISION = '20171106'
30
+ REVISION = '20171214'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -110,8 +110,8 @@ module Google
110
110
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
111
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
112
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
- def create_project_trace_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block)
114
- command = make_simple_command(:post, 'v2/{+name}/spans', options)
113
+ def create_project_trace_span_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block)
114
+ command = make_simple_command(:post, 'v2/{+name}', options)
115
115
  command.request_representation = Google::Apis::CloudtraceV2::Span::Representation
116
116
  command.request_object = span_object
117
117
  command.response_representation = Google::Apis::CloudtraceV2::Span::Representation
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Google Container Engine API
22
22
  #
23
- # The Google Container Engine API is used for building and managing container
23
+ # The Google Kubernetes Engine API is used for building and managing container
24
24
  # based applications, powered by the open source Kubernetes technology.
25
25
  #
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171111'
29
+ REVISION = '20171127'
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'
@@ -178,7 +178,7 @@ module Google
178
178
  end
179
179
  end
180
180
 
181
- # A Google Container Engine cluster.
181
+ # A Google Kubernetes Engine cluster.
182
182
  class Cluster
183
183
  include Google::Apis::Core::Hashable
184
184
 
@@ -576,7 +576,7 @@ module Google
576
576
  class CreateClusterRequest
577
577
  include Google::Apis::Core::Hashable
578
578
 
579
- # A Google Container Engine cluster.
579
+ # A Google Kubernetes Engine cluster.
580
580
  # Corresponds to the JSON property `cluster`
581
581
  # @return [Google::Apis::ContainerV1::Cluster]
582
582
  attr_accessor :cluster
@@ -1518,7 +1518,7 @@ module Google
1518
1518
  end
1519
1519
  end
1520
1520
 
1521
- # Container Engine service configuration.
1521
+ # Kubernetes Engine service configuration.
1522
1522
  class ServerConfig
1523
1523
  include Google::Apis::Core::Hashable
1524
1524
 
@@ -1589,7 +1589,7 @@ module Google
1589
1589
 
1590
1590
  # The fingerprint of the previous set of labels for this resource,
1591
1591
  # used to detect conflicts. The fingerprint is initially generated by
1592
- # Container Engine and changes after every request to modify or update
1592
+ # Kubernetes Engine and changes after every request to modify or update
1593
1593
  # labels. You must always provide an up-to-date fingerprint hash when
1594
1594
  # updating or changing labels. Make a <code>get()</code> request to the
1595
1595
  # resource to get the latest fingerprint.
@@ -1868,9 +1868,8 @@ module Google
1868
1868
  class UpdateMasterRequest
1869
1869
  include Google::Apis::Core::Hashable
1870
1870
 
1871
- # The Kubernetes version to change the master to. The only valid value is the
1872
- # latest supported version. Use "-" to have the server automatically select
1873
- # the latest version.
1871
+ # The Kubernetes version to change the master to. Use "-" to have the server
1872
+ # automatically select the default version.
1874
1873
  # Corresponds to the JSON property `masterVersion`
1875
1874
  # @return [String]
1876
1875
  attr_accessor :master_version
@@ -22,7 +22,7 @@ module Google
22
22
  module ContainerV1
23
23
  # Google Container Engine API
24
24
  #
25
- # The Google Container Engine API is used for building and managing container
25
+ # The Google Kubernetes Engine API is used for building and managing container
26
26
  # based applications, powered by the open source Kubernetes technology.
27
27
  #
28
28
  # @example
@@ -48,7 +48,7 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Returns configuration info about the Container Engine service.
51
+ # Returns configuration info about the Kubernetes Engine service.
52
52
  # @param [String] project_id
53
53
  # The Google Developers Console [project ID or project
54
54
  # number](https://support.google.com/cloud/answer/6158840).
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Google Container Engine API
22
22
  #
23
- # The Google Container Engine API is used for building and managing container
23
+ # The Google Kubernetes Engine API is used for building and managing container
24
24
  # based applications, powered by the open source Kubernetes technology.
25
25
  #
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20171111'
29
+ REVISION = '20171127'
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'
@@ -208,7 +208,7 @@ module Google
208
208
  end
209
209
  end
210
210
 
211
- # A Google Container Engine cluster.
211
+ # A Google Kubernetes Engine cluster.
212
212
  class Cluster
213
213
  include Google::Apis::Core::Hashable
214
214
 
@@ -638,7 +638,7 @@ module Google
638
638
  class CreateClusterRequest
639
639
  include Google::Apis::Core::Hashable
640
640
 
641
- # A Google Container Engine cluster.
641
+ # A Google Kubernetes Engine cluster.
642
642
  # Corresponds to the JSON property `cluster`
643
643
  # @return [Google::Apis::ContainerV1beta1::Cluster]
644
644
  attr_accessor :cluster
@@ -1731,7 +1731,7 @@ module Google
1731
1731
  end
1732
1732
  end
1733
1733
 
1734
- # Container Engine service configuration.
1734
+ # Kubernetes Engine service configuration.
1735
1735
  class ServerConfig
1736
1736
  include Google::Apis::Core::Hashable
1737
1737
 
@@ -1839,7 +1839,7 @@ module Google
1839
1839
 
1840
1840
  # The fingerprint of the previous set of labels for this resource,
1841
1841
  # used to detect conflicts. The fingerprint is initially generated by
1842
- # Container Engine and changes after every request to modify or update
1842
+ # Kubernetes Engine and changes after every request to modify or update
1843
1843
  # labels. You must always provide an up-to-date fingerprint hash when
1844
1844
  # updating or changing labels. Make a <code>get()</code> request to the
1845
1845
  # resource to get the latest fingerprint.
@@ -22,7 +22,7 @@ module Google
22
22
  module ContainerV1beta1
23
23
  # Google Container Engine API
24
24
  #
25
- # The Google Container Engine API is used for building and managing container
25
+ # The Google Kubernetes Engine API is used for building and managing container
26
26
  # based applications, powered by the open source Kubernetes technology.
27
27
  #
28
28
  # @example
@@ -48,7 +48,7 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Returns configuration info about the Container Engine service.
51
+ # Returns configuration info about the Kubernetes Engine service.
52
52
  # @param [String] name
53
53
  # The name (project and location) of the server config to get
54
54
  # Specified in the format 'projects/*/locations/*'.
@@ -1164,7 +1164,7 @@ module Google
1164
1164
  execute_or_queue_command(command, &block)
1165
1165
  end
1166
1166
 
1167
- # Returns configuration info about the Container Engine service.
1167
+ # Returns configuration info about the Kubernetes Engine service.
1168
1168
  # @param [String] project_id
1169
1169
  # The Google Developers Console [project ID or project
1170
1170
  # number](https://support.google.com/cloud/answer/6158840).
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20171124'
29
+ REVISION = '20171207'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -2729,6 +2729,11 @@ module Google
2729
2729
  class OrderLineItem
2730
2730
  include Google::Apis::Core::Hashable
2731
2731
 
2732
+ # Annotations that are attached to the line item.
2733
+ # Corresponds to the JSON property `annotations`
2734
+ # @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
2735
+ attr_accessor :annotations
2736
+
2732
2737
  # Cancellations of the line item.
2733
2738
  # Corresponds to the JSON property `cancellations`
2734
2739
  # @return [Array<Google::Apis::ContentV2::OrderCancellation>]
@@ -2807,6 +2812,7 @@ module Google
2807
2812
 
2808
2813
  # Update properties of this object
2809
2814
  def update!(**args)
2815
+ @annotations = args[:annotations] if args.key?(:annotations)
2810
2816
  @cancellations = args[:cancellations] if args.key?(:cancellations)
2811
2817
  @id = args[:id] if args.key?(:id)
2812
2818
  @price = args[:price] if args.key?(:price)
@@ -3055,6 +3061,33 @@ module Google
3055
3061
  end
3056
3062
  end
3057
3063
 
3064
+ #
3065
+ class OrderMerchantProvidedAnnotation
3066
+ include Google::Apis::Core::Hashable
3067
+
3068
+ # Key for additional merchant provided (as key-value pairs) annotation about the
3069
+ # line item.
3070
+ # Corresponds to the JSON property `key`
3071
+ # @return [String]
3072
+ attr_accessor :key
3073
+
3074
+ # Value for additional merchant provided (as key-value pairs) annotation about
3075
+ # the line item.
3076
+ # Corresponds to the JSON property `value`
3077
+ # @return [String]
3078
+ attr_accessor :value
3079
+
3080
+ def initialize(**args)
3081
+ update!(**args)
3082
+ end
3083
+
3084
+ # Update properties of this object
3085
+ def update!(**args)
3086
+ @key = args[:key] if args.key?(:key)
3087
+ @value = args[:value] if args.key?(:value)
3088
+ end
3089
+ end
3090
+
3058
3091
  #
3059
3092
  class OrderPaymentMethod
3060
3093
  include Google::Apis::Core::Hashable
@@ -3760,11 +3793,21 @@ module Google
3760
3793
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem]
3761
3794
  attr_accessor :return_line_item
3762
3795
 
3796
+ # Required for setLineItemMetadata method.
3797
+ # Corresponds to the JSON property `setLineItemMetadata`
3798
+ # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata]
3799
+ attr_accessor :set_line_item_metadata
3800
+
3763
3801
  # Required for shipLineItems method.
3764
3802
  # Corresponds to the JSON property `shipLineItems`
3765
3803
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems]
3766
3804
  attr_accessor :ship_line_items
3767
3805
 
3806
+ # Required for updateLineItemShippingDate method.
3807
+ # Corresponds to the JSON property `updateLineItemShippingDetails`
3808
+ # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails]
3809
+ attr_accessor :update_line_item_shipping_details
3810
+
3768
3811
  # Required for updateShipment method.
3769
3812
  # Corresponds to the JSON property `updateShipment`
3770
3813
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment]
@@ -3786,7 +3829,9 @@ module Google
3786
3829
  @order_id = args[:order_id] if args.key?(:order_id)
3787
3830
  @refund = args[:refund] if args.key?(:refund)
3788
3831
  @return_line_item = args[:return_line_item] if args.key?(:return_line_item)
3832
+ @set_line_item_metadata = args[:set_line_item_metadata] if args.key?(:set_line_item_metadata)
3789
3833
  @ship_line_items = args[:ship_line_items] if args.key?(:ship_line_items)
3834
+ @update_line_item_shipping_details = args[:update_line_item_shipping_details] if args.key?(:update_line_item_shipping_details)
3790
3835
  @update_shipment = args[:update_shipment] if args.key?(:update_shipment)
3791
3836
  end
3792
3837
  end
@@ -3970,6 +4015,39 @@ module Google
3970
4015
  end
3971
4016
  end
3972
4017
 
4018
+ #
4019
+ class OrdersCustomBatchRequestEntrySetLineItemMetadata
4020
+ include Google::Apis::Core::Hashable
4021
+
4022
+ #
4023
+ # Corresponds to the JSON property `annotations`
4024
+ # @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
4025
+ attr_accessor :annotations
4026
+
4027
+ # The ID of the line item to set metadata. Either lineItemId or productId is
4028
+ # required.
4029
+ # Corresponds to the JSON property `lineItemId`
4030
+ # @return [String]
4031
+ attr_accessor :line_item_id
4032
+
4033
+ # The ID of the product to set metadata. This is the REST ID used in the
4034
+ # products service. Either lineItemId or productId is required.
4035
+ # Corresponds to the JSON property `productId`
4036
+ # @return [String]
4037
+ attr_accessor :product_id
4038
+
4039
+ def initialize(**args)
4040
+ update!(**args)
4041
+ end
4042
+
4043
+ # Update properties of this object
4044
+ def update!(**args)
4045
+ @annotations = args[:annotations] if args.key?(:annotations)
4046
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
4047
+ @product_id = args[:product_id] if args.key?(:product_id)
4048
+ end
4049
+ end
4050
+
3973
4051
  #
3974
4052
  class OrdersCustomBatchRequestEntryShipLineItems
3975
4053
  include Google::Apis::Core::Hashable
@@ -4048,6 +4126,47 @@ module Google
4048
4126
  end
4049
4127
  end
4050
4128
 
4129
+ #
4130
+ class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # Updated delivery by date, in ISO 8601 format. If not specified only ship by
4134
+ # date is updated.
4135
+ # Corresponds to the JSON property `deliverByDate`
4136
+ # @return [String]
4137
+ attr_accessor :deliver_by_date
4138
+
4139
+ # The ID of the line item to set metadata. Either lineItemId or productId is
4140
+ # required.
4141
+ # Corresponds to the JSON property `lineItemId`
4142
+ # @return [String]
4143
+ attr_accessor :line_item_id
4144
+
4145
+ # The ID of the product to set metadata. This is the REST ID used in the
4146
+ # products service. Either lineItemId or productId is required.
4147
+ # Corresponds to the JSON property `productId`
4148
+ # @return [String]
4149
+ attr_accessor :product_id
4150
+
4151
+ # Updated ship by date, in ISO 8601 format. If not specified only deliver by
4152
+ # date is updated.
4153
+ # Corresponds to the JSON property `shipByDate`
4154
+ # @return [String]
4155
+ attr_accessor :ship_by_date
4156
+
4157
+ def initialize(**args)
4158
+ update!(**args)
4159
+ end
4160
+
4161
+ # Update properties of this object
4162
+ def update!(**args)
4163
+ @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
4164
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
4165
+ @product_id = args[:product_id] if args.key?(:product_id)
4166
+ @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
4167
+ end
4168
+ end
4169
+
4051
4170
  #
4052
4171
  class OrdersCustomBatchRequestEntryUpdateShipment
4053
4172
  include Google::Apis::Core::Hashable
@@ -4394,6 +4513,71 @@ module Google
4394
4513
  end
4395
4514
  end
4396
4515
 
4516
+ #
4517
+ class OrdersSetLineItemMetadataRequest
4518
+ include Google::Apis::Core::Hashable
4519
+
4520
+ #
4521
+ # Corresponds to the JSON property `annotations`
4522
+ # @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
4523
+ attr_accessor :annotations
4524
+
4525
+ # The ID of the line item to set metadata. Either lineItemId or productId is
4526
+ # required.
4527
+ # Corresponds to the JSON property `lineItemId`
4528
+ # @return [String]
4529
+ attr_accessor :line_item_id
4530
+
4531
+ # The ID of the operation. Unique across all operations for a given order.
4532
+ # Corresponds to the JSON property `operationId`
4533
+ # @return [String]
4534
+ attr_accessor :operation_id
4535
+
4536
+ # The ID of the product to set metadata. This is the REST ID used in the
4537
+ # products service. Either lineItemId or productId is required.
4538
+ # Corresponds to the JSON property `productId`
4539
+ # @return [String]
4540
+ attr_accessor :product_id
4541
+
4542
+ def initialize(**args)
4543
+ update!(**args)
4544
+ end
4545
+
4546
+ # Update properties of this object
4547
+ def update!(**args)
4548
+ @annotations = args[:annotations] if args.key?(:annotations)
4549
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
4550
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
4551
+ @product_id = args[:product_id] if args.key?(:product_id)
4552
+ end
4553
+ end
4554
+
4555
+ #
4556
+ class OrdersSetLineItemMetadataResponse
4557
+ include Google::Apis::Core::Hashable
4558
+
4559
+ # The status of the execution.
4560
+ # Corresponds to the JSON property `executionStatus`
4561
+ # @return [String]
4562
+ attr_accessor :execution_status
4563
+
4564
+ # Identifies what kind of resource this is. Value: the fixed string "content#
4565
+ # ordersSetLineItemMetadataResponse".
4566
+ # Corresponds to the JSON property `kind`
4567
+ # @return [String]
4568
+ attr_accessor :kind
4569
+
4570
+ def initialize(**args)
4571
+ update!(**args)
4572
+ end
4573
+
4574
+ # Update properties of this object
4575
+ def update!(**args)
4576
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
4577
+ @kind = args[:kind] if args.key?(:kind)
4578
+ end
4579
+ end
4580
+
4397
4581
  #
4398
4582
  class OrdersShipLineItemsRequest
4399
4583
  include Google::Apis::Core::Hashable
@@ -4472,6 +4656,79 @@ module Google
4472
4656
  end
4473
4657
  end
4474
4658
 
4659
+ #
4660
+ class OrdersUpdateLineItemShippingDetailsRequest
4661
+ include Google::Apis::Core::Hashable
4662
+
4663
+ # Updated delivery by date, in ISO 8601 format. If not specified only ship by
4664
+ # date is updated.
4665
+ # Corresponds to the JSON property `deliverByDate`
4666
+ # @return [String]
4667
+ attr_accessor :deliver_by_date
4668
+
4669
+ # The ID of the line item to set metadata. Either lineItemId or productId is
4670
+ # required.
4671
+ # Corresponds to the JSON property `lineItemId`
4672
+ # @return [String]
4673
+ attr_accessor :line_item_id
4674
+
4675
+ # The ID of the operation. Unique across all operations for a given order.
4676
+ # Corresponds to the JSON property `operationId`
4677
+ # @return [String]
4678
+ attr_accessor :operation_id
4679
+
4680
+ # The ID of the product to set metadata. This is the REST ID used in the
4681
+ # products service. Either lineItemId or productId is required.
4682
+ # Corresponds to the JSON property `productId`
4683
+ # @return [String]
4684
+ attr_accessor :product_id
4685
+
4686
+ # Updated ship by date, in ISO 8601 format. If not specified only deliver by
4687
+ # date is updated.
4688
+ # Corresponds to the JSON property `shipByDate`
4689
+ # @return [String]
4690
+ attr_accessor :ship_by_date
4691
+
4692
+ def initialize(**args)
4693
+ update!(**args)
4694
+ end
4695
+
4696
+ # Update properties of this object
4697
+ def update!(**args)
4698
+ @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
4699
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
4700
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
4701
+ @product_id = args[:product_id] if args.key?(:product_id)
4702
+ @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
4703
+ end
4704
+ end
4705
+
4706
+ #
4707
+ class OrdersUpdateLineItemShippingDetailsResponse
4708
+ include Google::Apis::Core::Hashable
4709
+
4710
+ # The status of the execution.
4711
+ # Corresponds to the JSON property `executionStatus`
4712
+ # @return [String]
4713
+ attr_accessor :execution_status
4714
+
4715
+ # Identifies what kind of resource this is. Value: the fixed string "content#
4716
+ # ordersUpdateLineItemShippingDetailsResponse".
4717
+ # Corresponds to the JSON property `kind`
4718
+ # @return [String]
4719
+ attr_accessor :kind
4720
+
4721
+ def initialize(**args)
4722
+ update!(**args)
4723
+ end
4724
+
4725
+ # Update properties of this object
4726
+ def update!(**args)
4727
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
4728
+ @kind = args[:kind] if args.key?(:kind)
4729
+ end
4730
+ end
4731
+
4475
4732
  #
4476
4733
  class OrdersUpdateMerchantOrderIdRequest
4477
4734
  include Google::Apis::Core::Hashable