Skip to content

Commit

Permalink
docs: remove unused long running operation message typesed to pick up…
Browse files Browse the repository at this point in the history
… changes in the API or client library generator. (#176)

docs: remove unused long running operation message types
  • Loading branch information
yoshi-automation authored and jkwlui committed Jan 4, 2019
1 parent ca94270 commit df0a58c
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 455 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,88 +60,4 @@
*/
const Operation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.GetOperation.
*
* @property {string} name
* The name of the operation resource.
*
* @typedef GetOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.GetOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const GetOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.ListOperations.
*
* @property {string} name
* The name of the operation collection.
*
* @property {string} filter
* The standard list filter.
*
* @property {number} pageSize
* The standard list page size.
*
* @property {string} pageToken
* The standard list page token.
*
* @typedef ListOperationsRequest
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The response message for Operations.ListOperations.
*
* @property {Object[]} operations
* A list of operations that matches the specified filter in the request.
*
* This object should have the same structure as [Operation]{@link google.longrunning.Operation}
*
* @property {string} nextPageToken
* The standard List next-page token.
*
* @typedef ListOperationsResponse
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.CancelOperation.
*
* @property {string} name
* The name of the operation resource to be cancelled.
*
* @typedef CancelOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.CancelOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const CancelOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.DeleteOperation.
*
* @property {string} name
* The name of the operation resource to be deleted.
*
* @typedef DeleteOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.DeleteOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const DeleteOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -429,67 +429,67 @@ const Feature = {
};

/**
* Label level (scope).
* Label detection mode.
*
* @enum {number}
* @memberof google.cloud.videointelligence.v1beta1
*/
const LabelLevel = {
const LabelDetectionMode = {

/**
* Unspecified.
*/
LABEL_LEVEL_UNSPECIFIED: 0,

/**
* Video-level. Corresponds to the whole video.
*/
VIDEO_LEVEL: 1,
LABEL_DETECTION_MODE_UNSPECIFIED: 0,

/**
* Segment-level. Corresponds to one of `AnnotateSpec.segments`.
* Detect shot-level labels.
*/
SEGMENT_LEVEL: 2,
SHOT_MODE: 1,

/**
* Shot-level. Corresponds to a single shot (i.e. a series of frames
* without a major camera position or background change).
* Detect frame-level labels.
*/
SHOT_LEVEL: 3,
FRAME_MODE: 2,

/**
* Frame-level. Corresponds to a single video frame.
* Detect both shot-level and frame-level labels.
*/
FRAME_LEVEL: 4
SHOT_AND_FRAME_MODE: 3
};

/**
* Label detection mode.
* Label level (scope).
*
* @enum {number}
* @memberof google.cloud.videointelligence.v1beta1
*/
const LabelDetectionMode = {
const LabelLevel = {

/**
* Unspecified.
*/
LABEL_DETECTION_MODE_UNSPECIFIED: 0,
LABEL_LEVEL_UNSPECIFIED: 0,

/**
* Detect shot-level labels.
* Video-level. Corresponds to the whole video.
*/
SHOT_MODE: 1,
VIDEO_LEVEL: 1,

/**
* Detect frame-level labels.
* Segment-level. Corresponds to one of `AnnotateSpec.segments`.
*/
FRAME_MODE: 2,
SEGMENT_LEVEL: 2,

/**
* Detect both shot-level and frame-level labels.
* Shot-level. Corresponds to a single shot (i.e. a series of frames
* without a major camera position or background change).
*/
SHOT_AND_FRAME_MODE: 3
SHOT_LEVEL: 3,

/**
* Frame-level. Corresponds to a single video frame.
*/
FRAME_LEVEL: 4
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,88 +60,4 @@
*/
const Operation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.GetOperation.
*
* @property {string} name
* The name of the operation resource.
*
* @typedef GetOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.GetOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const GetOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.ListOperations.
*
* @property {string} name
* The name of the operation collection.
*
* @property {string} filter
* The standard list filter.
*
* @property {number} pageSize
* The standard list page size.
*
* @property {string} pageToken
* The standard list page token.
*
* @typedef ListOperationsRequest
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The response message for Operations.ListOperations.
*
* @property {Object[]} operations
* A list of operations that matches the specified filter in the request.
*
* This object should have the same structure as [Operation]{@link google.longrunning.Operation}
*
* @property {string} nextPageToken
* The standard List next-page token.
*
* @typedef ListOperationsResponse
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.CancelOperation.
*
* @property {string} name
* The name of the operation resource to be cancelled.
*
* @typedef CancelOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.CancelOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const CancelOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.DeleteOperation.
*
* @property {string} name
* The name of the operation resource to be deleted.
*
* @typedef DeleteOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.DeleteOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const DeleteOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -60,88 +60,4 @@
*/
const Operation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.GetOperation.
*
* @property {string} name
* The name of the operation resource.
*
* @typedef GetOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.GetOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const GetOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.ListOperations.
*
* @property {string} name
* The name of the operation collection.
*
* @property {string} filter
* The standard list filter.
*
* @property {number} pageSize
* The standard list page size.
*
* @property {string} pageToken
* The standard list page token.
*
* @typedef ListOperationsRequest
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The response message for Operations.ListOperations.
*
* @property {Object[]} operations
* A list of operations that matches the specified filter in the request.
*
* This object should have the same structure as [Operation]{@link google.longrunning.Operation}
*
* @property {string} nextPageToken
* The standard List next-page token.
*
* @typedef ListOperationsResponse
* @memberof google.longrunning
* @see [google.longrunning.ListOperationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const ListOperationsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.CancelOperation.
*
* @property {string} name
* The name of the operation resource to be cancelled.
*
* @typedef CancelOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.CancelOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const CancelOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* The request message for Operations.DeleteOperation.
*
* @property {string} name
* The name of the operation resource to be deleted.
*
* @typedef DeleteOperationRequest
* @memberof google.longrunning
* @see [google.longrunning.DeleteOperationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/longrunning/operations.proto}
*/
const DeleteOperationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Loading

0 comments on commit df0a58c

Please sign in to comment.