Autogenerated update (2018-09-19)

Update:
- adexchangebuyer2_v2beta1
- compute_beta
- content_v2sandbox
- firestore_v1beta2
- games_v1
- serviceconsumermanagement_v1
- serviceusage_v1
- serviceusage_v1beta1
- speech_v1
- toolresults_v1beta3
This commit is contained in:
Google APIs 2018-09-19 00:36:24 +00:00
parent 3f92877e69
commit d2dc369860
27 changed files with 974 additions and 42 deletions

View File

@ -791,6 +791,9 @@
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list": list_account_publishers
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list/accountId": account_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list/environment": environment
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.creatives.delete": delete_bidder_account_creative
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.creatives.delete/creativeId": creative_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.creatives.delete/ownerName": owner_name
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list": list_bidder_account_filter_set_bid_metrics
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list/accountId": account_id
"/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list/filterSetId": filter_set_id
@ -25689,6 +25692,7 @@
"/compute:beta/InstanceGroupManager/region": region
"/compute:beta/InstanceGroupManager/selfLink": self_link
"/compute:beta/InstanceGroupManager/serviceAccount": service_account
"/compute:beta/InstanceGroupManager/status": status
"/compute:beta/InstanceGroupManager/targetPools": target_pools
"/compute:beta/InstanceGroupManager/targetPools/target_pool": target_pool
"/compute:beta/InstanceGroupManager/targetSize": target_size
@ -25742,6 +25746,8 @@
"/compute:beta/InstanceGroupManagerPendingActionsSummary/deleting": deleting
"/compute:beta/InstanceGroupManagerPendingActionsSummary/recreating": recreating
"/compute:beta/InstanceGroupManagerPendingActionsSummary/restarting": restarting
"/compute:beta/InstanceGroupManagerStatus": instance_group_manager_status
"/compute:beta/InstanceGroupManagerStatus/isStable": is_stable
"/compute:beta/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
@ -26039,6 +26045,30 @@
"/compute:beta/InterconnectCircuitInfo/customerDemarcId": customer_demarc_id
"/compute:beta/InterconnectCircuitInfo/googleCircuitId": google_circuit_id
"/compute:beta/InterconnectCircuitInfo/googleDemarcId": google_demarc_id
"/compute:beta/InterconnectDiagnostics": interconnect_diagnostics
"/compute:beta/InterconnectDiagnostics/arpCaches": arp_caches
"/compute:beta/InterconnectDiagnostics/arpCaches/arp_cach": arp_cach
"/compute:beta/InterconnectDiagnostics/links": links
"/compute:beta/InterconnectDiagnostics/links/link": link
"/compute:beta/InterconnectDiagnostics/macAddress": mac_address
"/compute:beta/InterconnectDiagnosticsARPEntry": interconnect_diagnostics_arp_entry
"/compute:beta/InterconnectDiagnosticsARPEntry/ipAddress": ip_address
"/compute:beta/InterconnectDiagnosticsARPEntry/macAddress": mac_address
"/compute:beta/InterconnectDiagnosticsLinkLACPStatus": interconnect_diagnostics_link_lacp_status
"/compute:beta/InterconnectDiagnosticsLinkLACPStatus/googleSystemId": google_system_id
"/compute:beta/InterconnectDiagnosticsLinkLACPStatus/neighborSystemId": neighbor_system_id
"/compute:beta/InterconnectDiagnosticsLinkLACPStatus/state": state
"/compute:beta/InterconnectDiagnosticsLinkOpticalPower": interconnect_diagnostics_link_optical_power
"/compute:beta/InterconnectDiagnosticsLinkOpticalPower/state": state
"/compute:beta/InterconnectDiagnosticsLinkOpticalPower/value": value
"/compute:beta/InterconnectDiagnosticsLinkStatus": interconnect_diagnostics_link_status
"/compute:beta/InterconnectDiagnosticsLinkStatus/arpCaches": arp_caches
"/compute:beta/InterconnectDiagnosticsLinkStatus/arpCaches/arp_cach": arp_cach
"/compute:beta/InterconnectDiagnosticsLinkStatus/circuitId": circuit_id
"/compute:beta/InterconnectDiagnosticsLinkStatus/googleDemarc": google_demarc
"/compute:beta/InterconnectDiagnosticsLinkStatus/lacpStatus": lacp_status
"/compute:beta/InterconnectDiagnosticsLinkStatus/receivingOpticalPower": receiving_optical_power
"/compute:beta/InterconnectDiagnosticsLinkStatus/transmittingOpticalPower": transmitting_optical_power
"/compute:beta/InterconnectList": interconnect_list
"/compute:beta/InterconnectList/id": id
"/compute:beta/InterconnectList/items": items
@ -26098,6 +26128,8 @@
"/compute:beta/InterconnectOutageNotification/source": source
"/compute:beta/InterconnectOutageNotification/startTime": start_time
"/compute:beta/InterconnectOutageNotification/state": state
"/compute:beta/InterconnectsGetDiagnosticsResponse": interconnects_get_diagnostics_response
"/compute:beta/InterconnectsGetDiagnosticsResponse/result": result
"/compute:beta/License": license
"/compute:beta/License/chargesUseFee": charges_use_fee
"/compute:beta/License/creationTimestamp": creation_timestamp
@ -28777,6 +28809,9 @@
"/compute:beta/compute.interconnects.get": get_interconnect
"/compute:beta/compute.interconnects.get/interconnect": interconnect
"/compute:beta/compute.interconnects.get/project": project
"/compute:beta/compute.interconnects.getDiagnostics": get_interconnect_diagnostics
"/compute:beta/compute.interconnects.getDiagnostics/interconnect": interconnect
"/compute:beta/compute.interconnects.getDiagnostics/project": project
"/compute:beta/compute.interconnects.insert": insert_interconnect
"/compute:beta/compute.interconnects.insert/project": project
"/compute:beta/compute.interconnects.insert/requestId": request_id
@ -37936,6 +37971,12 @@
"/content:v2sandbox/OrdersCreateTestOrderResponse": orders_create_test_order_response
"/content:v2sandbox/OrdersCreateTestOrderResponse/kind": kind
"/content:v2sandbox/OrdersCreateTestOrderResponse/orderId": order_id
"/content:v2sandbox/OrdersCreateTestReturnRequest": orders_create_test_return_request
"/content:v2sandbox/OrdersCreateTestReturnRequest/items": items
"/content:v2sandbox/OrdersCreateTestReturnRequest/items/item": item
"/content:v2sandbox/OrdersCreateTestReturnResponse": orders_create_test_return_response
"/content:v2sandbox/OrdersCreateTestReturnResponse/kind": kind
"/content:v2sandbox/OrdersCreateTestReturnResponse/returnId": return_id
"/content:v2sandbox/OrdersCustomBatchRequest": orders_custom_batch_request
"/content:v2sandbox/OrdersCustomBatchRequest/entries": entries
"/content:v2sandbox/OrdersCustomBatchRequest/entries/entry": entry
@ -37969,6 +38010,9 @@
"/content:v2sandbox/OrdersCustomBatchRequestEntryCancelLineItem/quantity": quantity
"/content:v2sandbox/OrdersCustomBatchRequestEntryCancelLineItem/reason": reason
"/content:v2sandbox/OrdersCustomBatchRequestEntryCancelLineItem/reasonText": reason_text
"/content:v2sandbox/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem": orders_custom_batch_request_entry_create_test_return_return_item
"/content:v2sandbox/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem/lineItemId": line_item_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryCreateTestReturnReturnItem/quantity": quantity
"/content:v2sandbox/OrdersCustomBatchRequestEntryInStoreRefundLineItem": orders_custom_batch_request_entry_in_store_refund_line_item
"/content:v2sandbox/OrdersCustomBatchRequestEntryInStoreRefundLineItem/amountPretax": amount_pretax
"/content:v2sandbox/OrdersCustomBatchRequestEntryInStoreRefundLineItem/amountTax": amount_tax
@ -38272,6 +38316,9 @@
"/content:v2sandbox/content.orders.canceltestorderbycustomer/orderId": order_id
"/content:v2sandbox/content.orders.createtestorder": createtestorder_order
"/content:v2sandbox/content.orders.createtestorder/merchantId": merchant_id
"/content:v2sandbox/content.orders.createtestreturn": createtestreturn_order
"/content:v2sandbox/content.orders.createtestreturn/merchantId": merchant_id
"/content:v2sandbox/content.orders.createtestreturn/orderId": order_id
"/content:v2sandbox/content.orders.custombatch": custombatch_order
"/content:v2sandbox/content.orders.get": get_order
"/content:v2sandbox/content.orders.get/merchantId": merchant_id
@ -62801,6 +62848,7 @@
"/firestore:v1beta1/firestore.projects.databases.indexes.list/parent": parent
"/firestore:v1beta1/key": key
"/firestore:v1beta1/quotaUser": quota_user
"/firestore:v1beta2/Empty": empty
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field": google_firestore_admin_v1beta2_field
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/indexConfig": index_config
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/name": name
@ -62832,10 +62880,21 @@
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexField/arrayConfig": array_config
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexField/fieldPath": field_path
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexField/order": order
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata": google_firestore_admin_v1beta2_index_operation_metadata
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/endTime": end_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/index": index
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/progressBytes": progress_bytes
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/progressDocuments": progress_documents
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/startTime": start_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2IndexOperationMetadata/state": state
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListFieldsResponse": google_firestore_admin_v1beta2_list_fields_response
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListFieldsResponse/fields": fields
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListFieldsResponse/fields/field": field
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListFieldsResponse/nextPageToken": next_page_token
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListIndexesResponse": google_firestore_admin_v1beta2_list_indexes_response
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListIndexesResponse/indexes": indexes
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListIndexesResponse/indexes/index": index
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ListIndexesResponse/nextPageToken": next_page_token
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Progress": google_firestore_admin_v1beta2_progress
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Progress/completedWork": completed_work
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Progress/estimatedWork": estimated_work
@ -62854,6 +62913,13 @@
"/firestore:v1beta2/Status/details/detail/detail": detail
"/firestore:v1beta2/Status/message": message
"/firestore:v1beta2/fields": fields
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.create": create_project_database_collection_group_index
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.create/parent": parent
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.list": list_project_database_collection_group_indexes
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.list/filter": filter
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.list/pageSize": page_size
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.list/pageToken": page_token
"/firestore:v1beta2/firestore.projects.databases.collectionGroup.indexes.list/parent": parent
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.get": get_project_database_collection_group_field
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.get/name": name
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.list": list_project_database_collection_group_fields
@ -62864,6 +62930,10 @@
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.patch": patch_project_database_collection_group_field
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.patch/name": name
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.fields.patch/updateMask": update_mask
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.delete": delete_project_database_collection_group_index
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.delete/name": name
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.get": get_project_database_collection_group_index
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.get/name": name
"/firestore:v1beta2/key": key
"/firestore:v1beta2/quotaUser": quota_user
"/fitness:v1/AggregateBucket": aggregate_bucket
@ -64206,8 +64276,10 @@
"/games:v1/games.achievements.setStepsAtLeast/steps": steps
"/games:v1/games.achievements.unlock": unlock_achievement
"/games:v1/games.achievements.unlock/achievementId": achievement_id
"/games:v1/games.achievements.unlock/builtinGameId": builtin_game_id
"/games:v1/games.achievements.unlock/consistencyToken": consistency_token
"/games:v1/games.achievements.updateMultiple": update_multiple_achievements
"/games:v1/games.achievements.updateMultiple/builtinGameId": builtin_game_id
"/games:v1/games.achievements.updateMultiple/consistencyToken": consistency_token
"/games:v1/games.applications.get": get_application
"/games:v1/games.applications.get/applicationId": application_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20180912'
REVISION = '20180917'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -1443,6 +1443,47 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a single creative.
# A creative is deactivated upon deletion and does not count against active
# snippet quota. A deleted creative should not be used in bidding (all bids
# with that creative will be rejected).
# @param [String] owner_name
# Name of the buyer account that owns the creative.
# Supports two cases:
# - For the buyer account representing bidder 123:
# `bidders/123/accounts/123/`
# - For the child seat buyer account 456 whose bidder is 123:
# `bidders/123/accounts/456/`
# @param [String] creative_id
# The ID of the creative to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
#
# @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 delete_bidder_account_creative(owner_name, creative_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+ownerName}/creatives/{creativeId}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
command.params['ownerName'] = owner_name unless owner_name.nil?
command.params['creativeId'] = creative_id unless creative_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates the specified filter set for the account with the given account ID.
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter set to be created.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
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

