google-api-client 0.19.4 → 0.19.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +4 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +53 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +19 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -13
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +4 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -136
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -33
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +197 -165
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +86 -75
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +194 -2
- data/generated/google/apis/content_v2/representations.rb +72 -0
- data/generated/google/apis/content_v2/service.rb +35 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +22 -28
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +8 -5
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +8 -5
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +8 -5
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/service.rb +25 -13
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +52 -0
- data/generated/google/apis/gmail_v1/representations.rb +16 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +69 -0
- data/generated/google/apis/iam_v1/representations.rb +41 -0
- data/generated/google/apis/iam_v1/service.rb +31 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +0 -31
- data/generated/google/apis/partners_v2/representations.rb +0 -15
- data/generated/google/apis/partners_v2/service.rb +0 -55
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +14 -7
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +95 -11
- data/generated/google/apis/tpu_v1alpha1/representations.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +139 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +128 -0
- data/generated/google/apis/vision_v1/representations.rb +43 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -126,14 +126,14 @@ module Google
|
|
126
126
|
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
|
127
127
|
# Read
|
128
128
|
# [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml)
|
129
|
-
#
|
129
|
+
# before using this method.
|
130
130
|
# @param [String] parent
|
131
131
|
# Required.
|
132
132
|
# The location name in which the queue will be created.
|
133
133
|
# For example: `projects/PROJECT_ID/locations/LOCATION_ID`
|
134
134
|
# The list of allowed locations can be obtained by calling Cloud
|
135
135
|
# Tasks' implementation of
|
136
|
-
#
|
136
|
+
# ListLocations.
|
137
137
|
# @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object
|
138
138
|
# @param [String] fields
|
139
139
|
# Selector specifying which fields to include in a partial response.
|
@@ -172,7 +172,7 @@ module Google
|
|
172
172
|
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
|
173
173
|
# Read
|
174
174
|
# [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml)
|
175
|
-
#
|
175
|
+
# before using this method.
|
176
176
|
# @param [String] name
|
177
177
|
# Required.
|
178
178
|
# The queue name. For example:
|
@@ -294,17 +294,17 @@ module Google
|
|
294
294
|
# Requested page size.
|
295
295
|
# The maximum page size is 9800. If unspecified, the page size will
|
296
296
|
# be the maximum. Fewer queues than requested might be returned,
|
297
|
-
# even if more queues exist; use
|
298
|
-
#
|
299
|
-
# queues exist.
|
297
|
+
# even if more queues exist; use the
|
298
|
+
# next_page_token in the
|
299
|
+
# response to determine if more queues exist.
|
300
300
|
# @param [String] page_token
|
301
301
|
# A token identifying the page of results to return.
|
302
302
|
# To request the first page results, page_token must be empty. To
|
303
303
|
# request the next page of results, page_token must be the value of
|
304
|
-
#
|
305
|
-
# call to
|
306
|
-
# switch the value of
|
307
|
-
# through pages.
|
304
|
+
# next_page_token returned
|
305
|
+
# from the previous call to ListQueues
|
306
|
+
# method. It is an error to switch the value of the
|
307
|
+
# filter while iterating through pages.
|
308
308
|
# @param [String] fields
|
309
309
|
# Selector specifying which fields to include in a partial response.
|
310
310
|
# @param [String] quota_user
|
@@ -346,7 +346,7 @@ module Google
|
|
346
346
|
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
|
347
347
|
# Read
|
348
348
|
# [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml)
|
349
|
-
#
|
349
|
+
# before using this method.
|
350
350
|
# @param [String] name
|
351
351
|
# The queue name.
|
352
352
|
# The queue name must have the following format:
|
@@ -358,12 +358,12 @@ module Google
|
|
358
358
|
# identifying_projects)
|
359
359
|
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
360
360
|
# The list of available locations can be obtained by calling
|
361
|
-
#
|
361
|
+
# ListLocations.
|
362
362
|
# For more information, see https://cloud.google.com/about/locations/.
|
363
363
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
364
364
|
# hyphens (-). The maximum length is 100 characters.
|
365
|
-
# Caller-specified and required in
|
366
|
-
# it becomes output only.
|
365
|
+
# Caller-specified and required in CreateQueue,
|
366
|
+
# after which it becomes output only.
|
367
367
|
# @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object
|
368
368
|
# @param [String] update_mask
|
369
369
|
# A mask used to specify which fields of the queue are being updated.
|
@@ -399,12 +399,11 @@ module Google
|
|
399
399
|
end
|
400
400
|
|
401
401
|
# Pauses the queue.
|
402
|
-
# If a queue is paused then the system will stop
|
403
|
-
#
|
404
|
-
#
|
405
|
-
# queue is paused.
|
406
|
-
#
|
407
|
-
# Queue.State.PAUSED.
|
402
|
+
# If a queue is paused then the system will stop dispatching tasks
|
403
|
+
# until the queue is resumed via
|
404
|
+
# ResumeQueue. Tasks can still be added
|
405
|
+
# when the queue is paused. A queue is paused if its
|
406
|
+
# state is PAUSED.
|
408
407
|
# @param [String] name
|
409
408
|
# Required.
|
410
409
|
# The queue name. For example:
|
@@ -479,9 +478,10 @@ module Google
|
|
479
478
|
|
480
479
|
# Resume a queue.
|
481
480
|
# This method resumes a queue after it has been
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
481
|
+
# PAUSED or
|
482
|
+
# DISABLED. The state of a queue is stored
|
483
|
+
# in the queue's state; after calling this method it
|
484
|
+
# will be set to RUNNING.
|
485
485
|
# WARNING: Resuming many high-QPS queues at the same time can
|
486
486
|
# lead to target overloading. If you are resuming high-QPS
|
487
487
|
# queues, follow the 500/50/5 pattern described in
|
@@ -563,7 +563,7 @@ module Google
|
|
563
563
|
|
564
564
|
# Returns permissions that a caller has on a Queue.
|
565
565
|
# If the resource does not exist, this will return an empty set of
|
566
|
-
# permissions, not a
|
566
|
+
# permissions, not a NOT_FOUND error.
|
567
567
|
# Note: This operation is designed to be used for building permission-aware
|
568
568
|
# UIs and command-line tools, not for authorization checking. This operation
|
569
569
|
# may "fail open" without warning.
|
@@ -601,15 +601,16 @@ module Google
|
|
601
601
|
end
|
602
602
|
|
603
603
|
# Acknowledges a pull task.
|
604
|
-
# The worker, that is, the entity that
|
605
|
-
#
|
606
|
-
# the work associated with the task has finished.
|
604
|
+
# The worker, that is, the entity that
|
605
|
+
# leased this task must call this method
|
606
|
+
# to indicate that the work associated with the task has finished.
|
607
607
|
# The worker must acknowledge a task within the
|
608
|
-
#
|
609
|
-
# the task will become
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
608
|
+
# lease_duration or the lease
|
609
|
+
# will expire and the task will become available to be leased
|
610
|
+
# again. After the task is acknowledged, it will not be returned
|
611
|
+
# by a later LeaseTasks,
|
612
|
+
# GetTask, or
|
613
|
+
# ListTasks.
|
613
614
|
# To acknowledge multiple tasks at the same time, use
|
614
615
|
# [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
|
615
616
|
# or the batching documentation for your client library, for example
|
@@ -649,9 +650,10 @@ module Google
|
|
649
650
|
end
|
650
651
|
|
651
652
|
# Cancel a pull task's lease.
|
652
|
-
# The worker can use this method to cancel a task's lease
|
653
|
-
#
|
654
|
-
# available to be leased to the next caller of
|
653
|
+
# The worker can use this method to cancel a task's lease by
|
654
|
+
# setting its schedule_time to now. This will
|
655
|
+
# make the task available to be leased to the next caller of
|
656
|
+
# LeaseTasks.
|
655
657
|
# @param [String] name
|
656
658
|
# Required.
|
657
659
|
# The task name. For example:
|
@@ -774,14 +776,14 @@ module Google
|
|
774
776
|
# @param [String] response_view
|
775
777
|
# The response_view specifies which subset of the Task will be
|
776
778
|
# returned.
|
777
|
-
# By default response_view is
|
779
|
+
# By default response_view is BASIC; not all
|
778
780
|
# information is retrieved by default because some data, such as
|
779
781
|
# payloads, might be desirable to return only when needed because
|
780
782
|
# of its large size or because of the sensitivity of data that it
|
781
783
|
# contains.
|
782
|
-
# Authorization for
|
783
|
-
# [Google IAM](/iam/) permission on the
|
784
|
-
# Task
|
784
|
+
# Authorization for FULL requires
|
785
|
+
# `cloudtasks.tasks.fullView` [Google IAM](/iam/) permission on the
|
786
|
+
# Task resource.
|
785
787
|
# @param [String] fields
|
786
788
|
# Selector specifying which fields to include in a partial response.
|
787
789
|
# @param [String] quota_user
|
@@ -810,19 +812,25 @@ module Google
|
|
810
812
|
execute_or_queue_command(command, &block)
|
811
813
|
end
|
812
814
|
|
813
|
-
# Leases tasks from a pull queue for
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
815
|
+
# Leases tasks from a pull queue for
|
816
|
+
# lease_duration.
|
817
|
+
# This method is invoked by the worker to obtain a lease. The
|
818
|
+
# worker must acknowledge the task via
|
819
|
+
# AcknowledgeTask after they have
|
820
|
+
# performed the work associated with the task.
|
821
|
+
# The payload is intended to store data that
|
822
|
+
# the worker needs to perform the work associated with the task. To
|
823
|
+
# return the payloads in the response, set
|
824
|
+
# response_view to
|
825
|
+
# FULL.
|
826
|
+
# A maximum of 10 qps of LeaseTasks
|
827
|
+
# requests are allowed per
|
828
|
+
# queue. RESOURCE_EXHAUSTED
|
829
|
+
# is returned when this limit is
|
830
|
+
# exceeded. RESOURCE_EXHAUSTED
|
831
|
+
# is also returned when
|
832
|
+
# max_tasks_dispatched_per_second
|
833
|
+
# is exceeded.
|
826
834
|
# @param [String] parent
|
827
835
|
# Required.
|
828
836
|
# The queue name. For example:
|
@@ -858,9 +866,9 @@ module Google
|
|
858
866
|
end
|
859
867
|
|
860
868
|
# Lists the tasks in a queue.
|
861
|
-
# By default
|
862
|
-
#
|
863
|
-
#
|
869
|
+
# By default, only the BASIC view is retrieved
|
870
|
+
# due to performance considerations;
|
871
|
+
# response_view controls the
|
864
872
|
# subset of information which is returned.
|
865
873
|
# @param [String] parent
|
866
874
|
# Required.
|
@@ -876,26 +884,27 @@ module Google
|
|
876
884
|
# The maximum page size is 1000. If unspecified, the page size will
|
877
885
|
# be the maximum. Fewer tasks than requested might be returned,
|
878
886
|
# even if more tasks exist; use
|
879
|
-
#
|
880
|
-
# exist.
|
887
|
+
# next_page_token in the
|
888
|
+
# response to determine if more tasks exist.
|
881
889
|
# @param [String] page_token
|
882
890
|
# A token identifying the page of results to return.
|
883
891
|
# To request the first page results, page_token must be empty. To
|
884
892
|
# request the next page of results, page_token must be the value of
|
885
|
-
#
|
886
|
-
# call to
|
893
|
+
# next_page_token returned
|
894
|
+
# from the previous call to ListTasks
|
895
|
+
# method.
|
887
896
|
# The page token is valid for only 2 hours.
|
888
897
|
# @param [String] response_view
|
889
898
|
# The response_view specifies which subset of the Task will be
|
890
899
|
# returned.
|
891
|
-
# By default response_view is
|
900
|
+
# By default response_view is BASIC; not all
|
892
901
|
# information is retrieved by default because some data, such as
|
893
902
|
# payloads, might be desirable to return only when needed because
|
894
903
|
# of its large size or because of the sensitivity of data that it
|
895
904
|
# contains.
|
896
|
-
# Authorization for
|
897
|
-
# [Google IAM](/iam/) permission on the
|
898
|
-
# Task
|
905
|
+
# Authorization for FULL requires
|
906
|
+
# `cloudtasks.tasks.fullView` [Google IAM](/iam/) permission on the
|
907
|
+
# Task resource.
|
899
908
|
# @param [String] fields
|
900
909
|
# Selector specifying which fields to include in a partial response.
|
901
910
|
# @param [String] quota_user
|
@@ -930,7 +939,7 @@ module Google
|
|
930
939
|
# Renew the current lease of a pull task.
|
931
940
|
# The worker can use this method to extend the lease by a new
|
932
941
|
# duration, starting from now. The new task lease will be
|
933
|
-
# returned in
|
942
|
+
# returned in the task's schedule_time.
|
934
943
|
# @param [String] name
|
935
944
|
# Required.
|
936
945
|
# The task name. For example:
|
@@ -967,25 +976,27 @@ module Google
|
|
967
976
|
|
968
977
|
# Forces a task to run now.
|
969
978
|
# This command is meant to be used for manual debugging. For
|
970
|
-
# example,
|
979
|
+
# example, RunTask can be used to retry a failed
|
971
980
|
# task after a fix has been made or to manually force a task to be
|
972
981
|
# dispatched now.
|
973
982
|
# When this method is called, Cloud Tasks will dispatch the task to its
|
974
|
-
# target, even if the queue is
|
983
|
+
# target, even if the queue is PAUSED.
|
975
984
|
# The dispatched task is returned. That is, the task that is returned
|
976
|
-
# contains the
|
985
|
+
# contains the status after the task is dispatched but
|
977
986
|
# before the task is received by its target.
|
978
987
|
# If Cloud Tasks receives a successful response from the task's
|
979
988
|
# handler, then the task will be deleted; otherwise the task's
|
980
|
-
#
|
981
|
-
#
|
989
|
+
# schedule_time will be reset to the time that
|
990
|
+
# RunTask was called plus the retry delay specified
|
982
991
|
# in the queue and task's RetryConfig.
|
983
|
-
#
|
984
|
-
# it is called on a
|
985
|
-
#
|
986
|
-
#
|
987
|
-
#
|
988
|
-
#
|
992
|
+
# RunTask returns
|
993
|
+
# NOT_FOUND when it is called on a
|
994
|
+
# task that has already succeeded or permanently
|
995
|
+
# failed. FAILED_PRECONDITION
|
996
|
+
# is returned when RunTask is called on task
|
997
|
+
# that is dispatched or already running.
|
998
|
+
# RunTask cannot be called on
|
999
|
+
# pull tasks.
|
989
1000
|
# @param [String] name
|
990
1001
|
# Required.
|
991
1002
|
# The task name. For example:
|
@@ -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 = '
|
29
|
+
REVISION = '20180122'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -1865,6 +1865,12 @@ module Google
|
|
1865
1865
|
class DeliveryTime
|
1866
1866
|
include Google::Apis::Core::Hashable
|
1867
1867
|
|
1868
|
+
# Holiday cutoff definitions. If configured, they specify order cutoff times for
|
1869
|
+
# holiday-specific shipping.
|
1870
|
+
# Corresponds to the JSON property `holidayCutoffs`
|
1871
|
+
# @return [Array<Google::Apis::ContentV2::HolidayCutoff>]
|
1872
|
+
attr_accessor :holiday_cutoffs
|
1873
|
+
|
1868
1874
|
# Maximum number of business days that is spent in transit. 0 means same day
|
1869
1875
|
# delivery, 1 means next day delivery. Must be greater than or equal to
|
1870
1876
|
# minTransitTimeInDays. Required.
|
@@ -1884,6 +1890,7 @@ module Google
|
|
1884
1890
|
|
1885
1891
|
# Update properties of this object
|
1886
1892
|
def update!(**args)
|
1893
|
+
@holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs)
|
1887
1894
|
@max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
|
1888
1895
|
@min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
|
1889
1896
|
end
|
@@ -2010,6 +2017,110 @@ module Google
|
|
2010
2017
|
end
|
2011
2018
|
end
|
2012
2019
|
|
2020
|
+
#
|
2021
|
+
class HolidayCutoff
|
2022
|
+
include Google::Apis::Core::Hashable
|
2023
|
+
|
2024
|
+
# Date of the order deadline, in ISO 8601 format. E.g. "2016-11-29" for 29th
|
2025
|
+
# November 2016. Required.
|
2026
|
+
# Corresponds to the JSON property `deadlineDate`
|
2027
|
+
# @return [String]
|
2028
|
+
attr_accessor :deadline_date
|
2029
|
+
|
2030
|
+
# Hour of the day on the deadline date until which the order has to be placed to
|
2031
|
+
# qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, ...,
|
2032
|
+
# 12 (noon), 13, ..., 23. Required.
|
2033
|
+
# Corresponds to the JSON property `deadlineHour`
|
2034
|
+
# @return [Fixnum]
|
2035
|
+
attr_accessor :deadline_hour
|
2036
|
+
|
2037
|
+
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
2038
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
2039
|
+
# Corresponds to the JSON property `deadlineTimezone`
|
2040
|
+
# @return [String]
|
2041
|
+
attr_accessor :deadline_timezone
|
2042
|
+
|
2043
|
+
# Unique identifier for the holiday. Required.
|
2044
|
+
# Corresponds to the JSON property `holidayId`
|
2045
|
+
# @return [String]
|
2046
|
+
attr_accessor :holiday_id
|
2047
|
+
|
2048
|
+
# Date on which the deadline will become visible to consumers in ISO 8601 format.
|
2049
|
+
# E.g. "2016-10-31" for 31st October 2016. Required.
|
2050
|
+
# Corresponds to the JSON property `visibleFromDate`
|
2051
|
+
# @return [String]
|
2052
|
+
attr_accessor :visible_from_date
|
2053
|
+
|
2054
|
+
def initialize(**args)
|
2055
|
+
update!(**args)
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
# Update properties of this object
|
2059
|
+
def update!(**args)
|
2060
|
+
@deadline_date = args[:deadline_date] if args.key?(:deadline_date)
|
2061
|
+
@deadline_hour = args[:deadline_hour] if args.key?(:deadline_hour)
|
2062
|
+
@deadline_timezone = args[:deadline_timezone] if args.key?(:deadline_timezone)
|
2063
|
+
@holiday_id = args[:holiday_id] if args.key?(:holiday_id)
|
2064
|
+
@visible_from_date = args[:visible_from_date] if args.key?(:visible_from_date)
|
2065
|
+
end
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
#
|
2069
|
+
class HolidaysHoliday
|
2070
|
+
include Google::Apis::Core::Hashable
|
2071
|
+
|
2072
|
+
# The CLDR territory code of the country in which the holiday is available. E.g.
|
2073
|
+
# "US", "DE", "GB". A holiday cutoff can only be configured in a shipping
|
2074
|
+
# settings service with matching delivery country. Always present.
|
2075
|
+
# Corresponds to the JSON property `countryCode`
|
2076
|
+
# @return [String]
|
2077
|
+
attr_accessor :country_code
|
2078
|
+
|
2079
|
+
# Date of the holiday, in ISO 8601 format. E.g. "2016-12-25" for Christmas 2016.
|
2080
|
+
# Always present.
|
2081
|
+
# Corresponds to the JSON property `date`
|
2082
|
+
# @return [String]
|
2083
|
+
attr_accessor :date
|
2084
|
+
|
2085
|
+
# Date on which the order has to arrive at the customer's, in ISO 8601 format. E.
|
2086
|
+
# g. "2016-12-24" for 24th December 2016. Always present.
|
2087
|
+
# Corresponds to the JSON property `deliveryGuaranteeDate`
|
2088
|
+
# @return [String]
|
2089
|
+
attr_accessor :delivery_guarantee_date
|
2090
|
+
|
2091
|
+
# Hour of the day in the delivery location's timezone on the guaranteed delivery
|
2092
|
+
# date by which the order has to arrive at the customer's. Possible values are:
|
2093
|
+
# 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
|
2094
|
+
# Corresponds to the JSON property `deliveryGuaranteeHour`
|
2095
|
+
# @return [Fixnum]
|
2096
|
+
attr_accessor :delivery_guarantee_hour
|
2097
|
+
|
2098
|
+
# Unique identifier for the holiday to be used when configuring holiday cutoffs.
|
2099
|
+
# Always present.
|
2100
|
+
# Corresponds to the JSON property `id`
|
2101
|
+
# @return [String]
|
2102
|
+
attr_accessor :id
|
2103
|
+
|
2104
|
+
# The holiday type. Always present.
|
2105
|
+
# Corresponds to the JSON property `type`
|
2106
|
+
# @return [String]
|
2107
|
+
attr_accessor :type
|
2108
|
+
|
2109
|
+
def initialize(**args)
|
2110
|
+
update!(**args)
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
# Update properties of this object
|
2114
|
+
def update!(**args)
|
2115
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
2116
|
+
@date = args[:date] if args.key?(:date)
|
2117
|
+
@delivery_guarantee_date = args[:delivery_guarantee_date] if args.key?(:delivery_guarantee_date)
|
2118
|
+
@delivery_guarantee_hour = args[:delivery_guarantee_hour] if args.key?(:delivery_guarantee_hour)
|
2119
|
+
@id = args[:id] if args.key?(:id)
|
2120
|
+
@type = args[:type] if args.key?(:type)
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2013
2124
|
#
|
2014
2125
|
class Installment
|
2015
2126
|
include Google::Apis::Core::Hashable
|
@@ -6108,6 +6219,11 @@ module Google
|
|
6108
6219
|
# @return [String]
|
6109
6220
|
attr_accessor :google_expiration_date
|
6110
6221
|
|
6222
|
+
# A list of all issues associated with the product.
|
6223
|
+
# Corresponds to the JSON property `itemLevelIssues`
|
6224
|
+
# @return [Array<Google::Apis::ContentV2::ProductStatusItemLevelIssue>]
|
6225
|
+
attr_accessor :item_level_issues
|
6226
|
+
|
6111
6227
|
# Identifies what kind of resource this is. Value: the fixed string "content#
|
6112
6228
|
# productStatus".
|
6113
6229
|
# Corresponds to the JSON property `kind`
|
@@ -6149,6 +6265,7 @@ module Google
|
|
6149
6265
|
@data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
|
6150
6266
|
@destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
|
6151
6267
|
@google_expiration_date = args[:google_expiration_date] if args.key?(:google_expiration_date)
|
6268
|
+
@item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues)
|
6152
6269
|
@kind = args[:kind] if args.key?(:kind)
|
6153
6270
|
@last_update_date = args[:last_update_date] if args.key?(:last_update_date)
|
6154
6271
|
@link = args[:link] if args.key?(:link)
|
@@ -6223,6 +6340,12 @@ module Google
|
|
6223
6340
|
class ProductStatusDestinationStatus
|
6224
6341
|
include Google::Apis::Core::Hashable
|
6225
6342
|
|
6343
|
+
# Whether the approval status might change due to further processing.
|
6344
|
+
# Corresponds to the JSON property `approvalPending`
|
6345
|
+
# @return [Boolean]
|
6346
|
+
attr_accessor :approval_pending
|
6347
|
+
alias_method :approval_pending?, :approval_pending
|
6348
|
+
|
6226
6349
|
# The destination's approval status.
|
6227
6350
|
# Corresponds to the JSON property `approvalStatus`
|
6228
6351
|
# @return [String]
|
@@ -6233,8 +6356,7 @@ module Google
|
|
6233
6356
|
# @return [String]
|
6234
6357
|
attr_accessor :destination
|
6235
6358
|
|
6236
|
-
#
|
6237
|
-
# be validated.
|
6359
|
+
# Provided for backward compatibility only. Always set to "required".
|
6238
6360
|
# Corresponds to the JSON property `intention`
|
6239
6361
|
# @return [String]
|
6240
6362
|
attr_accessor :intention
|
@@ -6245,12 +6367,56 @@ module Google
|
|
6245
6367
|
|
6246
6368
|
# Update properties of this object
|
6247
6369
|
def update!(**args)
|
6370
|
+
@approval_pending = args[:approval_pending] if args.key?(:approval_pending)
|
6248
6371
|
@approval_status = args[:approval_status] if args.key?(:approval_status)
|
6249
6372
|
@destination = args[:destination] if args.key?(:destination)
|
6250
6373
|
@intention = args[:intention] if args.key?(:intention)
|
6251
6374
|
end
|
6252
6375
|
end
|
6253
6376
|
|
6377
|
+
#
|
6378
|
+
class ProductStatusItemLevelIssue
|
6379
|
+
include Google::Apis::Core::Hashable
|
6380
|
+
|
6381
|
+
# The attribute's name, if the issue is caused by a single attribute.
|
6382
|
+
# Corresponds to the JSON property `attributeName`
|
6383
|
+
# @return [String]
|
6384
|
+
attr_accessor :attribute_name
|
6385
|
+
|
6386
|
+
# The error code of the issue.
|
6387
|
+
# Corresponds to the JSON property `code`
|
6388
|
+
# @return [String]
|
6389
|
+
attr_accessor :code
|
6390
|
+
|
6391
|
+
# The destination the issue applies to.
|
6392
|
+
# Corresponds to the JSON property `destination`
|
6393
|
+
# @return [String]
|
6394
|
+
attr_accessor :destination
|
6395
|
+
|
6396
|
+
# Whether the issue can be resolved by the merchant.
|
6397
|
+
# Corresponds to the JSON property `resolution`
|
6398
|
+
# @return [String]
|
6399
|
+
attr_accessor :resolution
|
6400
|
+
|
6401
|
+
# How this issue affects serving of the offer.
|
6402
|
+
# Corresponds to the JSON property `servability`
|
6403
|
+
# @return [String]
|
6404
|
+
attr_accessor :servability
|
6405
|
+
|
6406
|
+
def initialize(**args)
|
6407
|
+
update!(**args)
|
6408
|
+
end
|
6409
|
+
|
6410
|
+
# Update properties of this object
|
6411
|
+
def update!(**args)
|
6412
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
6413
|
+
@code = args[:code] if args.key?(:code)
|
6414
|
+
@destination = args[:destination] if args.key?(:destination)
|
6415
|
+
@resolution = args[:resolution] if args.key?(:resolution)
|
6416
|
+
@servability = args[:servability] if args.key?(:servability)
|
6417
|
+
end
|
6418
|
+
end
|
6419
|
+
|
6254
6420
|
#
|
6255
6421
|
class ProductTax
|
6256
6422
|
include Google::Apis::Core::Hashable
|
@@ -6990,6 +7156,32 @@ module Google
|
|
6990
7156
|
end
|
6991
7157
|
end
|
6992
7158
|
|
7159
|
+
#
|
7160
|
+
class ShippingsettingsGetSupportedHolidaysResponse
|
7161
|
+
include Google::Apis::Core::Hashable
|
7162
|
+
|
7163
|
+
# A list of holidays applicable for delivery guarantees. May be empty.
|
7164
|
+
# Corresponds to the JSON property `holidays`
|
7165
|
+
# @return [Array<Google::Apis::ContentV2::HolidaysHoliday>]
|
7166
|
+
attr_accessor :holidays
|
7167
|
+
|
7168
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
7169
|
+
# shippingsettingsGetSupportedHolidaysResponse".
|
7170
|
+
# Corresponds to the JSON property `kind`
|
7171
|
+
# @return [String]
|
7172
|
+
attr_accessor :kind
|
7173
|
+
|
7174
|
+
def initialize(**args)
|
7175
|
+
update!(**args)
|
7176
|
+
end
|
7177
|
+
|
7178
|
+
# Update properties of this object
|
7179
|
+
def update!(**args)
|
7180
|
+
@holidays = args[:holidays] if args.key?(:holidays)
|
7181
|
+
@kind = args[:kind] if args.key?(:kind)
|
7182
|
+
end
|
7183
|
+
end
|
7184
|
+
|
6993
7185
|
#
|
6994
7186
|
class ShippingsettingsListResponse
|
6995
7187
|
include Google::Apis::Core::Hashable
|