Skip to content

Commit

Permalink
Autogenerated update (2018-07-05)
Browse files Browse the repository at this point in the history
Update:
- cloudfunctions_v1
- content_v2
- dialogflow_v2
- dialogflow_v2beta1
  • Loading branch information
googleapis-publisher committed Jul 5, 2018
1 parent 6aa83a4 commit 27b23b0
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 245 deletions.
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50378,6 +50378,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/source": source
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/version": version
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput": google_cloud_dialogflow_v2_query_input
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/audioConfig": audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/event": event
Expand Down Expand Up @@ -50612,6 +50613,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/source": source
"/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/version": version
"/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult": google_cloud_dialogflow_v2beta1_query_result
"/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult/action": action
"/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult/allRequiredParamsPresent": all_required_params_present
Expand Down Expand Up @@ -51049,6 +51051,7 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/source": source
"/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/version": version
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult": google_cloud_dialogflow_v2_query_result
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/action": action
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/allRequiredParamsPresent": all_required_params_present
Expand Down Expand Up @@ -51336,6 +51339,7 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/source": source
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/version": version
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput": google_cloud_dialogflow_v2beta1_query_input
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput/audioConfig": audio_config
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput/event": event
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudfunctions_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20180622'
REVISION = '20180702'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
16 changes: 8 additions & 8 deletions generated/google/apis/cloudfunctions_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ class CloudFunction
# @return [String]
attr_accessor :name

# The Google Compute Engine network that this function can connect to.
# Either the fully-qualified URI of the network resource, or
# the short name of the network must be specified. If the network belongs to
# another project, the URI of the resource must be specified
# e.g.,
# `https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
# network``
# or `my-network`.
# The VPC Network that this cloud function can connect to. It can be
# either the fully-qualified URI, or the short name of the network resource.
# If the short network name is used, the network must belong to the same
# project. Otherwise, it must belong to a project within the same
# organization. The format of this field is either
# `projects/`project`/global/networks/`network`` or ``network``, where
# `project` is a project id where the network is defined, and `network` is
# the short name of the network.
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
# more information on connecting Cloud projects.
# This feature is currently in alpha, available only for whitelisted users.
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/content_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = ''
REVISION = '20180608'

# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
Expand Down
145 changes: 7 additions & 138 deletions generated/google/apis/content_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,8 @@ class AccountsBatchRequestEntry
# @return [Google::Apis::ContentV2::Account]
attr_accessor :account

# The ID of the targeted account. Only defined if the method is not insert.
# The ID of the targeted account. Only defined if the method is get, delete or
# claimwebsite.
# Corresponds to the JSON property `accountId`
# @return [Fixnum]
attr_accessor :account_id
Expand All @@ -651,17 +652,12 @@ class AccountsBatchRequestEntry
attr_accessor :force
alias_method :force?, :force

# Details about the link request.
# Corresponds to the JSON property `linkRequest`
# @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
attr_accessor :link_request

# The ID of the managing account.
# Corresponds to the JSON property `merchantId`
# @return [Fixnum]
attr_accessor :merchant_id

# The method of the batch entry.
#
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :request_method
Expand All @@ -683,44 +679,12 @@ def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@force = args[:force] if args.key?(:force)
@link_request = args[:link_request] if args.key?(:link_request)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
@request_method = args[:request_method] if args.key?(:request_method)
@overwrite = args[:overwrite] if args.key?(:overwrite)
end
end

#
class AccountsCustomBatchRequestEntryLinkRequest
include Google::Apis::Core::Hashable

# Action to perform for this link.
# Corresponds to the JSON property `action`
# @return [String]
attr_accessor :action

# Type of the link between the two accounts.
# Corresponds to the JSON property `linkType`
# @return [String]
attr_accessor :link_type

# The ID of the linked account.
# Corresponds to the JSON property `linkedAccountId`
# @return [String]
attr_accessor :linked_account_id

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@action = args[:action] if args.key?(:action)
@link_type = args[:link_type] if args.key?(:link_type)
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
end
end

#
class BatchAccountsResponse
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -772,11 +736,6 @@ class AccountsBatchResponseEntry
# @return [String]
attr_accessor :kind

# The status of the updated link. Only defined if the method is link.
# Corresponds to the JSON property `linkStatus`
# @return [String]
attr_accessor :link_status

def initialize(**args)
update!(**args)
end
Expand All @@ -787,64 +746,6 @@ def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@errors = args[:errors] if args.key?(:errors)
@kind = args[:kind] if args.key?(:kind)
@link_status = args[:link_status] if args.key?(:link_status)
end
end

#
class AccountsLinkRequest
include Google::Apis::Core::Hashable

# Action to perform for this link.
# Corresponds to the JSON property `action`
# @return [String]
attr_accessor :action

# Type of the link between the two accounts.
# Corresponds to the JSON property `linkType`
# @return [String]
attr_accessor :link_type

# The ID of the linked account.
# Corresponds to the JSON property `linkedAccountId`
# @return [String]
attr_accessor :linked_account_id

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@action = args[:action] if args.key?(:action)
@link_type = args[:link_type] if args.key?(:link_type)
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
end
end

