From 5c95ba4c18f21bd3422aa20284b7a880b97f91e5 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 10 Jan 2019 00:36:17 +0000 Subject: [PATCH] Autogenerated update (2019-01-10) Update: - cloudkms_v1 - content_v2 - content_v2_1 - dialogflow_v2beta1 - oslogin_v1 - oslogin_v1alpha - oslogin_v1beta --- api_names_out.yaml | 19 ++++ generated/google/apis/cloudkms_v1.rb | 5 +- generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 98 ++++++++++++++++--- .../google/apis/content_v2/representations.rb | 24 +++++ generated/google/apis/content_v2_1.rb | 2 +- generated/google/apis/content_v2_1/classes.rb | 81 ++++++++++++--- .../apis/content_v2_1/representations.rb | 28 +++++- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 40 ++++---- .../google/apis/dialogflow_v2beta1/service.rb | 12 +-- generated/google/apis/oslogin_v1.rb | 4 +- generated/google/apis/oslogin_v1/service.rb | 2 +- generated/google/apis/oslogin_v1alpha.rb | 4 +- .../google/apis/oslogin_v1alpha/service.rb | 2 +- generated/google/apis/oslogin_v1beta.rb | 4 +- .../google/apis/oslogin_v1beta/service.rb | 2 +- 17 files changed, 264 insertions(+), 67 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index b5962b7e4..21d90312f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -39575,6 +39575,9 @@ "/content:v2.1/AccountUser": account_user "/content:v2.1/AccountUser/admin": admin "/content:v2.1/AccountUser/emailAddress": email_address +"/content:v2.1/AccountUser/orderManager": order_manager +"/content:v2.1/AccountUser/paymentsAnalyst": payments_analyst +"/content:v2.1/AccountUser/paymentsManager": payments_manager "/content:v2.1/AccountYouTubeChannelLink": account_you_tube_channel_link "/content:v2.1/AccountYouTubeChannelLink/channelId": channel_id "/content:v2.1/AccountYouTubeChannelLink/status": status @@ -39668,7 +39671,9 @@ "/content:v2.1/AccounttaxListResponse/resources/resource": resource "/content:v2.1/Amount": amount "/content:v2.1/Amount/pretax": pretax +"/content:v2.1/Amount/priceAmount": price_amount "/content:v2.1/Amount/tax": tax +"/content:v2.1/Amount/taxAmount": tax_amount "/content:v2.1/CarrierRate": carrier_rate "/content:v2.1/CarrierRate/carrierName": carrier_name "/content:v2.1/CarrierRate/carrierService": carrier_service @@ -39985,6 +39990,7 @@ "/content:v2.1/Order/shippingCostTax": shipping_cost_tax "/content:v2.1/Order/shippingOption": shipping_option "/content:v2.1/Order/status": status +"/content:v2.1/Order/taxCollector": tax_collector "/content:v2.1/OrderAddress": order_address "/content:v2.1/OrderAddress/country": country "/content:v2.1/OrderAddress/fullAddress": full_address @@ -40530,6 +40536,10 @@ "/content:v2.1/Product/title": title "/content:v2.1/Product/unitPricingBaseMeasure": unit_pricing_base_measure "/content:v2.1/Product/unitPricingMeasure": unit_pricing_measure +"/content:v2.1/ProductAmount": product_amount +"/content:v2.1/ProductAmount/priceAmount": price_amount +"/content:v2.1/ProductAmount/remittedTaxAmount": remitted_tax_amount +"/content:v2.1/ProductAmount/taxAmount": tax_amount "/content:v2.1/ProductShipping": product_shipping "/content:v2.1/ProductShipping/country": country "/content:v2.1/ProductShipping/locationGroupName": location_group_name @@ -41178,6 +41188,9 @@ "/content:v2/AccountUser": account_user "/content:v2/AccountUser/admin": admin "/content:v2/AccountUser/emailAddress": email_address +"/content:v2/AccountUser/orderManager": order_manager +"/content:v2/AccountUser/paymentsAnalyst": payments_analyst +"/content:v2/AccountUser/paymentsManager": payments_manager "/content:v2/AccountYouTubeChannelLink": account_you_tube_channel_link "/content:v2/AccountYouTubeChannelLink/channelId": channel_id "/content:v2/AccountYouTubeChannelLink/status": status @@ -41661,6 +41674,7 @@ "/content:v2/Order/shippingCostTax": shipping_cost_tax "/content:v2/Order/shippingOption": shipping_option "/content:v2/Order/status": status +"/content:v2/Order/taxCollector": tax_collector "/content:v2/OrderAddress": order_address "/content:v2/OrderAddress/country": country "/content:v2/OrderAddress/fullAddress": full_address @@ -41812,6 +41826,7 @@ "/content:v2/OrderReportTransaction/merchantOrderId": merchant_order_id "/content:v2/OrderReportTransaction/orderId": order_id "/content:v2/OrderReportTransaction/productAmount": product_amount +"/content:v2/OrderReportTransaction/productAmountWithRemittedTax": product_amount_with_remitted_tax "/content:v2/OrderReportTransaction/transactionDate": transaction_date "/content:v2/OrderReturn": order_return "/content:v2/OrderReturn/actor": actor @@ -42377,6 +42392,10 @@ "/content:v2/Product/validatedDestinations/validated_destination": validated_destination "/content:v2/Product/warnings": warnings "/content:v2/Product/warnings/warning": warning +"/content:v2/ProductAmount": product_amount +"/content:v2/ProductAmount/priceAmount": price_amount +"/content:v2/ProductAmount/remittedTaxAmount": remitted_tax_amount +"/content:v2/ProductAmount/taxAmount": tax_amount "/content:v2/ProductAspect": product_aspect "/content:v2/ProductAspect/aspectName": aspect_name "/content:v2/ProductAspect/destinationName": destination_name diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index e8392780e..277156349 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -26,10 +26,13 @@ module Google # @see https://cloud.google.com/kms/ module CloudkmsV1 VERSION = 'V1' - REVISION = '20181130' + REVISION = '20190104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View and manage your keys and secrets stored in Cloud Key Management Service + AUTH_CLOUDKMS = 'https://www.googleapis.com/auth/cloudkms' end end end diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index c940211fb..6d35f88cc 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20181203' + REVISION = '20190107' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 6828d780f..2a4b1c327 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -781,6 +781,24 @@ module Google # @return [String] attr_accessor :email_address + # Whether user is an order manager. + # Corresponds to the JSON property `orderManager` + # @return [Boolean] + attr_accessor :order_manager + alias_method :order_manager?, :order_manager + + # Whether user can access payment statements. + # Corresponds to the JSON property `paymentsAnalyst` + # @return [Boolean] + attr_accessor :payments_analyst + alias_method :payments_analyst?, :payments_analyst + + # Whether user can manage payment settings. + # Corresponds to the JSON property `paymentsManager` + # @return [Boolean] + attr_accessor :payments_manager + alias_method :payments_manager?, :payments_manager + def initialize(**args) update!(**args) end @@ -789,6 +807,9 @@ module Google def update!(**args) @admin = args[:admin] if args.key?(:admin) @email_address = args[:email_address] if args.key?(:email_address) + @order_manager = args[:order_manager] if args.key?(:order_manager) + @payments_analyst = args[:payments_analyst] if args.key?(:payments_analyst) + @payments_manager = args[:payments_manager] if args.key?(:payments_manager) end end @@ -4090,6 +4111,11 @@ module Google # @return [String] attr_accessor :status + # The party responsible for collecting and remitting taxes. + # Corresponds to the JSON property `taxCollector` + # @return [String] + attr_accessor :tax_collector + def initialize(**args) update!(**args) end @@ -4116,6 +4142,7 @@ module Google @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax) @shipping_option = args[:shipping_option] if args.key?(:shipping_option) @status = args[:status] if args.key?(:status) + @tax_collector = args[:tax_collector] if args.key?(:tax_collector) end end @@ -5021,6 +5048,11 @@ module Google # @return [Google::Apis::ContentV2::Amount] attr_accessor :product_amount + # Total amount with remitted tax for the items. + # Corresponds to the JSON property `productAmountWithRemittedTax` + # @return [Google::Apis::ContentV2::ProductAmount] + attr_accessor :product_amount_with_remitted_tax + # The date of the transaction, in ISO 8601 format. # Corresponds to the JSON property `transactionDate` # @return [String] @@ -5040,6 +5072,7 @@ module Google @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @order_id = args[:order_id] if args.key?(:order_id) @product_amount = args[:product_amount] if args.key?(:product_amount) + @product_amount_with_remitted_tax = args[:product_amount_with_remitted_tax] if args.key?(:product_amount_with_remitted_tax) @transaction_date = args[:transaction_date] if args.key?(:transaction_date) end end @@ -5775,7 +5808,9 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to cancellation amount in amountPretax. + # Tax amount that corresponds to cancellation amount in amountPretax. Optional, + # but if filled, then amountPretax must be set. Calculated automatically if not + # provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -6237,7 +6272,9 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to cancellation amount in amountPretax. + # Tax amount that corresponds to cancellation amount in amountPretax. Optional, + # but if filled, then amountPretax must be set. Calculated automatically if not + # provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -6375,13 +6412,13 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :amount - # The amount that is refunded. Either amount or amountPretax and amountTax - # should be filled. + # The amount that is refunded. Either amount or amountPretax should be filled. # Corresponds to the JSON property `amountPretax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to refund amount in amountPretax. + # Tax amount that corresponds to refund amount in amountPretax. Optional, but if + # filled, amountPretax must be set. Calculated automatically if not provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -6503,13 +6540,14 @@ module Google include Google::Apis::Core::Hashable # The amount that is refunded. If omitted, refundless return is assumed (same as - # calling returnLineItem method). Optional, but if filled then both amountPretax - # and amountTax must be set. + # calling returnLineItem method). # Corresponds to the JSON property `amountPretax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to refund amount in amountPretax. + # Tax amount that corresponds to refund amount in amountPretax. Optional, but if + # filled, then amountPretax must be set. Calculated automatically if not + # provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -7013,13 +7051,13 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :amount - # The amount that is refunded. Either amount or amountPretax and amountTax - # should be filled. + # The amount that is refunded. Either amount or amountPretax should be filled. # Corresponds to the JSON property `amountPretax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to refund amount in amountPretax. + # Tax amount that corresponds to refund amount in amountPretax. Optional, but if + # filled, amountPretax must be set. Calculated automatically if not provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -7237,13 +7275,14 @@ module Google include Google::Apis::Core::Hashable # The amount that is refunded. If omitted, refundless return is assumed (same as - # calling returnLineItem method). Optional, but if filled then both amountPretax - # and amountTax must be set. + # calling returnLineItem method). # Corresponds to the JSON property `amountPretax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_pretax - # Tax amount that correspond to refund amount in amountPretax. + # Tax amount that corresponds to refund amount in amountPretax. Optional, but if + # filled, then amountPretax must be set. Calculated automatically if not + # provided. # Corresponds to the JSON property `amountTax` # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax @@ -8961,6 +9000,37 @@ module Google end end + # + class ProductAmount + include Google::Apis::Core::Hashable + + # The pre-tax or post-tax price depending on the location of the order. + # Corresponds to the JSON property `priceAmount` + # @return [Google::Apis::ContentV2::Price] + attr_accessor :price_amount + + # Remitted tax value. + # Corresponds to the JSON property `remittedTaxAmount` + # @return [Google::Apis::ContentV2::Price] + attr_accessor :remitted_tax_amount + + # Tax value. + # Corresponds to the JSON property `taxAmount` + # @return [Google::Apis::ContentV2::Price] + attr_accessor :tax_amount + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @price_amount = args[:price_amount] if args.key?(:price_amount) + @remitted_tax_amount = args[:remitted_tax_amount] if args.key?(:remitted_tax_amount) + @tax_amount = args[:tax_amount] if args.key?(:tax_amount) + end + end + # class ProductAspect include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index e82afcf32..5dac662d9 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -1306,6 +1306,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ProductAmount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ProductAspect class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1810,6 +1816,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :admin, as: 'admin' property :email_address, as: 'emailAddress' + property :order_manager, as: 'orderManager' + property :payments_analyst, as: 'paymentsAnalyst' + property :payments_manager, as: 'paymentsManager' end end @@ -2765,6 +2774,7 @@ module Google property :shipping_option, as: 'shippingOption' property :status, as: 'status' + property :tax_collector, as: 'taxCollector' end end @@ -3007,6 +3017,8 @@ module Google property :order_id, as: 'orderId' property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation + property :product_amount_with_remitted_tax, as: 'productAmountWithRemittedTax', class: Google::Apis::ContentV2::ProductAmount, decorator: Google::Apis::ContentV2::ProductAmount::Representation + property :transaction_date, as: 'transactionDate' end end @@ -4078,6 +4090,18 @@ module Google end end + class ProductAmount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation + + property :remitted_tax_amount, as: 'remittedTaxAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation + + property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation + + end + end + class ProductAspect # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb index 3dba00e13..96e7a1522 100644 --- a/generated/google/apis/content_v2_1.rb +++ b/generated/google/apis/content_v2_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2_1 VERSION = 'V2_1' - REVISION = '20181203' + REVISION = '20190107' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb index 2a21965ed..69de5f690 100644 --- a/generated/google/apis/content_v2_1/classes.rb +++ b/generated/google/apis/content_v2_1/classes.rb @@ -646,6 +646,24 @@ module Google # @return [String] attr_accessor :email_address + # Whether user is an order manager. + # Corresponds to the JSON property `orderManager` + # @return [Boolean] + attr_accessor :order_manager + alias_method :order_manager?, :order_manager + + # Whether user can access payment statements. + # Corresponds to the JSON property `paymentsAnalyst` + # @return [Boolean] + attr_accessor :payments_analyst + alias_method :payments_analyst?, :payments_analyst + + # Whether user can manage payment settings. + # Corresponds to the JSON property `paymentsManager` + # @return [Boolean] + attr_accessor :payments_manager + alias_method :payments_manager?, :payments_manager + def initialize(**args) update!(**args) end @@ -654,6 +672,9 @@ module Google def update!(**args) @admin = args[:admin] if args.key?(:admin) @email_address = args[:email_address] if args.key?(:email_address) + @order_manager = args[:order_manager] if args.key?(:order_manager) + @payments_analyst = args[:payments_analyst] if args.key?(:payments_analyst) + @payments_manager = args[:payments_manager] if args.key?(:payments_manager) end end @@ -1323,15 +1344,16 @@ module Google class Amount include Google::Apis::Core::Hashable - # [required] Value before taxes. - # Corresponds to the JSON property `pretax` + # [required] The pre-tax or post-tax price depending on the location of the + # order. + # Corresponds to the JSON property `priceAmount` # @return [Google::Apis::ContentV2_1::Price] - attr_accessor :pretax + attr_accessor :price_amount # [required] Tax value. - # Corresponds to the JSON property `tax` + # Corresponds to the JSON property `taxAmount` # @return [Google::Apis::ContentV2_1::Price] - attr_accessor :tax + attr_accessor :tax_amount def initialize(**args) update!(**args) @@ -1339,8 +1361,8 @@ module Google # Update properties of this object def update!(**args) - @pretax = args[:pretax] if args.key?(:pretax) - @tax = args[:tax] if args.key?(:tax) + @price_amount = args[:price_amount] if args.key?(:price_amount) + @tax_amount = args[:tax_amount] if args.key?(:tax_amount) end end @@ -3487,6 +3509,11 @@ module Google # @return [String] attr_accessor :status + # The party responsible for collecting and remitting taxes. + # Corresponds to the JSON property `taxCollector` + # @return [String] + attr_accessor :tax_collector + def initialize(**args) update!(**args) end @@ -3513,6 +3540,7 @@ module Google @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax) @shipping_option = args[:shipping_option] if args.key?(:shipping_option) @status = args[:status] if args.key?(:status) + @tax_collector = args[:tax_collector] if args.key?(:tax_collector) end end @@ -4348,7 +4376,7 @@ module Google # Total amount for the items. # Corresponds to the JSON property `productAmount` - # @return [Google::Apis::ContentV2_1::Amount] + # @return [Google::Apis::ContentV2_1::ProductAmount] attr_accessor :product_amount # The date of the transaction, in ISO 8601 format. @@ -5679,8 +5707,7 @@ module Google attr_accessor :operation_id # The amount to be refunded. This may be pre-tax or post-tax depending on the - # location of the order. If omitted, refundless return is assumed. Optional, but - # if filled then both priceAmount and taxAmount must be set. + # location of the order. If omitted, refundless return is assumed. # Corresponds to the JSON property `priceAmount` # @return [Google::Apis::ContentV2_1::Price] attr_accessor :price_amount @@ -5706,7 +5733,8 @@ module Google # @return [String] attr_accessor :reason_text - # The amount of tax to be refunded. + # The amount of tax to be refunded. Optional, but if filled, then priceAmount + # must be set. Calculated automatically if not provided. # Corresponds to the JSON property `taxAmount` # @return [Google::Apis::ContentV2_1::Price] attr_accessor :tax_amount @@ -7343,6 +7371,37 @@ module Google end end + # + class ProductAmount + include Google::Apis::Core::Hashable + + # The pre-tax or post-tax price depending on the location of the order. + # Corresponds to the JSON property `priceAmount` + # @return [Google::Apis::ContentV2_1::Price] + attr_accessor :price_amount + + # Remitted tax value. + # Corresponds to the JSON property `remittedTaxAmount` + # @return [Google::Apis::ContentV2_1::Price] + attr_accessor :remitted_tax_amount + + # Tax value. + # Corresponds to the JSON property `taxAmount` + # @return [Google::Apis::ContentV2_1::Price] + attr_accessor :tax_amount + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @price_amount = args[:price_amount] if args.key?(:price_amount) + @remitted_tax_amount = args[:remitted_tax_amount] if args.key?(:remitted_tax_amount) + @tax_amount = args[:tax_amount] if args.key?(:tax_amount) + end + end + # class ProductShipping include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb index d52f6d42e..1ebf69dc1 100644 --- a/generated/google/apis/content_v2_1/representations.rb +++ b/generated/google/apis/content_v2_1/representations.rb @@ -1120,6 +1120,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ProductAmount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ProductShipping class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1568,6 +1574,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :admin, as: 'admin' property :email_address, as: 'emailAddress' + property :order_manager, as: 'orderManager' + property :payments_analyst, as: 'paymentsAnalyst' + property :payments_manager, as: 'paymentsManager' end end @@ -1778,9 +1787,9 @@ module Google class Amount # @private class Representation < Google::Apis::Core::JsonRepresentation - property :pretax, as: 'pretax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation + property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation - property :tax, as: 'tax', 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 @@ -2403,6 +2412,7 @@ module Google property :shipping_option, as: 'shippingOption' property :status, as: 'status' + property :tax_collector, as: 'taxCollector' end end @@ -2631,7 +2641,7 @@ module Google property :merchant_id, :numeric_string => true, as: 'merchantId' property :merchant_order_id, as: 'merchantOrderId' property :order_id, as: 'orderId' - property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2_1::Amount, decorator: Google::Apis::ContentV2_1::Amount::Representation + property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2_1::ProductAmount, decorator: Google::Apis::ContentV2_1::ProductAmount::Representation property :transaction_date, as: 'transactionDate' end @@ -3441,6 +3451,18 @@ module Google end end + class ProductAmount + # @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 :remitted_tax_amount, as: 'remittedTaxAmount', 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 ProductShipping # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 4dd4a8b10..3100c1317 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20181215' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 67c6d0f63..773d0d21c 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -126,10 +126,10 @@ module Google # @return [String] attr_accessor :kind - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -321,9 +321,9 @@ module Google attr_accessor :ml_disabled alias_method :ml_disabled?, :ml_disabled - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `name` # @return [String] @@ -376,7 +376,7 @@ module Google # @return [String] attr_accessor :root_followup_intent_name - # Optional. The collection of examples/templates that the agent is + # Optional. The collection of examples that the agent is # trained on. # Corresponds to the JSON property `trainingPhrases` # @return [Array] @@ -1098,7 +1098,7 @@ module Google end end - # Represents an example or template that the agent is trained on. + # Represents an example that the agent is trained on. class GoogleCloudDialogflowV2IntentTrainingPhrase include Google::Apis::Core::Hashable @@ -1114,7 +1114,7 @@ module Google # @return [Array] attr_accessor :parts - # Optional. Indicates how many times this example or template was added to + # Optional. Indicates how many times this example was added to # the intent. Each time a developer adds an existing sample by editing an # intent or training, this counter is increased. # Corresponds to the JSON property `timesAddedCount` @@ -1156,7 +1156,7 @@ module Google # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example or template, + # Required. The text corresponding to the example, # if there are no annotations. For # annotated examples, it is the text for one of the example's parts. # Corresponds to the JSON property `text` @@ -2115,10 +2115,10 @@ module Google # @return [String] attr_accessor :kind - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2484,9 +2484,9 @@ module Google attr_accessor :ml_enabled alias_method :ml_enabled?, :ml_enabled - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # Corresponds to the JSON property `name` # @return [String] @@ -2539,7 +2539,7 @@ module Google # @return [String] attr_accessor :root_followup_intent_name - # Optional. The collection of examples/templates that the agent is + # Optional. The collection of examples that the agent is # trained on. # Corresponds to the JSON property `trainingPhrases` # @return [Array] @@ -3384,7 +3384,7 @@ module Google end end - # Represents an example or template that the agent is trained on. + # Represents an example that the agent is trained on. class GoogleCloudDialogflowV2beta1IntentTrainingPhrase include Google::Apis::Core::Hashable @@ -3400,7 +3400,7 @@ module Google # @return [Array] attr_accessor :parts - # Optional. Indicates how many times this example or template was added to + # Optional. Indicates how many times this example was added to # the intent. Each time a developer adds an existing sample by editing an # intent or training, this counter is increased. # Corresponds to the JSON property `timesAddedCount` @@ -3442,7 +3442,7 @@ module Google # @return [String] attr_accessor :entity_type - # Required. The text corresponding to the example or template, + # Required. The text corresponding to the example, # if there are no annotations. For # annotated examples, it is the text for one of the example's parts. # Corresponds to the JSON property `text` diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index ad039a3c4..4e637a69b 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -501,10 +501,10 @@ module Google # Updates the specified entity type. # @param [String] name - # Required for all methods except `create` (`create` populates the name - # automatically. - # The unique identifier of the entity type. Format: - # `projects//agent/entityTypes/`. + # The unique identifier of the entity type. + # Required for EntityTypes.UpdateEntityType and + # EntityTypes.BatchUpdateEntityTypes methods. + # Format: `projects//agent/entityTypes/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object # @param [String] language_code # Optional. The language of entity synonyms defined in `entity_type`. If not @@ -1359,9 +1359,9 @@ module Google # Updates the specified intent. # @param [String] name - # Required for all methods except `create` (`create` populates the name - # automatically. # The unique identifier of this intent. + # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + # methods. # Format: `projects//agent/intents/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object # @param [String] intent_view diff --git a/generated/google/apis/oslogin_v1.rb b/generated/google/apis/oslogin_v1.rb index fe61e6de9..d42478aa7 100644 --- a/generated/google/apis/oslogin_v1.rb +++ b/generated/google/apis/oslogin_v1.rb @@ -22,10 +22,10 @@ module Google # # Manages OS login configuration for Google account users. # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ module OsloginV1 VERSION = 'V1' - REVISION = '20181023' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/oslogin_v1/service.rb b/generated/google/apis/oslogin_v1/service.rb index eb6804730..f87136f61 100644 --- a/generated/google/apis/oslogin_v1/service.rb +++ b/generated/google/apis/oslogin_v1/service.rb @@ -30,7 +30,7 @@ module Google # Oslogin = Google::Apis::OsloginV1 # Alias the module # service = Oslogin::CloudOSLoginService.new # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ class CloudOSLoginService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, diff --git a/generated/google/apis/oslogin_v1alpha.rb b/generated/google/apis/oslogin_v1alpha.rb index 62a8b7aff..8450b48f1 100644 --- a/generated/google/apis/oslogin_v1alpha.rb +++ b/generated/google/apis/oslogin_v1alpha.rb @@ -22,10 +22,10 @@ module Google # # Manages OS login configuration for Google account users. # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ module OsloginV1alpha VERSION = 'V1alpha' - REVISION = '20181023' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/oslogin_v1alpha/service.rb b/generated/google/apis/oslogin_v1alpha/service.rb index a8c76ac31..d3dd2d8f9 100644 --- a/generated/google/apis/oslogin_v1alpha/service.rb +++ b/generated/google/apis/oslogin_v1alpha/service.rb @@ -30,7 +30,7 @@ module Google # Oslogin = Google::Apis::OsloginV1alpha # Alias the module # service = Oslogin::CloudOSLoginService.new # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ class CloudOSLoginService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, diff --git a/generated/google/apis/oslogin_v1beta.rb b/generated/google/apis/oslogin_v1beta.rb index 7d4ed5c86..a6ed23262 100644 --- a/generated/google/apis/oslogin_v1beta.rb +++ b/generated/google/apis/oslogin_v1beta.rb @@ -22,10 +22,10 @@ module Google # # Manages OS login configuration for Google account users. # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ module OsloginV1beta VERSION = 'V1beta' - REVISION = '20181023' + REVISION = '20190107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/oslogin_v1beta/service.rb b/generated/google/apis/oslogin_v1beta/service.rb index e469dec56..025c0bfac 100644 --- a/generated/google/apis/oslogin_v1beta/service.rb +++ b/generated/google/apis/oslogin_v1beta/service.rb @@ -30,7 +30,7 @@ module Google # Oslogin = Google::Apis::OsloginV1beta # Alias the module # service = Oslogin::CloudOSLoginService.new # - # @see https://cloud.google.com/compute/docs/oslogin/rest/ + # @see https://cloud.google.com/compute/docs/oslogin/ class CloudOSLoginService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access,