Autogenerated update (2017-12-13)

Update:
- cloudbuild_v1
- content_v2
- content_v2sandbox
- serviceconsumermanagement_v1
- toolresults_v1beta3
- youtubereporting_v1
This commit is contained in:
Google APIs 2017-12-13 00:35:45 +00:00
parent 8495ec3043
commit 5451b7230d
20 changed files with 1966 additions and 47 deletions

View File

@ -12270,6 +12270,8 @@
"/cloudbuild:v1/Build/tags": tags
"/cloudbuild:v1/Build/tags/tag": tag
"/cloudbuild:v1/Build/timeout": timeout
"/cloudbuild:v1/Build/timing": timing
"/cloudbuild:v1/Build/timing/timing": timing
"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata
"/cloudbuild:v1/BuildOperationMetadata/build": build
"/cloudbuild:v1/BuildOptions": build_options
@ -12291,6 +12293,7 @@
"/cloudbuild:v1/BuildStep/name": name
"/cloudbuild:v1/BuildStep/secretEnv": secret_env
"/cloudbuild:v1/BuildStep/secretEnv/secret_env": secret_env
"/cloudbuild:v1/BuildStep/timing": timing
"/cloudbuild:v1/BuildStep/volumes": volumes
"/cloudbuild:v1/BuildStep/volumes/volume": volume
"/cloudbuild:v1/BuildStep/waitFor": wait_for
@ -12308,6 +12311,7 @@
"/cloudbuild:v1/BuiltImage": built_image
"/cloudbuild:v1/BuiltImage/digest": digest
"/cloudbuild:v1/BuiltImage/name": name
"/cloudbuild:v1/BuiltImage/pushTiming": push_timing
"/cloudbuild:v1/CancelBuildRequest": cancel_build_request
"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request
"/cloudbuild:v1/Empty": empty
@ -12371,6 +12375,9 @@
"/cloudbuild:v1/StorageSource/bucket": bucket
"/cloudbuild:v1/StorageSource/generation": generation
"/cloudbuild:v1/StorageSource/object": object
"/cloudbuild:v1/TimeSpan": time_span
"/cloudbuild:v1/TimeSpan/endTime": end_time
"/cloudbuild:v1/TimeSpan/startTime": start_time
"/cloudbuild:v1/Volume": volume
"/cloudbuild:v1/Volume/name": name
"/cloudbuild:v1/Volume/path": path
@ -30194,6 +30201,8 @@
"/content:v2/OrderDeliveryDetails/address": address
"/content:v2/OrderDeliveryDetails/phoneNumber": phone_number
"/content:v2/OrderLineItem": order_line_item
"/content:v2/OrderLineItem/annotations": annotations
"/content:v2/OrderLineItem/annotations/annotation": annotation
"/content:v2/OrderLineItem/cancellations": cancellations
"/content:v2/OrderLineItem/cancellations/cancellation": cancellation
"/content:v2/OrderLineItem/channelType": channel_type
@ -30244,6 +30253,9 @@
"/content:v2/OrderLineItemShippingDetailsMethod/maxDaysInTransit": max_days_in_transit
"/content:v2/OrderLineItemShippingDetailsMethod/methodName": method_name
"/content:v2/OrderLineItemShippingDetailsMethod/minDaysInTransit": min_days_in_transit
"/content:v2/OrderMerchantProvidedAnnotation": order_merchant_provided_annotation
"/content:v2/OrderMerchantProvidedAnnotation/key": key
"/content:v2/OrderMerchantProvidedAnnotation/value": value
"/content:v2/OrderPaymentMethod": order_payment_method
"/content:v2/OrderPaymentMethod/billingAddress": billing_address
"/content:v2/OrderPaymentMethod/expirationMonth": expiration_month
@ -30339,7 +30351,9 @@
"/content:v2/OrdersCustomBatchRequestEntry/orderId": order_id
"/content:v2/OrdersCustomBatchRequestEntry/refund": refund
"/content:v2/OrdersCustomBatchRequestEntry/returnLineItem": return_line_item
"/content:v2/OrdersCustomBatchRequestEntry/setLineItemMetadata": set_line_item_metadata
"/content:v2/OrdersCustomBatchRequestEntry/shipLineItems": ship_line_items
"/content:v2/OrdersCustomBatchRequestEntry/updateLineItemShippingDetails": update_line_item_shipping_details
"/content:v2/OrdersCustomBatchRequestEntry/updateShipment": update_shipment
"/content:v2/OrdersCustomBatchRequestEntryCancel": orders_custom_batch_request_entry_cancel
"/content:v2/OrdersCustomBatchRequestEntryCancel/reason": reason
@ -30365,6 +30379,11 @@
"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/quantity": quantity
"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/reason": reason
"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/reasonText": reason_text
"/content:v2/OrdersCustomBatchRequestEntrySetLineItemMetadata": orders_custom_batch_request_entry_set_line_item_metadata
"/content:v2/OrdersCustomBatchRequestEntrySetLineItemMetadata/annotations": annotations
"/content:v2/OrdersCustomBatchRequestEntrySetLineItemMetadata/annotations/annotation": annotation
"/content:v2/OrdersCustomBatchRequestEntrySetLineItemMetadata/lineItemId": line_item_id
"/content:v2/OrdersCustomBatchRequestEntrySetLineItemMetadata/productId": product_id
"/content:v2/OrdersCustomBatchRequestEntryShipLineItems": orders_custom_batch_request_entry_ship_line_items
"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/carrier": carrier
"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/lineItems": line_items
@ -30377,6 +30396,11 @@
"/content:v2/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/carrier": carrier
"/content:v2/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/shipmentId": shipment_id
"/content:v2/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/trackingId": tracking_id
"/content:v2/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails": orders_custom_batch_request_entry_update_line_item_shipping_details
"/content:v2/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/deliverByDate": deliver_by_date
"/content:v2/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/lineItemId": line_item_id
"/content:v2/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/productId": product_id
"/content:v2/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/shipByDate": ship_by_date
"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment": orders_custom_batch_request_entry_update_shipment
"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/carrier": carrier
"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/shipmentId": shipment_id
@ -30423,6 +30447,15 @@
"/content:v2/OrdersReturnLineItemResponse": orders_return_line_item_response
"/content:v2/OrdersReturnLineItemResponse/executionStatus": execution_status
"/content:v2/OrdersReturnLineItemResponse/kind": kind
"/content:v2/OrdersSetLineItemMetadataRequest": orders_set_line_item_metadata_request
"/content:v2/OrdersSetLineItemMetadataRequest/annotations": annotations
"/content:v2/OrdersSetLineItemMetadataRequest/annotations/annotation": annotation
"/content:v2/OrdersSetLineItemMetadataRequest/lineItemId": line_item_id
"/content:v2/OrdersSetLineItemMetadataRequest/operationId": operation_id
"/content:v2/OrdersSetLineItemMetadataRequest/productId": product_id
"/content:v2/OrdersSetLineItemMetadataResponse": orders_set_line_item_metadata_response
"/content:v2/OrdersSetLineItemMetadataResponse/executionStatus": execution_status
"/content:v2/OrdersSetLineItemMetadataResponse/kind": kind
"/content:v2/OrdersShipLineItemsRequest": orders_ship_line_items_request
"/content:v2/OrdersShipLineItemsRequest/carrier": carrier
"/content:v2/OrdersShipLineItemsRequest/lineItems": line_items
@ -30435,6 +30468,15 @@
"/content:v2/OrdersShipLineItemsResponse": orders_ship_line_items_response
"/content:v2/OrdersShipLineItemsResponse/executionStatus": execution_status
"/content:v2/OrdersShipLineItemsResponse/kind": kind
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest": orders_update_line_item_shipping_details_request
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest/deliverByDate": deliver_by_date
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest/lineItemId": line_item_id
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest/operationId": operation_id
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest/productId": product_id
"/content:v2/OrdersUpdateLineItemShippingDetailsRequest/shipByDate": ship_by_date
"/content:v2/OrdersUpdateLineItemShippingDetailsResponse": orders_update_line_item_shipping_details_response
"/content:v2/OrdersUpdateLineItemShippingDetailsResponse/executionStatus": execution_status
"/content:v2/OrdersUpdateLineItemShippingDetailsResponse/kind": kind
"/content:v2/OrdersUpdateMerchantOrderIdRequest": orders_update_merchant_order_id_request
"/content:v2/OrdersUpdateMerchantOrderIdRequest/merchantOrderId": merchant_order_id
"/content:v2/OrdersUpdateMerchantOrderIdRequest/operationId": operation_id
@ -30918,9 +30960,15 @@
"/content:v2/content.orders.returnlineitem": return_order_line_item
"/content:v2/content.orders.returnlineitem/merchantId": merchant_id
"/content:v2/content.orders.returnlineitem/orderId": order_id
"/content:v2/content.orders.setlineitemmetadata": setlineitemmetadata_order
"/content:v2/content.orders.setlineitemmetadata/merchantId": merchant_id
"/content:v2/content.orders.setlineitemmetadata/orderId": order_id
"/content:v2/content.orders.shiplineitems": shiplineitems_order
"/content:v2/content.orders.shiplineitems/merchantId": merchant_id
"/content:v2/content.orders.shiplineitems/orderId": order_id
"/content:v2/content.orders.updatelineitemshippingdetails": updatelineitemshippingdetails_order
"/content:v2/content.orders.updatelineitemshippingdetails/merchantId": merchant_id
"/content:v2/content.orders.updatelineitemshippingdetails/orderId": order_id
"/content:v2/content.orders.updatemerchantorderid": update_merchant_order_id
"/content:v2/content.orders.updatemerchantorderid/merchantId": merchant_id
"/content:v2/content.orders.updatemerchantorderid/orderId": order_id
@ -31038,6 +31086,8 @@
"/content:v2sandbox/OrderDeliveryDetails/address": address
"/content:v2sandbox/OrderDeliveryDetails/phoneNumber": phone_number
"/content:v2sandbox/OrderLineItem": order_line_item
"/content:v2sandbox/OrderLineItem/annotations": annotations
"/content:v2sandbox/OrderLineItem/annotations/annotation": annotation
"/content:v2sandbox/OrderLineItem/cancellations": cancellations
"/content:v2sandbox/OrderLineItem/cancellations/cancellation": cancellation
"/content:v2sandbox/OrderLineItem/channelType": channel_type
@ -31088,6 +31138,9 @@
"/content:v2sandbox/OrderLineItemShippingDetailsMethod/maxDaysInTransit": max_days_in_transit
"/content:v2sandbox/OrderLineItemShippingDetailsMethod/methodName": method_name
"/content:v2sandbox/OrderLineItemShippingDetailsMethod/minDaysInTransit": min_days_in_transit
"/content:v2sandbox/OrderMerchantProvidedAnnotation": order_merchant_provided_annotation
"/content:v2sandbox/OrderMerchantProvidedAnnotation/key": key
"/content:v2sandbox/OrderMerchantProvidedAnnotation/value": value
"/content:v2sandbox/OrderPaymentMethod": order_payment_method
"/content:v2sandbox/OrderPaymentMethod/billingAddress": billing_address
"/content:v2sandbox/OrderPaymentMethod/expirationMonth": expiration_month
@ -31183,7 +31236,9 @@
"/content:v2sandbox/OrdersCustomBatchRequestEntry/orderId": order_id
"/content:v2sandbox/OrdersCustomBatchRequestEntry/refund": refund
"/content:v2sandbox/OrdersCustomBatchRequestEntry/returnLineItem": return_line_item
"/content:v2sandbox/OrdersCustomBatchRequestEntry/setLineItemMetadata": set_line_item_metadata
"/content:v2sandbox/OrdersCustomBatchRequestEntry/shipLineItems": ship_line_items
"/content:v2sandbox/OrdersCustomBatchRequestEntry/updateLineItemShippingDetails": update_line_item_shipping_details
"/content:v2sandbox/OrdersCustomBatchRequestEntry/updateShipment": update_shipment
"/content:v2sandbox/OrdersCustomBatchRequestEntryCancel": orders_custom_batch_request_entry_cancel
"/content:v2sandbox/OrdersCustomBatchRequestEntryCancel/reason": reason
@ -31209,6 +31264,11 @@
"/content:v2sandbox/OrdersCustomBatchRequestEntryReturnLineItem/quantity": quantity
"/content:v2sandbox/OrdersCustomBatchRequestEntryReturnLineItem/reason": reason
"/content:v2sandbox/OrdersCustomBatchRequestEntryReturnLineItem/reasonText": reason_text
"/content:v2sandbox/OrdersCustomBatchRequestEntrySetLineItemMetadata": orders_custom_batch_request_entry_set_line_item_metadata
"/content:v2sandbox/OrdersCustomBatchRequestEntrySetLineItemMetadata/annotations": annotations
"/content:v2sandbox/OrdersCustomBatchRequestEntrySetLineItemMetadata/annotations/annotation": annotation
"/content:v2sandbox/OrdersCustomBatchRequestEntrySetLineItemMetadata/lineItemId": line_item_id
"/content:v2sandbox/OrdersCustomBatchRequestEntrySetLineItemMetadata/productId": product_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItems": orders_custom_batch_request_entry_ship_line_items
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItems/carrier": carrier
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItems/lineItems": line_items
@ -31221,6 +31281,11 @@
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/carrier": carrier
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/shipmentId": shipment_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/trackingId": tracking_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails": orders_custom_batch_request_entry_update_line_item_shipping_details
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/deliverByDate": deliver_by_date
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/lineItemId": line_item_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/productId": product_id
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails/shipByDate": ship_by_date
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment": orders_custom_batch_request_entry_update_shipment
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/carrier": carrier
"/content:v2sandbox/OrdersCustomBatchRequestEntryUpdateShipment/shipmentId": shipment_id
@ -31267,6 +31332,15 @@
"/content:v2sandbox/OrdersReturnLineItemResponse": orders_return_line_item_response
"/content:v2sandbox/OrdersReturnLineItemResponse/executionStatus": execution_status
"/content:v2sandbox/OrdersReturnLineItemResponse/kind": kind
"/content:v2sandbox/OrdersSetLineItemMetadataRequest": orders_set_line_item_metadata_request
"/content:v2sandbox/OrdersSetLineItemMetadataRequest/annotations": annotations
"/content:v2sandbox/OrdersSetLineItemMetadataRequest/annotations/annotation": annotation
"/content:v2sandbox/OrdersSetLineItemMetadataRequest/lineItemId": line_item_id
"/content:v2sandbox/OrdersSetLineItemMetadataRequest/operationId": operation_id
"/content:v2sandbox/OrdersSetLineItemMetadataRequest/productId": product_id
"/content:v2sandbox/OrdersSetLineItemMetadataResponse": orders_set_line_item_metadata_response
"/content:v2sandbox/OrdersSetLineItemMetadataResponse/executionStatus": execution_status
"/content:v2sandbox/OrdersSetLineItemMetadataResponse/kind": kind
"/content:v2sandbox/OrdersShipLineItemsRequest": orders_ship_line_items_request
"/content:v2sandbox/OrdersShipLineItemsRequest/carrier": carrier
"/content:v2sandbox/OrdersShipLineItemsRequest/lineItems": line_items
@ -31279,6 +31353,15 @@
"/content:v2sandbox/OrdersShipLineItemsResponse": orders_ship_line_items_response
"/content:v2sandbox/OrdersShipLineItemsResponse/executionStatus": execution_status
"/content:v2sandbox/OrdersShipLineItemsResponse/kind": kind
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest": orders_update_line_item_shipping_details_request
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest/deliverByDate": deliver_by_date
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest/lineItemId": line_item_id
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest/operationId": operation_id
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest/productId": product_id
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsRequest/shipByDate": ship_by_date
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsResponse": orders_update_line_item_shipping_details_response
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsResponse/executionStatus": execution_status
"/content:v2sandbox/OrdersUpdateLineItemShippingDetailsResponse/kind": kind
"/content:v2sandbox/OrdersUpdateMerchantOrderIdRequest": orders_update_merchant_order_id_request
"/content:v2sandbox/OrdersUpdateMerchantOrderIdRequest/merchantOrderId": merchant_order_id
"/content:v2sandbox/OrdersUpdateMerchantOrderIdRequest/operationId": operation_id
@ -31380,9 +31463,15 @@
"/content:v2sandbox/content.orders.returnlineitem": returnlineitem_order
"/content:v2sandbox/content.orders.returnlineitem/merchantId": merchant_id
"/content:v2sandbox/content.orders.returnlineitem/orderId": order_id
"/content:v2sandbox/content.orders.setlineitemmetadata": setlineitemmetadata_order
"/content:v2sandbox/content.orders.setlineitemmetadata/merchantId": merchant_id
"/content:v2sandbox/content.orders.setlineitemmetadata/orderId": order_id
"/content:v2sandbox/content.orders.shiplineitems": shiplineitems_order
"/content:v2sandbox/content.orders.shiplineitems/merchantId": merchant_id
"/content:v2sandbox/content.orders.shiplineitems/orderId": order_id
"/content:v2sandbox/content.orders.updatelineitemshippingdetails": updatelineitemshippingdetails_order
"/content:v2sandbox/content.orders.updatelineitemshippingdetails/merchantId": merchant_id
"/content:v2sandbox/content.orders.updatelineitemshippingdetails/orderId": order_id
"/content:v2sandbox/content.orders.updatemerchantorderid": updatemerchantorderid_order
"/content:v2sandbox/content.orders.updatemerchantorderid/merchantId": merchant_id
"/content:v2sandbox/content.orders.updatemerchantorderid/orderId": order_id
@ -69120,6 +69209,87 @@
"/youtubePartner:v1/youtubePartner.whitelists.list/onBehalfOfContentOwner": on_behalf_of_content_owner
"/youtubePartner:v1/youtubePartner.whitelists.list/pageToken": page_token
"/youtubereporting:v1/Empty": empty
"/youtubereporting:v1/GdataBlobstore2Info": gdata_blobstore2_info
"/youtubereporting:v1/GdataBlobstore2Info/blobGeneration": blob_generation
"/youtubereporting:v1/GdataBlobstore2Info/blobId": blob_id
"/youtubereporting:v1/GdataBlobstore2Info/downloadReadHandle": download_read_handle
"/youtubereporting:v1/GdataBlobstore2Info/readToken": read_token
"/youtubereporting:v1/GdataBlobstore2Info/uploadMetadataContainer": upload_metadata_container
"/youtubereporting:v1/GdataCompositeMedia": gdata_composite_media
"/youtubereporting:v1/GdataCompositeMedia/blobRef": blob_ref
"/youtubereporting:v1/GdataCompositeMedia/blobstore2Info": blobstore2_info
"/youtubereporting:v1/GdataCompositeMedia/cosmoBinaryReference": cosmo_binary_reference
"/youtubereporting:v1/GdataCompositeMedia/crc32cHash": crc32c_hash
"/youtubereporting:v1/GdataCompositeMedia/inline": inline
"/youtubereporting:v1/GdataCompositeMedia/length": length
"/youtubereporting:v1/GdataCompositeMedia/md5Hash": md5_hash
"/youtubereporting:v1/GdataCompositeMedia/objectId": object_id_prop
"/youtubereporting:v1/GdataCompositeMedia/path": path
"/youtubereporting:v1/GdataCompositeMedia/referenceType": reference_type
"/youtubereporting:v1/GdataCompositeMedia/sha1Hash": sha1_hash
"/youtubereporting:v1/GdataContentTypeInfo": gdata_content_type_info
"/youtubereporting:v1/GdataContentTypeInfo/bestGuess": best_guess
"/youtubereporting:v1/GdataContentTypeInfo/fromBytes": from_bytes
"/youtubereporting:v1/GdataContentTypeInfo/fromFileName": from_file_name
"/youtubereporting:v1/GdataContentTypeInfo/fromHeader": from_header
"/youtubereporting:v1/GdataContentTypeInfo/fromUrlPath": from_url_path
"/youtubereporting:v1/GdataDiffChecksumsResponse": gdata_diff_checksums_response
"/youtubereporting:v1/GdataDiffChecksumsResponse/checksumsLocation": checksums_location
"/youtubereporting:v1/GdataDiffChecksumsResponse/chunkSizeBytes": chunk_size_bytes
"/youtubereporting:v1/GdataDiffChecksumsResponse/objectLocation": object_location
"/youtubereporting:v1/GdataDiffChecksumsResponse/objectSizeBytes": object_size_bytes
"/youtubereporting:v1/GdataDiffChecksumsResponse/objectVersion": object_version
"/youtubereporting:v1/GdataDiffDownloadResponse": gdata_diff_download_response
"/youtubereporting:v1/GdataDiffDownloadResponse/objectLocation": object_location
"/youtubereporting:v1/GdataDiffUploadRequest": gdata_diff_upload_request
"/youtubereporting:v1/GdataDiffUploadRequest/checksumsInfo": checksums_info
"/youtubereporting:v1/GdataDiffUploadRequest/objectInfo": object_info
"/youtubereporting:v1/GdataDiffUploadRequest/objectVersion": object_version
"/youtubereporting:v1/GdataDiffUploadResponse": gdata_diff_upload_response
"/youtubereporting:v1/GdataDiffUploadResponse/objectVersion": object_version
"/youtubereporting:v1/GdataDiffUploadResponse/originalObject": original_object
"/youtubereporting:v1/GdataDiffVersionResponse": gdata_diff_version_response
"/youtubereporting:v1/GdataDiffVersionResponse/objectSizeBytes": object_size_bytes
"/youtubereporting:v1/GdataDiffVersionResponse/objectVersion": object_version
"/youtubereporting:v1/GdataDownloadParameters": gdata_download_parameters
"/youtubereporting:v1/GdataDownloadParameters/allowGzipCompression": allow_gzip_compression
"/youtubereporting:v1/GdataDownloadParameters/ignoreRange": ignore_range
"/youtubereporting:v1/GdataMedia": gdata_media
"/youtubereporting:v1/GdataMedia/algorithm": algorithm
"/youtubereporting:v1/GdataMedia/bigstoreObjectRef": bigstore_object_ref
"/youtubereporting:v1/GdataMedia/blobRef": blob_ref
"/youtubereporting:v1/GdataMedia/blobstore2Info": blobstore2_info
"/youtubereporting:v1/GdataMedia/compositeMedia": composite_media
"/youtubereporting:v1/GdataMedia/compositeMedia/composite_medium": composite_medium
"/youtubereporting:v1/GdataMedia/contentType": content_type
"/youtubereporting:v1/GdataMedia/contentTypeInfo": content_type_info
"/youtubereporting:v1/GdataMedia/cosmoBinaryReference": cosmo_binary_reference
"/youtubereporting:v1/GdataMedia/crc32cHash": crc32c_hash
"/youtubereporting:v1/GdataMedia/diffChecksumsResponse": diff_checksums_response
"/youtubereporting:v1/GdataMedia/diffDownloadResponse": diff_download_response
"/youtubereporting:v1/GdataMedia/diffUploadRequest": diff_upload_request
"/youtubereporting:v1/GdataMedia/diffUploadResponse": diff_upload_response
"/youtubereporting:v1/GdataMedia/diffVersionResponse": diff_version_response
"/youtubereporting:v1/GdataMedia/downloadParameters": download_parameters
"/youtubereporting:v1/GdataMedia/filename": filename
"/youtubereporting:v1/GdataMedia/hash": hash_prop
"/youtubereporting:v1/GdataMedia/hashVerified": hash_verified
"/youtubereporting:v1/GdataMedia/inline": inline
"/youtubereporting:v1/GdataMedia/isPotentialRetry": is_potential_retry
"/youtubereporting:v1/GdataMedia/length": length
"/youtubereporting:v1/GdataMedia/md5Hash": md5_hash
"/youtubereporting:v1/GdataMedia/mediaId": media_id
"/youtubereporting:v1/GdataMedia/objectId": object_id_prop
"/youtubereporting:v1/GdataMedia/path": path
"/youtubereporting:v1/GdataMedia/referenceType": reference_type
"/youtubereporting:v1/GdataMedia/sha1Hash": sha1_hash
"/youtubereporting:v1/GdataMedia/sha256Hash": sha256_hash
"/youtubereporting:v1/GdataMedia/timestamp": timestamp
"/youtubereporting:v1/GdataMedia/token": token
"/youtubereporting:v1/GdataObjectId": gdata_object_id
"/youtubereporting:v1/GdataObjectId/bucketName": bucket_name
"/youtubereporting:v1/GdataObjectId/generation": generation
"/youtubereporting:v1/GdataObjectId/objectName": object_name
"/youtubereporting:v1/Job": job
"/youtubereporting:v1/Job/createTime": create_time
"/youtubereporting:v1/Job/expireTime": expire_time

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20171128'
REVISION = '20171212'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -165,6 +165,17 @@ module Google
# @return [String]
attr_accessor :timeout
# Stores timing information for phases of the build.
# Valid keys are:
# - BUILD: time to execute all build steps
# - PUSH: time to push all specified images.
# - FETCHSOURCE: time to fetch source.
# If the build does not specify source, or does not specify images,
# these keys will not be included.
# Corresponds to the JSON property `timing`
# @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
attr_accessor :timing
def initialize(**args)
update!(**args)
end
@ -191,6 +202,7 @@ module Google
@substitutions = args[:substitutions] if args.key?(:substitutions)
@tags = args[:tags] if args.key?(:tags)
@timeout = args[:timeout] if args.key?(:timeout)
@timing = args[:timing] if args.key?(:timing)
end
end
@ -343,6 +355,11 @@ module Google
# @return [Array<String>]
attr_accessor :secret_env
# Stores start and end times for a build execution phase.
# Corresponds to the JSON property `timing`
# @return [Google::Apis::CloudbuildV1::TimeSpan]
attr_accessor :timing
# List of volumes to mount into the build step.
# Each volume will be created as an empty volume prior to execution of the
# build step. Upon completion of the build, volumes and their contents will
@ -375,6 +392,7 @@ module Google
@id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
@secret_env = args[:secret_env] if args.key?(:secret_env)
@timing = args[:timing] if args.key?(:timing)
@volumes = args[:volumes] if args.key?(:volumes)
@wait_for = args[:wait_for] if args.key?(:wait_for)
end
@ -475,6 +493,11 @@ module Google
# @return [String]
attr_accessor :name
# Stores start and end times for a build execution phase.
# Corresponds to the JSON property `pushTiming`
# @return [Google::Apis::CloudbuildV1::TimeSpan]
attr_accessor :push_timing
def initialize(**args)
update!(**args)
end
@ -483,6 +506,7 @@ module Google
def update!(**args)
@digest = args[:digest] if args.key?(:digest)
@name = args[:name] if args.key?(:name)
@push_timing = args[:push_timing] if args.key?(:push_timing)
end
end
@ -1041,6 +1065,31 @@ module Google
end
end
# Stores start and end times for a build execution phase.
class TimeSpan
include Google::Apis::Core::Hashable
# End of time span.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Start of time span.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_time = args[:end_time] if args.key?(:end_time)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# Volume describes a Docker container volume which is mounted into build steps
# in order to persist files across build step execution.
class Volume

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TimeSpan
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Volume
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -195,6 +201,8 @@ module Google
hash :substitutions, as: 'substitutions'
collection :tags, as: 'tags'
property :timeout, as: 'timeout'
hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
end
end
@ -228,6 +236,8 @@ module Google
property :id, as: 'id'
property :name, as: 'name'
collection :secret_env, as: 'secretEnv'
property :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation
collection :wait_for, as: 'waitFor'
@ -255,6 +265,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :digest, as: 'digest'
property :name, as: 'name'
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
end
end
@ -405,6 +417,14 @@ module Google
end
end
class TimeSpan
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class Volume
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -2729,6 +2729,11 @@ module Google
class OrderLineItem
include Google::Apis::Core::Hashable
# Annotations that are attached to the line item.
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# Cancellations of the line item.
# Corresponds to the JSON property `cancellations`
# @return [Array<Google::Apis::ContentV2::OrderCancellation>]
@ -2807,6 +2812,7 @@ module Google
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@cancellations = args[:cancellations] if args.key?(:cancellations)
@id = args[:id] if args.key?(:id)
@price = args[:price] if args.key?(:price)
@ -3055,6 +3061,33 @@ module Google
end
end
#
class OrderMerchantProvidedAnnotation
include Google::Apis::Core::Hashable
# Key for additional merchant provided (as key-value pairs) annotation about the
# line item.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Value for additional merchant provided (as key-value pairs) annotation about
# the line item.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
#
class OrderPaymentMethod
include Google::Apis::Core::Hashable
@ -3760,11 +3793,21 @@ module Google
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem]
attr_accessor :return_line_item
# Required for setLineItemMetadata method.
# Corresponds to the JSON property `setLineItemMetadata`
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata]
attr_accessor :set_line_item_metadata
# Required for shipLineItems method.
# Corresponds to the JSON property `shipLineItems`
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems]
attr_accessor :ship_line_items
# Required for updateLineItemShippingDate method.
# Corresponds to the JSON property `updateLineItemShippingDetails`
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails]
attr_accessor :update_line_item_shipping_details
# Required for updateShipment method.
# Corresponds to the JSON property `updateShipment`
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment]
@ -3786,7 +3829,9 @@ module Google
@order_id = args[:order_id] if args.key?(:order_id)
@refund = args[:refund] if args.key?(:refund)
@return_line_item = args[:return_line_item] if args.key?(:return_line_item)
@set_line_item_metadata = args[:set_line_item_metadata] if args.key?(:set_line_item_metadata)
@ship_line_items = args[:ship_line_items] if args.key?(:ship_line_items)
@update_line_item_shipping_details = args[:update_line_item_shipping_details] if args.key?(:update_line_item_shipping_details)
@update_shipment = args[:update_shipment] if args.key?(:update_shipment)
end
end
@ -3970,6 +4015,39 @@ module Google
end
end
#
class OrdersCustomBatchRequestEntrySetLineItemMetadata
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
class OrdersCustomBatchRequestEntryShipLineItems
include Google::Apis::Core::Hashable
@ -4048,6 +4126,47 @@ module Google
end
end
#
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
include Google::Apis::Core::Hashable
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@product_id = args[:product_id] if args.key?(:product_id)
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
end
end
#
class OrdersCustomBatchRequestEntryUpdateShipment
include Google::Apis::Core::Hashable
@ -4394,6 +4513,71 @@ module Google
end
end
#
class OrdersSetLineItemMetadataRequest
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the operation. Unique across all operations for a given order.
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@operation_id = args[:operation_id] if args.key?(:operation_id)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
class OrdersSetLineItemMetadataResponse
include Google::Apis::Core::Hashable
# The status of the execution.
# Corresponds to the JSON property `executionStatus`
# @return [String]
attr_accessor :execution_status
# Identifies what kind of resource this is. Value: the fixed string "content#
# ordersSetLineItemMetadataResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@execution_status = args[:execution_status] if args.key?(:execution_status)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class OrdersShipLineItemsRequest
include Google::Apis::Core::Hashable
@ -4472,6 +4656,79 @@ module Google
end
end
#
class OrdersUpdateLineItemShippingDetailsRequest
include Google::Apis::Core::Hashable
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the operation. Unique across all operations for a given order.
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@operation_id = args[:operation_id] if args.key?(:operation_id)
@product_id = args[:product_id] if args.key?(:product_id)
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
end
end
#
class OrdersUpdateLineItemShippingDetailsResponse
include Google::Apis::Core::Hashable
# The status of the execution.
# Corresponds to the JSON property `executionStatus`
# @return [String]
attr_accessor :execution_status
# Identifies what kind of resource this is. Value: the fixed string "content#
# ordersUpdateLineItemShippingDetailsResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@execution_status = args[:execution_status] if args.key?(:execution_status)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class OrdersUpdateMerchantOrderIdRequest
include Google::Apis::Core::Hashable