#
class AccountsLinkResponse
include Google::Apis::Core::Hashable

# Identifies what kind of resource this is. Value: the fixed string "content#
# accountsLinkResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

# Current status of the requested link.
# Corresponds to the JSON property `linkStatus`
# @return [String]
attr_accessor :link_status

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@link_status = args[:link_status] if args.key?(:link_status)
end
end

Expand Down Expand Up @@ -4433,7 +4334,7 @@ class OrderShipment
attr_accessor :creation_date

# Date on which the shipment has been delivered, in ISO 8601 format. Present
# only if status is delivered
# only if status is delievered
# Corresponds to the JSON property `deliveryDate`
# @return [String]
attr_accessor :delivery_date
Expand Down Expand Up @@ -4590,14 +4491,14 @@ class OrderinvoicesCreateRefundInvoiceRequest
# @return [String]
attr_accessor :operation_id

# Option to create a refund-only invoice. Exactly one of refundOnlyOption or
# returnOption must be provided.
# Option to create a refund-only invoice. Exactly one of refund_option and
# return_option must be provided.
# Corresponds to the JSON property `refundOnlyOption`
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
attr_accessor :refund_only_option

# Option to create an invoice for a refund and mark all items within the invoice
# as returned. Exactly one of refundOnlyOption or returnOption must be provided.
# as returned. Exactly one of refund_option and return_option must be provided.
# Corresponds to the JSON property `returnOption`
# @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
attr_accessor :return_option
Expand Down Expand Up @@ -5809,12 +5710,6 @@ class OrdersCustomBatchRequestEntryUpdateShipment
# @return [String]
attr_accessor :carrier

# Date on which the shipment has been delivered, in ISO 8601 format. Optional
# and can be provided only if
# Corresponds to the JSON property `deliveryDate`
# @return [String]
attr_accessor :delivery_date

# The ID of the shipment.
# Corresponds to the JSON property `shipmentId`
# @return [String]
Expand All @@ -5837,7 +5732,6 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@carrier = args[:carrier] if args.key?(:carrier)
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
@status = args[:status] if args.key?(:status)
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
Expand Down Expand Up @@ -6689,12 +6583,6 @@ class OrdersUpdateShipmentRequest
# @return [String]
attr_accessor :carrier

# Date on which the shipment has been delivered, in ISO 8601 format. Optional
# and can be provided only if
# Corresponds to the JSON property `deliveryDate`
# @return [String]
attr_accessor :delivery_date

# The ID of the operation. Unique across all operations for a given order.
# Corresponds to the JSON property `operationId`
# @return [String]
Expand Down Expand Up @@ -6722,7 +6610,6 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@carrier = args[:carrier] if args.key?(:carrier)
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
@operation_id = args[:operation_id] if args.key?(:operation_id)
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
@status = args[:status] if args.key?(:status)
Expand Down Expand Up @@ -7617,11 +7504,6 @@ class Product
# @return [String]
attr_accessor :content_language

# Cost of goods sold. Used for gross profit reporting.
# Corresponds to the JSON property `costOfGoodsSold`
# @return [Google::Apis::ContentV2::Price]
attr_accessor :cost_of_goods_sold

# A list of custom (merchant-provided) attributes. It can also be used for
# submitting any attribute of the feed specification in its generic form (e.g., `
# "name": "size type", "type": "text", "value": "regular" `). This is useful
Expand Down Expand Up @@ -7782,21 +7664,11 @@ class Product
# @return [String]
attr_accessor :material

# The energy efficiency class as defined in EU directive 2010/30/EU.
# Corresponds to the JSON property `maxEnergyEfficiencyClass`
# @return [String]
attr_accessor :max_energy_efficiency_class

# Maximal product handling time (in business days).
# Corresponds to the JSON property `maxHandlingTime`
# @return [Fixnum]
attr_accessor :max_handling_time

# The energy efficiency class as defined in EU directive 2010/30/EU.
# Corresponds to the JSON property `minEnergyEfficiencyClass`
# @return [String]
attr_accessor :min_energy_efficiency_class

# Minimal product handling time (in business days).
# Corresponds to the JSON property `minHandlingTime`
# @return [Fixnum]
Expand Down Expand Up @@ -7970,7 +7842,6 @@ def update!(**args)
@color = args[:color] if args.key?(:color)
@condition = args[:condition] if args.key?(:condition)
@content_language = args[:content_language] if args.key?(:content_language)
@cost_of_goods_sold = args[:cost_of_goods_sold] if args.key?(:cost_of_goods_sold)
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
@custom_groups = args[:custom_groups] if args.key?(:custom_groups)
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
Expand Down Expand Up @@ -8000,9 +7871,7 @@ def update!(**args)
@link = args[:link] if args.key?(:link)
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
@material = args[:material] if args.key?(:material)
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
@mpn = args[:mpn] if args.key?(:mpn)
Expand Down
Loading

0 comments on commit 27b23b0

Please sign in to comment.