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
|
@@ -742,54 +742,6 @@ module Google
|
|
|
742
742
|
include Google::Apis::Core::JsonObjectSupport
|
|
743
743
|
end
|
|
744
744
|
|
|
745
|
-
class OrderpaymentsNotifyAuthApprovedRequest
|
|
746
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
|
-
|
|
748
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
749
|
-
end
|
|
750
|
-
|
|
751
|
-
class OrderpaymentsNotifyAuthApprovedResponse
|
|
752
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
|
-
|
|
754
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
755
|
-
end
|
|
756
|
-
|
|
757
|
-
class OrderpaymentsNotifyAuthDeclinedRequest
|
|
758
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
759
|
-
|
|
760
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
761
|
-
end
|
|
762
|
-
|
|
763
|
-
class OrderpaymentsNotifyAuthDeclinedResponse
|
|
764
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
|
-
|
|
766
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
767
|
-
end
|
|
768
|
-
|
|
769
|
-
class OrderpaymentsNotifyChargeRequest
|
|
770
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
-
|
|
772
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
-
end
|
|
774
|
-
|
|
775
|
-
class OrderpaymentsNotifyChargeResponse
|
|
776
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
-
|
|
778
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
-
end
|
|
780
|
-
|
|
781
|
-
class OrderpaymentsNotifyRefundRequest
|
|
782
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
-
|
|
784
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
-
end
|
|
786
|
-
|
|
787
|
-
class OrderpaymentsNotifyRefundResponse
|
|
788
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
|
-
|
|
790
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
791
|
-
end
|
|
792
|
-
|
|
793
745
|
class OrderreportsListDisbursementsResponse
|
|
794
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
747
|
|
|
@@ -2586,7 +2538,7 @@ module Google
|
|
|
2586
2538
|
|
|
2587
2539
|
property :funder, as: 'funder'
|
|
2588
2540
|
property :merchant_promotion_id, as: 'merchantPromotionId'
|
|
2589
|
-
property :
|
|
2541
|
+
property :price_value, as: 'priceValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
2590
2542
|
|
|
2591
2543
|
property :short_title, as: 'shortTitle'
|
|
2592
2544
|
property :subtype, as: 'subtype'
|
|
@@ -2740,71 +2692,6 @@ module Google
|
|
|
2740
2692
|
end
|
|
2741
2693
|
end
|
|
2742
2694
|
|
|
2743
|
-
class OrderpaymentsNotifyAuthApprovedRequest
|
|
2744
|
-
# @private
|
|
2745
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2746
|
-
property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
2747
|
-
|
|
2748
|
-
property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
2749
|
-
|
|
2750
|
-
end
|
|
2751
|
-
end
|
|
2752
|
-
|
|
2753
|
-
class OrderpaymentsNotifyAuthApprovedResponse
|
|
2754
|
-
# @private
|
|
2755
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2756
|
-
property :execution_status, as: 'executionStatus'
|
|
2757
|
-
property :kind, as: 'kind'
|
|
2758
|
-
end
|
|
2759
|
-
end
|
|
2760
|
-
|
|
2761
|
-
class OrderpaymentsNotifyAuthDeclinedRequest
|
|
2762
|
-
# @private
|
|
2763
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2764
|
-
property :decline_reason, as: 'declineReason'
|
|
2765
|
-
end
|
|
2766
|
-
end
|
|
2767
|
-
|
|
2768
|
-
class OrderpaymentsNotifyAuthDeclinedResponse
|
|
2769
|
-
# @private
|
|
2770
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2771
|
-
property :execution_status, as: 'executionStatus'
|
|
2772
|
-
property :kind, as: 'kind'
|
|
2773
|
-
end
|
|
2774
|
-
end
|
|
2775
|
-
|
|
2776
|
-
class OrderpaymentsNotifyChargeRequest
|
|
2777
|
-
# @private
|
|
2778
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2779
|
-
property :charge_state, as: 'chargeState'
|
|
2780
|
-
collection :invoice_ids, as: 'invoiceIds'
|
|
2781
|
-
end
|
|
2782
|
-
end
|
|
2783
|
-
|
|
2784
|
-
class OrderpaymentsNotifyChargeResponse
|
|
2785
|
-
# @private
|
|
2786
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2787
|
-
property :execution_status, as: 'executionStatus'
|
|
2788
|
-
property :kind, as: 'kind'
|
|
2789
|
-
end
|
|
2790
|
-
end
|
|
2791
|
-
|
|
2792
|
-
class OrderpaymentsNotifyRefundRequest
|
|
2793
|
-
# @private
|
|
2794
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2795
|
-
collection :invoice_ids, as: 'invoiceIds'
|
|
2796
|
-
property :refund_state, as: 'refundState'
|
|
2797
|
-
end
|
|
2798
|
-
end
|
|
2799
|
-
|
|
2800
|
-
class OrderpaymentsNotifyRefundResponse
|
|
2801
|
-
# @private
|
|
2802
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2803
|
-
property :execution_status, as: 'executionStatus'
|
|
2804
|
-
property :kind, as: 'kind'
|
|
2805
|
-
end
|
|
2806
|
-
end
|
|
2807
|
-
|
|
2808
2695
|
class OrderreportsListDisbursementsResponse
|
|
2809
2696
|
# @private
|
|
2810
2697
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3904,8 +3791,6 @@ module Google
|
|
|
3904
3791
|
|
|
3905
3792
|
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetails::Representation
|
|
3906
3793
|
|
|
3907
|
-
property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
3908
|
-
|
|
3909
3794
|
end
|
|
3910
3795
|
end
|
|
3911
3796
|
|
|
@@ -3937,7 +3822,7 @@ module Google
|
|
|
3937
3822
|
|
|
3938
3823
|
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::Promotion, decorator: Google::Apis::ContentV2_1::Promotion::Representation
|
|
3939
3824
|
|
|
3940
|
-
property :
|
|
3825
|
+
property :unit_price, as: 'unitPrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
3941
3826
|
|
|
3942
3827
|
collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2_1::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2_1::UnitInvoiceTaxLine::Representation
|
|
3943
3828
|
|
|
@@ -393,7 +393,7 @@ module Google
|
|
|
393
393
|
execute_or_queue_command(command, &block)
|
|
394
394
|
end
|
|
395
395
|
|
|
396
|
-
#
|
|
396
|
+
# Retrieves multiple Merchant Center account statuses in a single request.
|
|
397
397
|
# @param [Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest] accountstatuses_custom_batch_request_object
|
|
398
398
|
# @param [String] fields
|
|
399
399
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1533,166 +1533,6 @@ module Google
|
|
|
1533
1533
|
execute_or_queue_command(command, &block)
|
|
1534
1534
|
end
|
|
1535
1535
|
|
|
1536
|
-
# Notify about successfully authorizing user's payment method for a given amount.
|
|
1537
|
-
# @param [Fixnum] merchant_id
|
|
1538
|
-
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1539
|
-
# account.
|
|
1540
|
-
# @param [String] order_id
|
|
1541
|
-
# The ID of the order for for which payment authorization is happening.
|
|
1542
|
-
# @param [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedRequest] orderpayments_notify_auth_approved_request_object
|
|
1543
|
-
# @param [String] fields
|
|
1544
|
-
# Selector specifying which fields to include in a partial response.
|
|
1545
|
-
# @param [String] quota_user
|
|
1546
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
1547
|
-
# characters.
|
|
1548
|
-
# @param [String] user_ip
|
|
1549
|
-
# Deprecated. Please use quotaUser instead.
|
|
1550
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1551
|
-
# Request-specific options
|
|
1552
|
-
#
|
|
1553
|
-
# @yield [result, err] Result & error if block supplied
|
|
1554
|
-
# @yieldparam result [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedResponse] parsed result object
|
|
1555
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1556
|
-
#
|
|
1557
|
-
# @return [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedResponse]
|
|
1558
|
-
#
|
|
1559
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1560
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1561
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1562
|
-
def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1563
|
-
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
|
|
1564
|
-
command.request_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedRequest::Representation
|
|
1565
|
-
command.request_object = orderpayments_notify_auth_approved_request_object
|
|
1566
|
-
command.response_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedResponse::Representation
|
|
1567
|
-
command.response_class = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthApprovedResponse
|
|
1568
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1569
|
-
command.params['orderId'] = order_id unless order_id.nil?
|
|
1570
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1571
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1572
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1573
|
-
execute_or_queue_command(command, &block)
|
|
1574
|
-
end
|
|
1575
|
-
|
|
1576
|
-
# Notify about failure to authorize user's payment method.
|
|
1577
|
-
# @param [Fixnum] merchant_id
|
|
1578
|
-
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1579
|
-
# account.
|
|
1580
|
-
# @param [String] order_id
|
|
1581
|
-
# The ID of the order for which payment authorization was declined.
|
|
1582
|
-
# @param [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedRequest] orderpayments_notify_auth_declined_request_object
|
|
1583
|
-
# @param [String] fields
|
|
1584
|
-
# Selector specifying which fields to include in a partial response.
|
|
1585
|
-
# @param [String] quota_user
|
|
1586
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
1587
|
-
# characters.
|
|
1588
|
-
# @param [String] user_ip
|
|
1589
|
-
# Deprecated. Please use quotaUser instead.
|
|
1590
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1591
|
-
# Request-specific options
|
|
1592
|
-
#
|
|
1593
|
-
# @yield [result, err] Result & error if block supplied
|
|
1594
|
-
# @yieldparam result [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedResponse] parsed result object
|
|
1595
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1596
|
-
#
|
|
1597
|
-
# @return [Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedResponse]
|
|
1598
|
-
#
|
|
1599
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1600
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1601
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1602
|
-
def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1603
|
-
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
|
|
1604
|
-
command.request_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedRequest::Representation
|
|
1605
|
-
command.request_object = orderpayments_notify_auth_declined_request_object
|
|
1606
|
-
command.response_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedResponse::Representation
|
|
1607
|
-
command.response_class = Google::Apis::ContentV2_1::OrderpaymentsNotifyAuthDeclinedResponse
|
|
1608
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1609
|
-
command.params['orderId'] = order_id unless order_id.nil?
|
|
1610
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1611
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1612
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1613
|
-
execute_or_queue_command(command, &block)
|
|
1614
|
-
end
|
|
1615
|
-
|
|
1616
|
-
# Notify about charge on user's selected payments method.
|
|
1617
|
-
# @param [Fixnum] merchant_id
|
|
1618
|
-
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1619
|
-
# account.
|
|
1620
|
-
# @param [String] order_id
|
|
1621
|
-
# The ID of the order for which charge is happening.
|
|
1622
|
-
# @param [Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeRequest] orderpayments_notify_charge_request_object
|
|
1623
|
-
# @param [String] fields
|
|
1624
|
-
# Selector specifying which fields to include in a partial response.
|
|
1625
|
-
# @param [String] quota_user
|
|
1626
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
1627
|
-
# characters.
|
|
1628
|
-
# @param [String] user_ip
|
|
1629
|
-
# Deprecated. Please use quotaUser instead.
|
|
1630
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1631
|
-
# Request-specific options
|
|
1632
|
-
#
|
|
1633
|
-
# @yield [result, err] Result & error if block supplied
|
|
1634
|
-
# @yieldparam result [Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeResponse] parsed result object
|
|
1635
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1636
|
-
#
|
|
1637
|
-
# @return [Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeResponse]
|
|
1638
|
-
#
|
|
1639
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1640
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1641
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1642
|
-
def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1643
|
-
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
|
|
1644
|
-
command.request_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeRequest::Representation
|
|
1645
|
-
command.request_object = orderpayments_notify_charge_request_object
|
|
1646
|
-
command.response_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeResponse::Representation
|
|
1647
|
-
command.response_class = Google::Apis::ContentV2_1::OrderpaymentsNotifyChargeResponse
|
|
1648
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1649
|
-
command.params['orderId'] = order_id unless order_id.nil?
|
|
1650
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1651
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1652
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1653
|
-
execute_or_queue_command(command, &block)
|
|
1654
|
-
end
|
|
1655
|
-
|
|
1656
|
-
# Notify about refund on user's selected payments method.
|
|
1657
|
-
# @param [Fixnum] merchant_id
|
|
1658
|
-
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1659
|
-
# account.
|
|
1660
|
-
# @param [String] order_id
|
|
1661
|
-
# The ID of the order for which charge is happening.
|
|
1662
|
-
# @param [Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundRequest] orderpayments_notify_refund_request_object
|
|
1663
|
-
# @param [String] fields
|
|
1664
|
-
# Selector specifying which fields to include in a partial response.
|
|
1665
|
-
# @param [String] quota_user
|
|
1666
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
1667
|
-
# characters.
|
|
1668
|
-
# @param [String] user_ip
|
|
1669
|
-
# Deprecated. Please use quotaUser instead.
|
|
1670
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1671
|
-
# Request-specific options
|
|
1672
|
-
#
|
|
1673
|
-
# @yield [result, err] Result & error if block supplied
|
|
1674
|
-
# @yieldparam result [Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundResponse] parsed result object
|
|
1675
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1676
|
-
#
|
|
1677
|
-
# @return [Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundResponse]
|
|
1678
|
-
#
|
|
1679
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1680
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1681
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1682
|
-
def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1683
|
-
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
|
|
1684
|
-
command.request_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundRequest::Representation
|
|
1685
|
-
command.request_object = orderpayments_notify_refund_request_object
|
|
1686
|
-
command.response_representation = Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundResponse::Representation
|
|
1687
|
-
command.response_class = Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundResponse
|
|
1688
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1689
|
-
command.params['orderId'] = order_id unless order_id.nil?
|
|
1690
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1691
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1692
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1693
|
-
execute_or_queue_command(command, &block)
|
|
1694
|
-
end
|
|
1695
|
-
|
|
1696
1536
|
# Retrieves a report for disbursements from your Merchant Center account.
|
|
1697
1537
|
# @param [Fixnum] merchant_id
|
|
1698
1538
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2
|
|
28
28
|
VERSION = 'V2'
|
|
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'
|
|
@@ -542,7 +542,7 @@ module Google
|
|
|
542
542
|
# @return [String]
|
|
543
543
|
attr_accessor :display_name
|
|
544
544
|
|
|
545
|
-
# Optional. The collection of
|
|
545
|
+
# Optional. The collection of entity entries associated with the entity type.
|
|
546
546
|
# Corresponds to the JSON property `entities`
|
|
547
547
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
|
548
548
|
attr_accessor :entities
|
|
@@ -593,21 +593,26 @@ module Google
|
|
|
593
593
|
end
|
|
594
594
|
end
|
|
595
595
|
|
|
596
|
-
#
|
|
596
|
+
# An **entity entry** for an associated entity type.
|
|
597
597
|
class GoogleCloudDialogflowV2EntityTypeEntity
|
|
598
598
|
include Google::Apis::Core::Hashable
|
|
599
599
|
|
|
600
|
-
# Required. A collection of synonyms. For
|
|
601
|
-
#
|
|
600
|
+
# Required. A collection of value synonyms. For example, if the entity type
|
|
601
|
+
# is *vegetable*, and `value` is *scallions*, a synonym could be *green
|
|
602
|
+
# onions*.
|
|
603
|
+
# For `KIND_LIST` entity types:
|
|
604
|
+
# * This collection must contain exactly one synonym equal to `value`.
|
|
602
605
|
# Corresponds to the JSON property `synonyms`
|
|
603
606
|
# @return [Array<String>]
|
|
604
607
|
attr_accessor :synonyms
|
|
605
608
|
|
|
606
|
-
# Required.
|
|
609
|
+
# Required. The primary value associated with this entity entry.
|
|
610
|
+
# For example, if the entity type is *vegetable*, the value could be
|
|
611
|
+
# *scallions*.
|
|
607
612
|
# For `KIND_MAP` entity types:
|
|
608
|
-
# A canonical
|
|
613
|
+
# * A canonical value to be used in place of synonyms.
|
|
609
614
|
# For `KIND_LIST` entity types:
|
|
610
|
-
# A string that can contain references to other entity types (with or
|
|
615
|
+
# * A string that can contain references to other entity types (with or
|
|
611
616
|
# without aliases).
|
|
612
617
|
# Corresponds to the JSON property `value`
|
|
613
618
|
# @return [String]
|
|
@@ -625,10 +630,10 @@ module Google
|
|
|
625
630
|
end
|
|
626
631
|
|
|
627
632
|
# Events allow for matching intents by event name instead of the natural
|
|
628
|
-
# language input. For instance, input `<event: ` name:
|
|
629
|
-
# parameters: ` name:
|
|
633
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
634
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
630
635
|
# The parameter `name` may be used by the agent in the response:
|
|
631
|
-
#
|
|
636
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
632
637
|
class GoogleCloudDialogflowV2EventInput
|
|
633
638
|
include Google::Apis::Core::Hashable
|
|
634
639
|
|
|
@@ -1928,10 +1933,10 @@ module Google
|
|
|
1928
1933
|
attr_accessor :audio_config
|
|
1929
1934
|
|
|
1930
1935
|
# Events allow for matching intents by event name instead of the natural
|
|
1931
|
-
# language input. For instance, input `<event: ` name:
|
|
1932
|
-
# parameters: ` name:
|
|
1936
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
1937
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
1933
1938
|
# The parameter `name` may be used by the agent in the response:
|
|
1934
|
-
#
|
|
1939
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
1935
1940
|
# Corresponds to the JSON property `event`
|
|
1936
1941
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput]
|
|
1937
1942
|
attr_accessor :event
|
|
@@ -2343,10 +2348,10 @@ module Google
|
|
|
2343
2348
|
include Google::Apis::Core::Hashable
|
|
2344
2349
|
|
|
2345
2350
|
# Events allow for matching intents by event name instead of the natural
|
|
2346
|
-
# language input. For instance, input `<event: ` name:
|
|
2347
|
-
# parameters: ` name:
|
|
2351
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
2352
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
2348
2353
|
# The parameter `name` may be used by the agent in the response:
|
|
2349
|
-
#
|
|
2354
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
2350
2355
|
# Corresponds to the JSON property `followupEventInput`
|
|
2351
2356
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput]
|
|
2352
2357
|
attr_accessor :followup_event_input
|
|
@@ -2513,7 +2518,7 @@ module Google
|
|
|
2513
2518
|
# @return [String]
|
|
2514
2519
|
attr_accessor :display_name
|
|
2515
2520
|
|
|
2516
|
-
# Optional. The collection of
|
|
2521
|
+
# Optional. The collection of entity entries associated with the entity type.
|
|
2517
2522
|
# Corresponds to the JSON property `entities`
|
|
2518
2523
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
|
2519
2524
|
attr_accessor :entities
|
|
@@ -2545,21 +2550,26 @@ module Google
|
|
|
2545
2550
|
end
|
|
2546
2551
|
end
|
|
2547
2552
|
|
|
2548
|
-
#
|
|
2553
|
+
# An **entity entry** for an associated entity type.
|
|
2549
2554
|
class GoogleCloudDialogflowV2beta1EntityTypeEntity
|
|
2550
2555
|
include Google::Apis::Core::Hashable
|
|
2551
2556
|
|
|
2552
|
-
# Required. A collection of synonyms. For
|
|
2553
|
-
#
|
|
2557
|
+
# Required. A collection of value synonyms. For example, if the entity type
|
|
2558
|
+
# is *vegetable*, and `value` is *scallions*, a synonym could be *green
|
|
2559
|
+
# onions*.
|
|
2560
|
+
# For `KIND_LIST` entity types:
|
|
2561
|
+
# * This collection must contain exactly one synonym equal to `value`.
|
|
2554
2562
|
# Corresponds to the JSON property `synonyms`
|
|
2555
2563
|
# @return [Array<String>]
|
|
2556
2564
|
attr_accessor :synonyms
|
|
2557
2565
|
|
|
2558
|
-
# Required.
|
|
2566
|
+
# Required. The primary value associated with this entity entry.
|
|
2567
|
+
# For example, if the entity type is *vegetable*, the value could be
|
|
2568
|
+
# *scallions*.
|
|
2559
2569
|
# For `KIND_MAP` entity types:
|
|
2560
|
-
# A canonical
|
|
2570
|
+
# * A canonical value to be used in place of synonyms.
|
|
2561
2571
|
# For `KIND_LIST` entity types:
|
|
2562
|
-
# A string that can contain references to other entity types (with or
|
|
2572
|
+
# * A string that can contain references to other entity types (with or
|
|
2563
2573
|
# without aliases).
|
|
2564
2574
|
# Corresponds to the JSON property `value`
|
|
2565
2575
|
# @return [String]
|
|
@@ -2577,10 +2587,10 @@ module Google
|
|
|
2577
2587
|
end
|
|
2578
2588
|
|
|
2579
2589
|
# Events allow for matching intents by event name instead of the natural
|
|
2580
|
-
# language input. For instance, input `<event: ` name:
|
|
2581
|
-
# parameters: ` name:
|
|
2590
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
2591
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
2582
2592
|
# The parameter `name` may be used by the agent in the response:
|
|
2583
|
-
#
|
|
2593
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
2584
2594
|
class GoogleCloudDialogflowV2beta1EventInput
|
|
2585
2595
|
include Google::Apis::Core::Hashable
|
|
2586
2596
|
|
|
@@ -4104,10 +4114,10 @@ module Google
|
|
|
4104
4114
|
alias_method :end_interaction?, :end_interaction
|
|
4105
4115
|
|
|
4106
4116
|
# Events allow for matching intents by event name instead of the natural
|
|
4107
|
-
# language input. For instance, input `<event: ` name:
|
|
4108
|
-
# parameters: ` name:
|
|
4117
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
4118
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
4109
4119
|
# The parameter `name` may be used by the agent in the response:
|
|
4110
|
-
#
|
|
4120
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
4111
4121
|
# Corresponds to the JSON property `followupEventInput`
|
|
4112
4122
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EventInput]
|
|
4113
4123
|
attr_accessor :followup_event_input
|