Skip to content

Commit

Permalink
Autogenerated update (2019-09-11)
Browse files Browse the repository at this point in the history
Update:
- cloudprivatecatalogproducer_v1beta1
- cloudsearch_v1
- content_v2
- content_v2_1
- driveactivity_v2
- ml_v1
- servicebroker_v1
- servicebroker_v1alpha1
- servicebroker_v1beta1
- vision_v1p2beta1
  • Loading branch information
googleapis-publisher committed Sep 11, 2019
1 parent 300fd8c commit ab9f8f3
Show file tree
Hide file tree
Showing 28 changed files with 1,277 additions and 4,118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1'
REVISION = '20190810'
REVISION = '20190907'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,12 @@ class GoogleIamV1Policy
# @return [String]
attr_accessor :etag

# Deprecated.
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ def get_catalog(name, fields: nil, quota_user: nil, options: nil, &block)
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudsearch_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/cloud-search/docs/guides/
module CloudsearchV1
VERSION = 'V1'
REVISION = '20190821'
REVISION = '20190905'

# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
Expand Down
4 changes: 3 additions & 1 deletion generated/google/apis/cloudsearch_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3371,7 +3371,9 @@ class RequestOptions
# "Australia/Sydney". These IDs are defined by
# [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/)
# project, and currently available in the file
# [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml)
# [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml).
# This field is used to correctly interpret date and time queries.
# If this field is not specified, the default time zone (UTC) is used.
# Corresponds to the JSON property `timeZone`
# @return [String]
attr_accessor :time_zone
Expand Down
4 changes: 3 additions & 1 deletion generated/google/apis/cloudsearch_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,9 @@ def suggest_query(suggest_request_object = nil, fields: nil, quota_user: nil, op
# "Australia/Sydney". These IDs are defined by
# [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/)
# project, and currently available in the file
# [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml)
# [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml).
# This field is used to correctly interpret date and time queries.
# If this field is not specified, the default time zone (UTC) is used.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
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 = '20190822'
REVISION = '20190905'

# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
Expand Down
84 changes: 84 additions & 0 deletions generated/google/apis/content_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4101,6 +4101,11 @@ class Order
# @return [String]
attr_accessor :payment_status

# Pickup details for shipments of type pickup.
# Corresponds to the JSON property `pickupDetails`
# @return [Google::Apis::ContentV2::OrderPickupDetails]
attr_accessor :pickup_details

# The date when the order was placed, in ISO 8601 format.
# Corresponds to the JSON property `placedDate`
# @return [String]
Expand Down Expand Up @@ -4165,6 +4170,7 @@ def update!(**args)
@net_amount = args[:net_amount] if args.key?(:net_amount)
@payment_method = args[:payment_method] if args.key?(:payment_method)
@payment_status = args[:payment_status] if args.key?(:payment_status)
@pickup_details = args[:pickup_details] if args.key?(:pickup_details)
@placed_date = args[:placed_date] if args.key?(:placed_date)
@promotions = args[:promotions] if args.key?(:promotions)
@refunds = args[:refunds] if args.key?(:refunds)
Expand Down Expand Up @@ -4562,6 +4568,11 @@ class OrderLineItem
# @return [Fixnum]
attr_accessor :quantity_pending

# Number of items ready for pickup.
# Corresponds to the JSON property `quantityReadyForPickup`
# @return [Fixnum]
attr_accessor :quantity_ready_for_pickup

# Number of items returned.
# Corresponds to the JSON property `quantityReturned`
# @return [Fixnum]
Expand Down Expand Up @@ -4608,6 +4619,7 @@ def update!(**args)
@quantity_delivered = args[:quantity_delivered] if args.key?(:quantity_delivered)
@quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
@quantity_pending = args[:quantity_pending] if args.key?(:quantity_pending)
@quantity_ready_for_pickup = args[:quantity_ready_for_pickup] if args.key?(:quantity_ready_for_pickup)
@quantity_returned = args[:quantity_returned] if args.key?(:quantity_returned)
@quantity_shipped = args[:quantity_shipped] if args.key?(:quantity_shipped)
@return_info = args[:return_info] if args.key?(:return_info)
Expand Down Expand Up @@ -4829,6 +4841,12 @@ class OrderLineItemShippingDetails
# @return [String]
attr_accessor :ship_by_date

# Type of shipment. Indicates whether deliveryDetails or pickupDetails is
# applicable for this shipment.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type

def initialize(**args)
update!(**args)
end
Expand All @@ -4838,6 +4856,7 @@ def update!(**args)
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
@method_prop = args[:method_prop] if args.key?(:method_prop)
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
@type = args[:type] if args.key?(:type)
end
end

Expand Down Expand Up @@ -4963,6 +4982,64 @@ def update!(**args)
end
end

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

# Address of the pickup location where the shipment should be sent. Note that
# recipientName in the address is the name of the business at the pickup
# location.
# Corresponds to the JSON property `address`
# @return [Google::Apis::ContentV2::OrderAddress]
attr_accessor :address

# Collectors authorized to pick up shipment from the pickup location.
# Corresponds to the JSON property `collectors`
# @return [Array<Google::Apis::ContentV2::OrderPickupDetailsCollector>]
attr_accessor :collectors

# ID of the pickup location.
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id

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

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

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

# Name of the person picking up the shipment.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Phone number of the person picking up the shipment.
# Corresponds to the JSON property `phoneNumber`
# @return [String]
attr_accessor :phone_number

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

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

#
class OrderRefund
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -10616,6 +10693,12 @@ class TestOrder
# @return [String]
attr_accessor :predefined_delivery_address

# Identifier of one of the predefined pickup details. Required for orders
# containing line items with shipping type pickup.
# Corresponds to the JSON property `predefinedPickupDetails`
# @return [String]
attr_accessor :predefined_pickup_details

# Deprecated. Ignored if provided.
# Corresponds to the JSON property `promotions`
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
Expand Down Expand Up @@ -10652,6 +10735,7 @@ def update!(**args)
@notification_mode = args[:notification_mode] if args.key?(:notification_mode)
@payment_method = args[:payment_method] if args.key?(:payment_method)
@predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
@predefined_pickup_details = args[:predefined_pickup_details] if args.key?(:predefined_pickup_details)
@promotions = args[:promotions] if args.key?(:promotions)
@shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
@shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
Expand Down
36 changes: 36 additions & 0 deletions generated/google/apis/content_v2/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class OrderPickupDetails
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class OrderPickupDetailsCollector
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class OrderRefund
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -2798,6 +2810,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation

property :payment_status, as: 'paymentStatus'
property :pickup_details, as: 'pickupDetails', class: Google::Apis::ContentV2::OrderPickupDetails, decorator: Google::Apis::ContentV2::OrderPickupDetails::Representation

property :placed_date, as: 'placedDate'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation

Expand Down Expand Up @@ -2913,6 +2927,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :quantity_delivered, as: 'quantityDelivered'
property :quantity_ordered, as: 'quantityOrdered'
property :quantity_pending, as: 'quantityPending'
property :quantity_ready_for_pickup, as: 'quantityReadyForPickup'
property :quantity_returned, as: 'quantityReturned'
property :quantity_shipped, as: 'quantityShipped'
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
Expand Down Expand Up @@ -2984,6 +2999,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation

property :ship_by_date, as: 'shipByDate'
property :type, as: 'type'
end
end

Expand Down Expand Up @@ -3018,6 +3034,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class OrderPickupDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation

collection :collectors, as: 'collectors', class: Google::Apis::ContentV2::OrderPickupDetailsCollector, decorator: Google::Apis::ContentV2::OrderPickupDetailsCollector::Representation

property :location_id, as: 'locationId'
end
end

class OrderPickupDetailsCollector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :phone_number, as: 'phoneNumber'
end
end

class OrderRefund
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -4585,6 +4620,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation

property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
property :predefined_pickup_details, as: 'predefinedPickupDetails'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation

property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/content_v2_1.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_1
VERSION = 'V2_1'
REVISION = '20190822'
REVISION = '20190905'

# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
Expand Down
Loading

0 comments on commit ab9f8f3

Please sign in to comment.