@ -8317,6 +8317,11 @@ module Google
# @return [String]
attr_accessor :service_account
# [Output Only] The status of this managed instance group.
# Corresponds to the JSON property `status`
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatus]
attr_accessor :status
# The URLs for all TargetPool resources to which instances in the instanceGroup
# field are added. The target pools automatically apply to all of the instances
# in the managed instance group.
@ -8378,6 +8383,7 @@ module Google
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@service_account = args[:service_account] if args.key?(:service_account)
@status = args[:status] if args.key?(:status)
@target_pools = args[:target_pools] if args.key?(:target_pools)
@target_size = args[:target_size] if args.key?(:target_size)
@update_policy = args[:update_policy] if args.key?(:update_policy)
@ -8781,6 +8787,31 @@ module Google
end
end
#
class InstanceGroupManagerStatus
include Google::Apis::Core::Hashable
# [Output Only] A bit indicating whether the managed instance group is in a
# stable state. A stable state means that: none of the instances in the managed
# instance group is currently undergoing any type of change (for example,
# creation, restart, or deletion); no future changes are scheduled for instances
# in the managed instance group; and the managed instance group itself is not
# being modified.
# Corresponds to the JSON property `isStable`
# @return [Boolean]
attr_accessor :is_stable
alias_method :is_stable?, :is_stable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@is_stable = args[:is_stable] if args.key?(:is_stable)
end
end
#
class InstanceGroupManagerUpdatePolicy
include Google::Apis::Core::Hashable
@ -11154,6 +11185,172 @@ module Google
end
end
# Diagnostics information about interconnect, contains detailed and current
# technical information about Google?s side of the connection.
class InterconnectDiagnostics
include Google::Apis::Core::Hashable
# A list of InterconnectDiagnostics.ARPEntry objects, describing individual
# neighbors currently seen by the Google router in the ARP cache for the
# Interconnect. This will be empty when the Interconnect is not bundled.
# Corresponds to the JSON property `arpCaches`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
attr_accessor :arp_caches
# A list of InterconnectDiagnostics.LinkStatus objects, describing the status
# for each link on the Interconnect.
# Corresponds to the JSON property `links`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus>]
attr_accessor :links
# The MAC address of the Interconnect's bundle interface.
# Corresponds to the JSON property `macAddress`
# @return [String]
attr_accessor :mac_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@arp_caches = args[:arp_caches] if args.key?(:arp_caches)
@links = args[:links] if args.key?(:links)
@mac_address = args[:mac_address] if args.key?(:mac_address)
end
end
# Describing the ARP neighbor entries seen on this link
class InterconnectDiagnosticsArpEntry
include Google::Apis::Core::Hashable
# The IP address of this ARP neighbor.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
# The MAC address of this ARP neighbor.
# Corresponds to the JSON property `macAddress`
# @return [String]
attr_accessor :mac_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@mac_address = args[:mac_address] if args.key?(:mac_address)
end
end
#
class InterconnectDiagnosticsLinkLacpStatus
include Google::Apis::Core::Hashable
# System ID of the port on Google?s side of the LACP exchange.
# Corresponds to the JSON property `googleSystemId`
# @return [String]
attr_accessor :google_system_id
# System ID of the port on the neighbor?s side of the LACP exchange.
# Corresponds to the JSON property `neighborSystemId`
# @return [String]
attr_accessor :neighbor_system_id
#
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@google_system_id = args[:google_system_id] if args.key?(:google_system_id)
@neighbor_system_id = args[:neighbor_system_id] if args.key?(:neighbor_system_id)
@state = args[:state] if args.key?(:state)
end
end
#
class InterconnectDiagnosticsLinkOpticalPower
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Value of the current optical power, read in dBm.
# Corresponds to the JSON property `value`
# @return [Float]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@state = args[:state] if args.key?(:state)
@value = args[:value] if args.key?(:value)
end
end
#
class InterconnectDiagnosticsLinkStatus
include Google::Apis::Core::Hashable
# A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP
# neighbor entries seen on this link. This will be empty if the link is bundled
# Corresponds to the JSON property `arpCaches`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
attr_accessor :arp_caches
# The unique ID for this link assigned during turn up by Google.
# Corresponds to the JSON property `circuitId`
# @return [String]
attr_accessor :circuit_id
# The Demarc address assigned by Google and provided in the LoA.
# Corresponds to the JSON property `googleDemarc`
# @return [String]
attr_accessor :google_demarc
#
# Corresponds to the JSON property `lacpStatus`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus]
attr_accessor :lacp_status
#
# Corresponds to the JSON property `receivingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :receiving_optical_power
#
# Corresponds to the JSON property `transmittingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :transmitting_optical_power
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@arp_caches = args[:arp_caches] if args.key?(:arp_caches)
@circuit_id = args[:circuit_id] if args.key?(:circuit_id)
@google_demarc = args[:google_demarc] if args.key?(:google_demarc)
@lacp_status = args[:lacp_status] if args.key?(:lacp_status)
@receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
@transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
end
end
# Response to the list request, and contains a list of interconnects.
class InterconnectList
include Google::Apis::Core::Hashable
@ -11597,6 +11794,26 @@ module Google
end
end
# Response for the InterconnectsGetDiagnosticsRequest.
class InterconnectsGetDiagnosticsResponse
include Google::Apis::Core::Hashable
# Diagnostics information about interconnect, contains detailed and current
# technical information about Google?s side of the connection.
# Corresponds to the JSON property `result`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnostics]
attr_accessor :result
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@result = args[:result] if args.key?(:result)
end
end
# A license resource.
class License
include Google::Apis::Core::Hashable
@ -13076,24 +13293,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
@ -13904,12 +14122,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::ComputeBeta::NodeGroupNode>]
attr_accessor :nodes
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@ -13943,7 +14155,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

@ -1072,6 +1072,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerUpdatePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1432,6 +1438,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsArpEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkLacpStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkOpticalPower
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1486,6 +1522,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectsGetDiagnosticsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class License
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5540,6 +5582,8 @@ module Google
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :service_account, as: 'serviceAccount'
property :status, as: 'status', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatus::Representation
collection :target_pools, as: 'targetPools'
property :target_size, as: 'targetSize'
property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy::Representation
@ -5647,6 +5691,13 @@ module Google
end
end
class InstanceGroupManagerStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
end
end
class InstanceGroupManagerUpdatePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6273,6 +6324,58 @@ module Google
end
end
class InterconnectDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
collection :links, as: 'links', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus::Representation
property :mac_address, as: 'macAddress'
end
end
class InterconnectDiagnosticsArpEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :mac_address, as: 'macAddress'
end
end
class InterconnectDiagnosticsLinkLacpStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :google_system_id, as: 'googleSystemId'
property :neighbor_system_id, as: 'neighborSystemId'
property :state, as: 'state'
end
end
class InterconnectDiagnosticsLinkOpticalPower
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :state, as: 'state'
property :value, as: 'value'
end
end
class InterconnectDiagnosticsLinkStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
property :circuit_id, as: 'circuitId'
property :google_demarc, as: 'googleDemarc'
property :lacp_status, as: 'lacpStatus', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus::Representation
property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
end
end
class InterconnectList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6381,6 +6484,14 @@ module Google
end
end
class InterconnectsGetDiagnosticsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :result, as: 'result', class: Google::Apis::ComputeBeta::InterconnectDiagnostics, decorator: Google::Apis::ComputeBeta::InterconnectDiagnostics::Representation
end
end
class License
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6984,8 +7095,6 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
collection :nodes, as: 'nodes', class: Google::Apis::ComputeBeta::NodeGroupNode, decorator: Google::Apis::ComputeBeta::NodeGroupNode::Representation
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :status, as: 'status'

View File

@ -8545,10 +8545,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
@ -10487,6 +10487,42 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the interconnectDiagnostics for the specified interconnect.
# @param [String] project
# Project ID for this request.
# @param [String] interconnect
# Name of the interconnect resource to query.
# @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::ComputeBeta::InterconnectsGetDiagnosticsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse]
#
# @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 get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse
command.params['project'] = project unless project.nil?
command.params['interconnect'] = interconnect unless interconnect.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
# Creates a Interconnect in the specified project using the data included in the
# request.
# @param [String] project

View File

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

View File

@ -1974,6 +1974,51 @@ module Google
end
end
#
class OrdersCreateTestReturnRequest
include Google::Apis::Core::Hashable
# Returned items.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ContentV2sandbox::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
@ -2199,6 +2244,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

View File

@ -322,6 +322,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
@ -346,6 +358,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
@ -1184,6 +1202,22 @@ module Google
end
end
class OrdersCreateTestReturnRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2sandbox::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
@ -1251,6 +1285,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

@ -531,6 +531,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::ContentV2sandbox::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::ContentV2sandbox::OrdersCreateTestReturnResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrdersCreateTestReturnRequest::Representation
command.request_object = orders_create_test_return_request_object
command.response_representation = Google::Apis::ContentV2sandbox::OrdersCreateTestReturnResponse::Representation
command.response_class = Google::Apis::ContentV2sandbox::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::ContentV2sandbox::OrdersCustomBatchRequest] orders_custom_batch_request_object
# @param [String] fields

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1beta2
VERSION = 'V1beta2'
REVISION = '20180814'
REVISION = '20180910'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,6 +22,25 @@ module Google
module Apis
module FirestoreV1beta2
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Represents a single field in the database.
# Fields are grouped by their "Collection Group", which represent all
# collections in the database with the same id.
@ -305,6 +324,63 @@ module Google
end
end
# Metadata for google.longrunning.Operation results from
# FirestoreAdmin.CreateIndex.
class GoogleFirestoreAdminV1beta2IndexOperationMetadata
include Google::Apis::Core::Hashable
# The time this operation completed. Will be unset if operation still in
# progress.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The index resource that this operation is acting on. For example:
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
# /indexes/`index_id``
# Corresponds to the JSON property `index`
# @return [String]
attr_accessor :index
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_bytes
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressDocuments`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_documents
# The time this operation started.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The state of the operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@index = args[:index] if args.key?(:index)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
end
end
# The response for FirestoreAdmin.ListFields.
class GoogleFirestoreAdminV1beta2ListFieldsResponse
include Google::Apis::Core::Hashable
@ -331,6 +407,32 @@ module Google
end
end
# The response for FirestoreAdmin.ListIndexes.
class GoogleFirestoreAdminV1beta2ListIndexesResponse
include Google::Apis::Core::Hashable
# The requested indexes.
# Corresponds to the JSON property `indexes`
# @return [Array<Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index>]
attr_accessor :indexes
# A page token that may be used to request another page of results. If blank,
# this is the last page.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@indexes = args[:indexes] if args.key?(:indexes)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.

View File

@ -22,6 +22,12 @@ module Google
module Apis
module FirestoreV1beta2
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2Field
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -58,12 +64,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2IndexOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2ListFieldsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2ListIndexesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2Progress
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -82,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleFirestoreAdminV1beta2Field
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -147,6 +171,20 @@ module Google
end
end
class GoogleFirestoreAdminV1beta2IndexOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :index, as: 'index'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :start_time, as: 'startTime'
property :state, as: 'state'
end
end
class GoogleFirestoreAdminV1beta2ListFieldsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -156,6 +194,15 @@ module Google
end
end
class GoogleFirestoreAdminV1beta2ListIndexesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleFirestoreAdminV1beta2Progress
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,6 +48,86 @@ module Google
@batch_path = 'batch'
end
# Creates a composite index. This returns a google.longrunning.Operation
# which may be used to track the status of the creation. The metadata for
# the operation will be the type IndexOperationMetadata.
# @param [String] parent
# A parent name of the form
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
# `
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index] google_firestore_admin_v1beta2_index_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
#
# @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 create_project_database_collection_group_index(parent, google_firestore_admin_v1beta2_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+parent}/indexes', options)
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index::Representation
command.request_object = google_firestore_admin_v1beta2_index_object
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists composite indexes.
# @param [String] parent
# A parent name of the form
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
# `
# @param [String] filter
# The filter to apply to list results.
# @param [Fixnum] page_size
# The number of results to return.
# @param [String] page_token
# A page token, returned from a previous call to
# FirestoreAdmin.ListIndexes, that may be used to get the next
# page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse]
#
# @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_project_database_collection_group_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/{+parent}/indexes', options)
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse::Representation
command.response_class = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the metadata and configuration for a Field.
# @param [String] name
# A name of the form
@ -202,6 +282,70 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a composite index.
# @param [String] name
# A name of the form
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
# /indexes/`index_id``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::Empty]
#
# @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 delete_project_database_collection_group_index(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
command.response_representation = Google::Apis::FirestoreV1beta2::Empty::Representation
command.response_class = Google::Apis::FirestoreV1beta2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a composite index.
# @param [String] name
# A name of the form
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
# /indexes/`index_id``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index]
#
# @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 get_project_database_collection_group_index(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/{+name}', options)
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index::Representation
command.response_class = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20180802'
REVISION = '20180913'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

