Autogenerated update (2020-05-07)

Delete:
- commentanalyzer_v1alpha1
- osconfig_v1beta

Update:
- adexchangebuyer2_v2beta1
- androidenterprise_v1
- androidpublisher_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
- bigquery_v2
- bigqueryconnection_v1beta1
- bigqueryreservation_v1
- bigqueryreservation_v1beta1
- binaryauthorization_v1
- binaryauthorization_v1beta1
- calendar_v3
- cloudasset_v1p1beta1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- cloudidentity_v1beta1
- cloudiot_v1
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- cloudscheduler_v1
- cloudscheduler_v1beta1
- cloudsearch_v1
- cloudshell_v1alpha1
- cloudtasks_v2
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- cloudtrace_v2
- composer_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- container_v1beta1
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- content_v2
- content_v2_1
- customsearch_v1
- datacatalog_v1beta1
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2
- dialogflow_v2beta1
- displayvideo_v1
- dlp_v2
- drive_v2
- drive_v3
- driveactivity_v2
- file_v1
- file_v1beta1
- firebase_v1beta1
- firebasehosting_v1beta1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- gameservices_v1beta
- healthcare_v1
- healthcare_v1beta1
- homegraph_v1
- iamcredentials_v1
- managedidentities_v1
- managedidentities_v1alpha1
- managedidentities_v1beta1
- memcache_v1beta2
- ml_v1
- monitoring_v3
- people_v1
- policytroubleshooter_v1
- policytroubleshooter_v1beta
- prod_tt_sasportal_v1alpha1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- run_v1
- run_v1alpha1
- runtimeconfig_v1beta1
- sasportal_v1alpha1
- script_v1
- secretmanager_v1
- secretmanager_v1beta1
- serviceconsumermanagement_v1
- serviceconsumermanagement_v1beta1
- servicecontrol_v1
- servicedirectory_v1beta1
- servicemanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- sheets_v4
- sourcerepo_v1
- speech_v1
- speech_v1p1beta1
- storage_v1
- tagmanager_v1
- tagmanager_v2
- testing_v1
- toolresults_v1beta3
- vault_v1
- videointelligence_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs committed 2020-05-07 20:07:42 +00:00
1 parent 334a41b6f9
commit 2aab01171a
308 files changed
+40747 -16123

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -628,6 +628,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MerchantRejectionReason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MinimumOrderValueTable
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MinimumOrderValueTableStoreCodeSetWithMov
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MonetaryAmount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Order
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -832,12 +856,60 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsAcknowledgeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsAcknowledgeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsPartialRefund
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsProcessRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsProcessResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsRefundOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsRejectOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderreturnsReturnItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersAcknowledgeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1360,6 +1432,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ReturnPricingInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReturnShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1438,6 +1516,54 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SettlementReport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementTransaction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementTransactionAmount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementTransactionAmountCommission
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementTransactionIdentifiers
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementTransactionTransaction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementreportsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SettlementtransactionsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShipmentInvoice
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1646,6 +1772,7 @@ module Google
class AccountGoogleMyBusinessLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gmb_account_id, as: 'gmbAccountId'
property :gmb_email, as: 'gmbEmail'
property :status, as: 'status'
end
@@ -2624,6 +2751,8 @@ module Google
property :order_return_id, as: 'orderReturnId'
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2_1::MerchantOrderReturnItem::Representation
property :return_pricing_info, as: 'returnPricingInfo', class: Google::Apis::ContentV2_1::ReturnPricingInfo, decorator: Google::Apis::ContentV2_1::ReturnPricingInfo::Representation
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2_1::ReturnShipment, decorator: Google::Apis::ContentV2_1::ReturnShipment::Representation
end
@@ -2635,15 +2764,57 @@ module Google
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2_1::CustomerReturnReason, decorator: Google::Apis::ContentV2_1::CustomerReturnReason::Representation
property :item_id, as: 'itemId'
property :merchant_rejection_reason, as: 'merchantRejectionReason', class: Google::Apis::ContentV2_1::MerchantRejectionReason, decorator: Google::Apis::ContentV2_1::MerchantRejectionReason::Representation
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2_1::RefundReason, decorator: Google::Apis::ContentV2_1::RefundReason::Representation
property :product, as: 'product', class: Google::Apis::ContentV2_1::OrderLineItemProduct, decorator: Google::Apis::ContentV2_1::OrderLineItemProduct::Representation
property :refundable_amount, as: 'refundableAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
property :return_item_id, as: 'returnItemId'
collection :return_shipment_ids, as: 'returnShipmentIds'
property :shipment_group_id, as: 'shipmentGroupId'
property :shipment_unit_id, as: 'shipmentUnitId'
property :state, as: 'state'
end
end
class MerchantRejectionReason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason_code, as: 'reasonCode'
end
end
class MinimumOrderValueTable
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :store_code_set_with_movs, as: 'storeCodeSetWithMovs', class: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov::Representation
end
end
class MinimumOrderValueTableStoreCodeSetWithMov
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :store_codes, as: 'storeCodes'
property :value, as: 'value', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
end
end
class MonetaryAmount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
end
end
class Order
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3075,6 +3246,21 @@ module Google
end
end
class OrderreturnsAcknowledgeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :operation_id, as: 'operationId'
end
end
class OrderreturnsAcknowledgeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderreturnsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3085,6 +3271,66 @@ module Google
end
end
class OrderreturnsPartialRefund
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
end
end
class OrderreturnsProcessRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :full_charge_return_shipping_cost, as: 'fullChargeReturnShippingCost'
property :operation_id, as: 'operationId'
property :refund_shipping_fee, as: 'refundShippingFee', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::OrderreturnsReturnItem, decorator: Google::Apis::ContentV2_1::OrderreturnsReturnItem::Representation
end
end
class OrderreturnsProcessResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrderreturnsRefundOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :full_refund, as: 'fullRefund'
property :partial_refund, as: 'partialRefund', class: Google::Apis::ContentV2_1::OrderreturnsPartialRefund, decorator: Google::Apis::ContentV2_1::OrderreturnsPartialRefund::Representation
property :reason_text, as: 'reasonText'
property :return_refund_reason, as: 'returnRefundReason'
end
end
class OrderreturnsRejectOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reason, as: 'reason'
property :reason_text, as: 'reasonText'
end
end
class OrderreturnsReturnItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :refund, as: 'refund', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
property :reject, as: 'reject', class: Google::Apis::ContentV2_1::OrderreturnsRejectOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRejectOperation::Representation
property :return_item_id, as: 'returnItemId'
end
end
class OrdersAcknowledgeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4083,6 +4329,21 @@ module Google
end
end
class ReturnPricingInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :charge_return_shipping_fee, as: 'chargeReturnShippingFee'
property :max_return_shipping_fee, as: 'maxReturnShippingFee', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
property :refundable_items_total_amount, as: 'refundableItemsTotalAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
property :refundable_shipping_amount, as: 'refundableShippingAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
property :total_refunded_amount, as: 'totalRefundedAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
end
end
class ReturnShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4217,6 +4478,8 @@ module Google
property :eligibility, as: 'eligibility'
property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :minimum_order_value_table, as: 'minimumOrderValueTable', class: Google::Apis::ContentV2_1::MinimumOrderValueTable, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTable::Representation
property :name, as: 'name'
property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2_1::PickupCarrierService, decorator: Google::Apis::ContentV2_1::PickupCarrierService::Representation
@@ -4226,6 +4489,94 @@ module Google
end
end
class SettlementReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_date, as: 'endDate'
property :kind, as: 'kind'
property :previous_balance, as: 'previousBalance', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :settlement_id, as: 'settlementId'
property :start_date, as: 'startDate'
property :transfer_amount, as: 'transferAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :transfer_date, as: 'transferDate'
collection :transfer_ids, as: 'transferIds'
end
end
class SettlementTransaction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::SettlementTransactionAmount, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmount::Representation
property :identifiers, as: 'identifiers', class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers, decorator: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers::Representation
property :kind, as: 'kind'
property :transaction, as: 'transaction', class: Google::Apis::ContentV2_1::SettlementTransactionTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransactionTransaction::Representation
end
end
class SettlementTransactionAmount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :commission, as: 'commission', class: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission::Representation
property :description, as: 'description'
property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
property :type, as: 'type'
end
end
class SettlementTransactionAmountCommission
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :category, as: 'category'
property :rate, as: 'rate'
end
end
class SettlementTransactionIdentifiers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adjustment_id, as: 'adjustmentId'
property :merchant_order_id, as: 'merchantOrderId'
property :settlement_entry_id, as: 'settlementEntryId'
collection :shipment_ids, as: 'shipmentIds'
property :transaction_id, as: 'transactionId'
end
end
class SettlementTransactionTransaction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :post_date, as: 'postDate'
property :type, as: 'type'
end
end
class SettlementreportsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementReport, decorator: Google::Apis::ContentV2_1::SettlementReport::Representation
end
end
class SettlementtransactionsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransaction::Representation
end
end
class ShipmentInvoice
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+299 -47
View File
@@ -85,13 +85,13 @@ module Google
# Claims the website of a Merchant Center sub-account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account whose website is claimed.
# @param [Boolean] overwrite
# Only available to selected merchants. When set to True, this flag removes any
# existing claim on the requested website by another account and replaces it
# Only available to selected merchants. When set to `True`, this flag removes
# any existing claim on the requested website by another account and replaces it
# with a claim from this account.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -200,8 +200,8 @@ module Google
# Retrieves a Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account.
# @param [String] fields
@@ -275,8 +275,8 @@ module Google
# accountId and linkedAccountId.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account that should be linked.
# @param [Google::Apis::ContentV2_1::AccountsLinkRequest] accounts_link_request_object
@@ -355,8 +355,8 @@ module Google
# Returns the list of accounts linked to your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to list links.
# @param [Fixnum] max_results
@@ -399,8 +399,8 @@ module Google
# Updates a Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Google::Apis::ContentV2_1::Account] account_object
@@ -474,8 +474,8 @@ module Google
# returned for multi-client accounts.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Array<String>, String] destinations
@@ -593,8 +593,8 @@ module Google
# Retrieves the tax settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get/update account tax settings.
# @param [String] fields
@@ -670,8 +670,8 @@ module Google
# Updates the tax settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get/update account tax settings.
# @param [Google::Apis::ContentV2_1::AccountTax] account_tax_object
@@ -1127,8 +1127,8 @@ module Google
# Retrieves the LIA settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get or update LIA settings.
# @param [String] fields
@@ -1165,8 +1165,8 @@ module Google
# Retrieves the list of accessible Google My Business accounts.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to retrieve accessible Google My Business
# accounts.
@@ -1274,8 +1274,8 @@ module Google
# Requests access to a specified Google My Business account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which GMB access is requested.
# @param [String] gmb_email
@@ -1315,8 +1315,8 @@ module Google
# Requests inventory validation for the specified country.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
@@ -1357,8 +1357,8 @@ module Google
# Sets the inventory verification contract for the specified country.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
@@ -1408,8 +1408,8 @@ module Google
# Sets the POS data provider for the specified country.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to retrieve accessible Google My Business
# accounts.
@@ -1456,8 +1456,8 @@ module Google
# Updates the LIA settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get or update LIA settings.
# @param [Google::Apis::ContentV2_1::LiaSettings] lia_settings_object
@@ -1610,7 +1610,7 @@ module Google
# Creates a refund invoice for one or more shipment groups, and triggers a
# refund for orderinvoice enabled orders. This can only be used for line items
# that have previously been charged using createChargeInvoice. All amounts (
# that have previously been charged using `createChargeInvoice`. All amounts (
# except for the summary) are incremental with respect to the previous invoice.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
@@ -1749,6 +1749,46 @@ module Google
execute_or_queue_command(command, &block)
end
# Acks an order return in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] return_id
# The ID of the return.
# @param [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest] orderreturns_acknowledge_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
command.request_object = orderreturns_acknowledge_request_object
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['returnId'] = return_id unless return_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an order return from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
@@ -1790,12 +1830,26 @@ module Google
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [Boolean] acknowledged
# Obtains order returns that match the acknowledgement status. When set to true,
# obtains order returns that have been acknowledged. When false, obtains order
# returns that have not been acknowledged. When not provided, obtains order
# returns regardless of their acknowledgement status.
# We recommend using this filter set to `false`, in conjunction with the `
# acknowledge` call, such that only un-acknowledged order returns are returned.
# @param [String] created_end_date
# Obtains order returns created before this date (inclusively), in ISO 8601
# format.
# @param [String] created_start_date
# Obtains order returns created after this date (inclusively), in ISO 8601
# format.
# @param [Array<String>, String] google_order_ids
# Obtains order returns with the specified order ids. If this parameter is
# provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
# shipmentState and acknowledged parameters must be not set.
# Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
# obtained results will include all order returns that either match the
# specified order id or the specified tracking number.
# @param [Fixnum] max_results
# The maximum number of order returns to return in the response, used for paging.
# The default value is 25 returns per page, and the maximum allowed value is
@@ -1804,6 +1858,25 @@ module Google
# Return the results in the specified order.
# @param [String] page_token
# The token returned by the previous request.
# @param [Array<String>, String] shipment_states
# Obtains order returns that match any shipment state provided in this parameter.
# When this parameter is not provided, order returns are obtained regardless of
# their shipment states.
# @param [Array<String>, String] shipment_status
# Obtains order returns that match any shipment status provided in this
# parameter. When this parameter is not provided, order returns are obtained
# regardless of their shipment statuses.
# @param [Array<String>, String] shipment_tracking_numbers
# Obtains order returns with the specified tracking numbers. If this parameter
# is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
# shipmentState and acknowledged parameters must be not set.
# Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
# obtained results will include all order returns that either match the
# specified order id or the specified tracking number.
# @param [Array<String>, String] shipment_types
# Obtains order returns that match any shipment type provided in this parameter.
# When this parameter is not provided, order returns are obtained regardless of
# their shipment types.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1823,16 +1896,62 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['acknowledged'] = acknowledged unless acknowledged.nil?
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
command.query['googleOrderIds'] = google_order_ids unless google_order_ids.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['shipmentStates'] = shipment_states unless shipment_states.nil?
command.query['shipmentStatus'] = shipment_status unless shipment_status.nil?
command.query['shipmentTrackingNumbers'] = shipment_tracking_numbers unless shipment_tracking_numbers.nil?
command.query['shipmentTypes'] = shipment_types unless shipment_types.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Processes return in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] return_id
# The ID of the return.
# @param [Google::Apis::ContentV2_1::OrderreturnsProcessRequest] orderreturns_process_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsProcessResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::OrderreturnsProcessResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
command.request_object = orderreturns_process_request_object
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
command.response_class = Google::Apis::ContentV2_1::OrderreturnsProcessResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['returnId'] = return_id unless return_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1879,8 +1998,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Sandbox only. Moves a test order from state "inProgress" to state "
# pendingShipment".
# Sandbox only. Moves a test order from state "`inProgress`" to state "`
# pendingShipment`".
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
@@ -2196,7 +2315,7 @@ module Google
# @param [String] template_name
# The name of the template to retrieve.
# @param [String] country
# The country of the template to retrieve. Defaults to US.
# The country of the template to retrieve. Defaults to `US`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2285,8 +2404,8 @@ module Google
# Obtains orders that match the acknowledgement status. When set to true,
# obtains orders that have been acknowledged. When false, obtains orders that
# have not been acknowledged.
# We recommend using this filter set to false, in conjunction with the
# acknowledge call, such that only un-acknowledged orders are returned.
# We recommend using this filter set to `false`, in conjunction with the `
# acknowledge` call, such that only un-acknowledged orders are returned.
# @param [Fixnum] max_results
# The maximum number of orders to return in the response, used for paging. The
# default value is 25 orders per page, and the maximum allowed value is 250
@@ -2303,10 +2422,10 @@ module Google
# @param [String] placed_date_start
# Obtains orders placed after this date (inclusively), in ISO 8601 format.
# @param [Array<String>, String] statuses
# Obtains orders that match any of the specified statuses. Please note that
# active is a shortcut for pendingShipment and partiallyShipped, and completed
# is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned,
# returned, and canceled.
# Obtains orders that match any of the specified statuses. Please note that `
# active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `
# completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `
# partiallyReturned`, `returned`, and `canceled`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -3702,6 +3821,139 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a settlement report from your Merchant Center account.
# @param [Fixnum] merchant_id
# The Merchant Center account of the settlement report.
# @param [String] settlement_id
# The Google-provided ID of the settlement.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::SettlementReport] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::SettlementReport]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
command.response_class = Google::Apis::ContentV2_1::SettlementReport
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['settlementId'] = settlement_id unless settlement_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of settlement reports from your Merchant Center account.
# @param [Fixnum] merchant_id
# The Merchant Center account to list settlements for.
# @param [Fixnum] max_results
# The maximum number of settlements to return in the response, used for paging.
# The default value is 200 returns per page, and the maximum allowed value is
# 5000 returns per page.
# @param [String] page_token
# The token returned by the previous request.
# @param [String] transfer_end_date
# Obtains settlements which have transactions before this date (inclusively), in
# ISO 8601 format.
# @param [String] transfer_start_date
# Obtains settlements which have transactions after this date (inclusively), in
# ISO 8601 format.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::SettlementreportsListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::SettlementreportsListResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/settlementreports', options)
command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['transferEndDate'] = transfer_end_date unless transfer_end_date.nil?
command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a list of transactions for the settlement.
# @param [Fixnum] merchant_id
# The Merchant Center account to list transactions for.
# @param [String] settlement_id
# The Google-provided ID of the settlement.
# @param [Fixnum] max_results
# The maximum number of transactions to return in the response, used for paging.
# The default value is 200 transactions per page, and the maximum allowed value
# is 5000 transactions per page.
# @param [String] page_token
# The token returned by the previous request.
# @param [Array<String>, String] transaction_ids
# The list of transactions to return. If not set, all transactions will be
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::SettlementtransactionsListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::SettlementtransactionsListResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['settlementId'] = settlement_id unless settlement_id.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves and updates the shipping settings of multiple accounts in a single
# request.
# @param [Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
@@ -3739,8 +3991,8 @@ module Google
# Retrieves the shipping settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get/update shipping settings.
# @param [String] fields
@@ -3917,8 +4169,8 @@ module Google
# Updates the shipping settings of the account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# then this account must be a multi-client account and `accountId` must be the
# ID of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to get/update shipping settings.
# @param [Google::Apis::ContentV2_1::ShippingSettings] shipping_settings_object