Autogenerated update (2018-09-18)

Update:
- androidenterprise_v1
- androidmanagement_v1
- calendar_v3
- compute_alpha
- compute_v1
- content_v2
- genomics_v1
- genomics_v1alpha2
- genomics_v2alpha1
- indexing_v3
- sqladmin_v1beta4
- testing_v1
This commit is contained in:
Google APIs 2018-09-18 00:36:21 +00:00
parent e207129134
commit 3f92877e69
26 changed files with 537 additions and 283 deletions

View File

@ -18048,6 +18048,11 @@
"/compute:alpha/Allocation/specificAllocation": specific_allocation
"/compute:alpha/Allocation/specificAllocationRequired": specific_allocation_required
"/compute:alpha/Allocation/zone": zone
"/compute:alpha/AllocationAffinity": allocation_affinity
"/compute:alpha/AllocationAffinity/consumeAllocationType": consume_allocation_type
"/compute:alpha/AllocationAffinity/key": key
"/compute:alpha/AllocationAffinity/values": values
"/compute:alpha/AllocationAffinity/values/value": value
"/compute:alpha/AllocationAggregatedList": allocation_aggregated_list
"/compute:alpha/AllocationAggregatedList/id": id
"/compute:alpha/AllocationAggregatedList/items": items
@ -18062,6 +18067,20 @@
"/compute:alpha/AllocationAggregatedList/warning/data/datum/key": key
"/compute:alpha/AllocationAggregatedList/warning/data/datum/value": value
"/compute:alpha/AllocationAggregatedList/warning/message": message
"/compute:alpha/AllocationList": allocation_list
"/compute:alpha/AllocationList/id": id
"/compute:alpha/AllocationList/items": items
"/compute:alpha/AllocationList/items/item": item
"/compute:alpha/AllocationList/kind": kind
"/compute:alpha/AllocationList/nextPageToken": next_page_token
"/compute:alpha/AllocationList/selfLink": self_link
"/compute:alpha/AllocationList/warning": warning
"/compute:alpha/AllocationList/warning/code": code
"/compute:alpha/AllocationList/warning/data": data
"/compute:alpha/AllocationList/warning/data/datum": datum
"/compute:alpha/AllocationList/warning/data/datum/key": key
"/compute:alpha/AllocationList/warning/data/datum/value": value
"/compute:alpha/AllocationList/warning/message": message
"/compute:alpha/AllocationSpecificSKUAllocation": allocation_specific_sku_allocation
"/compute:alpha/AllocationSpecificSKUAllocation/count": count
"/compute:alpha/AllocationSpecificSKUAllocation/inUseCount": in_use_count
@ -19272,6 +19291,7 @@
"/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name
"/compute:alpha/InstanceGroupManagerStatus": instance_group_manager_status
"/compute:alpha/InstanceGroupManagerStatus/isStable": is_stable
"/compute:alpha/InstanceGroupManagerStatus/versionTargetReached": version_target_reached
"/compute:alpha/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
"/compute:alpha/InstanceGroupManagerUpdatePolicy/instanceRedistributionType": instance_redistribution_type
"/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
@ -19665,6 +19685,7 @@
"/compute:alpha/InterconnectLocation/regionInfos": region_infos
"/compute:alpha/InterconnectLocation/regionInfos/region_info": region_info
"/compute:alpha/InterconnectLocation/selfLink": self_link
"/compute:alpha/InterconnectLocation/status": status
"/compute:alpha/InterconnectLocationList": interconnect_location_list
"/compute:alpha/InterconnectLocationList/id": id
"/compute:alpha/InterconnectLocationList/items": items
@ -36587,6 +36608,12 @@
"/content:v2/OrdersCreateTestOrderResponse": orders_create_test_order_response
"/content:v2/OrdersCreateTestOrderResponse/kind": kind
"/content:v2/OrdersCreateTestOrderResponse/orderId": order_id
"/content:v2/OrdersCreateTestReturnRequest": orders_create_test_return_request
"/content:v2/OrdersCreateTestReturnRequest/items": items
"/content:v2/OrdersCreateTestReturnRequest/items/item": item
"/content:v2/OrdersCreateTestReturnResponse": orders_create_test_return_response
"/content:v2/OrdersCreateTestReturnResponse/kind": kind
"/content:v2/OrdersCreateTestReturnResponse/returnId": return_id
"/content:v2/OrdersCustomBatchRequest": orders_custom_batch_request
"/content:v2/OrdersCustomBatchRequest/entries": entries
"/content:v2/OrdersCustomBatchRequest/entries/entry": entry
@ -36620,6 +36647,9 @@
"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/quantity": quantity
"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/reason": reason
"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/reasonText": reason_text
"/content:v2/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem": orders_custom_batch_request_entry_create_test_return_return_item
"/content:v2/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem/lineItemId": line_item_id
"/content:v2/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem/quantity": quantity
"/content:v2/OrdersCustomBatchRequestEntryInStoreRefundLineItem": orders_custom_batch_request_entry_in_store_refund_line_item
"/content:v2/OrdersCustomBatchRequestEntryInStoreRefundLineItem/amountPretax": amount_pretax
"/content:v2/OrdersCustomBatchRequestEntryInStoreRefundLineItem/amountTax": amount_tax
@ -37502,6 +37532,9 @@
"/content:v2/content.orders.canceltestorderbycustomer/orderId": order_id
"/content:v2/content.orders.createtestorder": create_test_order
"/content:v2/content.orders.createtestorder/merchantId": merchant_id
"/content:v2/content.orders.createtestreturn": createtestreturn_order
"/content:v2/content.orders.createtestreturn/merchantId": merchant_id
"/content:v2/content.orders.createtestreturn/orderId": order_id
"/content:v2/content.orders.custombatch": custom_order_batch
"/content:v2/content.orders.get": get_order
"/content:v2/content.orders.get/merchantId": merchant_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20180907'
REVISION = '20180912'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -174,7 +174,7 @@ module Google
class AdministratorWebTokenSpecStoreBuilder
include Google::Apis::Core::Hashable
# Whether the Store Builder is be displayed. Default is true.
# Whether the Store Builder page is displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180829'
REVISION = '20180910'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -25,13 +25,22 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20180906'
REVISION = '20180909'
# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
# View and edit events on all your calendars
AUTH_CALENDAR_EVENTS = 'https://www.googleapis.com/auth/calendar.events'
# View events on all your calendars
AUTH_CALENDAR_EVENTS_READONLY = 'https://www.googleapis.com/auth/calendar.events.readonly'
# View your calendars
AUTH_CALENDAR_READONLY = 'https://www.googleapis.com/auth/calendar.readonly'
# View your Calendar settings
AUTH_CALENDAR_SETTINGS_READONLY = 'https://www.googleapis.com/auth/calendar.settings.readonly'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20180817'
REVISION = '20180828'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1134,6 +1134,38 @@ module Google
end
end
# AllocationAffinity is the configuration of desired allocation which this
# instance could take capacity from.
class AllocationAffinity
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `consumeAllocationType`
# @return [String]
attr_accessor :consume_allocation_type
# Corresponds to the label key of allocation resource.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Corresponds to the label values of allocation resource.
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type)
@key = args[:key] if args.key?(:key)
@values = args[:values] if args.key?(:values)
end
end
# Contains a list of allocations.
class AllocationAggregatedList
include Google::Apis::Core::Hashable
@ -1251,6 +1283,125 @@ module Google
end
end
#
class AllocationList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of Allocation resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::Allocation>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#allocationsList for listsof
# allocations
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeAlpha::AllocationList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeAlpha::AllocationList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# This allocation type allows to pre allocate specific instance configuration.
class AllocationSpecificSkuAllocation
include Google::Apis::Core::Hashable
@ -1349,125 +1500,6 @@ module Google
end
end
#
class AllocationsList
include Google::Apis::Core::Hashable
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# [Output Only] A list of Allocation resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeAlpha::Allocation>]
attr_accessor :items
# [Output Only] Type of resource.Always compute#allocationsList for listsof
# allocations
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeAlpha::AllocationsList::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
#
class AllocationsScopedList
include Google::Apis::Core::Hashable
@ -8690,7 +8722,7 @@ module Google
# AllocationAffinity is the configuration of desired allocation which this
# instance could take capacity from.
# Corresponds to the JSON property `allocationAffinity`
# @return [Google::Apis::ComputeAlpha::InstanceAllocationAffinity]
# @return [Google::Apis::ComputeAlpha::AllocationAffinity]
attr_accessor :allocation_affinity
# Allows this instance to send and receive packets with non-matching destination
@ -9054,38 +9086,6 @@ module Google
end
end
# AllocationAffinity is the configuration of desired allocation which this
# instance could take capacity from.
class InstanceAllocationAffinity
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `consumeAllocationType`
# @return [String]
attr_accessor :consume_allocation_type
# Corresponds to the label key of Allocation resource.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Corresponds to the label values of allocation resource.
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type)
@key = args[:key] if args.key?(:key)
@values = args[:values] if args.key?(:values)
end
end
# InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.
# instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
# resource_for v1.regionInstanceGroups ==)
@ -10050,6 +10050,15 @@ module Google
attr_accessor :is_stable
alias_method :is_stable?, :is_stable
# [Output Only] A bit indicating whether version target has been reached in this
# managed instance group, i.e. all instances are in their target version.
# Instances' target version are specified by version field on Instance Group
# Manager.
# Corresponds to the JSON property `versionTargetReached`
# @return [Boolean]
attr_accessor :version_target_reached
alias_method :version_target_reached?, :version_target_reached
def initialize(**args)
update!(**args)
end
@ -10057,6 +10066,7 @@ module Google
# Update properties of this object
def update!(**args)
@is_stable = args[:is_stable] if args.key?(:is_stable)
@version_target_reached = args[:version_target_reached] if args.key?(:version_target_reached)
end
end
@ -13069,6 +13079,13 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The status of this InterconnectLocation. If the status is
# AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
# Otherwise, no new Interconnects may be provisioned.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
def initialize(**args)
update!(**args)
end
@ -13089,6 +13106,7 @@ module Google
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
@region_infos = args[:region_infos] if args.key?(:region_infos)
@self_link = args[:self_link] if args.key?(:self_link)
@status = args[:status] if args.key?(:status)
end
end
@ -15465,24 +15483,25 @@ module Google
include Google::Apis::Core::Hashable
# The default port used if the port number is not specified in the network
# endpoint.
# endpoint. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `defaultPort`
# @return [Fixnum]
attr_accessor :default_port
# The URL of the network to which all network endpoints in the NEG belong. Uses "
# default" project network if unspecified.
# default" project network if unspecified. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Optional URL of the subnetwork to which all network endpoints in the NEG
# belong.
# belong. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
# [Output Only] The URL of the zone where the network endpoint group is located.
# [Deprecated] This field is deprecated.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@ -16342,12 +16361,6 @@ module Google
# @return [String]
attr_accessor :node_template
# [Deprecated] Use nodeGroups.listNodes instead. [Output Only] A list of nodes
# in this node group.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::ComputeAlpha::NodeGroupNode>]
attr_accessor :nodes
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@ -16381,7 +16394,6 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@node_template = args[:node_template] if args.key?(:node_template)
@nodes = args[:nodes] if args.key?(:nodes)
@self_link = args[:self_link] if args.key?(:self_link)
@size = args[:size] if args.key?(:size)
@status = args[:status] if args.key?(:status)

View File

@ -166,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllocationAffinity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllocationAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -184,6 +190,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllocationList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class AllocationSpecificSkuAllocation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -202,24 +226,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllocationsList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class AllocationsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1132,12 +1138,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceAllocationAffinity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4591,6 +4591,15 @@ module Google
end
end
class AllocationAffinity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consume_allocation_type, as: 'consumeAllocationType'
property :key, as: 'key'
collection :values, as: 'values'
end
end
class AllocationAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4623,6 +4632,38 @@ module Google
end
end
class AllocationList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::Allocation, decorator: Google::Apis::ComputeAlpha::Allocation::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::AllocationList::Warning, decorator: Google::Apis::ComputeAlpha::AllocationList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::AllocationList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::AllocationList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class AllocationSpecificSkuAllocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4653,38 +4694,6 @@ module Google
end
end
class AllocationsList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::Allocation, decorator: Google::Apis::ComputeAlpha::Allocation::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::AllocationsList::Warning, decorator: Google::Apis::ComputeAlpha::AllocationsList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class AllocationsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6386,7 +6395,7 @@ module Google
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::ComputeAlpha::InstanceAllocationAffinity, decorator: Google::Apis::ComputeAlpha::InstanceAllocationAffinity::Representation
property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::ComputeAlpha::AllocationAffinity, decorator: Google::Apis::ComputeAlpha::AllocationAffinity::Representation
property :can_ip_forward, as: 'canIpForward'
property :cpu_platform, as: 'cpuPlatform'
@ -6464,15 +6473,6 @@ module Google
end
end
class InstanceAllocationAffinity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consume_allocation_type, as: 'consumeAllocationType'
property :key, as: 'key'
collection :values, as: 'values'
end
end
class InstanceGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6700,6 +6700,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
property :version_target_reached, as: 'versionTargetReached'
end
end
@ -7513,6 +7514,7 @@ module Google
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo::Representation
property :self_link, as: 'selfLink'
property :status, as: 'status'
end
end
@ -8363,8 +8365,6 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
collection :nodes, as: 'nodes', class: Google::Apis::ComputeAlpha::NodeGroupNode, decorator: Google::Apis::ComputeAlpha::NodeGroupNode::Representation
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :status, as: 'status'

