google-api-client 0.49.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +81 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +114 -11
- data/generated/google/apis/apigee_v1/representations.rb +39 -1
- data/generated/google/apis/apigee_v1/service.rb +370 -2
- data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +35 -13
- data/generated/google/apis/compute_v1/representations.rb +2 -0
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +446 -4
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +36 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -2
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
- data/generated/google/apis/displayvideo_v1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
- data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
- data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -2
- data/generated/google/apis/logging_v2/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +9 -6
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
- data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
- data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +58 -0
- data/generated/google/apis/redis_v1/representations.rb +20 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -6
- data/generated/google/apis/run_v1/representations.rb +0 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +6 -6
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -302,11 +302,11 @@ module Google
|
|
302
302
|
# formatting rules or naming constraints described in the CreateFolder
|
303
303
|
# documentation. The Folder's display name must start and end with a letter or
|
304
304
|
# digit, may contain letters, digits, spaces, hyphens and underscores and can be
|
305
|
-
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
309
|
-
#
|
305
|
+
# between 3 and 30 characters. This is captured by the regular expression: `\p`L`
|
306
|
+
# \p`N``1,28`[\p`L`\p`N`]`. The caller must have `resourcemanager.folders.update`
|
307
|
+
# permission on the identified folder. If the update fails due to the unique
|
308
|
+
# name constraint then a PreconditionFailure explaining this violation will be
|
309
|
+
# returned in the Status.details field.
|
310
310
|
# @param [String] name
|
311
311
|
# Output only. The resource name of the Folder. Its format is `folders/`
|
312
312
|
# folder_id``, for example: "folders/1234".
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201022'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1542,8 +1542,8 @@ module Google
|
|
1542
1542
|
|
1543
1543
|
# Represents an Autoscaler resource.
|
1544
1544
|
# Google Compute Engine has two Autoscaler resources:
|
1545
|
-
# * [
|
1546
|
-
#
|
1545
|
+
# * [Zonal](/compute/docs/reference/rest/`$api_version`/autoscalers) * [Regional]
|
1546
|
+
# (/compute/docs/reference/rest/`$api_version`/regionAutoscalers)
|
1547
1547
|
# Use autoscalers to automatically add or delete instances from a managed
|
1548
1548
|
# instance group according to your defined autoscaling policy. For more
|
1549
1549
|
# information, read Autoscaling Groups of Instances.
|
@@ -5823,7 +5823,7 @@ module Google
|
|
5823
5823
|
class DistributionPolicy
|
5824
5824
|
include Google::Apis::Core::Hashable
|
5825
5825
|
|
5826
|
-
# Zones where the regional managed instance group will create and manage
|
5826
|
+
# Zones where the regional managed instance group will create and manage its
|
5827
5827
|
# instances.
|
5828
5828
|
# Corresponds to the JSON property `zones`
|
5829
5829
|
# @return [Array<Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration>]
|
@@ -11395,8 +11395,8 @@ module Google
|
|
11395
11395
|
# @return [String]
|
11396
11396
|
attr_accessor :description
|
11397
11397
|
|
11398
|
-
# Policy specifying intended distribution of instances
|
11399
|
-
# instance group.
|
11398
|
+
# Policy specifying the intended distribution of managed instances across zones
|
11399
|
+
# in a regional managed instance group.
|
11400
11400
|
# Corresponds to the JSON property `distributionPolicy`
|
11401
11401
|
# @return [Google::Apis::ComputeV1::DistributionPolicy]
|
11402
11402
|
attr_accessor :distribution_policy
|
@@ -11425,7 +11425,9 @@ module Google
|
|
11425
11425
|
|
11426
11426
|
# The URL of the instance template that is specified for this managed instance
|
11427
11427
|
# group. The group uses this template to create all new instances in the managed
|
11428
|
-
# instance group.
|
11428
|
+
# instance group. The templates for existing instances in the group do not
|
11429
|
+
# change unless you run recreateInstances, run applyUpdatesToInstances, or set
|
11430
|
+
# the group's updatePolicy.type to PROACTIVE.
|
11429
11431
|
# Corresponds to the JSON property `instanceTemplate`
|
11430
11432
|
# @return [String]
|
11431
11433
|
attr_accessor :instance_template
|
@@ -11501,7 +11503,7 @@ module Google
|
|
11501
11503
|
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerVersion>]
|
11502
11504
|
attr_accessor :versions
|
11503
11505
|
|
11504
|
-
# [Output Only] The URL of
|
11506
|
+
# [Output Only] The URL of a zone where the managed instance group is located (
|
11505
11507
|
# for zonal resources).
|
11506
11508
|
# Corresponds to the JSON property `zone`
|
11507
11509
|
# @return [String]
|
@@ -12086,7 +12088,11 @@ module Google
|
|
12086
12088
|
|
12087
12089
|
# The URL of the instance template that is specified for this managed instance
|
12088
12090
|
# group. The group uses this template to create new instances in the managed
|
12089
|
-
# instance group until the `targetSize` for this version is reached.
|
12091
|
+
# instance group until the `targetSize` for this version is reached. The
|
12092
|
+
# templates for existing instances in the group do not change unless you run
|
12093
|
+
# recreateInstances, run applyUpdatesToInstances, or set the group's
|
12094
|
+
# updatePolicy.type to PROACTIVE; in those cases, existing instances are updated
|
12095
|
+
# until the `targetSize` for this version is reached.
|
12090
12096
|
# Corresponds to the JSON property `instanceTemplate`
|
12091
12097
|
# @return [String]
|
12092
12098
|
attr_accessor :instance_template
|
@@ -12543,7 +12549,9 @@ module Google
|
|
12543
12549
|
|
12544
12550
|
# The URL of the instance template that is specified for this managed instance
|
12545
12551
|
# group. The group uses this template to create all new instances in the managed
|
12546
|
-
# instance group.
|
12552
|
+
# instance group. The templates for existing instances in the group do not
|
12553
|
+
# change unless you run recreateInstances, run applyUpdatesToInstances, or set
|
12554
|
+
# the group's updatePolicy.type to PROACTIVE.
|
12547
12555
|
# Corresponds to the JSON property `instanceTemplate`
|
12548
12556
|
# @return [String]
|
12549
12557
|
attr_accessor :instance_template
|
@@ -21171,6 +21179,12 @@ module Google
|
|
21171
21179
|
# @return [Array<String>]
|
21172
21180
|
attr_accessor :cidr_ranges
|
21173
21181
|
|
21182
|
+
# Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default
|
21183
|
+
# is BOTH.
|
21184
|
+
# Corresponds to the JSON property `direction`
|
21185
|
+
# @return [String]
|
21186
|
+
attr_accessor :direction
|
21187
|
+
|
21174
21188
|
def initialize(**args)
|
21175
21189
|
update!(**args)
|
21176
21190
|
end
|
@@ -21179,6 +21193,7 @@ module Google
|
|
21179
21193
|
def update!(**args)
|
21180
21194
|
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
|
21181
21195
|
@cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges)
|
21196
|
+
@direction = args[:direction] if args.key?(:direction)
|
21182
21197
|
end
|
21183
21198
|
end
|
21184
21199
|
|
@@ -25871,6 +25886,12 @@ module Google
|
|
25871
25886
|
# @return [Array<String>]
|
25872
25887
|
attr_accessor :drain_nat_ips
|
25873
25888
|
|
25889
|
+
#
|
25890
|
+
# Corresponds to the JSON property `enableEndpointIndependentMapping`
|
25891
|
+
# @return [Boolean]
|
25892
|
+
attr_accessor :enable_endpoint_independent_mapping
|
25893
|
+
alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
|
25894
|
+
|
25874
25895
|
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
25875
25896
|
# Corresponds to the JSON property `icmpIdleTimeoutSec`
|
25876
25897
|
# @return [Fixnum]
|
@@ -25956,6 +25977,7 @@ module Google
|
|
25956
25977
|
# Update properties of this object
|
25957
25978
|
def update!(**args)
|
25958
25979
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
25980
|
+
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
25959
25981
|
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
25960
25982
|
@log_config = args[:log_config] if args.key?(:log_config)
|
25961
25983
|
@min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
|
@@ -28255,10 +28277,10 @@ module Google
|
|
28255
28277
|
end
|
28256
28278
|
end
|
28257
28279
|
|
28258
|
-
# Represents
|
28259
|
-
#
|
28260
|
-
#
|
28261
|
-
#
|
28280
|
+
# Represents an SSL Policy resource.
|
28281
|
+
# Use SSL policies to control the SSL features, such as versions and cipher
|
28282
|
+
# suites, offered by an HTTPS or SSL Proxy load balancer. For more information,
|
28283
|
+
# read SSL Policy Concepts. (== resource_for `$api_version`.sslPolicies ==)
|
28262
28284
|
class SslPolicy
|
28263
28285
|
include Google::Apis::Core::Hashable
|
28264
28286
|
|
@@ -9863,6 +9863,7 @@ module Google
|
|
9863
9863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9864
9864
|
collection :ip_protocols, as: 'IPProtocols'
|
9865
9865
|
collection :cidr_ranges, as: 'cidrRanges'
|
9866
|
+
property :direction, as: 'direction'
|
9866
9867
|
end
|
9867
9868
|
end
|
9868
9869
|
|
@@ -11102,6 +11103,7 @@ module Google
|
|
11102
11103
|
# @private
|
11103
11104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11104
11105
|
collection :drain_nat_ips, as: 'drainNatIps'
|
11106
|
+
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
11105
11107
|
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
11106
11108
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::RouterNatLogConfig, decorator: Google::Apis::ComputeV1::RouterNatLogConfig::Representation
|
11107
11109
|
|
@@ -7754,7 +7754,8 @@ module Google
|
|
7754
7754
|
|
7755
7755
|
# Specifies the instance template to use when creating new instances in this
|
7756
7756
|
# group. The templates for existing instances in the group do not change unless
|
7757
|
-
# you
|
7757
|
+
# you run recreateInstances, run applyUpdatesToInstances, or set the group's
|
7758
|
+
# updatePolicy.type to PROACTIVE.
|
7758
7759
|
# @param [String] project
|
7759
7760
|
# Project ID for this request.
|
7760
7761
|
# @param [String] zone
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/shopping-content/v2/
|
26
26
|
module ContentV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201104'
|
29
29
|
|
30
30
|
# Manage your product listings and accounts for Google Shopping
|
31
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -708,7 +708,9 @@ module Google
|
|
708
708
|
execute_or_queue_command(command, &block)
|
709
709
|
end
|
710
710
|
|
711
|
-
# Invokes a fetch for the datafeed in your Merchant Center account.
|
711
|
+
# Invokes a fetch for the datafeed in your Merchant Center account. If you need
|
712
|
+
# to call this method more than once per day, we recommend you use the Products
|
713
|
+
# service to update your product data.
|
712
714
|
# @param [Fixnum] merchant_id
|
713
715
|
# The ID of the account that manages the datafeed. This account cannot be a
|
714
716
|
# multi-client account.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/shopping-content/v2/
|
26
26
|
module ContentV2_1
|
27
27
|
VERSION = 'V2_1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201104'
|
29
29
|
|
30
30
|
# Manage your product listings and accounts for Google Shopping
|
31
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -2496,6 +2496,91 @@ module Google
|
|
2496
2496
|
end
|
2497
2497
|
end
|
2498
2498
|
|
2499
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
2500
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
2501
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
2502
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
2503
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
2504
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
2505
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
2506
|
+
# considered not to have a specific year. month and day must have valid, non-
|
2507
|
+
# zero values. This type may also be used to represent a physical time if all
|
2508
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
2509
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
2510
|
+
# case also would like to store the user's timezone, that can be done in another
|
2511
|
+
# field. This type is more flexible than some applications may want. Make sure
|
2512
|
+
# to document and validate your application's limitations.
|
2513
|
+
class DateTime
|
2514
|
+
include Google::Apis::Core::Hashable
|
2515
|
+
|
2516
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and month.
|
2517
|
+
# Corresponds to the JSON property `day`
|
2518
|
+
# @return [Fixnum]
|
2519
|
+
attr_accessor :day
|
2520
|
+
|
2521
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
|
2522
|
+
# choose to allow the value "24:00:00" for scenarios like business closing time.
|
2523
|
+
# Corresponds to the JSON property `hours`
|
2524
|
+
# @return [Fixnum]
|
2525
|
+
attr_accessor :hours
|
2526
|
+
|
2527
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
2528
|
+
# Corresponds to the JSON property `minutes`
|
2529
|
+
# @return [Fixnum]
|
2530
|
+
attr_accessor :minutes
|
2531
|
+
|
2532
|
+
# Required. Month of year. Must be from 1 to 12.
|
2533
|
+
# Corresponds to the JSON property `month`
|
2534
|
+
# @return [Fixnum]
|
2535
|
+
attr_accessor :month
|
2536
|
+
|
2537
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
2538
|
+
# Corresponds to the JSON property `nanos`
|
2539
|
+
# @return [Fixnum]
|
2540
|
+
attr_accessor :nanos
|
2541
|
+
|
2542
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
2543
|
+
# API may allow the value 60 if it allows leap-seconds.
|
2544
|
+
# Corresponds to the JSON property `seconds`
|
2545
|
+
# @return [Fixnum]
|
2546
|
+
attr_accessor :seconds
|
2547
|
+
|
2548
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
2549
|
+
# time-zones).
|
2550
|
+
# Corresponds to the JSON property `timeZone`
|
2551
|
+
# @return [Google::Apis::ContentV2_1::TimeZone]
|
2552
|
+
attr_accessor :time_zone
|
2553
|
+
|
2554
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
|
2555
|
+
# example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
|
2556
|
+
# Corresponds to the JSON property `utcOffset`
|
2557
|
+
# @return [String]
|
2558
|
+
attr_accessor :utc_offset
|
2559
|
+
|
2560
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
|
2561
|
+
# without a year.
|
2562
|
+
# Corresponds to the JSON property `year`
|
2563
|
+
# @return [Fixnum]
|
2564
|
+
attr_accessor :year
|
2565
|
+
|
2566
|
+
def initialize(**args)
|
2567
|
+
update!(**args)
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
# Update properties of this object
|
2571
|
+
def update!(**args)
|
2572
|
+
@day = args[:day] if args.key?(:day)
|
2573
|
+
@hours = args[:hours] if args.key?(:hours)
|
2574
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
2575
|
+
@month = args[:month] if args.key?(:month)
|
2576
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
2577
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
2578
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
2579
|
+
@utc_offset = args[:utc_offset] if args.key?(:utc_offset)
|
2580
|
+
@year = args[:year] if args.key?(:year)
|
2581
|
+
end
|
2582
|
+
end
|
2583
|
+
|
2499
2584
|
#
|
2500
2585
|
class DeliveryTime
|
2501
2586
|
include Google::Apis::Core::Hashable
|
@@ -5636,6 +5721,311 @@ module Google
|
|
5636
5721
|
end
|
5637
5722
|
end
|
5638
5723
|
|
5724
|
+
# Represents a merchant trade from which signals are extracted, e.g. shipping.
|
5725
|
+
class OrderTrackingSignal
|
5726
|
+
include Google::Apis::Core::Hashable
|
5727
|
+
|
5728
|
+
# The price represented as a number and currency.
|
5729
|
+
# Corresponds to the JSON property `customerShippingFee`
|
5730
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
5731
|
+
attr_accessor :customer_shipping_fee
|
5732
|
+
|
5733
|
+
# Required. The delivery postal code, as a continuous string without spaces or
|
5734
|
+
# dashes, e.g. "95016".
|
5735
|
+
# Corresponds to the JSON property `deliveryPostalCode`
|
5736
|
+
# @return [String]
|
5737
|
+
attr_accessor :delivery_postal_code
|
5738
|
+
|
5739
|
+
# Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/
|
5740
|
+
# latest/common/main/en.xml) for the shipping destination.
|
5741
|
+
# Corresponds to the JSON property `deliveryRegionCode`
|
5742
|
+
# @return [String]
|
5743
|
+
attr_accessor :delivery_region_code
|
5744
|
+
|
5745
|
+
# Information about line items in the order.
|
5746
|
+
# Corresponds to the JSON property `lineItems`
|
5747
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails>]
|
5748
|
+
attr_accessor :line_items
|
5749
|
+
|
5750
|
+
# The Google merchant ID of this order tracking signal. This value is optional.
|
5751
|
+
# If left unset, the caller's merchant ID is used. You must request access in
|
5752
|
+
# order to provide data on behalf of another merchant. For more information, see
|
5753
|
+
# [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-
|
5754
|
+
# signals).
|
5755
|
+
# Corresponds to the JSON property `merchantId`
|
5756
|
+
# @return [Fixnum]
|
5757
|
+
attr_accessor :merchant_id
|
5758
|
+
|
5759
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
5760
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
5761
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
5762
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
5763
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
5764
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
5765
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
5766
|
+
# considered not to have a specific year. month and day must have valid, non-
|
5767
|
+
# zero values. This type may also be used to represent a physical time if all
|
5768
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
5769
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
5770
|
+
# case also would like to store the user's timezone, that can be done in another
|
5771
|
+
# field. This type is more flexible than some applications may want. Make sure
|
5772
|
+
# to document and validate your application's limitations.
|
5773
|
+
# Corresponds to the JSON property `orderCreatedTime`
|
5774
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
5775
|
+
attr_accessor :order_created_time
|
5776
|
+
|
5777
|
+
# Required. The ID of the order on the merchant side.
|
5778
|
+
# Corresponds to the JSON property `orderId`
|
5779
|
+
# @return [String]
|
5780
|
+
attr_accessor :order_id
|
5781
|
+
|
5782
|
+
# Output only. The ID that uniquely identifies this order tracking signal.
|
5783
|
+
# Corresponds to the JSON property `orderTrackingSignalId`
|
5784
|
+
# @return [Fixnum]
|
5785
|
+
attr_accessor :order_tracking_signal_id
|
5786
|
+
|
5787
|
+
# The mapping of the line items to the shipment information.
|
5788
|
+
# Corresponds to the JSON property `shipmentLineItemMapping`
|
5789
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping>]
|
5790
|
+
attr_accessor :shipment_line_item_mapping
|
5791
|
+
|
5792
|
+
# The shipping information for the order.
|
5793
|
+
# Corresponds to the JSON property `shippingInfo`
|
5794
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo>]
|
5795
|
+
attr_accessor :shipping_info
|
5796
|
+
|
5797
|
+
def initialize(**args)
|
5798
|
+
update!(**args)
|
5799
|
+
end
|
5800
|
+
|
5801
|
+
# Update properties of this object
|
5802
|
+
def update!(**args)
|
5803
|
+
@customer_shipping_fee = args[:customer_shipping_fee] if args.key?(:customer_shipping_fee)
|
5804
|
+
@delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
|
5805
|
+
@delivery_region_code = args[:delivery_region_code] if args.key?(:delivery_region_code)
|
5806
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
5807
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
5808
|
+
@order_created_time = args[:order_created_time] if args.key?(:order_created_time)
|
5809
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
5810
|
+
@order_tracking_signal_id = args[:order_tracking_signal_id] if args.key?(:order_tracking_signal_id)
|
5811
|
+
@shipment_line_item_mapping = args[:shipment_line_item_mapping] if args.key?(:shipment_line_item_mapping)
|
5812
|
+
@shipping_info = args[:shipping_info] if args.key?(:shipping_info)
|
5813
|
+
end
|
5814
|
+
end
|
5815
|
+
|
5816
|
+
# The line items of the order.
|
5817
|
+
class OrderTrackingSignalLineItemDetails
|
5818
|
+
include Google::Apis::Core::Hashable
|
5819
|
+
|
5820
|
+
# The Global Trade Item Number.
|
5821
|
+
# Corresponds to the JSON property `gtin`
|
5822
|
+
# @return [String]
|
5823
|
+
attr_accessor :gtin
|
5824
|
+
|
5825
|
+
# Required. The ID for this line item.
|
5826
|
+
# Corresponds to the JSON property `lineItemId`
|
5827
|
+
# @return [String]
|
5828
|
+
attr_accessor :line_item_id
|
5829
|
+
|
5830
|
+
# The manufacturer part number.
|
5831
|
+
# Corresponds to the JSON property `mpn`
|
5832
|
+
# @return [String]
|
5833
|
+
attr_accessor :mpn
|
5834
|
+
|
5835
|
+
# Required. The Content API REST ID of the product, in the form channel:
|
5836
|
+
# contentLanguage:targetCountry:offerId.
|
5837
|
+
# Corresponds to the JSON property `productId`
|
5838
|
+
# @return [String]
|
5839
|
+
attr_accessor :product_id
|
5840
|
+
|
5841
|
+
# Required. The quantity of the line item in the order.
|
5842
|
+
# Corresponds to the JSON property `quantity`
|
5843
|
+
# @return [Fixnum]
|
5844
|
+
attr_accessor :quantity
|
5845
|
+
|
5846
|
+
def initialize(**args)
|
5847
|
+
update!(**args)
|
5848
|
+
end
|
5849
|
+
|
5850
|
+
# Update properties of this object
|
5851
|
+
def update!(**args)
|
5852
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
5853
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
5854
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
5855
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
5856
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
5857
|
+
end
|
5858
|
+
end
|
5859
|
+
|
5860
|
+
# Represents how many items are in the shipment for the given shipment_id and
|
5861
|
+
# line_item_id.
|
5862
|
+
class OrderTrackingSignalShipmentLineItemMapping
|
5863
|
+
include Google::Apis::Core::Hashable
|
5864
|
+
|
5865
|
+
# Required. The line item ID.
|
5866
|
+
# Corresponds to the JSON property `lineItemId`
|
5867
|
+
# @return [String]
|
5868
|
+
attr_accessor :line_item_id
|
5869
|
+
|
5870
|
+
# Required. The line item quantity in the shipment.
|
5871
|
+
# Corresponds to the JSON property `quantity`
|
5872
|
+
# @return [Fixnum]
|
5873
|
+
attr_accessor :quantity
|
5874
|
+
|
5875
|
+
# Required. The shipment ID.
|
5876
|
+
# Corresponds to the JSON property `shipmentId`
|
5877
|
+
# @return [String]
|
5878
|
+
attr_accessor :shipment_id
|
5879
|
+
|
5880
|
+
def initialize(**args)
|
5881
|
+
update!(**args)
|
5882
|
+
end
|
5883
|
+
|
5884
|
+
# Update properties of this object
|
5885
|
+
def update!(**args)
|
5886
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
5887
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
5888
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
5889
|
+
end
|
5890
|
+
end
|
5891
|
+
|
5892
|
+
# The shipping information for the order.
|
5893
|
+
class OrderTrackingSignalShippingInfo
|
5894
|
+
include Google::Apis::Core::Hashable
|
5895
|
+
|
5896
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
5897
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
5898
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
5899
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
5900
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
5901
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
5902
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
5903
|
+
# considered not to have a specific year. month and day must have valid, non-
|
5904
|
+
# zero values. This type may also be used to represent a physical time if all
|
5905
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
5906
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
5907
|
+
# case also would like to store the user's timezone, that can be done in another
|
5908
|
+
# field. This type is more flexible than some applications may want. Make sure
|
5909
|
+
# to document and validate your application's limitations.
|
5910
|
+
# Corresponds to the JSON property `actualDeliveryTime`
|
5911
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
5912
|
+
attr_accessor :actual_delivery_time
|
5913
|
+
|
5914
|
+
# The name of the shipping carrier for the delivery. This field is required if
|
5915
|
+
# one of the following fields is absent: earliest_delivery_promise_time,
|
5916
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
5917
|
+
# Corresponds to the JSON property `carrierName`
|
5918
|
+
# @return [String]
|
5919
|
+
attr_accessor :carrier_name
|
5920
|
+
|
5921
|
+
# The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.
|
5922
|
+
# Corresponds to the JSON property `carrierServiceName`
|
5923
|
+
# @return [String]
|
5924
|
+
attr_accessor :carrier_service_name
|
5925
|
+
|
5926
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
5927
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
5928
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
5929
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
5930
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
5931
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
5932
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
5933
|
+
# considered not to have a specific year. month and day must have valid, non-
|
5934
|
+
# zero values. This type may also be used to represent a physical time if all
|
5935
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
5936
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
5937
|
+
# case also would like to store the user's timezone, that can be done in another
|
5938
|
+
# field. This type is more flexible than some applications may want. Make sure
|
5939
|
+
# to document and validate your application's limitations.
|
5940
|
+
# Corresponds to the JSON property `earliestDeliveryPromiseTime`
|
5941
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
5942
|
+
attr_accessor :earliest_delivery_promise_time
|
5943
|
+
|
5944
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
5945
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
5946
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
5947
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
5948
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
5949
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
5950
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
5951
|
+
# considered not to have a specific year. month and day must have valid, non-
|
5952
|
+
# zero values. This type may also be used to represent a physical time if all
|
5953
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
5954
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
5955
|
+
# case also would like to store the user's timezone, that can be done in another
|
5956
|
+
# field. This type is more flexible than some applications may want. Make sure
|
5957
|
+
# to document and validate your application's limitations.
|
5958
|
+
# Corresponds to the JSON property `latestDeliveryPromiseTime`
|
5959
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
5960
|
+
attr_accessor :latest_delivery_promise_time
|
5961
|
+
|
5962
|
+
# The origin postal code, as a continuous string without spaces or dashes, e.g. "
|
5963
|
+
# 95016".
|
5964
|
+
# Corresponds to the JSON property `originPostalCode`
|
5965
|
+
# @return [String]
|
5966
|
+
attr_accessor :origin_postal_code
|
5967
|
+
|
5968
|
+
# The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/
|
5969
|
+
# common/main/en.xml) for the shipping origin.
|
5970
|
+
# Corresponds to the JSON property `originRegionCode`
|
5971
|
+
# @return [String]
|
5972
|
+
attr_accessor :origin_region_code
|
5973
|
+
|
5974
|
+
# Required. The shipment ID.
|
5975
|
+
# Corresponds to the JSON property `shipmentId`
|
5976
|
+
# @return [String]
|
5977
|
+
attr_accessor :shipment_id
|
5978
|
+
|
5979
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
5980
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
5981
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
5982
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
5983
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
5984
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
5985
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
5986
|
+
# considered not to have a specific year. month and day must have valid, non-
|
5987
|
+
# zero values. This type may also be used to represent a physical time if all
|
5988
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
5989
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
5990
|
+
# case also would like to store the user's timezone, that can be done in another
|
5991
|
+
# field. This type is more flexible than some applications may want. Make sure
|
5992
|
+
# to document and validate your application's limitations.
|
5993
|
+
# Corresponds to the JSON property `shippedTime`
|
5994
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
5995
|
+
attr_accessor :shipped_time
|
5996
|
+
|
5997
|
+
# The status of the shipment.
|
5998
|
+
# Corresponds to the JSON property `shippingStatus`
|
5999
|
+
# @return [String]
|
6000
|
+
attr_accessor :shipping_status
|
6001
|
+
|
6002
|
+
# The tracking ID of the shipment. This field is required if one of the
|
6003
|
+
# following fields is absent: earliest_delivery_promise_time,
|
6004
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
6005
|
+
# Corresponds to the JSON property `trackingId`
|
6006
|
+
# @return [String]
|
6007
|
+
attr_accessor :tracking_id
|
6008
|
+
|
6009
|
+
def initialize(**args)
|
6010
|
+
update!(**args)
|
6011
|
+
end
|
6012
|
+
|
6013
|
+
# Update properties of this object
|
6014
|
+
def update!(**args)
|
6015
|
+
@actual_delivery_time = args[:actual_delivery_time] if args.key?(:actual_delivery_time)
|
6016
|
+
@carrier_name = args[:carrier_name] if args.key?(:carrier_name)
|
6017
|
+
@carrier_service_name = args[:carrier_service_name] if args.key?(:carrier_service_name)
|
6018
|
+
@earliest_delivery_promise_time = args[:earliest_delivery_promise_time] if args.key?(:earliest_delivery_promise_time)
|
6019
|
+
@latest_delivery_promise_time = args[:latest_delivery_promise_time] if args.key?(:latest_delivery_promise_time)
|
6020
|
+
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
6021
|
+
@origin_region_code = args[:origin_region_code] if args.key?(:origin_region_code)
|
6022
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
6023
|
+
@shipped_time = args[:shipped_time] if args.key?(:shipped_time)
|
6024
|
+
@shipping_status = args[:shipping_status] if args.key?(:shipping_status)
|
6025
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
6026
|
+
end
|
6027
|
+
end
|
6028
|
+
|
5639
6029
|
#
|
5640
6030
|
class OrderinvoicesCreateChargeInvoiceRequest
|
5641
6031
|
include Google::Apis::Core::Hashable
|
@@ -8489,6 +8879,31 @@ module Google
|
|
8489
8879
|
end
|
8490
8880
|
end
|
8491
8881
|
|
8882
|
+
# The price represented as a number and currency.
|
8883
|
+
class PriceAmount
|
8884
|
+
include Google::Apis::Core::Hashable
|
8885
|
+
|
8886
|
+
# The currency of the price.
|
8887
|
+
# Corresponds to the JSON property `currency`
|
8888
|
+
# @return [String]
|
8889
|
+
attr_accessor :currency
|
8890
|
+
|
8891
|
+
# The price represented as a number.
|
8892
|
+
# Corresponds to the JSON property `value`
|
8893
|
+
# @return [String]
|
8894
|
+
attr_accessor :value
|
8895
|
+
|
8896
|
+
def initialize(**args)
|
8897
|
+
update!(**args)
|
8898
|
+
end
|
8899
|
+
|
8900
|
+
# Update properties of this object
|
8901
|
+
def update!(**args)
|
8902
|
+
@currency = args[:currency] if args.key?(:currency)
|
8903
|
+
@value = args[:value] if args.key?(:value)
|
8904
|
+
end
|
8905
|
+
end
|
8906
|
+
|
8492
8907
|
# Required product attributes are primarily defined by the products data
|
8493
8908
|
# specification. See the Products Data Specification Help Center article for
|
8494
8909
|
# information. Some attributes are country-specific, so make sure you select the
|
@@ -10415,15 +10830,16 @@ module Google
|
|
10415
10830
|
|
10416
10831
|
# The percentage delta relative to the offer selling price. This field is signed.
|
10417
10832
|
# It must be negative in floor. When it is used in floor, it should be > -100.
|
10418
|
-
#
|
10419
|
-
# rule only applies if the calculated new price is >= $7.
|
10833
|
+
# For example, if an offer is selling at $10 and this field is -30 in floor, the
|
10834
|
+
# repricing rule only applies if the calculated new price is >= $7.
|
10420
10835
|
# Corresponds to the JSON property `percentageDelta`
|
10421
10836
|
# @return [Fixnum]
|
10422
10837
|
attr_accessor :percentage_delta
|
10423
10838
|
|
10424
10839
|
# The price micros relative to the offer selling price. This field is signed. It
|
10425
|
-
# must be negative in floor.
|
10426
|
-
# in floor, the repricing rule only applies if the calculated new
|
10840
|
+
# must be negative in floor. For example, if an offer is selling at $10 and this
|
10841
|
+
# field is -$2 in floor, the repricing rule only applies if the calculated new
|
10842
|
+
# price is >= $8.
|
10427
10843
|
# Corresponds to the JSON property `priceDelta`
|
10428
10844
|
# @return [String]
|
10429
10845
|
attr_accessor :price_delta
|
@@ -12366,6 +12782,32 @@ module Google
|
|
12366
12782
|
end
|
12367
12783
|
end
|
12368
12784
|
|
12785
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
12786
|
+
# time-zones).
|
12787
|
+
class TimeZone
|
12788
|
+
include Google::Apis::Core::Hashable
|
12789
|
+
|
12790
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
12791
|
+
# Corresponds to the JSON property `id`
|
12792
|
+
# @return [String]
|
12793
|
+
attr_accessor :id
|
12794
|
+
|
12795
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
12796
|
+
# Corresponds to the JSON property `version`
|
12797
|
+
# @return [String]
|
12798
|
+
attr_accessor :version
|
12799
|
+
|
12800
|
+
def initialize(**args)
|
12801
|
+
update!(**args)
|
12802
|
+
end
|
12803
|
+
|
12804
|
+
# Update properties of this object
|
12805
|
+
def update!(**args)
|
12806
|
+
@id = args[:id] if args.key?(:id)
|
12807
|
+
@version = args[:version] if args.key?(:version)
|
12808
|
+
end
|
12809
|
+
end
|
12810
|
+
|
12369
12811
|
#
|
12370
12812
|
class TransitTable
|
12371
12813
|
include Google::Apis::Core::Hashable
|