Autogenerated update (2018-08-24)
Update: - cloudtrace_v1 - cloudtrace_v2 - content_v2 - content_v2sandbox - drive_v2 - drive_v3 - jobs_v2 - jobs_v3 - testing_v1 - youtube_partner_v1
This commit is contained in:
parent
cb71c93fb8
commit
d0f8b75767
|
@ -35689,6 +35689,22 @@
|
|||
"/content:v2/OrderRefund/creationDate": creation_date
|
||||
"/content:v2/OrderRefund/reason": reason
|
||||
"/content:v2/OrderRefund/reasonText": reason_text
|
||||
"/content:v2/OrderReportDisbursement": order_report_disbursement
|
||||
"/content:v2/OrderReportDisbursement/disbursementAmount": disbursement_amount
|
||||
"/content:v2/OrderReportDisbursement/disbursementCreationDate": disbursement_creation_date
|
||||
"/content:v2/OrderReportDisbursement/disbursementDate": disbursement_date
|
||||
"/content:v2/OrderReportDisbursement/disbursementId": disbursement_id
|
||||
"/content:v2/OrderReportDisbursement/merchantId": merchant_id
|
||||
"/content:v2/OrderReportTransaction": order_report_transaction
|
||||
"/content:v2/OrderReportTransaction/disbursementAmount": disbursement_amount
|
||||
"/content:v2/OrderReportTransaction/disbursementCreationDate": disbursement_creation_date
|
||||
"/content:v2/OrderReportTransaction/disbursementDate": disbursement_date
|
||||
"/content:v2/OrderReportTransaction/disbursementId": disbursement_id
|
||||
"/content:v2/OrderReportTransaction/merchantId": merchant_id
|
||||
"/content:v2/OrderReportTransaction/merchantOrderId": merchant_order_id
|
||||
"/content:v2/OrderReportTransaction/orderId": order_id
|
||||
"/content:v2/OrderReportTransaction/productAmount": product_amount
|
||||
"/content:v2/OrderReportTransaction/transactionDate": transaction_date
|
||||
"/content:v2/OrderReturn": order_return
|
||||
"/content:v2/OrderReturn/actor": actor
|
||||
"/content:v2/OrderReturn/creationDate": creation_date
|
||||
|
@ -35757,6 +35773,16 @@
|
|||
"/content:v2/OrderpaymentsNotifyRefundResponse": orderpayments_notify_refund_response
|
||||
"/content:v2/OrderpaymentsNotifyRefundResponse/executionStatus": execution_status
|
||||
"/content:v2/OrderpaymentsNotifyRefundResponse/kind": kind
|
||||
"/content:v2/OrderreportsListDisbursementsResponse": orderreports_list_disbursements_response
|
||||
"/content:v2/OrderreportsListDisbursementsResponse/disbursements": disbursements
|
||||
"/content:v2/OrderreportsListDisbursementsResponse/disbursements/disbursement": disbursement
|
||||
"/content:v2/OrderreportsListDisbursementsResponse/kind": kind
|
||||
"/content:v2/OrderreportsListDisbursementsResponse/nextPageToken": next_page_token
|
||||
"/content:v2/OrderreportsListTransactionsResponse": orderreports_list_transactions_response
|
||||
"/content:v2/OrderreportsListTransactionsResponse/kind": kind
|
||||
"/content:v2/OrderreportsListTransactionsResponse/nextPageToken": next_page_token
|
||||
"/content:v2/OrderreportsListTransactionsResponse/transactions": transactions
|
||||
"/content:v2/OrderreportsListTransactionsResponse/transactions/transaction": transaction
|
||||
"/content:v2/OrdersAcknowledgeRequest": orders_acknowledge_request
|
||||
"/content:v2/OrdersAcknowledgeRequest/operationId": operation_id
|
||||
"/content:v2/OrdersAcknowledgeResponse": orders_acknowledge_response
|
||||
|
@ -36676,6 +36702,19 @@
|
|||
"/content:v2/content.orderpayments.notifyrefund": notifyrefund_orderpayment
|
||||
"/content:v2/content.orderpayments.notifyrefund/merchantId": merchant_id
|
||||
"/content:v2/content.orderpayments.notifyrefund/orderId": order_id
|
||||
"/content:v2/content.orderreports.listdisbursements": listdisbursements_orderreport
|
||||
"/content:v2/content.orderreports.listdisbursements/disbursementEndDate": disbursement_end_date
|
||||
"/content:v2/content.orderreports.listdisbursements/disbursementStartDate": disbursement_start_date
|
||||
"/content:v2/content.orderreports.listdisbursements/maxResults": max_results
|
||||
"/content:v2/content.orderreports.listdisbursements/merchantId": merchant_id
|
||||
"/content:v2/content.orderreports.listdisbursements/pageToken": page_token
|
||||
"/content:v2/content.orderreports.listtransactions": listtransactions_orderreport
|
||||
"/content:v2/content.orderreports.listtransactions/disbursementEndDate": disbursement_end_date
|
||||
"/content:v2/content.orderreports.listtransactions/disbursementId": disbursement_id
|
||||
"/content:v2/content.orderreports.listtransactions/disbursementStartDate": disbursement_start_date
|
||||
"/content:v2/content.orderreports.listtransactions/maxResults": max_results
|
||||
"/content:v2/content.orderreports.listtransactions/merchantId": merchant_id
|
||||
"/content:v2/content.orderreports.listtransactions/pageToken": page_token
|
||||
"/content:v2/content.orders.acknowledge": acknowledge_order
|
||||
"/content:v2/content.orders.acknowledge/merchantId": merchant_id
|
||||
"/content:v2/content.orders.acknowledge/orderId": order_id
|
||||
|
@ -59844,10 +59883,15 @@
|
|||
"/drive:v2/File/capabilities/canComment": can_comment
|
||||
"/drive:v2/File/capabilities/canCopy": can_copy
|
||||
"/drive:v2/File/capabilities/canDelete": can_delete
|
||||
"/drive:v2/File/capabilities/canDeleteChildren": can_delete_children
|
||||
"/drive:v2/File/capabilities/canDownload": can_download
|
||||
"/drive:v2/File/capabilities/canEdit": can_edit
|
||||
"/drive:v2/File/capabilities/canListChildren": can_list_children
|
||||
"/drive:v2/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
|
||||
"/drive:v2/File/capabilities/canMoveChildrenWithinTeamDrive": can_move_children_within_team_drive
|
||||
"/drive:v2/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive
|
||||
"/drive:v2/File/capabilities/canMoveItemOutOfTeamDrive": can_move_item_out_of_team_drive
|
||||
"/drive:v2/File/capabilities/canMoveItemWithinTeamDrive": can_move_item_within_team_drive
|
||||
"/drive:v2/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item
|
||||
"/drive:v2/File/capabilities/canReadRevisions": can_read_revisions
|
||||
"/drive:v2/File/capabilities/canReadTeamDrive": can_read_team_drive
|
||||
|
@ -59855,6 +59899,7 @@
|
|||
"/drive:v2/File/capabilities/canRename": can_rename
|
||||
"/drive:v2/File/capabilities/canShare": can_share
|
||||
"/drive:v2/File/capabilities/canTrash": can_trash
|
||||
"/drive:v2/File/capabilities/canTrashChildren": can_trash_children
|
||||
"/drive:v2/File/capabilities/canUntrash": can_untrash
|
||||
"/drive:v2/File/copyRequiresWriterPermission": copy_requires_writer_permission
|
||||
"/drive:v2/File/copyable": copyable
|
||||
|
@ -60083,6 +60128,7 @@
|
|||
"/drive:v2/TeamDrive/capabilities/canChangeTeamMembersOnlyRestriction": can_change_team_members_only_restriction
|
||||
"/drive:v2/TeamDrive/capabilities/canComment": can_comment
|
||||
"/drive:v2/TeamDrive/capabilities/canCopy": can_copy
|
||||
"/drive:v2/TeamDrive/capabilities/canDeleteChildren": can_delete_children
|
||||
"/drive:v2/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive
|
||||
"/drive:v2/TeamDrive/capabilities/canDownload": can_download
|
||||
"/drive:v2/TeamDrive/capabilities/canEdit": can_edit
|
||||
|
@ -60093,6 +60139,7 @@
|
|||
"/drive:v2/TeamDrive/capabilities/canRename": can_rename
|
||||
"/drive:v2/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive
|
||||
"/drive:v2/TeamDrive/capabilities/canShare": can_share
|
||||
"/drive:v2/TeamDrive/capabilities/canTrashChildren": can_trash_children
|
||||
"/drive:v2/TeamDrive/colorRgb": color_rgb
|
||||
"/drive:v2/TeamDrive/createdDate": created_date
|
||||
"/drive:v2/TeamDrive/id": id
|
||||
|
@ -60510,10 +60557,15 @@
|
|||
"/drive:v3/File/capabilities/canComment": can_comment
|
||||
"/drive:v3/File/capabilities/canCopy": can_copy
|
||||
"/drive:v3/File/capabilities/canDelete": can_delete
|
||||
"/drive:v3/File/capabilities/canDeleteChildren": can_delete_children
|
||||
"/drive:v3/File/capabilities/canDownload": can_download
|
||||
"/drive:v3/File/capabilities/canEdit": can_edit
|
||||
"/drive:v3/File/capabilities/canListChildren": can_list_children
|
||||
"/drive:v3/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
|
||||
"/drive:v3/File/capabilities/canMoveChildrenWithinTeamDrive": can_move_children_within_team_drive
|
||||
"/drive:v3/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive
|
||||
"/drive:v3/File/capabilities/canMoveItemOutOfTeamDrive": can_move_item_out_of_team_drive
|
||||
"/drive:v3/File/capabilities/canMoveItemWithinTeamDrive": can_move_item_within_team_drive
|
||||
"/drive:v3/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item
|
||||
"/drive:v3/File/capabilities/canReadRevisions": can_read_revisions
|
||||
"/drive:v3/File/capabilities/canReadTeamDrive": can_read_team_drive
|
||||
|
@ -60521,6 +60573,7 @@
|
|||
"/drive:v3/File/capabilities/canRename": can_rename
|
||||
"/drive:v3/File/capabilities/canShare": can_share
|
||||
"/drive:v3/File/capabilities/canTrash": can_trash
|
||||
"/drive:v3/File/capabilities/canTrashChildren": can_trash_children
|
||||
"/drive:v3/File/capabilities/canUntrash": can_untrash
|
||||
"/drive:v3/File/contentHints": content_hints
|
||||
"/drive:v3/File/contentHints/indexableText": indexable_text
|
||||
|
@ -60695,6 +60748,7 @@
|
|||
"/drive:v3/TeamDrive/capabilities/canChangeTeamMembersOnlyRestriction": can_change_team_members_only_restriction
|
||||
"/drive:v3/TeamDrive/capabilities/canComment": can_comment
|
||||
"/drive:v3/TeamDrive/capabilities/canCopy": can_copy
|
||||
"/drive:v3/TeamDrive/capabilities/canDeleteChildren": can_delete_children
|
||||
"/drive:v3/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive
|
||||
"/drive:v3/TeamDrive/capabilities/canDownload": can_download
|
||||
"/drive:v3/TeamDrive/capabilities/canEdit": can_edit
|
||||
|
@ -60705,6 +60759,7 @@
|
|||
"/drive:v3/TeamDrive/capabilities/canRename": can_rename
|
||||
"/drive:v3/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive
|
||||
"/drive:v3/TeamDrive/capabilities/canShare": can_share
|
||||
"/drive:v3/TeamDrive/capabilities/canTrashChildren": can_trash_children
|
||||
"/drive:v3/TeamDrive/colorRgb": color_rgb
|
||||
"/drive:v3/TeamDrive/createdTime": created_time
|
||||
"/drive:v3/TeamDrive/id": id
|
||||
|
@ -83418,6 +83473,7 @@
|
|||
"/testing:v1/AndroidModel/brand": brand
|
||||
"/testing:v1/AndroidModel/codename": codename
|
||||
"/testing:v1/AndroidModel/form": form
|
||||
"/testing:v1/AndroidModel/formFactor": form_factor
|
||||
"/testing:v1/AndroidModel/id": id
|
||||
"/testing:v1/AndroidModel/manufacturer": manufacturer
|
||||
"/testing:v1/AndroidModel/name": name
|
||||
|
|
|
@ -22,12 +22,14 @@ module Google
|
|||
#
|
||||
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||
# collected for all App Engine applications by default. Trace data from other
|
||||
# applications can be provided using this API.
|
||||
# applications can be provided using this API. This library is used to interact
|
||||
# with the Trace API directly. If you are looking to instrument your application
|
||||
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||
#
|
||||
# @see https://cloud.google.com/trace
|
||||
module CloudtraceV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20180820'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -24,7 +24,9 @@ module Google
|
|||
#
|
||||
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||
# collected for all App Engine applications by default. Trace data from other
|
||||
# applications can be provided using this API.
|
||||
# applications can be provided using this API. This library is used to interact
|
||||
# with the Trace API directly. If you are looking to instrument your application
|
||||
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/cloudtrace_v1'
|
||||
|
|
|
@ -22,12 +22,14 @@ module Google
|
|||
#
|
||||
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||
# collected for all App Engine applications by default. Trace data from other
|
||||
# applications can be provided using this API.
|
||||
# applications can be provided using this API. This library is used to interact
|
||||
# with the Trace API directly. If you are looking to instrument your application
|
||||
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||
#
|
||||
# @see https://cloud.google.com/trace
|
||||
module CloudtraceV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20180820'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -24,7 +24,9 @@ module Google
|
|||
#
|
||||
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||
# collected for all App Engine applications by default. Trace data from other
|
||||
# applications can be provided using this API.
|
||||
# applications can be provided using this API. This library is used to interact
|
||||
# with the Trace API directly. If you are looking to instrument your application
|
||||
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/cloudtrace_v2'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180809'
|
||||
REVISION = '20180821'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -4505,6 +4505,116 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderReportDisbursement
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The disbursement amount.
|
||||
# Corresponds to the JSON property `disbursementAmount`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :disbursement_amount
|
||||
|
||||
# The disbursement date, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `disbursementCreationDate`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_creation_date
|
||||
|
||||
# The date the disbursement was initiated, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `disbursementDate`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_date
|
||||
|
||||
# The ID of the disbursement.
|
||||
# Corresponds to the JSON property `disbursementId`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_id
|
||||
|
||||
# The ID of the managing account.
|
||||
# Corresponds to the JSON property `merchantId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :merchant_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount)
|
||||
@disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date)
|
||||
@disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date)
|
||||
@disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id)
|
||||
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderReportTransaction
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The disbursement amount.
|
||||
# Corresponds to the JSON property `disbursementAmount`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :disbursement_amount
|
||||
|
||||
# The date the disbursement was created, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `disbursementCreationDate`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_creation_date
|
||||
|
||||
# The date the disbursement was initiated, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `disbursementDate`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_date
|
||||
|
||||
# The ID of the disbursement.
|
||||
# Corresponds to the JSON property `disbursementId`
|
||||
# @return [String]
|
||||
attr_accessor :disbursement_id
|
||||
|
||||
# The ID of the managing account.
|
||||
# Corresponds to the JSON property `merchantId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :merchant_id
|
||||
|
||||
# Merchant-provided id of the order.
|
||||
# Corresponds to the JSON property `merchantOrderId`
|
||||
# @return [String]
|
||||
attr_accessor :merchant_order_id
|
||||
|
||||
# The id of the order.
|
||||
# Corresponds to the JSON property `orderId`
|
||||
# @return [String]
|
||||
attr_accessor :order_id
|
||||
|
||||
# Total amount for the items.
|
||||
# Corresponds to the JSON property `productAmount`
|
||||
# @return [Google::Apis::ContentV2::Amount]
|
||||
attr_accessor :product_amount
|
||||
|
||||
# The date of the transaction, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `transactionDate`
|
||||
# @return [String]
|
||||
attr_accessor :transaction_date
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount)
|
||||
@disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date)
|
||||
@disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date)
|
||||
@disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id)
|
||||
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
||||
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
|
||||
@order_id = args[:order_id] if args.key?(:order_id)
|
||||
@product_amount = args[:product_amount] if args.key?(:product_amount)
|
||||
@transaction_date = args[:transaction_date] if args.key?(:transaction_date)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderReturn
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -5044,6 +5154,70 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderreportsListDisbursementsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of disbursements.
|
||||
# Corresponds to the JSON property `disbursements`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderReportDisbursement>]
|
||||
attr_accessor :disbursements
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# orderreportsListDisbursementsResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The token for the retrieval of the next page of disbursements.
|
||||
# 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)
|
||||
@disbursements = args[:disbursements] if args.key?(:disbursements)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderreportsListTransactionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# orderreportsListTransactionsResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The token for the retrieval of the next page of transactions.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The list of transactions.
|
||||
# Corresponds to the JSON property `transactions`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderReportTransaction>]
|
||||
attr_accessor :transactions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@transactions = args[:transactions] if args.key?(:transactions)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrdersAcknowledgeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -694,6 +694,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderReportDisbursement
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderReportTransaction
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderReturn
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -796,6 +808,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderreportsListDisbursementsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderreportsListTransactionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrdersAcknowledgeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2749,6 +2773,35 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderReportDisbursement
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :disbursement_creation_date, as: 'disbursementCreationDate'
|
||||
property :disbursement_date, as: 'disbursementDate'
|
||||
property :disbursement_id, as: 'disbursementId'
|
||||
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderReportTransaction
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :disbursement_creation_date, as: 'disbursementCreationDate'
|
||||
property :disbursement_date, as: 'disbursementDate'
|
||||
property :disbursement_id, as: 'disbursementId'
|
||||
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
||||
property :merchant_order_id, as: 'merchantOrderId'
|
||||
property :order_id, as: 'orderId'
|
||||
property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
|
||||
|
||||
property :transaction_date, as: 'transactionDate'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderReturn
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2907,6 +2960,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderreportsListDisbursementsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :disbursements, as: 'disbursements', class: Google::Apis::ContentV2::OrderReportDisbursement, decorator: Google::Apis::ContentV2::OrderReportDisbursement::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderreportsListTransactionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :transactions, as: 'transactions', class: Google::Apis::ContentV2::OrderReportTransaction, decorator: Google::Apis::ContentV2::OrderReportTransaction::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class OrdersAcknowledgeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -1992,6 +1992,104 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves a report for disbursements from your Merchant Center account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
# @param [String] disbursement_end_date
|
||||
# The last date which disbursements occurred. In ISO 8601 format. Default:
|
||||
# current date.
|
||||
# @param [String] disbursement_start_date
|
||||
# The first date which disbursements occurred. In ISO 8601 format.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of disbursements to return in the response, used for paging.
|
||||
# @param [String] page_token
|
||||
# The token returned by the previous request.
|
||||
# @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::OrderreportsListDisbursementsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::OrderreportsListDisbursementsResponse]
|
||||
#
|
||||
# @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 listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
||||
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
|
||||
command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves a list of transactions for an disbursement from your Merchant Center
|
||||
# account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
# @param [String] disbursement_id
|
||||
# The Google-provided ID of the disbursement (found in Wallet).
|
||||
# @param [String] disbursement_end_date
|
||||
# The last date in which disbursements occurred. In ISO 8601 format. Default:
|
||||
# current date.
|
||||
# @param [String] disbursement_start_date
|
||||
# The first date in which disbursements occurred. In ISO 8601 format.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of disbursements to return in the response, used for paging.
|
||||
# @param [String] page_token
|
||||
# The token returned by the previous request.
|
||||
# @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::OrderreportsListTransactionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::OrderreportsListTransactionsResponse]
|
||||
#
|
||||
# @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 listtransactions_orderreport(merchant_id, disbursement_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
||||
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['disbursementId'] = disbursement_id unless disbursement_id.nil?
|
||||
command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
|
||||
command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Marks an order as acknowledged.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
|
@ -2335,7 +2433,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Notifies that item return and refund was handled directly in store.
|
||||
# Notifies that item return and refund was handled directly by merchant outside
|
||||
# of Google payments processing (e.g. cash refund done in store).
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2sandbox
|
||||
VERSION = 'V2sandbox'
|
||||
REVISION = '20180809'
|
||||
REVISION = '20180821'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -639,7 +639,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Notifies that item return and refund was handled directly in store.
|
||||
# Notifies that item return and refund was handled directly by merchant outside
|
||||
# of Google payments processing (e.g. cash refund done in store).
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180809'
|
||||
REVISION = '20180816'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -1801,6 +1801,13 @@ module Google
|
|||
attr_accessor :can_delete
|
||||
alias_method :can_delete?, :can_delete
|
||||
|
||||
# Whether the current user can delete children of this folder. This is false
|
||||
# when the item is not a folder. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canDeleteChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_delete_children
|
||||
alias_method :can_delete_children?, :can_delete_children
|
||||
|
||||
# Whether the current user can download this file.
|
||||
# Corresponds to the JSON property `canDownload`
|
||||
# @return [Boolean]
|
||||
|
@ -1820,6 +1827,22 @@ module Google
|
|||
attr_accessor :can_list_children
|
||||
alias_method :can_list_children?, :can_list_children
|
||||
|
||||
# Whether the current user can move children of this folder outside of the Team
|
||||
# Drive. This is false when the item is not a folder. Only populated for Team
|
||||
# Drive items.
|
||||
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_children_out_of_team_drive
|
||||
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
|
||||
|
||||
# Whether the current user can move children of this folder within the Team
|
||||
# Drive. This is false when the item is not a folder. Only populated for Team
|
||||
# Drive items.
|
||||
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_children_within_team_drive
|
||||
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
|
||||
|
||||
# Whether the current user can move this item into a Team Drive. If the item is
|
||||
# in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
|
||||
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
|
||||
|
@ -1827,10 +1850,25 @@ module Google
|
|||
attr_accessor :can_move_item_into_team_drive
|
||||
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
|
||||
|
||||
# Whether the current user can move this Team Drive item by changing its parent.
|
||||
# Note that a request to change the parent for this item may still fail
|
||||
# depending on the new parent that is being added. Only populated for Team Drive
|
||||
# files.
|
||||
# Whether the current user can move this Team Drive item outside of this Team
|
||||
# Drive by changing its parent. Note that a request to change the parent of the
|
||||
# item may still fail depending on the new parent that is being added. Only
|
||||
# populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_item_out_of_team_drive
|
||||
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
|
||||
|
||||
# Whether the current user can move this Team Drive item within this Team Drive.
|
||||
# Note that a request to change the parent of the item may still fail depending
|
||||
# on the new parent that is being added. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_item_within_team_drive
|
||||
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
|
||||
|
||||
# Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
|
||||
# instead.
|
||||
# Corresponds to the JSON property `canMoveTeamDriveItem`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_team_drive_item
|
||||
|
@ -1852,7 +1890,8 @@ module Google
|
|||
alias_method :can_read_team_drive?, :can_read_team_drive
|
||||
|
||||
# Whether the current user can remove children from this folder. This is always
|
||||
# false when the item is not a folder.
|
||||
# false when the item is not a folder. For Team Drive items, use
|
||||
# canDeleteChildren or canTrashChildren instead.
|
||||
# Corresponds to the JSON property `canRemoveChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_remove_children
|
||||
|
@ -1876,6 +1915,13 @@ module Google
|
|||
attr_accessor :can_trash
|
||||
alias_method :can_trash?, :can_trash
|
||||
|
||||
# Whether the current user can trash children of this folder. This is false when
|
||||
# the item is not a folder. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canTrashChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_trash_children
|
||||
alias_method :can_trash_children?, :can_trash_children
|
||||
|
||||
# Whether the current user can restore this file from trash.
|
||||
# Corresponds to the JSON property `canUntrash`
|
||||
# @return [Boolean]
|
||||
|
@ -1894,10 +1940,15 @@ module Google
|
|||
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
||||
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
||||
@can_delete = args[:can_delete] if args.key?(:can_delete)
|
||||
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
||||
@can_download = args[:can_download] if args.key?(:can_download)
|
||||
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
||||
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
|
||||
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
|
||||
@can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
|
||||
@can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
|
||||
@can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
|
||||
@can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
|
||||
@can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
|
||||
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
|
||||
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
|
||||
|
@ -1905,6 +1956,7 @@ module Google
|
|||
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
||||
@can_share = args[:can_share] if args.key?(:can_share)
|
||||
@can_trash = args[:can_trash] if args.key?(:can_trash)
|
||||
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
||||
@can_untrash = args[:can_untrash] if args.key?(:can_untrash)
|
||||
end
|
||||
end
|
||||
|
@ -3148,6 +3200,12 @@ module Google
|
|||
attr_accessor :can_copy
|
||||
alias_method :can_copy?, :can_copy
|
||||
|
||||
# Whether the current user can delete children from folders in this Team Drive.
|
||||
# Corresponds to the JSON property `canDeleteChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_delete_children
|
||||
alias_method :can_delete_children?, :can_delete_children
|
||||
|
||||
# Whether the current user can delete this Team Drive. Attempting to delete the
|
||||
# Team Drive may still fail if there are untrashed items inside the Team Drive.
|
||||
# Corresponds to the JSON property `canDeleteTeamDrive`
|
||||
|
@ -3187,7 +3245,7 @@ module Google
|
|||
attr_accessor :can_read_revisions
|
||||
alias_method :can_read_revisions?, :can_read_revisions
|
||||
|
||||
# Whether the current user can remove children from folders in this Team Drive.
|
||||
# Deprecated - use canDeleteChildren or canTrashChildren instead.
|
||||
# Corresponds to the JSON property `canRemoveChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_remove_children
|
||||
|
@ -3211,6 +3269,12 @@ module Google
|
|||
attr_accessor :can_share
|
||||
alias_method :can_share?, :can_share
|
||||
|
||||
# Whether the current user can trash children from folders in this Team Drive.
|
||||
# Corresponds to the JSON property `canTrashChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_trash_children
|
||||
alias_method :can_trash_children?, :can_trash_children
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3224,6 +3288,7 @@ module Google
|
|||
@can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_members_only_restriction)
|
||||
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
||||
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
||||
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
||||
@can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive)
|
||||
@can_download = args[:can_download] if args.key?(:can_download)
|
||||
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
||||
|
@ -3234,6 +3299,7 @@ module Google
|
|||
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
||||
@can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive)
|
||||
@can_share = args[:can_share] if args.key?(:can_share)
|
||||
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -731,10 +731,15 @@ module Google
|
|||
property :can_comment, as: 'canComment'
|
||||
property :can_copy, as: 'canCopy'
|
||||
property :can_delete, as: 'canDelete'
|
||||
property :can_delete_children, as: 'canDeleteChildren'
|
||||
property :can_download, as: 'canDownload'
|
||||
property :can_edit, as: 'canEdit'
|
||||
property :can_list_children, as: 'canListChildren'
|
||||
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
|
||||
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
|
||||
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
|
||||
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
|
||||
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
|
||||
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
|
||||
property :can_read_revisions, as: 'canReadRevisions'
|
||||
property :can_read_team_drive, as: 'canReadTeamDrive'
|
||||
|
@ -742,6 +747,7 @@ module Google
|
|||
property :can_rename, as: 'canRename'
|
||||
property :can_share, as: 'canShare'
|
||||
property :can_trash, as: 'canTrash'
|
||||
property :can_trash_children, as: 'canTrashChildren'
|
||||
property :can_untrash, as: 'canUntrash'
|
||||
end
|
||||
end
|
||||
|
@ -1029,6 +1035,7 @@ module Google
|
|||
property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction'
|
||||
property :can_comment, as: 'canComment'
|
||||
property :can_copy, as: 'canCopy'
|
||||
property :can_delete_children, as: 'canDeleteChildren'
|
||||
property :can_delete_team_drive, as: 'canDeleteTeamDrive'
|
||||
property :can_download, as: 'canDownload'
|
||||
property :can_edit, as: 'canEdit'
|
||||
|
@ -1039,6 +1046,7 @@ module Google
|
|||
property :can_rename, as: 'canRename'
|
||||
property :can_rename_team_drive, as: 'canRenameTeamDrive'
|
||||
property :can_share, as: 'canShare'
|
||||
property :can_trash_children, as: 'canTrashChildren'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180805'
|
||||
REVISION = '20180816'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -954,6 +954,13 @@ module Google
|
|||
attr_accessor :can_delete
|
||||
alias_method :can_delete?, :can_delete
|
||||
|
||||
# Whether the current user can delete children of this folder. This is false
|
||||
# when the item is not a folder. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canDeleteChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_delete_children
|
||||
alias_method :can_delete_children?, :can_delete_children
|
||||
|
||||
# Whether the current user can download this file.
|
||||
# Corresponds to the JSON property `canDownload`
|
||||
# @return [Boolean]
|
||||
|
@ -973,6 +980,22 @@ module Google
|
|||
attr_accessor :can_list_children
|
||||
alias_method :can_list_children?, :can_list_children
|
||||
|
||||
# Whether the current user can move children of this folder outside of the Team
|
||||
# Drive. This is false when the item is not a folder. Only populated for Team
|
||||
# Drive items.
|
||||
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_children_out_of_team_drive
|
||||
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
|
||||
|
||||
# Whether the current user can move children of this folder within the Team
|
||||
# Drive. This is false when the item is not a folder. Only populated for Team
|
||||
# Drive items.
|
||||
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_children_within_team_drive
|
||||
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
|
||||
|
||||
# Whether the current user can move this item into a Team Drive. If the item is
|
||||
# in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
|
||||
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
|
||||
|
@ -980,10 +1003,25 @@ module Google
|
|||
attr_accessor :can_move_item_into_team_drive
|
||||
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
|
||||
|
||||
# Whether the current user can move this Team Drive item by changing its parent.
|
||||
# Note that a request to change the parent for this item may still fail
|
||||
# depending on the new parent that is being added. Only populated for Team Drive
|
||||
# files.
|
||||
# Whether the current user can move this Team Drive item outside of this Team
|
||||
# Drive by changing its parent. Note that a request to change the parent of the
|
||||
# item may still fail depending on the new parent that is being added. Only
|
||||
# populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_item_out_of_team_drive
|
||||
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
|
||||
|
||||
# Whether the current user can move this Team Drive item within this Team Drive.
|
||||
# Note that a request to change the parent of the item may still fail depending
|
||||
# on the new parent that is being added. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_item_within_team_drive
|
||||
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
|
||||
|
||||
# Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
|
||||
# instead.
|
||||
# Corresponds to the JSON property `canMoveTeamDriveItem`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_move_team_drive_item
|
||||
|
@ -1005,7 +1043,8 @@ module Google
|
|||
alias_method :can_read_team_drive?, :can_read_team_drive
|
||||
|
||||
# Whether the current user can remove children from this folder. This is always
|
||||
# false when the item is not a folder.
|
||||
# false when the item is not a folder. For Team Drive items, use
|
||||
# canDeleteChildren or canTrashChildren instead.
|
||||
# Corresponds to the JSON property `canRemoveChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_remove_children
|
||||
|
@ -1029,6 +1068,13 @@ module Google
|
|||
attr_accessor :can_trash
|
||||
alias_method :can_trash?, :can_trash
|
||||
|
||||
# Whether the current user can trash children of this folder. This is false when
|
||||
# the item is not a folder. Only populated for Team Drive items.
|
||||
# Corresponds to the JSON property `canTrashChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_trash_children
|
||||
alias_method :can_trash_children?, :can_trash_children
|
||||
|
||||
# Whether the current user can restore this file from trash.
|
||||
# Corresponds to the JSON property `canUntrash`
|
||||
# @return [Boolean]
|
||||
|
@ -1047,10 +1093,15 @@ module Google
|
|||
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
||||
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
||||
@can_delete = args[:can_delete] if args.key?(:can_delete)
|
||||
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
||||
@can_download = args[:can_download] if args.key?(:can_download)
|
||||
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
||||
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
|
||||
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
|
||||
@can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
|
||||
@can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
|
||||
@can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
|
||||
@can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
|
||||
@can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
|
||||
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
|
||||
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
|
||||
|
@ -1058,6 +1109,7 @@ module Google
|
|||
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
||||
@can_share = args[:can_share] if args.key?(:can_share)
|
||||
@can_trash = args[:can_trash] if args.key?(:can_trash)
|
||||
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
||||
@can_untrash = args[:can_untrash] if args.key?(:can_untrash)
|
||||
end
|
||||
end
|
||||
|
@ -2047,6 +2099,12 @@ module Google
|
|||
attr_accessor :can_copy
|
||||
alias_method :can_copy?, :can_copy
|
||||
|
||||
# Whether the current user can delete children from folders in this Team Drive.
|
||||
# Corresponds to the JSON property `canDeleteChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_delete_children
|
||||
alias_method :can_delete_children?, :can_delete_children
|
||||
|
||||
# Whether the current user can delete this Team Drive. Attempting to delete the
|
||||
# Team Drive may still fail if there are untrashed items inside the Team Drive.
|
||||
# Corresponds to the JSON property `canDeleteTeamDrive`
|
||||
|
@ -2086,7 +2144,7 @@ module Google
|
|||
attr_accessor :can_read_revisions
|
||||
alias_method :can_read_revisions?, :can_read_revisions
|
||||
|
||||
# Whether the current user can remove children from folders in this Team Drive.
|
||||
# Deprecated - use canDeleteChildren or canTrashChildren instead.
|
||||
# Corresponds to the JSON property `canRemoveChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_remove_children
|
||||
|
@ -2110,6 +2168,12 @@ module Google
|
|||
attr_accessor :can_share
|
||||
alias_method :can_share?, :can_share
|
||||
|
||||
# Whether the current user can trash children from folders in this Team Drive.
|
||||
# Corresponds to the JSON property `canTrashChildren`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_trash_children
|
||||
alias_method :can_trash_children?, :can_trash_children
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2123,6 +2187,7 @@ module Google
|
|||
@can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_members_only_restriction)
|
||||
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
||||
@can_copy = args[:can_copy] if args.key?(:can_copy)
|
||||
@can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
|
||||
@can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive)
|
||||
@can_download = args[:can_download] if args.key?(:can_download)
|
||||
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
||||
|
@ -2133,6 +2198,7 @@ module Google
|
|||
@can_rename = args[:can_rename] if args.key?(:can_rename)
|
||||
@can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive)
|
||||
@can_share = args[:can_share] if args.key?(:can_share)
|
||||
@can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -428,10 +428,15 @@ module Google
|
|||
property :can_comment, as: 'canComment'
|
||||
property :can_copy, as: 'canCopy'
|
||||
property :can_delete, as: 'canDelete'
|
||||
property :can_delete_children, as: 'canDeleteChildren'
|
||||
property :can_download, as: 'canDownload'
|
||||
property :can_edit, as: 'canEdit'
|
||||
property :can_list_children, as: 'canListChildren'
|
||||
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
|
||||
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
|
||||
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
|
||||
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
|
||||
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
|
||||
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
|
||||
property :can_read_revisions, as: 'canReadRevisions'
|
||||
property :can_read_team_drive, as: 'canReadTeamDrive'
|
||||
|
@ -439,6 +444,7 @@ module Google
|
|||
property :can_rename, as: 'canRename'
|
||||
property :can_share, as: 'canShare'
|
||||
property :can_trash, as: 'canTrash'
|
||||
property :can_trash_children, as: 'canTrashChildren'
|
||||
property :can_untrash, as: 'canUntrash'
|
||||
end
|
||||
end
|
||||
|
@ -672,6 +678,7 @@ module Google
|
|||
property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction'
|
||||
property :can_comment, as: 'canComment'
|
||||
property :can_copy, as: 'canCopy'
|
||||
property :can_delete_children, as: 'canDeleteChildren'
|
||||
property :can_delete_team_drive, as: 'canDeleteTeamDrive'
|
||||
property :can_download, as: 'canDownload'
|
||||
property :can_edit, as: 'canEdit'
|
||||
|
@ -682,6 +689,7 @@ module Google
|
|||
property :can_rename, as: 'canRename'
|
||||
property :can_rename_team_drive, as: 'canRenameTeamDrive'
|
||||
property :can_share, as: 'canShare'
|
||||
property :can_trash_children, as: 'canTrashChildren'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@ module Google
|
|||
# Cloud Talent Solution provides the capability to create, read, update, and
|
||||
# delete job postings, as well as search jobs based on keywords and filters.
|
||||
#
|
||||
# @see https://cloud.google.com/job-discovery/docs
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180726'
|
||||
REVISION = '20180821'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -110,7 +110,10 @@ module Google
|
|||
# @return [Google::Apis::JobsV2::JobLocation]
|
||||
attr_accessor :job_location
|
||||
|
||||
# Travel time to reach the job.
|
||||
# The number of seconds required to travel to the job location from the query
|
||||
# location. A duration of 0 seconds indicates that the job is not
|
||||
# reachable within the requested duration, but was returned as part of an
|
||||
# expanded query.
|
||||
# Corresponds to the JSON property `travelDuration`
|
||||
# @return [String]
|
||||
attr_accessor :travel_duration
|
||||
|
|
|
@ -31,7 +31,7 @@ module Google
|
|||
# Jobs = Google::Apis::JobsV2 # Alias the module
|
||||
# service = Jobs::JobServiceService.new
|
||||
#
|
||||
# @see https://cloud.google.com/job-discovery/docs
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
class JobServiceService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
|
|
|
@ -23,10 +23,10 @@ module Google
|
|||
# Cloud Talent Solution provides the capability to create, read, update, and
|
||||
# delete job postings, as well as search jobs based on keywords and filters.
|
||||
#
|
||||
# @see https://cloud.google.com/job-discovery/docs
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180820'
|
||||
REVISION = '20180821'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -224,7 +224,10 @@ module Google
|
|||
# @return [Google::Apis::JobsV3::Location]
|
||||
attr_accessor :job_location
|
||||
|
||||
# Travel time to reach the job.
|
||||
# The number of seconds required to travel to the job location from the
|
||||
# query location. A duration of 0 seconds indicates that the job is not
|
||||
# reachable within the requested duration, but was returned as part of an
|
||||
# expanded query.
|
||||
# Corresponds to the JSON property `travelDuration`
|
||||
# @return [String]
|
||||
attr_accessor :travel_duration
|
||||
|
|
|
@ -31,7 +31,7 @@ module Google
|
|||
# Jobs = Google::Apis::JobsV3 # Alias the module
|
||||
# service = Jobs::CloudTalentSolutionService.new
|
||||
#
|
||||
# @see https://cloud.google.com/job-discovery/docs
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
class CloudTalentSolutionService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180802'
|
||||
REVISION = '20180822'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -300,6 +300,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :form
|
||||
|
||||
# Whther this device is a phone, tablet, wearable, etc.
|
||||
# @OutputOnly
|
||||
# Corresponds to the JSON property `formFactor`
|
||||
# @return [String]
|
||||
attr_accessor :form_factor
|
||||
|
||||
# The unique opaque id for this model.
|
||||
# Use this for invoking the TestExecutionService.
|
||||
# @OutputOnly
|
||||
|
@ -380,6 +386,7 @@ module Google
|
|||
@brand = args[:brand] if args.key?(:brand)
|
||||
@codename = args[:codename] if args.key?(:codename)
|
||||
@form = args[:form] if args.key?(:form)
|
||||
@form_factor = args[:form_factor] if args.key?(:form_factor)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
|
|
|
@ -391,6 +391,7 @@ module Google
|
|||
property :brand, as: 'brand'
|
||||
property :codename, as: 'codename'
|
||||
property :form, as: 'form'
|
||||
property :form_factor, as: 'formFactor'
|
||||
property :id, as: 'id'
|
||||
property :manufacturer, as: 'manufacturer'
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20180820'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue