Autogenerated update (2019-01-10)

Update:
- cloudkms_v1
- content_v2
- content_v2_1
- dialogflow_v2beta1
- oslogin_v1
- oslogin_v1alpha
- oslogin_v1beta
This commit is contained in:
Google APIs 2019-01-10 00:36:17 +00:00
parent a0b09622e3
commit 5c95ba4c18
17 changed files with 264 additions and 67 deletions

View File

@ -39575,6 +39575,9 @@
"/content:v2.1/AccountUser": account_user "/content:v2.1/AccountUser": account_user
"/content:v2.1/AccountUser/admin": admin "/content:v2.1/AccountUser/admin": admin
"/content:v2.1/AccountUser/emailAddress": email_address "/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": account_you_tube_channel_link
"/content:v2.1/AccountYouTubeChannelLink/channelId": channel_id "/content:v2.1/AccountYouTubeChannelLink/channelId": channel_id
"/content:v2.1/AccountYouTubeChannelLink/status": status "/content:v2.1/AccountYouTubeChannelLink/status": status
@ -39668,7 +39671,9 @@
"/content:v2.1/AccounttaxListResponse/resources/resource": resource "/content:v2.1/AccounttaxListResponse/resources/resource": resource
"/content:v2.1/Amount": amount "/content:v2.1/Amount": amount
"/content:v2.1/Amount/pretax": pretax "/content:v2.1/Amount/pretax": pretax
"/content:v2.1/Amount/priceAmount": price_amount
"/content:v2.1/Amount/tax": tax "/content:v2.1/Amount/tax": tax
"/content:v2.1/Amount/taxAmount": tax_amount
"/content:v2.1/CarrierRate": carrier_rate "/content:v2.1/CarrierRate": carrier_rate
"/content:v2.1/CarrierRate/carrierName": carrier_name "/content:v2.1/CarrierRate/carrierName": carrier_name
"/content:v2.1/CarrierRate/carrierService": carrier_service "/content:v2.1/CarrierRate/carrierService": carrier_service
@ -39985,6 +39990,7 @@
"/content:v2.1/Order/shippingCostTax": shipping_cost_tax "/content:v2.1/Order/shippingCostTax": shipping_cost_tax
"/content:v2.1/Order/shippingOption": shipping_option "/content:v2.1/Order/shippingOption": shipping_option
"/content:v2.1/Order/status": status "/content:v2.1/Order/status": status
"/content:v2.1/Order/taxCollector": tax_collector
"/content:v2.1/OrderAddress": order_address "/content:v2.1/OrderAddress": order_address
"/content:v2.1/OrderAddress/country": country "/content:v2.1/OrderAddress/country": country
"/content:v2.1/OrderAddress/fullAddress": full_address "/content:v2.1/OrderAddress/fullAddress": full_address
@ -40530,6 +40536,10 @@
"/content:v2.1/Product/title": title "/content:v2.1/Product/title": title
"/content:v2.1/Product/unitPricingBaseMeasure": unit_pricing_base_measure "/content:v2.1/Product/unitPricingBaseMeasure": unit_pricing_base_measure
"/content:v2.1/Product/unitPricingMeasure": unit_pricing_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": product_shipping
"/content:v2.1/ProductShipping/country": country "/content:v2.1/ProductShipping/country": country
"/content:v2.1/ProductShipping/locationGroupName": location_group_name "/content:v2.1/ProductShipping/locationGroupName": location_group_name
@ -41178,6 +41188,9 @@
"/content:v2/AccountUser": account_user "/content:v2/AccountUser": account_user
"/content:v2/AccountUser/admin": admin "/content:v2/AccountUser/admin": admin
"/content:v2/AccountUser/emailAddress": email_address "/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": account_you_tube_channel_link
"/content:v2/AccountYouTubeChannelLink/channelId": channel_id "/content:v2/AccountYouTubeChannelLink/channelId": channel_id
"/content:v2/AccountYouTubeChannelLink/status": status "/content:v2/AccountYouTubeChannelLink/status": status
@ -41661,6 +41674,7 @@
"/content:v2/Order/shippingCostTax": shipping_cost_tax "/content:v2/Order/shippingCostTax": shipping_cost_tax
"/content:v2/Order/shippingOption": shipping_option "/content:v2/Order/shippingOption": shipping_option
"/content:v2/Order/status": status "/content:v2/Order/status": status
"/content:v2/Order/taxCollector": tax_collector
"/content:v2/OrderAddress": order_address "/content:v2/OrderAddress": order_address
"/content:v2/OrderAddress/country": country "/content:v2/OrderAddress/country": country
"/content:v2/OrderAddress/fullAddress": full_address "/content:v2/OrderAddress/fullAddress": full_address
@ -41812,6 +41826,7 @@
"/content:v2/OrderReportTransaction/merchantOrderId": merchant_order_id "/content:v2/OrderReportTransaction/merchantOrderId": merchant_order_id
"/content:v2/OrderReportTransaction/orderId": order_id "/content:v2/OrderReportTransaction/orderId": order_id
"/content:v2/OrderReportTransaction/productAmount": product_amount "/content:v2/OrderReportTransaction/productAmount": product_amount
"/content:v2/OrderReportTransaction/productAmountWithRemittedTax": product_amount_with_remitted_tax
"/content:v2/OrderReportTransaction/transactionDate": transaction_date "/content:v2/OrderReportTransaction/transactionDate": transaction_date
"/content:v2/OrderReturn": order_return "/content:v2/OrderReturn": order_return
"/content:v2/OrderReturn/actor": actor "/content:v2/OrderReturn/actor": actor
@ -42377,6 +42392,10 @@
"/content:v2/Product/validatedDestinations/validated_destination": validated_destination "/content:v2/Product/validatedDestinations/validated_destination": validated_destination
"/content:v2/Product/warnings": warnings "/content:v2/Product/warnings": warnings
"/content:v2/Product/warnings/warning": warning "/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": product_aspect
"/content:v2/ProductAspect/aspectName": aspect_name "/content:v2/ProductAspect/aspectName": aspect_name
"/content:v2/ProductAspect/destinationName": destination_name "/content:v2/ProductAspect/destinationName": destination_name

View File

@ -26,10 +26,13 @@ module Google
# @see https://cloud.google.com/kms/ # @see https://cloud.google.com/kms/
module CloudkmsV1 module CloudkmsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181130' REVISION = '20190104'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' 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 end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2 module ContentV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20181203' REVISION = '20190107'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -781,6 +781,24 @@ module Google
# @return [String] # @return [String]
attr_accessor :email_address 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -789,6 +807,9 @@ module Google
def update!(**args) def update!(**args)
@admin = args[:admin] if args.key?(:admin) @admin = args[:admin] if args.key?(:admin)
@email_address = args[:email_address] if args.key?(:email_address) @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
end end
@ -4090,6 +4111,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :status 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -4116,6 +4142,7 @@ module Google
@shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax) @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
@shipping_option = args[:shipping_option] if args.key?(:shipping_option) @shipping_option = args[:shipping_option] if args.key?(:shipping_option)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@tax_collector = args[:tax_collector] if args.key?(:tax_collector)
end end
end end
@ -5021,6 +5048,11 @@ module Google
# @return [Google::Apis::ContentV2::Amount] # @return [Google::Apis::ContentV2::Amount]
attr_accessor :product_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. # The date of the transaction, in ISO 8601 format.
# Corresponds to the JSON property `transactionDate` # Corresponds to the JSON property `transactionDate`
# @return [String] # @return [String]
@ -5040,6 +5072,7 @@ module Google
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
@order_id = args[:order_id] if args.key?(:order_id) @order_id = args[:order_id] if args.key?(:order_id)
@product_amount = args[:product_amount] if args.key?(:product_amount) @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) @transaction_date = args[:transaction_date] if args.key?(:transaction_date)
end end
end end
@ -5775,7 +5808,9 @@ module Google
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -6237,7 +6272,9 @@ module Google
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -6375,13 +6412,13 @@ module Google
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount attr_accessor :amount
# The amount that is refunded. Either amount or amountPretax and amountTax # The amount that is refunded. Either amount or amountPretax should be filled.
# should be filled.
# Corresponds to the JSON property `amountPretax` # Corresponds to the JSON property `amountPretax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -6503,13 +6540,14 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The amount that is refunded. If omitted, refundless return is assumed (same as # The amount that is refunded. If omitted, refundless return is assumed (same as
# calling returnLineItem method). Optional, but if filled then both amountPretax # calling returnLineItem method).
# and amountTax must be set.
# Corresponds to the JSON property `amountPretax` # Corresponds to the JSON property `amountPretax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -7013,13 +7051,13 @@ module Google
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount attr_accessor :amount
# The amount that is refunded. Either amount or amountPretax and amountTax # The amount that is refunded. Either amount or amountPretax should be filled.
# should be filled.
# Corresponds to the JSON property `amountPretax` # Corresponds to the JSON property `amountPretax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -7237,13 +7275,14 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The amount that is refunded. If omitted, refundless return is assumed (same as # The amount that is refunded. If omitted, refundless return is assumed (same as
# calling returnLineItem method). Optional, but if filled then both amountPretax # calling returnLineItem method).
# and amountTax must be set.
# Corresponds to the JSON property `amountPretax` # Corresponds to the JSON property `amountPretax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_pretax 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` # Corresponds to the JSON property `amountTax`
# @return [Google::Apis::ContentV2::Price] # @return [Google::Apis::ContentV2::Price]
attr_accessor :amount_tax attr_accessor :amount_tax
@ -8961,6 +9000,37 @@ module Google
end end
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 class ProductAspect
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -1306,6 +1306,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ProductAmount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductAspect class ProductAspect
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1810,6 +1816,9 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin, as: 'admin' property :admin, as: 'admin'
property :email_address, as: 'emailAddress' property :email_address, as: 'emailAddress'
property :order_manager, as: 'orderManager'
property :payments_analyst, as: 'paymentsAnalyst'
property :payments_manager, as: 'paymentsManager'
end end
end end
@ -2765,6 +2774,7 @@ module Google
property :shipping_option, as: 'shippingOption' property :shipping_option, as: 'shippingOption'
property :status, as: 'status' property :status, as: 'status'
property :tax_collector, as: 'taxCollector'
end end
end end
@ -3007,6 +3017,8 @@ module Google
property :order_id, as: 'orderId' property :order_id, as: 'orderId'
property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation 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' property :transaction_date, as: 'transactionDate'
end end
end end
@ -4078,6 +4090,18 @@ module Google
end end
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 class ProductAspect
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2_1 module ContentV2_1
VERSION = 'V2_1' VERSION = 'V2_1'
REVISION = '20181203' REVISION = '20190107'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -646,6 +646,24 @@ module Google
# @return [String] # @return [String]
attr_accessor :email_address 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -654,6 +672,9 @@ module Google
def update!(**args) def update!(**args)
@admin = args[:admin] if args.key?(:admin) @admin = args[:admin] if args.key?(:admin)
@email_address = args[:email_address] if args.key?(:email_address) @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
end end
@ -1323,15 +1344,16 @@ module Google
class Amount class Amount
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [required] Value before taxes. # [required] The pre-tax or post-tax price depending on the location of the
# Corresponds to the JSON property `pretax` # order.
# Corresponds to the JSON property `priceAmount`
# @return [Google::Apis::ContentV2_1::Price] # @return [Google::Apis::ContentV2_1::Price]
attr_accessor :pretax attr_accessor :price_amount
# [required] Tax value. # [required] Tax value.
# Corresponds to the JSON property `tax` # Corresponds to the JSON property `taxAmount`
# @return [Google::Apis::ContentV2_1::Price] # @return [Google::Apis::ContentV2_1::Price]
attr_accessor :tax attr_accessor :tax_amount
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
@ -1339,8 +1361,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@pretax = args[:pretax] if args.key?(:pretax) @price_amount = args[:price_amount] if args.key?(:price_amount)
@tax = args[:tax] if args.key?(:tax) @tax_amount = args[:tax_amount] if args.key?(:tax_amount)
end end
end end
@ -3487,6 +3509,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :status 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -3513,6 +3540,7 @@ module Google
@shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax) @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
@shipping_option = args[:shipping_option] if args.key?(:shipping_option) @shipping_option = args[:shipping_option] if args.key?(:shipping_option)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@tax_collector = args[:tax_collector] if args.key?(:tax_collector)
end end
end end
@ -4348,7 +4376,7 @@ module Google
# Total amount for the items. # Total amount for the items.
# Corresponds to the JSON property `productAmount` # Corresponds to the JSON property `productAmount`
# @return [Google::Apis::ContentV2_1::Amount] # @return [Google::Apis::ContentV2_1::ProductAmount]
attr_accessor :product_amount attr_accessor :product_amount
# The date of the transaction, in ISO 8601 format. # The date of the transaction, in ISO 8601 format.
@ -5679,8 +5707,7 @@ module Google
attr_accessor :operation_id attr_accessor :operation_id
# The amount to be refunded. This may be pre-tax or post-tax depending on the # 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 # location of the order. If omitted, refundless return is assumed.
# if filled then both priceAmount and taxAmount must be set.
# Corresponds to the JSON property `priceAmount` # Corresponds to the JSON property `priceAmount`
# @return [Google::Apis::ContentV2_1::Price] # @return [Google::Apis::ContentV2_1::Price]
attr_accessor :price_amount attr_accessor :price_amount
@ -5706,7 +5733,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :reason_text 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` # Corresponds to the JSON property `taxAmount`
# @return [Google::Apis::ContentV2_1::Price] # @return [Google::Apis::ContentV2_1::Price]
attr_accessor :tax_amount attr_accessor :tax_amount
@ -7343,6 +7371,37 @@ module Google
end end
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 class ProductShipping
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -1120,6 +1120,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ProductAmount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProductShipping class ProductShipping
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1568,6 +1574,9 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :admin, as: 'admin' property :admin, as: 'admin'
property :email_address, as: 'emailAddress' property :email_address, as: 'emailAddress'
property :order_manager, as: 'orderManager'
property :payments_analyst, as: 'paymentsAnalyst'
property :payments_manager, as: 'paymentsManager'
end end
end end
@ -1778,9 +1787,9 @@ module Google
class Amount class Amount
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation 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
end end
@ -2403,6 +2412,7 @@ module Google
property :shipping_option, as: 'shippingOption' property :shipping_option, as: 'shippingOption'
property :status, as: 'status' property :status, as: 'status'
property :tax_collector, as: 'taxCollector'
end end
end end
@ -2631,7 +2641,7 @@ module Google
property :merchant_id, :numeric_string => true, as: 'merchantId' property :merchant_id, :numeric_string => true, as: 'merchantId'
property :merchant_order_id, as: 'merchantOrderId' property :merchant_order_id, as: 'merchantOrderId'
property :order_id, as: 'orderId' 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' property :transaction_date, as: 'transactionDate'
end end
@ -3441,6 +3451,18 @@ module Google
end end
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 class ProductShipping
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1 module DialogflowV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20181215' REVISION = '20190107'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -126,10 +126,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Required for all methods except `create` (`create` populates the name # The unique identifier of the entity type.
# automatically. # Required for EntityTypes.UpdateEntityType and
# The unique identifier of the entity type. Format: # EntityTypes.BatchUpdateEntityTypes methods.
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -321,9 +321,9 @@ module Google
attr_accessor :ml_disabled attr_accessor :ml_disabled
alias_method :ml_disabled?, :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. # The unique identifier of this intent.
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
# methods.
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`. # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -376,7 +376,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :root_followup_intent_name 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. # trained on.
# Corresponds to the JSON property `trainingPhrases` # Corresponds to the JSON property `trainingPhrases`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrase>] # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrase>]
@ -1098,7 +1098,7 @@ module Google
end end
end end
# Represents an example or template that the agent is trained on. # Represents an example that the agent is trained on.
class GoogleCloudDialogflowV2IntentTrainingPhrase class GoogleCloudDialogflowV2IntentTrainingPhrase
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1114,7 +1114,7 @@ module Google
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrasePart>] # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentTrainingPhrasePart>]
attr_accessor :parts 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 # the intent. Each time a developer adds an existing sample by editing an
# intent or training, this counter is increased. # intent or training, this counter is increased.
# Corresponds to the JSON property `timesAddedCount` # Corresponds to the JSON property `timesAddedCount`
@ -1156,7 +1156,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :entity_type 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 # if there are no annotations. For
# annotated examples, it is the text for one of the example's parts. # annotated examples, it is the text for one of the example's parts.
# Corresponds to the JSON property `text` # Corresponds to the JSON property `text`
@ -2115,10 +2115,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Required for all methods except `create` (`create` populates the name # The unique identifier of the entity type.
# automatically. # Required for EntityTypes.UpdateEntityType and
# The unique identifier of the entity type. Format: # EntityTypes.BatchUpdateEntityTypes methods.
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -2484,9 +2484,9 @@ module Google
attr_accessor :ml_enabled attr_accessor :ml_enabled
alias_method :ml_enabled?, :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. # The unique identifier of this intent.
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
# methods.
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`. # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -2539,7 +2539,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :root_followup_intent_name 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. # trained on.
# Corresponds to the JSON property `trainingPhrases` # Corresponds to the JSON property `trainingPhrases`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>] # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>]
@ -3384,7 +3384,7 @@ module Google
end end
end end
# Represents an example or template that the agent is trained on. # Represents an example that the agent is trained on.
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3400,7 +3400,7 @@ module Google
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart>] # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart>]
attr_accessor :parts 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 # the intent. Each time a developer adds an existing sample by editing an
# intent or training, this counter is increased. # intent or training, this counter is increased.
# Corresponds to the JSON property `timesAddedCount` # Corresponds to the JSON property `timesAddedCount`
@ -3442,7 +3442,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :entity_type 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 # if there are no annotations. For
# annotated examples, it is the text for one of the example's parts. # annotated examples, it is the text for one of the example's parts.
# Corresponds to the JSON property `text` # Corresponds to the JSON property `text`

View File

@ -501,10 +501,10 @@ module Google
# Updates the specified entity type. # Updates the specified entity type.
# @param [String] name # @param [String] name
# Required for all methods except `create` (`create` populates the name # The unique identifier of the entity type.
# automatically. # Required for EntityTypes.UpdateEntityType and
# The unique identifier of the entity type. Format: # EntityTypes.BatchUpdateEntityTypes methods.
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`. # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
# @param [String] language_code # @param [String] language_code
# Optional. The language of entity synonyms defined in `entity_type`. If not # Optional. The language of entity synonyms defined in `entity_type`. If not
@ -1359,9 +1359,9 @@ module Google
# Updates the specified intent. # Updates the specified intent.
# @param [String] name # @param [String] name
# Required for all methods except `create` (`create` populates the name
# automatically.
# The unique identifier of this intent. # The unique identifier of this intent.
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
# methods.
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`. # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
# @param [String] intent_view # @param [String] intent_view

View File

@ -22,10 +22,10 @@ module Google
# #
# Manages OS login configuration for Google account users. # 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 module OsloginV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181023' REVISION = '20190107'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -30,7 +30,7 @@ module Google
# Oslogin = Google::Apis::OsloginV1 # Alias the module # Oslogin = Google::Apis::OsloginV1 # Alias the module
# service = Oslogin::CloudOSLoginService.new # 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 class CloudOSLoginService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -22,10 +22,10 @@ module Google
# #
# Manages OS login configuration for Google account users. # 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 module OsloginV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20181023' REVISION = '20190107'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -30,7 +30,7 @@ module Google
# Oslogin = Google::Apis::OsloginV1alpha # Alias the module # Oslogin = Google::Apis::OsloginV1alpha # Alias the module
# service = Oslogin::CloudOSLoginService.new # 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 class CloudOSLoginService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -22,10 +22,10 @@ module Google
# #
# Manages OS login configuration for Google account users. # 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 module OsloginV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20181023' REVISION = '20190107'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -30,7 +30,7 @@ module Google
# Oslogin = Google::Apis::OsloginV1beta # Alias the module # Oslogin = Google::Apis::OsloginV1beta # Alias the module
# service = Oslogin::CloudOSLoginService.new # 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 class CloudOSLoginService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,