View File

@ -466,6 +466,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrderMerchantProvidedAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderPaymentMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -598,6 +604,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryShipLineItems
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -610,6 +622,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -670,6 +688,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersShipLineItemsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -682,6 +712,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateLineItemShippingDetailsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateLineItemShippingDetailsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateMerchantOrderIdRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1736,6 +1778,8 @@ module Google
class OrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation::Representation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
property :id, as: 'id'
@ -1820,6 +1864,14 @@ module Google
end
end
class OrderMerchantProvidedAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class OrderPaymentMethod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2013,8 +2065,12 @@ module Google
property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem::Representation
property :set_line_item_metadata, as: 'setLineItemMetadata', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata::Representation
property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems::Representation
property :update_line_item_shipping_details, as: 'updateLineItemShippingDetails', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails::Representation
property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment::Representation
end
@ -2070,6 +2126,16 @@ module Google
end
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
end
end
class OrdersCustomBatchRequestEntryShipLineItems
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2092,6 +2158,16 @@ module Google
end
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersCustomBatchRequestEntryUpdateShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2195,6 +2271,25 @@ module Google
end
end
class OrdersSetLineItemMetadataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
end
end
class OrdersSetLineItemMetadataResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrdersShipLineItemsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2217,6 +2312,25 @@ module Google
end
end
class OrdersUpdateLineItemShippingDetailsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersUpdateLineItemShippingDetailsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrdersUpdateMerchantOrderIdRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1779,6 +1779,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Sets (overrides) merchant provided annotations on the line item.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest] orders_set_line_item_metadata_request_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.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse]
#
# @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 setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
command.request_object = orders_set_line_item_metadata_request_object
command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse
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
# Marks line item(s) as shipped.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
@ -1821,6 +1863,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates ship by and delivery by dates for a line item.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] order_id
# The ID of the order.
# @param [Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest] orders_update_line_item_shipping_details_request_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.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse]
#
# @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 updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
command.request_object = orders_update_line_item_shipping_details_request_object
command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
command.response_class = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse
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
# Updates the merchant order ID for a given order.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client

View File

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

View File

@ -399,6 +399,11 @@ module Google
class OrderLineItem
include Google::Apis::Core::Hashable
# Annotations that are attached to the line item.
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# Cancellations of the line item.
# Corresponds to the JSON property `cancellations`
# @return [Array<Google::Apis::ContentV2sandbox::OrderCancellation>]
@ -477,6 +482,7 @@ module Google
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@cancellations = args[:cancellations] if args.key?(:cancellations)
@id = args[:id] if args.key?(:id)
@price = args[:price] if args.key?(:price)
@ -725,6 +731,33 @@ module Google
end
end
#
class OrderMerchantProvidedAnnotation
include Google::Apis::Core::Hashable
# Key for additional merchant provided (as key-value pairs) annotation about the
# line item.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Value for additional merchant provided (as key-value pairs) annotation about
# the line item.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
#
class OrderPaymentMethod
include Google::Apis::Core::Hashable
@ -1430,11 +1463,21 @@ module Google
# @return [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem]
attr_accessor :return_line_item
# Required for setLineItemMetadata method.
# Corresponds to the JSON property `setLineItemMetadata`
# @return [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata]
attr_accessor :set_line_item_metadata
# Required for shipLineItems method.
# Corresponds to the JSON property `shipLineItems`
# @return [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems]
attr_accessor :ship_line_items
# Required for updateLineItemShippingDate method.
# Corresponds to the JSON property `updateLineItemShippingDetails`
# @return [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails]
attr_accessor :update_line_item_shipping_details
# Required for updateShipment method.
# Corresponds to the JSON property `updateShipment`
# @return [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment]
@ -1456,7 +1499,9 @@ module Google
@order_id = args[:order_id] if args.key?(:order_id)
@refund = args[:refund] if args.key?(:refund)
@return_line_item = args[:return_line_item] if args.key?(:return_line_item)
@set_line_item_metadata = args[:set_line_item_metadata] if args.key?(:set_line_item_metadata)
@ship_line_items = args[:ship_line_items] if args.key?(:ship_line_items)
@update_line_item_shipping_details = args[:update_line_item_shipping_details] if args.key?(:update_line_item_shipping_details)
@update_shipment = args[:update_shipment] if args.key?(:update_shipment)
end
end
@ -1640,6 +1685,39 @@ module Google
end
end
#
class OrdersCustomBatchRequestEntrySetLineItemMetadata
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
class OrdersCustomBatchRequestEntryShipLineItems
include Google::Apis::Core::Hashable
@ -1718,6 +1796,47 @@ module Google
end
end
#
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
include Google::Apis::Core::Hashable
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@product_id = args[:product_id] if args.key?(:product_id)
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
end
end
#
class OrdersCustomBatchRequestEntryUpdateShipment
include Google::Apis::Core::Hashable
@ -2064,6 +2183,71 @@ module Google
end
end
#
class OrdersSetLineItemMetadataRequest
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `annotations`
# @return [Array<Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation>]
attr_accessor :annotations
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the operation. Unique across all operations for a given order.
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@operation_id = args[:operation_id] if args.key?(:operation_id)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
class OrdersSetLineItemMetadataResponse
include Google::Apis::Core::Hashable
# The status of the execution.
# Corresponds to the JSON property `executionStatus`
# @return [String]
attr_accessor :execution_status
# Identifies what kind of resource this is. Value: the fixed string "content#
# ordersSetLineItemMetadataResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@execution_status = args[:execution_status] if args.key?(:execution_status)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class OrdersShipLineItemsRequest
include Google::Apis::Core::Hashable
@ -2142,6 +2326,79 @@ module Google
end
end
#
class OrdersUpdateLineItemShippingDetailsRequest
include Google::Apis::Core::Hashable
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
# The ID of the line item to set metadata. Either lineItemId or productId is
# required.
# Corresponds to the JSON property `lineItemId`
# @return [String]
attr_accessor :line_item_id
# The ID of the operation. Unique across all operations for a given order.
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
# The ID of the product to set metadata. This is the REST ID used in the
# products service. Either lineItemId or productId is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
@operation_id = args[:operation_id] if args.key?(:operation_id)
@product_id = args[:product_id] if args.key?(:product_id)
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
end
end
#
class OrdersUpdateLineItemShippingDetailsResponse
include Google::Apis::Core::Hashable
# The status of the execution.
# Corresponds to the JSON property `executionStatus`
# @return [String]
attr_accessor :execution_status
# Identifies what kind of resource this is. Value: the fixed string "content#
# ordersUpdateLineItemShippingDetailsResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@execution_status = args[:execution_status] if args.key?(:execution_status)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class OrdersUpdateMerchantOrderIdRequest
include Google::Apis::Core::Hashable

View File

@ -100,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrderMerchantProvidedAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrderPaymentMethod
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -232,6 +238,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryShipLineItems
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -244,6 +256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersCustomBatchRequestEntryUpdateShipment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -304,6 +322,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersSetLineItemMetadataResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersShipLineItemsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -316,6 +346,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateLineItemShippingDetailsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateLineItemShippingDetailsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OrdersUpdateMerchantOrderIdRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -477,6 +519,8 @@ module Google
class OrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2sandbox::OrderCancellation, decorator: Google::Apis::ContentV2sandbox::OrderCancellation::Representation
property :id, as: 'id'
@ -561,6 +605,14 @@ module Google
end
end
class OrderMerchantProvidedAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
class OrderPaymentMethod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -754,8 +806,12 @@ module Google
property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem::Representation
property :set_line_item_metadata, as: 'setLineItemMetadata', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata::Representation
property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems::Representation
property :update_line_item_shipping_details, as: 'updateLineItemShippingDetails', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails::Representation
property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment::Representation
end
@ -811,6 +867,16 @@ module Google
end
end
class OrdersCustomBatchRequestEntrySetLineItemMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
end
end
class OrdersCustomBatchRequestEntryShipLineItems
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -833,6 +899,16 @@ module Google
end
end
class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersCustomBatchRequestEntryUpdateShipment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -936,6 +1012,25 @@ module Google
end
end
class OrdersSetLineItemMetadataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
end
end
class OrdersSetLineItemMetadataResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrdersShipLineItemsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -958,6 +1053,25 @@ module Google
end
end
class OrdersUpdateLineItemShippingDetailsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deliver_by_date, as: 'deliverByDate'
property :line_item_id, as: 'lineItemId'
property :operation_id, as: 'operationId'
property :product_id, as: 'productId'
property :ship_by_date, as: 'shipByDate'
end
end
class OrdersUpdateLineItemShippingDetailsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :execution_status, as: 'executionStatus'
property :kind, as: 'kind'
end
end
class OrdersUpdateMerchantOrderIdRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -570,6 +570,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Sets (overrides) merchant provided annotations on the line item.
# @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::OrdersSetLineItemMetadataRequest] orders_set_line_item_metadata_request_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.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2sandbox::OrdersSetLineItemMetadataResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2sandbox::OrdersSetLineItemMetadataResponse]
#
# @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 setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
command.request_representation = Google::Apis::ContentV2sandbox::OrdersSetLineItemMetadataRequest::Representation
command.request_object = orders_set_line_item_metadata_request_object
command.response_representation = Google::Apis::ContentV2sandbox::OrdersSetLineItemMetadataResponse::Representation
command.response_class = Google::Apis::ContentV2sandbox::OrdersSetLineItemMetadataResponse
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
# Marks line item(s) as shipped.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
@ -612,6 +654,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates ship by and delivery by dates for a line item.
# @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::OrdersUpdateLineItemShippingDetailsRequest] orders_update_line_item_shipping_details_request_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.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2sandbox::OrdersUpdateLineItemShippingDetailsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2sandbox::OrdersUpdateLineItemShippingDetailsResponse]
#
# @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 updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
command.request_representation = Google::Apis::ContentV2sandbox::OrdersUpdateLineItemShippingDetailsRequest::Representation
command.request_object = orders_update_line_item_shipping_details_request_object
command.response_representation = Google::Apis::ContentV2sandbox::OrdersUpdateLineItemShippingDetailsResponse::Representation
command.response_class = Google::Apis::ContentV2sandbox::OrdersUpdateLineItemShippingDetailsResponse
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
# Updates the merchant order ID for a given order.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client

View File

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

View File

@ -3834,7 +3834,8 @@ module Google
class UsageRule
include Google::Apis::Core::Hashable
# True, if the method allows unregistered calls; false otherwise.
# If true, the selected method allows unregistered calls, e.g. calls
# that don't identify any user or application.
# Corresponds to the JSON property `allowUnregisteredCalls`
# @return [Boolean]
attr_accessor :allow_unregistered_calls
@ -3847,10 +3848,10 @@ module Google
# @return [String]
attr_accessor :selector
# True, if the method should skip service control. If so, no control plane
# feature (like quota and billing) will be enabled.
# This flag is used by ESP to allow some Endpoints customers to bypass
# Google internal checks.
# If true, the selected method should skip service control and the control
# plane features, such as quota and billing, will not be available.
# This flag is used by Google Cloud Endpoints to bypass checks for internal
# methods, such as service health check methods.
# Corresponds to the JSON property `skipServiceControl`
# @return [Boolean]
attr_accessor :skip_service_control

View File

@ -136,6 +136,8 @@ module Google
# create the requested Photo.
# * google.rpc.Code.NOT_FOUND if the requested
# Photo does not exist.
# * google.rpc.Code.UNAVAILABLE if the requested
# Photo is still being indexed.
# @param [String] photo_id
# Required. ID of the Photo.
# @param [String] view
@ -230,6 +232,8 @@ module Google
# create the requested photo.
# * google.rpc.Code.INVALID_ARGUMENT if the request is malformed.
# * google.rpc.Code.NOT_FOUND if the requested photo does not exist.
# * google.rpc.Code.UNAVAILABLE if the requested
# Photo is still being indexed.
# @param [String] id
# Required. A unique identifier for a photo.
# @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
@ -435,6 +439,8 @@ module Google
# Lists all the Photos that belong to
# the user.
# <aside class="note"><b>Note:</b> Recently created photos that are still
# being indexed are not returned in the response.</aside>
# @param [String] filter
# The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
# The only filter supported at the moment is `placeId`.

View File

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/reporting/v1/reports/
module YoutubereportingV1
VERSION = 'V1'
REVISION = '20170425'
REVISION = '20171211'
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'

View File

@ -41,6 +41,582 @@ module Google
end
end
# gdata
class GdataBlobstore2Info
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `blobGeneration`
# @return [Fixnum]
attr_accessor :blob_generation
# gdata
# Corresponds to the JSON property `blobId`
# @return [String]
attr_accessor :blob_id
# gdata
# Corresponds to the JSON property `downloadReadHandle`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :download_read_handle
# gdata
# Corresponds to the JSON property `readToken`
# @return [String]
attr_accessor :read_token
# gdata
# Corresponds to the JSON property `uploadMetadataContainer`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :upload_metadata_container
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
@blob_id = args[:blob_id] if args.key?(:blob_id)
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
@read_token = args[:read_token] if args.key?(:read_token)
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
end
end
# gdata
class GdataCompositeMedia
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `blobRef`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :blob_ref
# gdata
# Corresponds to the JSON property `blobstore2Info`
# @return [Google::Apis::YoutubereportingV1::GdataBlobstore2Info]
attr_accessor :blobstore2_info
# gdata
# Corresponds to the JSON property `cosmoBinaryReference`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :cosmo_binary_reference
# gdata
# Corresponds to the JSON property `crc32cHash`
# @return [Fixnum]
attr_accessor :crc32c_hash
# gdata
# Corresponds to the JSON property `inline`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :inline
# gdata
# Corresponds to the JSON property `length`
# @return [Fixnum]
attr_accessor :length
# gdata
# Corresponds to the JSON property `md5Hash`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :md5_hash
# gdata
# Corresponds to the JSON property `objectId`
# @return [Google::Apis::YoutubereportingV1::GdataObjectId]
attr_accessor :object_id_prop
# gdata
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
# gdata
# Corresponds to the JSON property `referenceType`
# @return [String]
attr_accessor :reference_type
# gdata
# Corresponds to the JSON property `sha1Hash`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :sha1_hash
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
@inline = args[:inline] if args.key?(:inline)
@length = args[:length] if args.key?(:length)
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@path = args[:path] if args.key?(:path)
@reference_type = args[:reference_type] if args.key?(:reference_type)
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
end
end
# gdata
class GdataContentTypeInfo
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `bestGuess`
# @return [String]
attr_accessor :best_guess
# gdata
# Corresponds to the JSON property `fromBytes`
# @return [String]
attr_accessor :from_bytes
# gdata
# Corresponds to the JSON property `fromFileName`
# @return [String]
attr_accessor :from_file_name
# gdata
# Corresponds to the JSON property `fromHeader`
# @return [String]
attr_accessor :from_header
# gdata
# Corresponds to the JSON property `fromUrlPath`
# @return [String]
attr_accessor :from_url_path
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@best_guess = args[:best_guess] if args.key?(:best_guess)
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
@from_header = args[:from_header] if args.key?(:from_header)
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
end
end
# gdata
class GdataDiffChecksumsResponse
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `checksumsLocation`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :checksums_location
# gdata
# Corresponds to the JSON property `chunkSizeBytes`
# @return [Fixnum]
attr_accessor :chunk_size_bytes
# gdata
# Corresponds to the JSON property `objectLocation`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :object_location
# gdata
# Corresponds to the JSON property `objectSizeBytes`
# @return [Fixnum]
attr_accessor :object_size_bytes
# gdata
# Corresponds to the JSON property `objectVersion`
# @return [String]
attr_accessor :object_version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@checksums_location = args[:checksums_location] if args.key?(:checksums_location)
@chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
@object_location = args[:object_location] if args.key?(:object_location)
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
@object_version = args[:object_version] if args.key?(:object_version)
end
end
# gdata
class GdataDiffDownloadResponse
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `objectLocation`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :object_location
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_location = args[:object_location] if args.key?(:object_location)
end
end
# gdata
class GdataDiffUploadRequest
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `checksumsInfo`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :checksums_info
# gdata
# Corresponds to the JSON property `objectInfo`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :object_info
# gdata
# Corresponds to the JSON property `objectVersion`
# @return [String]
attr_accessor :object_version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@checksums_info = args[:checksums_info] if args.key?(:checksums_info)
@object_info = args[:object_info] if args.key?(:object_info)
@object_version = args[:object_version] if args.key?(:object_version)
end
end
# gdata
class GdataDiffUploadResponse
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `objectVersion`
# @return [String]
attr_accessor :object_version
# gdata
# Corresponds to the JSON property `originalObject`
# @return [Google::Apis::YoutubereportingV1::GdataCompositeMedia]
attr_accessor :original_object
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_version = args[:object_version] if args.key?(:object_version)
@original_object = args[:original_object] if args.key?(:original_object)
end
end
# gdata
class GdataDiffVersionResponse
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `objectSizeBytes`
# @return [Fixnum]
attr_accessor :object_size_bytes
# gdata
# Corresponds to the JSON property `objectVersion`
# @return [String]
attr_accessor :object_version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
@object_version = args[:object_version] if args.key?(:object_version)
end
end
# gdata
class GdataDownloadParameters
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `allowGzipCompression`
# @return [Boolean]
attr_accessor :allow_gzip_compression
alias_method :allow_gzip_compression?, :allow_gzip_compression
# gdata
# Corresponds to the JSON property `ignoreRange`
# @return [Boolean]
attr_accessor :ignore_range
alias_method :ignore_range?, :ignore_range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
@ignore_range = args[:ignore_range] if args.key?(:ignore_range)
end
end
# gdata
class GdataMedia
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
# gdata
# Corresponds to the JSON property `bigstoreObjectRef`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :bigstore_object_ref
# gdata
# Corresponds to the JSON property `blobRef`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :blob_ref
# gdata
# Corresponds to the JSON property `blobstore2Info`
# @return [Google::Apis::YoutubereportingV1::GdataBlobstore2Info]
attr_accessor :blobstore2_info
# gdata
# Corresponds to the JSON property `compositeMedia`
# @return [Array<Google::Apis::YoutubereportingV1::GdataCompositeMedia>]
attr_accessor :composite_media
# gdata
# Corresponds to the JSON property `contentType`
# @return [String]
attr_accessor :content_type
# gdata
# Corresponds to the JSON property `contentTypeInfo`
# @return [Google::Apis::YoutubereportingV1::GdataContentTypeInfo]
attr_accessor :content_type_info
# gdata
# Corresponds to the JSON property `cosmoBinaryReference`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :cosmo_binary_reference
# gdata
# Corresponds to the JSON property `crc32cHash`
# @return [Fixnum]
attr_accessor :crc32c_hash
# gdata
# Corresponds to the JSON property `diffChecksumsResponse`
# @return [Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse]
attr_accessor :diff_checksums_response
# gdata
# Corresponds to the JSON property `diffDownloadResponse`
# @return [Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse]
attr_accessor :diff_download_response
# gdata
# Corresponds to the JSON property `diffUploadRequest`
# @return [Google::Apis::YoutubereportingV1::GdataDiffUploadRequest]
attr_accessor :diff_upload_request
# gdata
# Corresponds to the JSON property `diffUploadResponse`
# @return [Google::Apis::YoutubereportingV1::GdataDiffUploadResponse]
attr_accessor :diff_upload_response
# gdata
# Corresponds to the JSON property `diffVersionResponse`
# @return [Google::Apis::YoutubereportingV1::GdataDiffVersionResponse]
attr_accessor :diff_version_response
# gdata
# Corresponds to the JSON property `downloadParameters`
# @return [Google::Apis::YoutubereportingV1::GdataDownloadParameters]
attr_accessor :download_parameters
# gdata
# Corresponds to the JSON property `filename`
# @return [String]
attr_accessor :filename
# gdata
# Corresponds to the JSON property `hash`
# @return [String]
attr_accessor :hash_prop
# gdata
# Corresponds to the JSON property `hashVerified`
# @return [Boolean]
attr_accessor :hash_verified
alias_method :hash_verified?, :hash_verified
# gdata
# Corresponds to the JSON property `inline`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :inline
# gdata
# Corresponds to the JSON property `isPotentialRetry`
# @return [Boolean]
attr_accessor :is_potential_retry
alias_method :is_potential_retry?, :is_potential_retry
# gdata
# Corresponds to the JSON property `length`
# @return [Fixnum]
attr_accessor :length
# gdata
# Corresponds to the JSON property `md5Hash`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :md5_hash
# gdata
# Corresponds to the JSON property `mediaId`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :media_id
# gdata
# Corresponds to the JSON property `objectId`
# @return [Google::Apis::YoutubereportingV1::GdataObjectId]
attr_accessor :object_id_prop
# gdata
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
# gdata
# Corresponds to the JSON property `referenceType`
# @return [String]
attr_accessor :reference_type
# gdata
# Corresponds to the JSON property `sha1Hash`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :sha1_hash
# gdata
# Corresponds to the JSON property `sha256Hash`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :sha256_hash
# gdata
# Corresponds to the JSON property `timestamp`
# @return [Fixnum]
attr_accessor :timestamp
# gdata
# Corresponds to the JSON property `token`
# @return [String]
attr_accessor :token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@algorithm = args[:algorithm] if args.key?(:algorithm)
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
@composite_media = args[:composite_media] if args.key?(:composite_media)
@content_type = args[:content_type] if args.key?(:content_type)
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
@filename = args[:filename] if args.key?(:filename)
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
@inline = args[:inline] if args.key?(:inline)
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
@length = args[:length] if args.key?(:length)
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
@media_id = args[:media_id] if args.key?(:media_id)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@path = args[:path] if args.key?(:path)
@reference_type = args[:reference_type] if args.key?(:reference_type)
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
@timestamp = args[:timestamp] if args.key?(:timestamp)
@token = args[:token] if args.key?(:token)
end
end
# gdata
class GdataObjectId
include Google::Apis::Core::Hashable
# gdata
# Corresponds to the JSON property `bucketName`
# @return [String]
attr_accessor :bucket_name
# gdata
# Corresponds to the JSON property `generation`
# @return [Fixnum]
attr_accessor :generation
# gdata
# Corresponds to the JSON property `objectName`
# @return [String]
attr_accessor :object_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
@generation = args[:generation] if args.key?(:generation)
@object_name = args[:object_name] if args.key?(:object_name)
end
end
# A job creating reports of a specific type.
class Job
include Google::Apis::Core::Hashable
@ -181,25 +757,6 @@ module Google
end
end
# Media resource.
class Media
include Google::Apis::Core::Hashable
# Name of the media resource.
# Corresponds to the JSON property `resourceName`
# @return [String]
attr_accessor :resource_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@resource_name = args[:resource_name] if args.key?(:resource_name)
end
end
# A report's metadata including the URL from which the report itself can be
# downloaded.
class Report

View File

@ -28,6 +28,72 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GdataBlobstore2Info
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataCompositeMedia
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataContentTypeInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDiffChecksumsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDiffDownloadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDiffUploadRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDiffUploadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDiffVersionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataDownloadParameters
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataMedia
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GdataObjectId
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Job
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -52,12 +118,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Media
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Report
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +136,159 @@ module Google
end
end
class GdataBlobstore2Info
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :blob_generation, :numeric_string => true, as: 'blobGeneration'
property :blob_id, as: 'blobId'
property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
property :read_token, as: 'readToken'
property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
end
end
class GdataCompositeMedia
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :blob_ref, :base64 => true, as: 'blobRef'
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::YoutubereportingV1::GdataBlobstore2Info, decorator: Google::Apis::YoutubereportingV1::GdataBlobstore2Info::Representation
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
property :crc32c_hash, as: 'crc32cHash'
property :inline, :base64 => true, as: 'inline'
property :length, :numeric_string => true, as: 'length'
property :md5_hash, :base64 => true, as: 'md5Hash'
property :object_id_prop, as: 'objectId', class: Google::Apis::YoutubereportingV1::GdataObjectId, decorator: Google::Apis::YoutubereportingV1::GdataObjectId::Representation
property :path, as: 'path'
property :reference_type, as: 'referenceType'
property :sha1_hash, :base64 => true, as: 'sha1Hash'
end
end
class GdataContentTypeInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :best_guess, as: 'bestGuess'
property :from_bytes, as: 'fromBytes'
property :from_file_name, as: 'fromFileName'
property :from_header, as: 'fromHeader'
property :from_url_path, as: 'fromUrlPath'
end
end
class GdataDiffChecksumsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :checksums_location, as: 'checksumsLocation', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
property :object_location, as: 'objectLocation', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
property :object_version, as: 'objectVersion'
end
end
class GdataDiffDownloadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_location, as: 'objectLocation', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
end
end
class GdataDiffUploadRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :checksums_info, as: 'checksumsInfo', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
property :object_info, as: 'objectInfo', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
property :object_version, as: 'objectVersion'
end
end
class GdataDiffUploadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_version, as: 'objectVersion'
property :original_object, as: 'originalObject', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
end
end
class GdataDiffVersionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
property :object_version, as: 'objectVersion'
end
end
class GdataDownloadParameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_gzip_compression, as: 'allowGzipCompression'
property :ignore_range, as: 'ignoreRange'
end
end
class GdataMedia
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :algorithm, as: 'algorithm'
property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
property :blob_ref, :base64 => true, as: 'blobRef'
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::YoutubereportingV1::GdataBlobstore2Info, decorator: Google::Apis::YoutubereportingV1::GdataBlobstore2Info::Representation
collection :composite_media, as: 'compositeMedia', class: Google::Apis::YoutubereportingV1::GdataCompositeMedia, decorator: Google::Apis::YoutubereportingV1::GdataCompositeMedia::Representation
property :content_type, as: 'contentType'
property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::YoutubereportingV1::GdataContentTypeInfo, decorator: Google::Apis::YoutubereportingV1::GdataContentTypeInfo::Representation
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
property :crc32c_hash, as: 'crc32cHash'
property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse, decorator: Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse::Representation
property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse, decorator: Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse::Representation
property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::YoutubereportingV1::GdataDiffUploadRequest, decorator: Google::Apis::YoutubereportingV1::GdataDiffUploadRequest::Representation
property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::YoutubereportingV1::GdataDiffUploadResponse, decorator: Google::Apis::YoutubereportingV1::GdataDiffUploadResponse::Representation
property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::YoutubereportingV1::GdataDiffVersionResponse, decorator: Google::Apis::YoutubereportingV1::GdataDiffVersionResponse::Representation
property :download_parameters, as: 'downloadParameters', class: Google::Apis::YoutubereportingV1::GdataDownloadParameters, decorator: Google::Apis::YoutubereportingV1::GdataDownloadParameters::Representation
property :filename, as: 'filename'
property :hash_prop, as: 'hash'
property :hash_verified, as: 'hashVerified'
property :inline, :base64 => true, as: 'inline'
property :is_potential_retry, as: 'isPotentialRetry'
property :length, :numeric_string => true, as: 'length'
property :md5_hash, :base64 => true, as: 'md5Hash'
property :media_id, :base64 => true, as: 'mediaId'
property :object_id_prop, as: 'objectId', class: Google::Apis::YoutubereportingV1::GdataObjectId, decorator: Google::Apis::YoutubereportingV1::GdataObjectId::Representation
property :path, as: 'path'
property :reference_type, as: 'referenceType'
property :sha1_hash, :base64 => true, as: 'sha1Hash'
property :sha256_hash, :base64 => true, as: 'sha256Hash'
property :timestamp, :numeric_string => true, as: 'timestamp'
property :token, as: 'token'
end
end
class GdataObjectId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bucket_name, as: 'bucketName'
property :generation, :numeric_string => true, as: 'generation'
property :object_name, as: 'objectName'
end
end
class Job
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -115,13 +328,6 @@ module Google
end
end
class Media
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_name, as: 'resourceName'
end
end
class Report
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -305,10 +305,10 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::YoutubereportingV1::Media] parsed result object
# @yieldparam result [Google::Apis::YoutubereportingV1::GdataMedia] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::YoutubereportingV1::Media]
# @return [Google::Apis::YoutubereportingV1::GdataMedia]
#
# @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
@ -320,8 +320,8 @@ module Google
command = make_download_command(:get, 'v1/media/{+resourceName}', options)
command.download_dest = download_dest
end
command.response_representation = Google::Apis::YoutubereportingV1::Media::Representation
command.response_class = Google::Apis::YoutubereportingV1::Media
command.response_representation = Google::Apis::YoutubereportingV1::GdataMedia::Representation
command.response_class = Google::Apis::YoutubereportingV1::GdataMedia
command.params['resourceName'] = resource_name unless resource_name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?