Skip to content

Commit

Permalink
Switch to let/const (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpebot authored and JustinBeckwith committed Sep 14, 2018
1 parent b6ee970 commit bba7a48
Show file tree
Hide file tree
Showing 19 changed files with 358 additions and 356 deletions.
268 changes: 135 additions & 133 deletions packages/google-cloud-automl/src/v1beta1/auto_ml_client.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.AnnotationPayload definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/annotation_payload.proto}
*/
var AnnotationPayload = {
const AnnotationPayload = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ClassificationAnnotation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/classification.proto}
*/
var ClassificationAnnotation = {
const ClassificationAnnotation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand Down Expand Up @@ -64,7 +64,7 @@ var ClassificationAnnotation = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ClassificationEvaluationMetrics definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/classification.proto}
*/
var ClassificationEvaluationMetrics = {
const ClassificationEvaluationMetrics = {
// This is for documentation. Actual contents will be loaded by gRPC.

/**
Expand Down Expand Up @@ -149,7 +149,7 @@ var ClassificationEvaluationMetrics = {
* @enum {number}
* @memberof google.cloud.automl.v1beta1
*/
var ClassificationType = {
const ClassificationType = {

/**
* Should not be used, an un-set enum has this value by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.Image definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/data_items.proto}
*/
var Image = {
const Image = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -59,7 +59,7 @@ var Image = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TextSnippet definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/data_items.proto}
*/
var TextSnippet = {
const TextSnippet = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -80,6 +80,6 @@ var TextSnippet = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ExamplePayload definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/data_items.proto}
*/
var ExamplePayload = {
const ExamplePayload = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.Dataset definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/dataset.proto}
*/
var Dataset = {
const Dataset = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/image.proto}
*/
var ImageClassificationDatasetMetadata = {
const ImageClassificationDatasetMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand Down Expand Up @@ -58,6 +58,6 @@ var ImageClassificationDatasetMetadata = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ImageClassificationModelMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/image.proto}
*/
var ImageClassificationModelMetadata = {
const ImageClassificationModelMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.InputConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/io.proto}
*/
var InputConfig = {
const InputConfig = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -43,7 +43,7 @@ var InputConfig = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.OutputConfig definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/io.proto}
*/
var OutputConfig = {
const OutputConfig = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -59,7 +59,7 @@ var OutputConfig = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.GcsSource definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/io.proto}
*/
var GcsSource = {
const GcsSource = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -78,6 +78,6 @@ var GcsSource = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.GcsDestination definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/io.proto}
*/
var GcsDestination = {
const GcsDestination = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.Model definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/model.proto}
*/
var Model = {
const Model = {
// This is for documentation. Actual contents will be loaded by gRPC.

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ModelEvaluation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/model_evaluation.proto}
*/
var ModelEvaluation = {
const ModelEvaluation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.PredictRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/prediction_service.proto}
*/
var PredictRequest = {
const PredictRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -66,6 +66,6 @@ var PredictRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.PredictResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/prediction_service.proto}
*/
var PredictResponse = {
const PredictResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.CreateDatasetRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var CreateDatasetRequest = {
const CreateDatasetRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -44,7 +44,7 @@ var CreateDatasetRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.GetDatasetRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var GetDatasetRequest = {
const GetDatasetRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand Down Expand Up @@ -78,7 +78,7 @@ var GetDatasetRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListDatasetsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListDatasetsRequest = {
const ListDatasetsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -98,7 +98,7 @@ var ListDatasetsRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListDatasetsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListDatasetsResponse = {
const ListDatasetsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -112,7 +112,7 @@ var ListDatasetsResponse = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.DeleteDatasetRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var DeleteDatasetRequest = {
const DeleteDatasetRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -132,7 +132,7 @@ var DeleteDatasetRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ImportDataRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ImportDataRequest = {
const ImportDataRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -151,7 +151,7 @@ var ImportDataRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ExportDataRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ExportDataRequest = {
const ExportDataRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -170,7 +170,7 @@ var ExportDataRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.CreateModelRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var CreateModelRequest = {
const CreateModelRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -184,7 +184,7 @@ var CreateModelRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.GetModelRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var GetModelRequest = {
const GetModelRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand Down Expand Up @@ -220,7 +220,7 @@ var GetModelRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListModelsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListModelsRequest = {
const ListModelsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -240,7 +240,7 @@ var ListModelsRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListModelsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListModelsResponse = {
const ListModelsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -254,7 +254,7 @@ var ListModelsResponse = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.DeleteModelRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var DeleteModelRequest = {
const DeleteModelRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -268,7 +268,7 @@ var DeleteModelRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.DeployModelRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var DeployModelRequest = {
const DeployModelRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -282,7 +282,7 @@ var DeployModelRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.UndeployModelRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var UndeployModelRequest = {
const UndeployModelRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -296,7 +296,7 @@ var UndeployModelRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.GetModelEvaluationRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var GetModelEvaluationRequest = {
const GetModelEvaluationRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand Down Expand Up @@ -334,7 +334,7 @@ var GetModelEvaluationRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListModelEvaluationsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListModelEvaluationsRequest = {
const ListModelEvaluationsRequest = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -354,6 +354,6 @@ var ListModelEvaluationsRequest = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.ListModelEvaluationsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/service.proto}
*/
var ListModelEvaluationsResponse = {
const ListModelEvaluationsResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TextClassificationDatasetMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/text.proto}
*/
var TextClassificationDatasetMetadata = {
const TextClassificationDatasetMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -38,6 +38,6 @@ var TextClassificationDatasetMetadata = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TextClassificationModelMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/text.proto}
*/
var TextClassificationModelMetadata = {
const TextClassificationModelMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TranslationDatasetMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/translation.proto}
*/
var TranslationDatasetMetadata = {
const TranslationDatasetMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -45,7 +45,7 @@ var TranslationDatasetMetadata = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TranslationEvaluationMetrics definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/translation.proto}
*/
var TranslationEvaluationMetrics = {
const TranslationEvaluationMetrics = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -70,7 +70,7 @@ var TranslationEvaluationMetrics = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TranslationModelMetadata definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/translation.proto}
*/
var TranslationModelMetadata = {
const TranslationModelMetadata = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

Expand All @@ -86,6 +86,6 @@ var TranslationModelMetadata = {
* @memberof google.cloud.automl.v1beta1
* @see [google.cloud.automl.v1beta1.TranslationAnnotation definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/automl/v1beta1/translation.proto}
*/
var TranslationAnnotation = {
const TranslationAnnotation = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
Loading

0 comments on commit bba7a48

Please sign in to comment.