View File

@ -871,18 +871,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::AllocationsList] parsed result object
# @yieldparam result [Google::Apis::ComputeAlpha::AllocationList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::AllocationsList]
# @return [Google::Apis::ComputeAlpha::AllocationList]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_allocations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/allocations', options)
command.response_representation = Google::Apis::ComputeAlpha::AllocationsList::Representation
command.response_class = Google::Apis::ComputeAlpha::AllocationsList
command.response_representation = Google::Apis::ComputeAlpha::AllocationList::Representation
command.response_class = Google::Apis::ComputeAlpha::AllocationList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.query['filter'] = filter unless filter.nil?
@ -9620,10 +9620,10 @@ module Google
# Specifies instance template to create the instance.
# This field is optional. It can be a full or partial URL. For example, the
# following are all valid URLs to an instance template:
# - https://www.googleapis.com/compute/v1/projects/project/global/global/
# - https://www.googleapis.com/compute/v1/projects/project/global/
# instanceTemplates/instanceTemplate
# - projects/project/global/global/instanceTemplates/instanceTemplate
# - global/instancesTemplates/instanceTemplate
# - projects/project/global/instanceTemplates/instanceTemplate
# - global/instanceTemplates/instanceTemplate
# @param [String] source_machine_image
# Specifies instance machine to create the instance.
# This field is optional. It can be a full or partial URL. For example, the

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20180817'
REVISION = '20180828'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -7130,10 +7130,10 @@ module Google
# Specifies instance template to create the instance.
# This field is optional. It can be a full or partial URL. For example, the
# following are all valid URLs to an instance template:
# - https://www.googleapis.com/compute/v1/projects/project/global/global/
# - https://www.googleapis.com/compute/v1/projects/project/global/
# instanceTemplates/instanceTemplate
# - projects/project/global/global/instanceTemplates/instanceTemplate
# - global/instancesTemplates/instanceTemplate
# - projects/project/global/instanceTemplates/instanceTemplate
# - global/instanceTemplates/instanceTemplate
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

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