View File

@ -260,6 +260,8 @@ module Google
# Unlocks this achievement for the currently authenticated player.
# @param [String] achievement_id
# The ID of the achievement used by this method.
# @param [String] builtin_game_id
# Override used only by built-in games in Play Games application.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -279,11 +281,12 @@ module Google
# @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 unlock_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def unlock_achievement(achievement_id, builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'achievements/{achievementId}/unlock', options)
command.response_representation = Google::Apis::GamesV1::AchievementUnlockResponse::Representation
command.response_class = Google::Apis::GamesV1::AchievementUnlockResponse
command.params['achievementId'] = achievement_id unless achievement_id.nil?
command.query['builtinGameId'] = builtin_game_id unless builtin_game_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?
@ -292,6 +295,8 @@ module Google
# Updates multiple achievements for the currently authenticated player.
# @param [Google::Apis::GamesV1::AchievementUpdateMultipleRequest] achievement_update_multiple_request_object
# @param [String] builtin_game_id
# Override used only by built-in games in Play Games application.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -311,12 +316,13 @@ module Google
# @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 update_multiple_achievements(achievement_update_multiple_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def update_multiple_achievements(achievement_update_multiple_request_object = nil, builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'achievements/updateMultiple', options)
command.request_representation = Google::Apis::GamesV1::AchievementUpdateMultipleRequest::Representation
command.request_object = achievement_update_multiple_request_object
command.response_representation = Google::Apis::GamesV1::AchievementUpdateMultipleResponse::Representation
command.response_class = Google::Apis::GamesV1::AchievementUpdateMultipleResponse
command.query['builtinGameId'] = builtin_game_id unless builtin_game_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?

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20180908'
REVISION = '20180917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2717,6 +2717,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -3265,6 +3266,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1
VERSION = 'V1'
REVISION = '20180908'
REVISION = '20180917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1628,6 +1628,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -1906,6 +1907,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -3467,6 +3469,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1
VERSION = 'V1beta1'
REVISION = '20180908'
REVISION = '20180917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1604,6 +1604,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -1882,6 +1883,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -3443,6 +3445,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects
@ -3757,6 +3760,7 @@ module Google
# quota checks at runtime.
# An example quota configuration in yaml format:
# quota:
# limits:
# - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
module SpeechV1
VERSION = 'V1'
REVISION = '20180911'
REVISION = '20180914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -327,15 +327,18 @@ module Google
attr_accessor :speech_contexts
# *Optional* Set to true to use an enhanced model for speech recognition.
# You must also set the `model` field to a valid, enhanced model. If
# `use_enhanced` is set to true and the `model` field is not set, then
# `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
# version of the specified model does not exist, then the speech is
# recognized using the standard version of the specified model.
# If `use_enhanced` is set to true and the `model` field is not set, then
# an appropriate enhanced model is chosen if:
# 1. project is eligible for requesting enhanced models
# 2. an enhanced model exists for the audio
# If `use_enhanced` is true and an enhanced version of the specified model
# does not exist, then the speech is recognized using the standard version
# of the specified model.
# Enhanced speech models require that you opt-in to data logging using
# instructions in the [documentation](/speech-to-text/enable-data-logging).
# If you set `use_enhanced` to true and you have not enabled audio logging,
# then you will receive an error.
# instructions in the
# [documentation](/speech-to-text/docs/enable-data-logging). If you set
# `use_enhanced` to true and you have not enabled audio logging, then you
# will receive an error.
# Corresponds to the JSON property `useEnhanced`
# @return [Boolean]
attr_accessor :use_enhanced

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20180903'
REVISION = '20180918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -589,7 +589,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -645,7 +645,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -1442,7 +1442,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -1852,7 +1852,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -1908,7 +1908,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -2546,7 +2546,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
@ -2721,7 +2721,7 @@ module Google
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
# Reference/Global_Objects/Date/toISOString] method. In Python, a standard `
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
# datetime.datetime` object can be converted to this format using [`strftime`](
# https://docs.python.org/2/library/time.html#time.strftime) with the time
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda