google-api-client 0.23.1 → 0.23.2
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 +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -8
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +174 -46
- data/generated/google/apis/content_v2/representations.rb +52 -0
- data/generated/google/apis/content_v2/service.rb +42 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76de5092b7924e1b9da78b2a32ad6cc3e6643244
|
4
|
+
data.tar.gz: de7e521948ec1e2e60a77a63ff1335dddd2bde4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 023951c11802f213f33302e42025c0a3dd9d01422c9e2a488fa97b497b391993dad6a37297840517fbe07d30b6e30f65193baf7f297a00bf9e3f78979026c820
|
7
|
+
data.tar.gz: cb1e5c69847a91fef13c793a7e6d05b753a84f8733b376ffed95278c97594a2d2639af68246106306cb40a0a4515aaa74d6c7e5a5794d78638e88016dd34ed43
|
data/CHANGELOG.md
CHANGED
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/functions
|
26
26
|
module CloudfunctionsV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180702'
|
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'
|
@@ -137,14 +137,14 @@ module Google
|
|
137
137
|
# @return [String]
|
138
138
|
attr_accessor :name
|
139
139
|
|
140
|
-
# The
|
141
|
-
#
|
142
|
-
# the short name
|
143
|
-
#
|
144
|
-
#
|
145
|
-
# `
|
146
|
-
# network
|
147
|
-
#
|
140
|
+
# The VPC Network that this cloud function can connect to. It can be
|
141
|
+
# either the fully-qualified URI, or the short name of the network resource.
|
142
|
+
# If the short network name is used, the network must belong to the same
|
143
|
+
# project. Otherwise, it must belong to a project within the same
|
144
|
+
# organization. The format of this field is either
|
145
|
+
# `projects/`project`/global/networks/`network`` or ``network``, where
|
146
|
+
# `project` is a project id where the network is defined, and `network` is
|
147
|
+
# the short name of the network.
|
148
148
|
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
|
149
149
|
# more information on connecting Cloud projects.
|
150
150
|
# This feature is currently in alpha, available only for whitelisted users.
|
@@ -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 = ''
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -634,8 +634,7 @@ module Google
|
|
634
634
|
# @return [Google::Apis::ContentV2::Account]
|
635
635
|
attr_accessor :account
|
636
636
|
|
637
|
-
# The ID of the targeted account. Only defined if the method is
|
638
|
-
# claimwebsite.
|
637
|
+
# The ID of the targeted account. Only defined if the method is not insert.
|
639
638
|
# Corresponds to the JSON property `accountId`
|
640
639
|
# @return [Fixnum]
|
641
640
|
attr_accessor :account_id
|
@@ -652,12 +651,17 @@ module Google
|
|
652
651
|
attr_accessor :force
|
653
652
|
alias_method :force?, :force
|
654
653
|
|
654
|
+
# Details about the link request.
|
655
|
+
# Corresponds to the JSON property `linkRequest`
|
656
|
+
# @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
|
657
|
+
attr_accessor :link_request
|
658
|
+
|
655
659
|
# The ID of the managing account.
|
656
660
|
# Corresponds to the JSON property `merchantId`
|
657
661
|
# @return [Fixnum]
|
658
662
|
attr_accessor :merchant_id
|
659
663
|
|
660
|
-
#
|
664
|
+
# The method of the batch entry.
|
661
665
|
# Corresponds to the JSON property `method`
|
662
666
|
# @return [String]
|
663
667
|
attr_accessor :request_method
|
@@ -679,12 +683,44 @@ module Google
|
|
679
683
|
@account_id = args[:account_id] if args.key?(:account_id)
|
680
684
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
681
685
|
@force = args[:force] if args.key?(:force)
|
686
|
+
@link_request = args[:link_request] if args.key?(:link_request)
|
682
687
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
683
688
|
@request_method = args[:request_method] if args.key?(:request_method)
|
684
689
|
@overwrite = args[:overwrite] if args.key?(:overwrite)
|
685
690
|
end
|
686
691
|
end
|
687
692
|
|
693
|
+
#
|
694
|
+
class AccountsCustomBatchRequestEntryLinkRequest
|
695
|
+
include Google::Apis::Core::Hashable
|
696
|
+
|
697
|
+
# Action to perform for this link.
|
698
|
+
# Corresponds to the JSON property `action`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :action
|
701
|
+
|
702
|
+
# Type of the link between the two accounts.
|
703
|
+
# Corresponds to the JSON property `linkType`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :link_type
|
706
|
+
|
707
|
+
# The ID of the linked account.
|
708
|
+
# Corresponds to the JSON property `linkedAccountId`
|
709
|
+
# @return [String]
|
710
|
+
attr_accessor :linked_account_id
|
711
|
+
|
712
|
+
def initialize(**args)
|
713
|
+
update!(**args)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Update properties of this object
|
717
|
+
def update!(**args)
|
718
|
+
@action = args[:action] if args.key?(:action)
|
719
|
+
@link_type = args[:link_type] if args.key?(:link_type)
|
720
|
+
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
688
724
|
#
|
689
725
|
class BatchAccountsResponse
|
690
726
|
include Google::Apis::Core::Hashable
|
@@ -736,6 +772,11 @@ module Google
|
|
736
772
|
# @return [String]
|
737
773
|
attr_accessor :kind
|
738
774
|
|
775
|
+
# The status of the updated link. Only defined if the method is link.
|
776
|
+
# Corresponds to the JSON property `linkStatus`
|
777
|
+
# @return [String]
|
778
|
+
attr_accessor :link_status
|
779
|
+
|
739
780
|
def initialize(**args)
|
740
781
|
update!(**args)
|
741
782
|
end
|
@@ -746,6 +787,58 @@ module Google
|
|
746
787
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
747
788
|
@errors = args[:errors] if args.key?(:errors)
|
748
789
|
@kind = args[:kind] if args.key?(:kind)
|
790
|
+
@link_status = args[:link_status] if args.key?(:link_status)
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
#
|
795
|
+
class AccountsLinkRequest
|
796
|
+
include Google::Apis::Core::Hashable
|
797
|
+
|
798
|
+
# Action to perform for this link.
|
799
|
+
# Corresponds to the JSON property `action`
|
800
|
+
# @return [String]
|
801
|
+
attr_accessor :action
|
802
|
+
|
803
|
+
# Type of the link between the two accounts.
|
804
|
+
# Corresponds to the JSON property `linkType`
|
805
|
+
# @return [String]
|
806
|
+
attr_accessor :link_type
|
807
|
+
|
808
|
+
# The ID of the linked account.
|
809
|
+
# Corresponds to the JSON property `linkedAccountId`
|
810
|
+
# @return [String]
|
811
|
+
attr_accessor :linked_account_id
|
812
|
+
|
813
|
+
def initialize(**args)
|
814
|
+
update!(**args)
|
815
|
+
end
|
816
|
+
|
817
|
+
# Update properties of this object
|
818
|
+
def update!(**args)
|
819
|
+
@action = args[:action] if args.key?(:action)
|
820
|
+
@link_type = args[:link_type] if args.key?(:link_type)
|
821
|
+
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
#
|
826
|
+
class AccountsLinkResponse
|
827
|
+
include Google::Apis::Core::Hashable
|
828
|
+
|
829
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
830
|
+
# accountsLinkResponse".
|
831
|
+
# Corresponds to the JSON property `kind`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :kind
|
834
|
+
|
835
|
+
def initialize(**args)
|
836
|
+
update!(**args)
|
837
|
+
end
|
838
|
+
|
839
|
+
# Update properties of this object
|
840
|
+
def update!(**args)
|
841
|
+
@kind = args[:kind] if args.key?(:kind)
|
749
842
|
end
|
750
843
|
end
|
751
844
|
|
@@ -1096,12 +1189,12 @@ module Google
|
|
1096
1189
|
class Amount
|
1097
1190
|
include Google::Apis::Core::Hashable
|
1098
1191
|
|
1099
|
-
# Value before taxes.
|
1192
|
+
# [required] Value before taxes.
|
1100
1193
|
# Corresponds to the JSON property `pretax`
|
1101
1194
|
# @return [Google::Apis::ContentV2::Price]
|
1102
1195
|
attr_accessor :pretax
|
1103
1196
|
|
1104
|
-
# Tax value.
|
1197
|
+
# [required] Tax value.
|
1105
1198
|
# Corresponds to the JSON property `tax`
|
1106
1199
|
# @return [Google::Apis::ContentV2::Price]
|
1107
1200
|
attr_accessor :tax
|
@@ -2665,30 +2758,30 @@ module Google
|
|
2665
2758
|
# @return [Array<Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary>]
|
2666
2759
|
attr_accessor :additional_charge_summaries
|
2667
2760
|
|
2668
|
-
# Customer balance on this invoice. A positive amount means the
|
2669
|
-
# paying, a negative one means the customer is receiving money. Note
|
2670
|
-
# must always be true that merchant_balance + customer_balance +
|
2671
|
-
# 0.
|
2761
|
+
# [required] Customer balance on this invoice. A positive amount means the
|
2762
|
+
# customer is paying, a negative one means the customer is receiving money. Note
|
2763
|
+
# that it must always be true that merchant_balance + customer_balance +
|
2764
|
+
# google_balance = 0.
|
2672
2765
|
# Corresponds to the JSON property `customerBalance`
|
2673
2766
|
# @return [Google::Apis::ContentV2::Amount]
|
2674
2767
|
attr_accessor :customer_balance
|
2675
2768
|
|
2676
|
-
# Google balance on this invoice. A positive amount means Google is
|
2677
|
-
# negative one means Google is receiving money. Note that it must
|
2678
|
-
# that merchant_balance + customer_balance + google_balance = 0.
|
2769
|
+
# [required] Google balance on this invoice. A positive amount means Google is
|
2770
|
+
# paying, a negative one means Google is receiving money. Note that it must
|
2771
|
+
# always be true that merchant_balance + customer_balance + google_balance = 0.
|
2679
2772
|
# Corresponds to the JSON property `googleBalance`
|
2680
2773
|
# @return [Google::Apis::ContentV2::Amount]
|
2681
2774
|
attr_accessor :google_balance
|
2682
2775
|
|
2683
|
-
# Merchant balance on this invoice. A positive amount means the
|
2684
|
-
# paying, a negative one means the merchant is receiving money. Note
|
2685
|
-
# must always be true that merchant_balance + customer_balance +
|
2686
|
-
# 0.
|
2776
|
+
# [required] Merchant balance on this invoice. A positive amount means the
|
2777
|
+
# merchant is paying, a negative one means the merchant is receiving money. Note
|
2778
|
+
# that it must always be true that merchant_balance + customer_balance +
|
2779
|
+
# google_balance = 0.
|
2687
2780
|
# Corresponds to the JSON property `merchantBalance`
|
2688
2781
|
# @return [Google::Apis::ContentV2::Amount]
|
2689
2782
|
attr_accessor :merchant_balance
|
2690
2783
|
|
2691
|
-
# Total price for the product.
|
2784
|
+
# [required] Total price for the product.
|
2692
2785
|
# Corresponds to the JSON property `productTotal`
|
2693
2786
|
# @return [Google::Apis::ContentV2::Amount]
|
2694
2787
|
attr_accessor :product_total
|
@@ -2717,12 +2810,12 @@ module Google
|
|
2717
2810
|
class InvoiceSummaryAdditionalChargeSummary
|
2718
2811
|
include Google::Apis::Core::Hashable
|
2719
2812
|
|
2720
|
-
# Total additional charge for this type.
|
2813
|
+
# [required] Total additional charge for this type.
|
2721
2814
|
# Corresponds to the JSON property `totalAmount`
|
2722
2815
|
# @return [Google::Apis::ContentV2::Amount]
|
2723
2816
|
attr_accessor :total_amount
|
2724
2817
|
|
2725
|
-
# Type of the additional charge.
|
2818
|
+
# [required] Type of the additional charge.
|
2726
2819
|
# Corresponds to the JSON property `type`
|
2727
2820
|
# @return [String]
|
2728
2821
|
attr_accessor :type
|
@@ -4334,7 +4427,7 @@ module Google
|
|
4334
4427
|
attr_accessor :creation_date
|
4335
4428
|
|
4336
4429
|
# Date on which the shipment has been delivered, in ISO 8601 format. Present
|
4337
|
-
# only if status is
|
4430
|
+
# only if status is delivered
|
4338
4431
|
# Corresponds to the JSON property `deliveryDate`
|
4339
4432
|
# @return [String]
|
4340
4433
|
attr_accessor :delivery_date
|
@@ -4412,27 +4505,28 @@ module Google
|
|
4412
4505
|
class OrderinvoicesCreateChargeInvoiceRequest
|
4413
4506
|
include Google::Apis::Core::Hashable
|
4414
4507
|
|
4415
|
-
# The ID of the invoice.
|
4508
|
+
# [required] The ID of the invoice.
|
4416
4509
|
# Corresponds to the JSON property `invoiceId`
|
4417
4510
|
# @return [String]
|
4418
4511
|
attr_accessor :invoice_id
|
4419
4512
|
|
4420
|
-
# Invoice summary.
|
4513
|
+
# [required] Invoice summary.
|
4421
4514
|
# Corresponds to the JSON property `invoiceSummary`
|
4422
4515
|
# @return [Google::Apis::ContentV2::InvoiceSummary]
|
4423
4516
|
attr_accessor :invoice_summary
|
4424
4517
|
|
4425
|
-
# Invoice details per line item.
|
4518
|
+
# [required] Invoice details per line item.
|
4426
4519
|
# Corresponds to the JSON property `lineItemInvoices`
|
4427
4520
|
# @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]
|
4428
4521
|
attr_accessor :line_item_invoices
|
4429
4522
|
|
4430
|
-
# The ID of the operation, unique across all operations for a given
|
4523
|
+
# [required] The ID of the operation, unique across all operations for a given
|
4524
|
+
# order.
|
4431
4525
|
# Corresponds to the JSON property `operationId`
|
4432
4526
|
# @return [String]
|
4433
4527
|
attr_accessor :operation_id
|
4434
4528
|
|
4435
|
-
# ID of the shipment group.
|
4529
|
+
# [required] ID of the shipment group.
|
4436
4530
|
# Corresponds to the JSON property `shipmentGroupId`
|
4437
4531
|
# @return [String]
|
4438
4532
|
attr_accessor :shipment_group_id
|
@@ -4481,24 +4575,25 @@ module Google
|
|
4481
4575
|
class OrderinvoicesCreateRefundInvoiceRequest
|
4482
4576
|
include Google::Apis::Core::Hashable
|
4483
4577
|
|
4484
|
-
# The ID of the invoice.
|
4578
|
+
# [required] The ID of the invoice.
|
4485
4579
|
# Corresponds to the JSON property `invoiceId`
|
4486
4580
|
# @return [String]
|
4487
4581
|
attr_accessor :invoice_id
|
4488
4582
|
|
4489
|
-
# The ID of the operation, unique across all operations for a given
|
4583
|
+
# [required] The ID of the operation, unique across all operations for a given
|
4584
|
+
# order.
|
4490
4585
|
# Corresponds to the JSON property `operationId`
|
4491
4586
|
# @return [String]
|
4492
4587
|
attr_accessor :operation_id
|
4493
4588
|
|
4494
|
-
# Option to create a refund-only invoice. Exactly one of
|
4495
|
-
#
|
4589
|
+
# Option to create a refund-only invoice. Exactly one of refundOnlyOption or
|
4590
|
+
# returnOption must be provided.
|
4496
4591
|
# Corresponds to the JSON property `refundOnlyOption`
|
4497
4592
|
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
|
4498
4593
|
attr_accessor :refund_only_option
|
4499
4594
|
|
4500
4595
|
# Option to create an invoice for a refund and mark all items within the invoice
|
4501
|
-
# as returned. Exactly one of
|
4596
|
+
# as returned. Exactly one of refundOnlyOption or returnOption must be provided.
|
4502
4597
|
# Corresponds to the JSON property `returnOption`
|
4503
4598
|
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
|
4504
4599
|
attr_accessor :return_option
|
@@ -4557,7 +4652,7 @@ module Google
|
|
4557
4652
|
# @return [String]
|
4558
4653
|
attr_accessor :description
|
4559
4654
|
|
4560
|
-
# Reason for the refund.
|
4655
|
+
# [required] Reason for the refund.
|
4561
4656
|
# Corresponds to the JSON property `reason`
|
4562
4657
|
# @return [String]
|
4563
4658
|
attr_accessor :reason
|
@@ -4582,7 +4677,7 @@ module Google
|
|
4582
4677
|
# @return [String]
|
4583
4678
|
attr_accessor :description
|
4584
4679
|
|
4585
|
-
# Reason for the return.
|
4680
|
+
# [required] Reason for the return.
|
4586
4681
|
# Corresponds to the JSON property `reason`
|
4587
4682
|
# @return [String]
|
4588
4683
|
attr_accessor :reason
|
@@ -5710,6 +5805,12 @@ module Google
|
|
5710
5805
|
# @return [String]
|
5711
5806
|
attr_accessor :carrier
|
5712
5807
|
|
5808
|
+
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
5809
|
+
# and can be provided only if
|
5810
|
+
# Corresponds to the JSON property `deliveryDate`
|
5811
|
+
# @return [String]
|
5812
|
+
attr_accessor :delivery_date
|
5813
|
+
|
5713
5814
|
# The ID of the shipment.
|
5714
5815
|
# Corresponds to the JSON property `shipmentId`
|
5715
5816
|
# @return [String]
|
@@ -5732,6 +5833,7 @@ module Google
|
|
5732
5833
|
# Update properties of this object
|
5733
5834
|
def update!(**args)
|
5734
5835
|
@carrier = args[:carrier] if args.key?(:carrier)
|
5836
|
+
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
5735
5837
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
5736
5838
|
@status = args[:status] if args.key?(:status)
|
5737
5839
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
@@ -6583,6 +6685,12 @@ module Google
|
|
6583
6685
|
# @return [String]
|
6584
6686
|
attr_accessor :carrier
|
6585
6687
|
|
6688
|
+
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
6689
|
+
# and can be provided only if
|
6690
|
+
# Corresponds to the JSON property `deliveryDate`
|
6691
|
+
# @return [String]
|
6692
|
+
attr_accessor :delivery_date
|
6693
|
+
|
6586
6694
|
# The ID of the operation. Unique across all operations for a given order.
|
6587
6695
|
# Corresponds to the JSON property `operationId`
|
6588
6696
|
# @return [String]
|
@@ -6610,6 +6718,7 @@ module Google
|
|
6610
6718
|
# Update properties of this object
|
6611
6719
|
def update!(**args)
|
6612
6720
|
@carrier = args[:carrier] if args.key?(:carrier)
|
6721
|
+
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
6613
6722
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
6614
6723
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
6615
6724
|
@status = args[:status] if args.key?(:status)
|
@@ -7504,6 +7613,11 @@ module Google
|
|
7504
7613
|
# @return [String]
|
7505
7614
|
attr_accessor :content_language
|
7506
7615
|
|
7616
|
+
# Cost of goods sold. Used for gross profit reporting.
|
7617
|
+
# Corresponds to the JSON property `costOfGoodsSold`
|
7618
|
+
# @return [Google::Apis::ContentV2::Price]
|
7619
|
+
attr_accessor :cost_of_goods_sold
|
7620
|
+
|
7507
7621
|
# A list of custom (merchant-provided) attributes. It can also be used for
|
7508
7622
|
# submitting any attribute of the feed specification in its generic form (e.g., `
|
7509
7623
|
# "name": "size type", "type": "text", "value": "regular" `). This is useful
|
@@ -7664,11 +7778,21 @@ module Google
|
|
7664
7778
|
# @return [String]
|
7665
7779
|
attr_accessor :material
|
7666
7780
|
|
7781
|
+
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
7782
|
+
# Corresponds to the JSON property `maxEnergyEfficiencyClass`
|
7783
|
+
# @return [String]
|
7784
|
+
attr_accessor :max_energy_efficiency_class
|
7785
|
+
|
7667
7786
|
# Maximal product handling time (in business days).
|
7668
7787
|
# Corresponds to the JSON property `maxHandlingTime`
|
7669
7788
|
# @return [Fixnum]
|
7670
7789
|
attr_accessor :max_handling_time
|
7671
7790
|
|
7791
|
+
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
7792
|
+
# Corresponds to the JSON property `minEnergyEfficiencyClass`
|
7793
|
+
# @return [String]
|
7794
|
+
attr_accessor :min_energy_efficiency_class
|
7795
|
+
|
7672
7796
|
# Minimal product handling time (in business days).
|
7673
7797
|
# Corresponds to the JSON property `minHandlingTime`
|
7674
7798
|
# @return [Fixnum]
|
@@ -7842,6 +7966,7 @@ module Google
|
|
7842
7966
|
@color = args[:color] if args.key?(:color)
|
7843
7967
|
@condition = args[:condition] if args.key?(:condition)
|
7844
7968
|
@content_language = args[:content_language] if args.key?(:content_language)
|
7969
|
+
@cost_of_goods_sold = args[:cost_of_goods_sold] if args.key?(:cost_of_goods_sold)
|
7845
7970
|
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
|
7846
7971
|
@custom_groups = args[:custom_groups] if args.key?(:custom_groups)
|
7847
7972
|
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
|
@@ -7871,7 +7996,9 @@ module Google
|
|
7871
7996
|
@link = args[:link] if args.key?(:link)
|
7872
7997
|
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
7873
7998
|
@material = args[:material] if args.key?(:material)
|
7999
|
+
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
|
7874
8000
|
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
|
8001
|
+
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
|
7875
8002
|
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
|
7876
8003
|
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
|
7877
8004
|
@mpn = args[:mpn] if args.key?(:mpn)
|
@@ -8816,13 +8943,13 @@ module Google
|
|
8816
8943
|
class Promotion
|
8817
8944
|
include Google::Apis::Core::Hashable
|
8818
8945
|
|
8819
|
-
# Amount of the promotion. The values here are the promotion applied
|
8820
|
-
# price pretax and to the total of the tax amounts.
|
8946
|
+
# [required] Amount of the promotion. The values here are the promotion applied
|
8947
|
+
# to the unit price pretax and to the total of the tax amounts.
|
8821
8948
|
# Corresponds to the JSON property `promotionAmount`
|
8822
8949
|
# @return [Google::Apis::ContentV2::Amount]
|
8823
8950
|
attr_accessor :promotion_amount
|
8824
8951
|
|
8825
|
-
# ID of the promotion.
|
8952
|
+
# [required] ID of the promotion.
|
8826
8953
|
# Corresponds to the JSON property `promotionId`
|
8827
8954
|
# @return [String]
|
8828
8955
|
attr_accessor :promotion_id
|
@@ -8988,17 +9115,17 @@ module Google
|
|
8988
9115
|
class ShipmentInvoice
|
8989
9116
|
include Google::Apis::Core::Hashable
|
8990
9117
|
|
8991
|
-
# Invoice summary.
|
9118
|
+
# [required] Invoice summary.
|
8992
9119
|
# Corresponds to the JSON property `invoiceSummary`
|
8993
9120
|
# @return [Google::Apis::ContentV2::InvoiceSummary]
|
8994
9121
|
attr_accessor :invoice_summary
|
8995
9122
|
|
8996
|
-
# Invoice details per line item.
|
9123
|
+
# [required] Invoice details per line item.
|
8997
9124
|
# Corresponds to the JSON property `lineItemInvoices`
|
8998
9125
|
# @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]
|
8999
9126
|
attr_accessor :line_item_invoices
|
9000
9127
|
|
9001
|
-
# ID of the shipment group.
|
9128
|
+
# [required] ID of the shipment group.
|
9002
9129
|
# Corresponds to the JSON property `shipmentGroupId`
|
9003
9130
|
# @return [String]
|
9004
9131
|
attr_accessor :shipment_group_id
|
@@ -9030,12 +9157,12 @@ module Google
|
|
9030
9157
|
# @return [String]
|
9031
9158
|
attr_accessor :product_id
|
9032
9159
|
|
9033
|
-
# Unit IDs to define specific units within the line item.
|
9160
|
+
# [required] Unit IDs to define specific units within the line item.
|
9034
9161
|
# Corresponds to the JSON property `shipmentUnitIds`
|
9035
9162
|
# @return [Array<String>]
|
9036
9163
|
attr_accessor :shipment_unit_ids
|
9037
9164
|
|
9038
|
-
# Invoice details for a single unit.
|
9165
|
+
# [required] Invoice details for a single unit.
|
9039
9166
|
# Corresponds to the JSON property `unitInvoice`
|
9040
9167
|
# @return [Google::Apis::ContentV2::UnitInvoice]
|
9041
9168
|
attr_accessor :unit_invoice
|
@@ -9675,7 +9802,7 @@ module Google
|
|
9675
9802
|
# @return [Array<Google::Apis::ContentV2::Promotion>]
|
9676
9803
|
attr_accessor :promotions
|
9677
9804
|
|
9678
|
-
# Price of the unit, before applying taxes.
|
9805
|
+
# [required] Price of the unit, before applying taxes.
|
9679
9806
|
# Corresponds to the JSON property `unitPricePretax`
|
9680
9807
|
# @return [Google::Apis::ContentV2::Price]
|
9681
9808
|
attr_accessor :unit_price_pretax
|
@@ -9702,7 +9829,7 @@ module Google
|
|
9702
9829
|
class UnitInvoiceAdditionalCharge
|
9703
9830
|
include Google::Apis::Core::Hashable
|
9704
9831
|
|
9705
|
-
# Amount of the additional charge.
|
9832
|
+
# [required] Amount of the additional charge.
|
9706
9833
|
# Corresponds to the JSON property `additionalChargeAmount`
|
9707
9834
|
# @return [Google::Apis::ContentV2::Amount]
|
9708
9835
|
attr_accessor :additional_charge_amount
|
@@ -9712,7 +9839,7 @@ module Google
|
|
9712
9839
|
# @return [Array<Google::Apis::ContentV2::Promotion>]
|
9713
9840
|
attr_accessor :additional_charge_promotions
|
9714
9841
|
|
9715
|
-
# Type of the additional charge.
|
9842
|
+
# [required] Type of the additional charge.
|
9716
9843
|
# Corresponds to the JSON property `type`
|
9717
9844
|
# @return [String]
|
9718
9845
|
attr_accessor :type
|
@@ -9733,17 +9860,18 @@ module Google
|
|
9733
9860
|
class UnitInvoiceTaxLine
|
9734
9861
|
include Google::Apis::Core::Hashable
|
9735
9862
|
|
9736
|
-
# Tax amount for the tax type.
|
9863
|
+
# [required] Tax amount for the tax type.
|
9737
9864
|
# Corresponds to the JSON property `taxAmount`
|
9738
9865
|
# @return [Google::Apis::ContentV2::Price]
|
9739
9866
|
attr_accessor :tax_amount
|
9740
9867
|
|
9741
|
-
# Optional name of the tax type.
|
9868
|
+
# Optional name of the tax type. This should only be provided if taxType is
|
9869
|
+
# otherFeeTax.
|
9742
9870
|
# Corresponds to the JSON property `taxName`
|
9743
9871
|
# @return [String]
|
9744
9872
|
attr_accessor :tax_name
|
9745
9873
|
|
9746
|
-
# Type of the tax.
|
9874
|
+
# [required] Type of the tax.
|
9747
9875
|
# Corresponds to the JSON property `taxType`
|
9748
9876
|
# @return [String]
|
9749
9877
|
attr_accessor :tax_type
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class AccountsCustomBatchRequestEntryLinkRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class BatchAccountsResponse
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -130,6 +136,18 @@ module Google
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
139
|
+
class AccountsLinkRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class AccountsLinkResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class ListAccountsResponse
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
@@ -1624,12 +1642,23 @@ module Google
|
|
1624
1642
|
property :account_id, :numeric_string => true, as: 'accountId'
|
1625
1643
|
property :batch_id, as: 'batchId'
|
1626
1644
|
property :force, as: 'force'
|
1645
|
+
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
1646
|
+
|
1627
1647
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
1628
1648
|
property :request_method, as: 'method'
|
1629
1649
|
property :overwrite, as: 'overwrite'
|
1630
1650
|
end
|
1631
1651
|
end
|
1632
1652
|
|
1653
|
+
class AccountsCustomBatchRequestEntryLinkRequest
|
1654
|
+
# @private
|
1655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1656
|
+
property :action, as: 'action'
|
1657
|
+
property :link_type, as: 'linkType'
|
1658
|
+
property :linked_account_id, as: 'linkedAccountId'
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1633
1662
|
class BatchAccountsResponse
|
1634
1663
|
# @private
|
1635
1664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1648,6 +1677,23 @@ module Google
|
|
1648
1677
|
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1649
1678
|
|
1650
1679
|
property :kind, as: 'kind'
|
1680
|
+
property :link_status, as: 'linkStatus'
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
class AccountsLinkRequest
|
1685
|
+
# @private
|
1686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1687
|
+
property :action, as: 'action'
|
1688
|
+
property :link_type, as: 'linkType'
|
1689
|
+
property :linked_account_id, as: 'linkedAccountId'
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
class AccountsLinkResponse
|
1694
|
+
# @private
|
1695
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1696
|
+
property :kind, as: 'kind'
|
1651
1697
|
end
|
1652
1698
|
end
|
1653
1699
|
|
@@ -3066,6 +3112,7 @@ module Google
|
|
3066
3112
|
# @private
|
3067
3113
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3068
3114
|
property :carrier, as: 'carrier'
|
3115
|
+
property :delivery_date, as: 'deliveryDate'
|
3069
3116
|
property :shipment_id, as: 'shipmentId'
|
3070
3117
|
property :status, as: 'status'
|
3071
3118
|
property :tracking_id, as: 'trackingId'
|
@@ -3314,6 +3361,7 @@ module Google
|
|
3314
3361
|
# @private
|
3315
3362
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3316
3363
|
property :carrier, as: 'carrier'
|
3364
|
+
property :delivery_date, as: 'deliveryDate'
|
3317
3365
|
property :operation_id, as: 'operationId'
|
3318
3366
|
property :shipment_id, as: 'shipmentId'
|
3319
3367
|
property :status, as: 'status'
|
@@ -3557,6 +3605,8 @@ module Google
|
|
3557
3605
|
property :color, as: 'color'
|
3558
3606
|
property :condition, as: 'condition'
|
3559
3607
|
property :content_language, as: 'contentLanguage'
|
3608
|
+
property :cost_of_goods_sold, as: 'costOfGoodsSold', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
3609
|
+
|
3560
3610
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
3561
3611
|
|
3562
3612
|
collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
|
@@ -3591,7 +3641,9 @@ module Google
|
|
3591
3641
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
3592
3642
|
|
3593
3643
|
property :material, as: 'material'
|
3644
|
+
property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
|
3594
3645
|
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
|
3646
|
+
property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
|
3595
3647
|
property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
|
3596
3648
|
property :mobile_link, as: 'mobileLink'
|
3597
3649
|
property :mpn, as: 'mpn'
|
@@ -280,6 +280,48 @@ module Google
|
|
280
280
|
execute_or_queue_command(command, &block)
|
281
281
|
end
|
282
282
|
|
283
|
+
# Performs an action on a link between a Merchant Center account and another
|
284
|
+
# account.
|
285
|
+
# @param [Fixnum] merchant_id
|
286
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
287
|
+
# then this account must be a multi-client account and accountId must be the ID
|
288
|
+
# of a sub-account of this account.
|
289
|
+
# @param [Fixnum] account_id
|
290
|
+
# The ID of the account that should be linked.
|
291
|
+
# @param [Google::Apis::ContentV2::AccountsLinkRequest] accounts_link_request_object
|
292
|
+
# @param [String] fields
|
293
|
+
# Selector specifying which fields to include in a partial response.
|
294
|
+
# @param [String] quota_user
|
295
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
296
|
+
# characters.
|
297
|
+
# @param [String] user_ip
|
298
|
+
# Deprecated. Please use quotaUser instead.
|
299
|
+
# @param [Google::Apis::RequestOptions] options
|
300
|
+
# Request-specific options
|
301
|
+
#
|
302
|
+
# @yield [result, err] Result & error if block supplied
|
303
|
+
# @yieldparam result [Google::Apis::ContentV2::AccountsLinkResponse] parsed result object
|
304
|
+
# @yieldparam err [StandardError] error object if request failed
|
305
|
+
#
|
306
|
+
# @return [Google::Apis::ContentV2::AccountsLinkResponse]
|
307
|
+
#
|
308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
311
|
+
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
312
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
313
|
+
command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
|
314
|
+
command.request_object = accounts_link_request_object
|
315
|
+
command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
|
316
|
+
command.response_class = Google::Apis::ContentV2::AccountsLinkResponse
|
317
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
318
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
319
|
+
command.query['fields'] = fields unless fields.nil?
|
320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
321
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
322
|
+
execute_or_queue_command(command, &block)
|
323
|
+
end
|
324
|
+
|
283
325
|
# Lists the sub-accounts in your Merchant Center account.
|
284
326
|
# @param [Fixnum] merchant_id
|
285
327
|
# The ID of the managing account. This must be a multi-client account.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180702'
|
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'
|
@@ -755,8 +755,8 @@ module Google
|
|
755
755
|
# @return [Google::Apis::DataprocV1::DiskConfig]
|
756
756
|
attr_accessor :disk_config
|
757
757
|
|
758
|
-
# Optional. The Compute Engine image resource used for cluster instances.
|
759
|
-
#
|
758
|
+
# Optional. The Compute Engine image resource used for cluster instances. It can
|
759
|
+
# be specified or may be inferred from SoftwareConfig.image_version.
|
760
760
|
# Corresponds to the JSON property `imageUri`
|
761
761
|
# @return [String]
|
762
762
|
attr_accessor :image_uri
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180702'
|
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'
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
attr_accessor :members
|
79
79
|
|
80
80
|
# Role that is assigned to members. For example, roles/viewer, roles/editor, or
|
81
|
-
# roles/owner.
|
81
|
+
# roles/owner.
|
82
82
|
# Corresponds to the JSON property `role`
|
83
83
|
# @return [String]
|
84
84
|
attr_accessor :role
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-07-
|
14
|
+
date: 2018-07-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|