View File

@ -1034,7 +1034,7 @@ module Google
# @return [String]
attr_accessor :kind
# The status of the updated link. Only defined if the method is link.
# Deprecated. This field is never set.
# Corresponds to the JSON property `linkStatus`
# @return [String]
attr_accessor :link_status
@ -5652,6 +5652,51 @@ module Google
end
end
#
class OrdersCreateTestReturnRequest
include Google::Apis::Core::Hashable
# Returned items.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem>]
attr_accessor :items
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
end
end
#
class OrdersCreateTestReturnResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# ordersCreateTestReturnResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The ID of the newly created test order return.
# Corresponds to the JSON property `returnId`
# @return [String]
attr_accessor :return_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@return_id = args[:return_id] if args.key?(:return_id)
end
end
#
class OrdersCustomBatchRequest
include Google::Apis::Core::Hashable
@ -5877,6 +5922,31 @@ module Google
end
end
#
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
include Google::Apis::Core::Hashable
# The ID of the line item to return.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# Quantity that is returned.
# Corresponds to the JSON property `quantity`
# @return [Fixnum]
attr_accessor :quantity
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@quantity = args[:quantity] if args.key?(:quantity)
end
end
#
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
include Google::Apis::Core::Hashable
@ -8312,7 +8382,7 @@ module Google
# @return [String]
attr_accessor :offer_id
# Whether an item is available for purchase only online.
# Deprecated. Whether an item is available for purchase only online.
# Corresponds to the JSON property `onlineOnly`
# @return [Boolean]
attr_accessor :online_only
@ -8430,7 +8500,8 @@ module Google
# @return [Google::Apis::ContentV2::ProductUnitPricingMeasure]
attr_accessor :unit_pricing_measure
# The read-only list of intended destinations which passed validation.
# Deprecated. The read-only list of intended destinations which passed
# validation.
# Corresponds to the JSON property `validatedDestinations`
# @return [Array<String>]
attr_accessor :validated_destinations
@ -8573,8 +8644,8 @@ module Google
# @return [String]
attr_accessor :type
# Free-form unit of the attribute. Unit can only be used for values of type INT
# or FLOAT.
# Free-form unit of the attribute. Unit can only be used for values of type int,
# float, or price.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit

View File

@ -904,6 +904,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCreateTestReturnRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCreateTestReturnResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -928,6 +940,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3140,6 +3158,22 @@ module Google
end
end
class OrdersCreateTestReturnRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem::Representation
end
end
class OrdersCreateTestReturnResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :return_id, as: 'returnId'
end
end
class OrdersCustomBatchRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3207,6 +3241,14 @@ module Google
end
end
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :line_item_id, as: 'lineItemId'
property :quantity, as: 'quantity'
end
end
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2325,6 +2325,46 @@ module Google
execute_or_queue_command(command, &block)
end
# Sandbox only. Creates a test return.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersCreateTestReturnRequest] orders_create_test_return_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2::OrdersCreateTestReturnResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::OrdersCreateTestReturnResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
command.request_object = orders_create_test_return_request_object
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersCreateTestReturnResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['orderId'] = order_id unless order_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves or modifies multiple orders in a single request.
# @param [Google::Apis::ContentV2::OrdersCustomBatchRequest] orders_custom_batch_request_object
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1
VERSION = 'V1'
REVISION = '20180905'
REVISION = '20180914'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -928,10 +928,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. Clients
# may use Operations.GetOperation or Operations.ListOperations to check whether
# the cancellation succeeded or the operation completed despite cancellation.
# Starts asynchronous cancellation on a long-running operation.
# The server makes a best effort to cancel the operation, but success is not
# guaranteed. Clients may use Operations.GetOperation
# or Operations.ListOperations
# to check whether the cancellation succeeded or the operation completed
# despite cancellation.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.cancel`
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object
@ -964,9 +969,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation.
# Clients can use this method to poll the operation result at intervals as
# recommended by the API service.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.get`
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -996,7 +1004,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request.
# Lists operations that match the specified filter in the request.&#13;
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.list`
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1alpha2
VERSION = 'V1alpha2'
REVISION = '20180905'
REVISION = '20180914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -47,10 +47,15 @@ module Google
@batch_path = 'batch'
end
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. Clients
# may use Operations.GetOperation or Operations.ListOperations to check whether
# the cancellation succeeded or the operation completed despite cancellation.
# Starts asynchronous cancellation on a long-running operation.
# The server makes a best effort to cancel the operation, but success is not
# guaranteed. Clients may use Operations.GetOperation
# or Operations.ListOperations
# to check whether the cancellation succeeded or the operation completed
# despite cancellation.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.cancel`
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::GenomicsV1alpha2::CancelOperationRequest] cancel_operation_request_object
@ -83,9 +88,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation.
# Clients can use this method to poll the operation result at intervals as
# recommended by the API service.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.get`
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -115,7 +123,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request.
# Lists operations that match the specified filter in the request.&#13;
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.list`
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV2alpha1
VERSION = 'V2alpha1'
REVISION = '20180905'
REVISION = '20180914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -54,6 +54,9 @@ module Google
# or if you enabled the Cloud Genomics API before the v2alpha1 API
# launch, you must disable and re-enable the API to grant the Genomics
# Service Agent the required permissions.
# Authorization requires the following [Google
# IAM](https://cloud.google.com/iam/) permission:
# * `genomics.operations.create`
# [1]: /genomics/gsa
# @param [Google::Apis::GenomicsV2alpha1::RunPipelineRequest] run_pipeline_request_object
# @param [String] fields
@ -84,10 +87,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. Clients
# may use Operations.GetOperation or Operations.ListOperations to check whether
# the cancellation succeeded or the operation completed despite cancellation.
# Starts asynchronous cancellation on a long-running operation.
# The server makes a best effort to cancel the operation, but success is not
# guaranteed. Clients may use Operations.GetOperation
# or Operations.ListOperations
# to check whether the cancellation succeeded or the operation completed
# despite cancellation.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.cancel`
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::GenomicsV2alpha1::CancelOperationRequest] cancel_operation_request_object
@ -120,9 +128,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation.
# Clients can use this method to poll the operation result at intervals as
# recommended by the API service.
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.get`
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -152,7 +163,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request.
# Lists operations that match the specified filter in the request.&#13;
# Authorization requires the following [Google IAM](https://cloud.google.com/iam)
# permission&#58;
# * `genomics.operations.list`
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter

View File

@ -26,7 +26,10 @@ module Google
# @see https://developers.google.com/search/apis/indexing-api/
module IndexingV3
VERSION = 'V3'
REVISION = '20180621'
REVISION = '20180911'
# Submit data to Google for indexing
AUTH_INDEXING = 'https://www.googleapis.com/auth/indexing'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/sql/docs/reference/latest
module SqladminV1beta4
VERSION = 'V1beta4'
REVISION = '20180912'
REVISION = '20180917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20180913'
REVISION = '20180914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -300,7 +300,7 @@ module Google
# @return [String]
attr_accessor :form
# Whther this device is a phone, tablet, wearable, etc.
# Whether this device is a phone, tablet, wearable, etc.
# @OutputOnly
# Corresponds to the JSON property `formFactor`
# @return [String]
@ -1184,6 +1184,12 @@ module Google
# @return [Array<String>]
attr_accessor :device_capabilities
# Whether this device is a phone, tablet, wearable, etc.
# @OutputOnly
# Corresponds to the JSON property `formFactor`
# @return [String]
attr_accessor :form_factor
# Output only. The unique opaque id for this model.
# Use this for invoking the TestExecutionService.
# Corresponds to the JSON property `id`
@ -1214,6 +1220,7 @@ module Google
# Update properties of this object
def update!(**args)
@device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities)
@form_factor = args[:form_factor] if args.key?(:form_factor)
@id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)

View File

@ -688,6 +688,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :device_capabilities, as: 'deviceCapabilities'
property :form_factor, as: 'formFactor'
property :id, as: 'id'
property :name, as: 'name'
collection :supported_version_ids, as: 'supportedVersionIds'