google-api-client 0.28.0 → 0.28.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +4 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +13 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +3 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -33
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/service.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +48 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +698 -240
- data/generated/google/apis/compute_alpha/representations.rb +185 -63
- data/generated/google/apis/compute_alpha/service.rb +286 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +195 -148
- data/generated/google/apis/compute_beta/representations.rb +80 -62
- data/generated/google/apis/compute_beta/service.rb +85 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +209 -17
- data/generated/google/apis/compute_v1/representations.rb +70 -0
- data/generated/google/apis/compute_v1/service.rb +2 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +78 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -6
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +12 -213
- data/generated/google/apis/content_v2_1/representations.rb +2 -117
- data/generated/google/apis/content_v2_1/service.rb +1 -161
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +39 -29
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -29
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +576 -0
- data/generated/google/apis/file_v1/representations.rb +219 -0
- data/generated/google/apis/file_v1/service.rb +472 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/service.rb +33 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +4 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/service.rb +40 -40
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +12 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -700,6 +700,12 @@ module Google
|
|
|
700
700
|
include Google::Apis::Core::JsonObjectSupport
|
|
701
701
|
end
|
|
702
702
|
|
|
703
|
+
class FixedOrPercent
|
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
|
+
|
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
707
|
+
end
|
|
708
|
+
|
|
703
709
|
class ForwardingRule
|
|
704
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
711
|
|
|
@@ -1030,6 +1036,24 @@ module Google
|
|
|
1030
1036
|
include Google::Apis::Core::JsonObjectSupport
|
|
1031
1037
|
end
|
|
1032
1038
|
|
|
1039
|
+
class InstanceGroupManagerStatus
|
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1041
|
+
|
|
1042
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
class InstanceGroupManagerUpdatePolicy
|
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1047
|
+
|
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
class InstanceGroupManagerVersion
|
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1053
|
+
|
|
1054
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1055
|
+
end
|
|
1056
|
+
|
|
1033
1057
|
class InstanceGroupManagersAbandonInstancesRequest
|
|
1034
1058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1035
1059
|
|
|
@@ -4568,6 +4592,15 @@ module Google
|
|
|
4568
4592
|
end
|
|
4569
4593
|
end
|
|
4570
4594
|
|
|
4595
|
+
class FixedOrPercent
|
|
4596
|
+
# @private
|
|
4597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4598
|
+
property :calculated, as: 'calculated'
|
|
4599
|
+
property :fixed, as: 'fixed'
|
|
4600
|
+
property :percent, as: 'percent'
|
|
4601
|
+
end
|
|
4602
|
+
end
|
|
4603
|
+
|
|
4571
4604
|
class ForwardingRule
|
|
4572
4605
|
# @private
|
|
4573
4606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4587,6 +4620,8 @@ module Google
|
|
|
4587
4620
|
collection :ports, as: 'ports'
|
|
4588
4621
|
property :region, as: 'region'
|
|
4589
4622
|
property :self_link, as: 'selfLink'
|
|
4623
|
+
property :service_label, as: 'serviceLabel'
|
|
4624
|
+
property :service_name, as: 'serviceName'
|
|
4590
4625
|
property :subnetwork, as: 'subnetwork'
|
|
4591
4626
|
property :target, as: 'target'
|
|
4592
4627
|
end
|
|
@@ -5177,8 +5212,14 @@ module Google
|
|
|
5177
5212
|
|
|
5178
5213
|
property :region, as: 'region'
|
|
5179
5214
|
property :self_link, as: 'selfLink'
|
|
5215
|
+
property :status, as: 'status', class: Google::Apis::ComputeV1::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatus::Representation
|
|
5216
|
+
|
|
5180
5217
|
collection :target_pools, as: 'targetPools'
|
|
5181
5218
|
property :target_size, as: 'targetSize'
|
|
5219
|
+
property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerUpdatePolicy::Representation
|
|
5220
|
+
|
|
5221
|
+
collection :versions, as: 'versions', class: Google::Apis::ComputeV1::InstanceGroupManagerVersion, decorator: Google::Apis::ComputeV1::InstanceGroupManagerVersion::Representation
|
|
5222
|
+
|
|
5182
5223
|
property :zone, as: 'zone'
|
|
5183
5224
|
end
|
|
5184
5225
|
end
|
|
@@ -5270,6 +5311,35 @@ module Google
|
|
|
5270
5311
|
end
|
|
5271
5312
|
end
|
|
5272
5313
|
|
|
5314
|
+
class InstanceGroupManagerStatus
|
|
5315
|
+
# @private
|
|
5316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5317
|
+
property :is_stable, as: 'isStable'
|
|
5318
|
+
end
|
|
5319
|
+
end
|
|
5320
|
+
|
|
5321
|
+
class InstanceGroupManagerUpdatePolicy
|
|
5322
|
+
# @private
|
|
5323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5324
|
+
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
|
5325
|
+
|
|
5326
|
+
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
|
5327
|
+
|
|
5328
|
+
property :minimal_action, as: 'minimalAction'
|
|
5329
|
+
property :type, as: 'type'
|
|
5330
|
+
end
|
|
5331
|
+
end
|
|
5332
|
+
|
|
5333
|
+
class InstanceGroupManagerVersion
|
|
5334
|
+
# @private
|
|
5335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5336
|
+
property :instance_template, as: 'instanceTemplate'
|
|
5337
|
+
property :name, as: 'name'
|
|
5338
|
+
property :target_size, as: 'targetSize', class: Google::Apis::ComputeV1::FixedOrPercent, decorator: Google::Apis::ComputeV1::FixedOrPercent::Representation
|
|
5339
|
+
|
|
5340
|
+
end
|
|
5341
|
+
end
|
|
5342
|
+
|
|
5273
5343
|
class InstanceGroupManagersAbandonInstancesRequest
|
|
5274
5344
|
# @private
|
|
5275
5345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7786,8 +7786,8 @@ module Google
|
|
|
7786
7786
|
execute_or_queue_command(command, &block)
|
|
7787
7787
|
end
|
|
7788
7788
|
|
|
7789
|
-
# Performs a reset on the instance.
|
|
7790
|
-
# instance.
|
|
7789
|
+
# Performs a reset on the instance. This is a hard reset; the VM does not do a
|
|
7790
|
+
# graceful shutdown. For more information, see Resetting an instance.
|
|
7791
7791
|
# @param [String] project
|
|
7792
7792
|
# Project ID for this request.
|
|
7793
7793
|
# @param [String] zone
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
|
27
27
|
module ContaineranalysisV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190122'
|
|
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'
|
|
@@ -1555,6 +1555,32 @@ module Google
|
|
|
1555
1555
|
end
|
|
1556
1556
|
end
|
|
1557
1557
|
|
|
1558
|
+
#
|
|
1559
|
+
class KnowledgeBase
|
|
1560
|
+
include Google::Apis::Core::Hashable
|
|
1561
|
+
|
|
1562
|
+
# The KB name (generally of the form KB[0-9]+ i.e. KB123456).
|
|
1563
|
+
# Corresponds to the JSON property `name`
|
|
1564
|
+
# @return [String]
|
|
1565
|
+
attr_accessor :name
|
|
1566
|
+
|
|
1567
|
+
# A link to the KB in the Windows update catalog -
|
|
1568
|
+
# https://www.catalog.update.microsoft.com/
|
|
1569
|
+
# Corresponds to the JSON property `url`
|
|
1570
|
+
# @return [String]
|
|
1571
|
+
attr_accessor :url
|
|
1572
|
+
|
|
1573
|
+
def initialize(**args)
|
|
1574
|
+
update!(**args)
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
# Update properties of this object
|
|
1578
|
+
def update!(**args)
|
|
1579
|
+
@name = args[:name] if args.key?(:name)
|
|
1580
|
+
@url = args[:url] if args.key?(:url)
|
|
1581
|
+
end
|
|
1582
|
+
end
|
|
1583
|
+
|
|
1558
1584
|
# Layer holds metadata specific to a layer of a Docker image.
|
|
1559
1585
|
class Layer
|
|
1560
1586
|
include Google::Apis::Core::Hashable
|
|
@@ -2634,6 +2660,14 @@ module Google
|
|
|
2634
2660
|
# @return [String]
|
|
2635
2661
|
attr_accessor :severity
|
|
2636
2662
|
|
|
2663
|
+
# Windows details get their own format because the information format and
|
|
2664
|
+
# model don't match a normal detail. Specifically Windows updates are done as
|
|
2665
|
+
# patches, thus Windows vulnerabilities really are a missing package, rather
|
|
2666
|
+
# than a package being at an incorrect version.
|
|
2667
|
+
# Corresponds to the JSON property `windowsDetails`
|
|
2668
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::WindowsDetail>]
|
|
2669
|
+
attr_accessor :windows_details
|
|
2670
|
+
|
|
2637
2671
|
def initialize(**args)
|
|
2638
2672
|
update!(**args)
|
|
2639
2673
|
end
|
|
@@ -2643,6 +2677,7 @@ module Google
|
|
|
2643
2677
|
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
|
|
2644
2678
|
@details = args[:details] if args.key?(:details)
|
|
2645
2679
|
@severity = args[:severity] if args.key?(:severity)
|
|
2680
|
+
@windows_details = args[:windows_details] if args.key?(:windows_details)
|
|
2646
2681
|
end
|
|
2647
2682
|
end
|
|
2648
2683
|
|
|
@@ -2697,6 +2732,49 @@ module Google
|
|
|
2697
2732
|
@counts = args[:counts] if args.key?(:counts)
|
|
2698
2733
|
end
|
|
2699
2734
|
end
|
|
2735
|
+
|
|
2736
|
+
#
|
|
2737
|
+
class WindowsDetail
|
|
2738
|
+
include Google::Apis::Core::Hashable
|
|
2739
|
+
|
|
2740
|
+
# Required. The CPE URI in
|
|
2741
|
+
# [cpe format](https://cpe.mitre.org/specification/) in which the
|
|
2742
|
+
# vulnerability manifests. Examples include distro or storage location for
|
|
2743
|
+
# vulnerable jar.
|
|
2744
|
+
# Corresponds to the JSON property `cpeUri`
|
|
2745
|
+
# @return [String]
|
|
2746
|
+
attr_accessor :cpe_uri
|
|
2747
|
+
|
|
2748
|
+
# The description of the vulnerability.
|
|
2749
|
+
# Corresponds to the JSON property `description`
|
|
2750
|
+
# @return [String]
|
|
2751
|
+
attr_accessor :description
|
|
2752
|
+
|
|
2753
|
+
# Required. The names of the KBs which have hotfixes to mitigate this
|
|
2754
|
+
# vulnerability. Note that there may be multiple hotfixes (and thus
|
|
2755
|
+
# multiple KBs) that mitigate a given vulnerability. Currently any listed
|
|
2756
|
+
# kb's presence is considered a fix.
|
|
2757
|
+
# Corresponds to the JSON property `fixingKbs`
|
|
2758
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::KnowledgeBase>]
|
|
2759
|
+
attr_accessor :fixing_kbs
|
|
2760
|
+
|
|
2761
|
+
# Required. The name of the vulnerability.
|
|
2762
|
+
# Corresponds to the JSON property `name`
|
|
2763
|
+
# @return [String]
|
|
2764
|
+
attr_accessor :name
|
|
2765
|
+
|
|
2766
|
+
def initialize(**args)
|
|
2767
|
+
update!(**args)
|
|
2768
|
+
end
|
|
2769
|
+
|
|
2770
|
+
# Update properties of this object
|
|
2771
|
+
def update!(**args)
|
|
2772
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
|
2773
|
+
@description = args[:description] if args.key?(:description)
|
|
2774
|
+
@fixing_kbs = args[:fixing_kbs] if args.key?(:fixing_kbs)
|
|
2775
|
+
@name = args[:name] if args.key?(:name)
|
|
2776
|
+
end
|
|
2777
|
+
end
|
|
2700
2778
|
end
|
|
2701
2779
|
end
|
|
2702
2780
|
end
|
|
@@ -280,6 +280,12 @@ module Google
|
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
+
class KnowledgeBase
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
283
289
|
class Layer
|
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
291
|
|
|
@@ -442,6 +448,12 @@ module Google
|
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
449
|
end
|
|
444
450
|
|
|
451
|
+
class WindowsDetail
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
445
457
|
class AliasContext
|
|
446
458
|
# @private
|
|
447
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -853,6 +865,14 @@ module Google
|
|
|
853
865
|
end
|
|
854
866
|
end
|
|
855
867
|
|
|
868
|
+
class KnowledgeBase
|
|
869
|
+
# @private
|
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
871
|
+
property :name, as: 'name'
|
|
872
|
+
property :url, as: 'url'
|
|
873
|
+
end
|
|
874
|
+
end
|
|
875
|
+
|
|
856
876
|
class Layer
|
|
857
877
|
# @private
|
|
858
878
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1127,6 +1147,8 @@ module Google
|
|
|
1127
1147
|
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
|
|
1128
1148
|
|
|
1129
1149
|
property :severity, as: 'severity'
|
|
1150
|
+
collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1beta1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1beta1::WindowsDetail::Representation
|
|
1151
|
+
|
|
1130
1152
|
end
|
|
1131
1153
|
end
|
|
1132
1154
|
|
|
@@ -1147,6 +1169,17 @@ module Google
|
|
|
1147
1169
|
|
|
1148
1170
|
end
|
|
1149
1171
|
end
|
|
1172
|
+
|
|
1173
|
+
class WindowsDetail
|
|
1174
|
+
# @private
|
|
1175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1176
|
+
property :cpe_uri, as: 'cpeUri'
|
|
1177
|
+
property :description, as: 'description'
|
|
1178
|
+
collection :fixing_kbs, as: 'fixingKbs', class: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase, decorator: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase::Representation
|
|
1179
|
+
|
|
1180
|
+
property :name, as: 'name'
|
|
1181
|
+
end
|
|
1182
|
+
end
|
|
1150
1183
|
end
|
|
1151
1184
|
end
|
|
1152
1185
|
end
|
|
@@ -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 = '20190122'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -4075,8 +4075,9 @@ module Google
|
|
|
4075
4075
|
# @return [String]
|
|
4076
4076
|
attr_accessor :placed_date
|
|
4077
4077
|
|
|
4078
|
-
# Deprecated.
|
|
4079
|
-
# order. More details about the
|
|
4078
|
+
# Deprecated. Ignored if provided for createTestOrder. The details of the
|
|
4079
|
+
# merchant provided promotions applied to the order. More details about the
|
|
4080
|
+
# program are here.
|
|
4080
4081
|
# Corresponds to the JSON property `promotions`
|
|
4081
4082
|
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
|
|
4082
4083
|
attr_accessor :promotions
|
|
@@ -5425,12 +5426,12 @@ module Google
|
|
|
5425
5426
|
class OrderpaymentsNotifyAuthApprovedRequest
|
|
5426
5427
|
include Google::Apis::Core::Hashable
|
|
5427
5428
|
|
|
5428
|
-
#
|
|
5429
|
+
# Authorized amount for pre-tax charge on user's credit card.
|
|
5429
5430
|
# Corresponds to the JSON property `authAmountPretax`
|
|
5430
5431
|
# @return [Google::Apis::ContentV2::Price]
|
|
5431
5432
|
attr_accessor :auth_amount_pretax
|
|
5432
5433
|
|
|
5433
|
-
#
|
|
5434
|
+
# Authorized amount for tax charge on user's credit card.
|
|
5434
5435
|
# Corresponds to the JSON property `authAmountTax`
|
|
5435
5436
|
# @return [Google::Apis::ContentV2::Price]
|
|
5436
5437
|
attr_accessor :auth_amount_tax
|
|
@@ -10660,7 +10661,8 @@ module Google
|
|
|
10660
10661
|
# @return [Google::Apis::ContentV2::OrderLineItemShippingDetails]
|
|
10661
10662
|
attr_accessor :shipping_details
|
|
10662
10663
|
|
|
10663
|
-
#
|
|
10664
|
+
# Deprecated. Ignored if provided. Tax is automatically calculated for MFL
|
|
10665
|
+
# orders. For non-MFL orders, tax settings from Merchant Center are applied.
|
|
10664
10666
|
# Corresponds to the JSON property `unitTax`
|
|
10665
10667
|
# @return [Google::Apis::ContentV2::Price]
|
|
10666
10668
|
attr_accessor :unit_tax
|
|
@@ -10728,7 +10730,8 @@ module Google
|
|
|
10728
10730
|
# @return [String]
|
|
10729
10731
|
attr_accessor :offer_id
|
|
10730
10732
|
|
|
10731
|
-
# The price for the product.
|
|
10733
|
+
# The price for the product. Tax is automatically calculated for MFL orders. For
|
|
10734
|
+
# non-MFL orders, tax settings from Merchant Center are applied.
|
|
10732
10735
|
# Corresponds to the JSON property `price`
|
|
10733
10736
|
# @return [Google::Apis::ContentV2::Price]
|
|
10734
10737
|
attr_accessor :price
|
|
@@ -449,7 +449,7 @@ module Google
|
|
|
449
449
|
execute_or_queue_command(command, &block)
|
|
450
450
|
end
|
|
451
451
|
|
|
452
|
-
#
|
|
452
|
+
# Retrieves multiple Merchant Center account statuses in a single request.
|
|
453
453
|
# @param [Google::Apis::ContentV2::BatchAccountStatusesRequest] batch_account_statuses_request_object
|
|
454
454
|
# @param [String] fields
|
|
455
455
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2_1
|
|
28
28
|
VERSION = 'V2_1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190122'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -4169,10 +4169,11 @@ module Google
|
|
|
4169
4169
|
# @return [String]
|
|
4170
4170
|
attr_accessor :merchant_promotion_id
|
|
4171
4171
|
|
|
4172
|
-
# Estimated discount applied to pre-tax
|
|
4173
|
-
#
|
|
4172
|
+
# Estimated discount applied to price. Amount is pre-tax or post-tax depending
|
|
4173
|
+
# on location of order.
|
|
4174
|
+
# Corresponds to the JSON property `priceValue`
|
|
4174
4175
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4175
|
-
attr_accessor :
|
|
4176
|
+
attr_accessor :price_value
|
|
4176
4177
|
|
|
4177
4178
|
# A short title of the promotion to be shown on the checkout page.
|
|
4178
4179
|
# Corresponds to the JSON property `shortTitle`
|
|
@@ -4209,7 +4210,7 @@ module Google
|
|
|
4209
4210
|
@applied_items = args[:applied_items] if args.key?(:applied_items)
|
|
4210
4211
|
@funder = args[:funder] if args.key?(:funder)
|
|
4211
4212
|
@merchant_promotion_id = args[:merchant_promotion_id] if args.key?(:merchant_promotion_id)
|
|
4212
|
-
@
|
|
4213
|
+
@price_value = args[:price_value] if args.key?(:price_value)
|
|
4213
4214
|
@short_title = args[:short_title] if args.key?(:short_title)
|
|
4214
4215
|
@subtype = args[:subtype] if args.key?(:subtype)
|
|
4215
4216
|
@tax_value = args[:tax_value] if args.key?(:tax_value)
|
|
@@ -4746,204 +4747,6 @@ module Google
|
|
|
4746
4747
|
end
|
|
4747
4748
|
end
|
|
4748
4749
|
|
|
4749
|
-
#
|
|
4750
|
-
class OrderpaymentsNotifyAuthApprovedRequest
|
|
4751
|
-
include Google::Apis::Core::Hashable
|
|
4752
|
-
|
|
4753
|
-
#
|
|
4754
|
-
# Corresponds to the JSON property `authAmountPretax`
|
|
4755
|
-
# @return [Google::Apis::ContentV2_1::Price]
|
|
4756
|
-
attr_accessor :auth_amount_pretax
|
|
4757
|
-
|
|
4758
|
-
#
|
|
4759
|
-
# Corresponds to the JSON property `authAmountTax`
|
|
4760
|
-
# @return [Google::Apis::ContentV2_1::Price]
|
|
4761
|
-
attr_accessor :auth_amount_tax
|
|
4762
|
-
|
|
4763
|
-
def initialize(**args)
|
|
4764
|
-
update!(**args)
|
|
4765
|
-
end
|
|
4766
|
-
|
|
4767
|
-
# Update properties of this object
|
|
4768
|
-
def update!(**args)
|
|
4769
|
-
@auth_amount_pretax = args[:auth_amount_pretax] if args.key?(:auth_amount_pretax)
|
|
4770
|
-
@auth_amount_tax = args[:auth_amount_tax] if args.key?(:auth_amount_tax)
|
|
4771
|
-
end
|
|
4772
|
-
end
|
|
4773
|
-
|
|
4774
|
-
#
|
|
4775
|
-
class OrderpaymentsNotifyAuthApprovedResponse
|
|
4776
|
-
include Google::Apis::Core::Hashable
|
|
4777
|
-
|
|
4778
|
-
# The status of the execution.
|
|
4779
|
-
# Corresponds to the JSON property `executionStatus`
|
|
4780
|
-
# @return [String]
|
|
4781
|
-
attr_accessor :execution_status
|
|
4782
|
-
|
|
4783
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
4784
|
-
# orderpaymentsNotifyAuthApprovedResponse".
|
|
4785
|
-
# Corresponds to the JSON property `kind`
|
|
4786
|
-
# @return [String]
|
|
4787
|
-
attr_accessor :kind
|
|
4788
|
-
|
|
4789
|
-
def initialize(**args)
|
|
4790
|
-
update!(**args)
|
|
4791
|
-
end
|
|
4792
|
-
|
|
4793
|
-
# Update properties of this object
|
|
4794
|
-
def update!(**args)
|
|
4795
|
-
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4796
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4797
|
-
end
|
|
4798
|
-
end
|
|
4799
|
-
|
|
4800
|
-
#
|
|
4801
|
-
class OrderpaymentsNotifyAuthDeclinedRequest
|
|
4802
|
-
include Google::Apis::Core::Hashable
|
|
4803
|
-
|
|
4804
|
-
# Reason why payment authorization was declined.
|
|
4805
|
-
# Corresponds to the JSON property `declineReason`
|
|
4806
|
-
# @return [String]
|
|
4807
|
-
attr_accessor :decline_reason
|
|
4808
|
-
|
|
4809
|
-
def initialize(**args)
|
|
4810
|
-
update!(**args)
|
|
4811
|
-
end
|
|
4812
|
-
|
|
4813
|
-
# Update properties of this object
|
|
4814
|
-
def update!(**args)
|
|
4815
|
-
@decline_reason = args[:decline_reason] if args.key?(:decline_reason)
|
|
4816
|
-
end
|
|
4817
|
-
end
|
|
4818
|
-
|
|
4819
|
-
#
|
|
4820
|
-
class OrderpaymentsNotifyAuthDeclinedResponse
|
|
4821
|
-
include Google::Apis::Core::Hashable
|
|
4822
|
-
|
|
4823
|
-
# The status of the execution.
|
|
4824
|
-
# Corresponds to the JSON property `executionStatus`
|
|
4825
|
-
# @return [String]
|
|
4826
|
-
attr_accessor :execution_status
|
|
4827
|
-
|
|
4828
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
4829
|
-
# orderpaymentsNotifyAuthDeclinedResponse".
|
|
4830
|
-
# Corresponds to the JSON property `kind`
|
|
4831
|
-
# @return [String]
|
|
4832
|
-
attr_accessor :kind
|
|
4833
|
-
|
|
4834
|
-
def initialize(**args)
|
|
4835
|
-
update!(**args)
|
|
4836
|
-
end
|
|
4837
|
-
|
|
4838
|
-
# Update properties of this object
|
|
4839
|
-
def update!(**args)
|
|
4840
|
-
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4841
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4842
|
-
end
|
|
4843
|
-
end
|
|
4844
|
-
|
|
4845
|
-
#
|
|
4846
|
-
class OrderpaymentsNotifyChargeRequest
|
|
4847
|
-
include Google::Apis::Core::Hashable
|
|
4848
|
-
|
|
4849
|
-
# Whether charge was successful.
|
|
4850
|
-
# Corresponds to the JSON property `chargeState`
|
|
4851
|
-
# @return [String]
|
|
4852
|
-
attr_accessor :charge_state
|
|
4853
|
-
|
|
4854
|
-
# Invoice IDs from the orderinvoices service that correspond to the charge.
|
|
4855
|
-
# Corresponds to the JSON property `invoiceIds`
|
|
4856
|
-
# @return [Array<String>]
|
|
4857
|
-
attr_accessor :invoice_ids
|
|
4858
|
-
|
|
4859
|
-
def initialize(**args)
|
|
4860
|
-
update!(**args)
|
|
4861
|
-
end
|
|
4862
|
-
|
|
4863
|
-
# Update properties of this object
|
|
4864
|
-
def update!(**args)
|
|
4865
|
-
@charge_state = args[:charge_state] if args.key?(:charge_state)
|
|
4866
|
-
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
|
|
4867
|
-
end
|
|
4868
|
-
end
|
|
4869
|
-
|
|
4870
|
-
#
|
|
4871
|
-
class OrderpaymentsNotifyChargeResponse
|
|
4872
|
-
include Google::Apis::Core::Hashable
|
|
4873
|
-
|
|
4874
|
-
# The status of the execution.
|
|
4875
|
-
# Corresponds to the JSON property `executionStatus`
|
|
4876
|
-
# @return [String]
|
|
4877
|
-
attr_accessor :execution_status
|
|
4878
|
-
|
|
4879
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
4880
|
-
# orderpaymentsNotifyChargeResponse".
|
|
4881
|
-
# Corresponds to the JSON property `kind`
|
|
4882
|
-
# @return [String]
|
|
4883
|
-
attr_accessor :kind
|
|
4884
|
-
|
|
4885
|
-
def initialize(**args)
|
|
4886
|
-
update!(**args)
|
|
4887
|
-
end
|
|
4888
|
-
|
|
4889
|
-
# Update properties of this object
|
|
4890
|
-
def update!(**args)
|
|
4891
|
-
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4892
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4893
|
-
end
|
|
4894
|
-
end
|
|
4895
|
-
|
|
4896
|
-
#
|
|
4897
|
-
class OrderpaymentsNotifyRefundRequest
|
|
4898
|
-
include Google::Apis::Core::Hashable
|
|
4899
|
-
|
|
4900
|
-
# Invoice IDs from the orderinvoices service that correspond to the refund.
|
|
4901
|
-
# Corresponds to the JSON property `invoiceIds`
|
|
4902
|
-
# @return [Array<String>]
|
|
4903
|
-
attr_accessor :invoice_ids
|
|
4904
|
-
|
|
4905
|
-
# Whether refund was successful.
|
|
4906
|
-
# Corresponds to the JSON property `refundState`
|
|
4907
|
-
# @return [String]
|
|
4908
|
-
attr_accessor :refund_state
|
|
4909
|
-
|
|
4910
|
-
def initialize(**args)
|
|
4911
|
-
update!(**args)
|
|
4912
|
-
end
|
|
4913
|
-
|
|
4914
|
-
# Update properties of this object
|
|
4915
|
-
def update!(**args)
|
|
4916
|
-
@invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
|
|
4917
|
-
@refund_state = args[:refund_state] if args.key?(:refund_state)
|
|
4918
|
-
end
|
|
4919
|
-
end
|
|
4920
|
-
|
|
4921
|
-
#
|
|
4922
|
-
class OrderpaymentsNotifyRefundResponse
|
|
4923
|
-
include Google::Apis::Core::Hashable
|
|
4924
|
-
|
|
4925
|
-
# The status of the execution.
|
|
4926
|
-
# Corresponds to the JSON property `executionStatus`
|
|
4927
|
-
# @return [String]
|
|
4928
|
-
attr_accessor :execution_status
|
|
4929
|
-
|
|
4930
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
4931
|
-
# orderpaymentsNotifyRefundResponse".
|
|
4932
|
-
# Corresponds to the JSON property `kind`
|
|
4933
|
-
# @return [String]
|
|
4934
|
-
attr_accessor :kind
|
|
4935
|
-
|
|
4936
|
-
def initialize(**args)
|
|
4937
|
-
update!(**args)
|
|
4938
|
-
end
|
|
4939
|
-
|
|
4940
|
-
# Update properties of this object
|
|
4941
|
-
def update!(**args)
|
|
4942
|
-
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4943
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
4944
|
-
end
|
|
4945
|
-
end
|
|
4946
|
-
|
|
4947
4750
|
#
|
|
4948
4751
|
class OrderreportsListDisbursementsResponse
|
|
4949
4752
|
include Google::Apis::Core::Hashable
|
|
@@ -8874,11 +8677,6 @@ module Google
|
|
|
8874
8677
|
# @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetails]
|
|
8875
8678
|
attr_accessor :shipping_details
|
|
8876
8679
|
|
|
8877
|
-
# Unit tax for the line item.
|
|
8878
|
-
# Corresponds to the JSON property `unitTax`
|
|
8879
|
-
# @return [Google::Apis::ContentV2_1::Price]
|
|
8880
|
-
attr_accessor :unit_tax
|
|
8881
|
-
|
|
8882
8680
|
def initialize(**args)
|
|
8883
8681
|
update!(**args)
|
|
8884
8682
|
end
|
|
@@ -8889,7 +8687,6 @@ module Google
|
|
|
8889
8687
|
@quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
|
|
8890
8688
|
@return_info = args[:return_info] if args.key?(:return_info)
|
|
8891
8689
|
@shipping_details = args[:shipping_details] if args.key?(:shipping_details)
|
|
8892
|
-
@unit_tax = args[:unit_tax] if args.key?(:unit_tax)
|
|
8893
8690
|
end
|
|
8894
8691
|
end
|
|
8895
8692
|
|
|
@@ -8942,7 +8739,8 @@ module Google
|
|
|
8942
8739
|
# @return [String]
|
|
8943
8740
|
attr_accessor :offer_id
|
|
8944
8741
|
|
|
8945
|
-
# The price for the product.
|
|
8742
|
+
# The price for the product. Tax is automatically calculated for MFL orders. For
|
|
8743
|
+
# non-MFL orders, tax settings from Merchant Center are applied.
|
|
8946
8744
|
# Corresponds to the JSON property `price`
|
|
8947
8745
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
8948
8746
|
attr_accessor :price
|
|
@@ -8998,10 +8796,11 @@ module Google
|
|
|
8998
8796
|
# @return [Array<Google::Apis::ContentV2_1::Promotion>]
|
|
8999
8797
|
attr_accessor :promotions
|
|
9000
8798
|
|
|
9001
|
-
# [required]
|
|
9002
|
-
#
|
|
8799
|
+
# [required] Pre-tax or post-tax price of the unit depending on the locality of
|
|
8800
|
+
# the order.
|
|
8801
|
+
# Corresponds to the JSON property `unitPrice`
|
|
9003
8802
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
9004
|
-
attr_accessor :
|
|
8803
|
+
attr_accessor :unit_price
|
|
9005
8804
|
|
|
9006
8805
|
# Tax amounts to apply to the unit price.
|
|
9007
8806
|
# Corresponds to the JSON property `unitPriceTaxes`
|
|
@@ -9016,7 +8815,7 @@ module Google
|
|
|
9016
8815
|
def update!(**args)
|
|
9017
8816
|
@additional_charges = args[:additional_charges] if args.key?(:additional_charges)
|
|
9018
8817
|
@promotions = args[:promotions] if args.key?(:promotions)
|
|
9019
|
-
@
|
|
8818
|
+
@unit_price = args[:unit_price] if args.key?(:unit_price)
|
|
9020
8819
|
@unit_price_taxes = args[:unit_price_taxes] if args.key?(:unit_price_taxes)
|
|
9021
8820
|
end
|
|
9022
8821
|
end
|