diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/annotation_payload.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/annotation_payload.proto index 02bc280b21c..63d92ef5256 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/annotation_payload.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/annotation_payload.proto @@ -23,6 +23,7 @@ import "google/cloud/automl/v1beta1/translation.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Contains annotation information that is relevant to AutoML. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/classification.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/classification.proto index 08509651973..6d6ec2a9c88 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/classification.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/classification.proto @@ -21,6 +21,7 @@ import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_outer_classname = "ClassificationProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Contains annotation details specific to classification. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/data_items.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/data_items.proto index 9dd97c1f234..d00e508a24d 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/data_items.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/data_items.proto @@ -22,6 +22,7 @@ import "google/cloud/automl/v1beta1/io.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // A representation of an image. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/dataset.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/dataset.proto index abc7d38fa29..f3c7eaae4f0 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/dataset.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/dataset.proto @@ -27,6 +27,7 @@ import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // A workspace for solving a single, particular machine learning (ML) problem. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/image.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/image.proto index c3442482e87..e812b1a33f7 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/image.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/image.proto @@ -24,6 +24,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1; option java_multiple_files = true; option java_outer_classname = "ImageProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Dataset metadata that is specific to image classification. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/io.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/io.proto index 08c9d93b357..34ab825d30d 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/io.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/io.proto @@ -21,6 +21,7 @@ import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Input configuration. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model.proto index b03a2111223..23bed139607 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model.proto @@ -25,6 +25,7 @@ import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // API proto representing a trained machine learning model. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model_evaluation.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model_evaluation.proto index 93f1ca9f138..cef0c4bb350 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model_evaluation.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/model_evaluation.proto @@ -24,6 +24,7 @@ import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Evaluation results of a model. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/operations.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/operations.proto index ae911eff36d..9fc5b1e61cf 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/operations.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/operations.proto @@ -26,6 +26,7 @@ import "google/rpc/status.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Metadata used across all long running operations returned by AutoML API. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/prediction_service.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/prediction_service.proto index 6d9c1ef0771..dc0c280a711 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/prediction_service.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/prediction_service.proto @@ -24,6 +24,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1; option java_multiple_files = true; option java_outer_classname = "PredictionServiceProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // AutoML Prediction API. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/service.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/service.proto index 8fb916d9a0c..1c28f848cba 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/service.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/service.proto @@ -30,6 +30,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1; option java_multiple_files = true; option java_outer_classname = "AutoMlProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // AutoML Server API. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/text.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/text.proto index 44d7311e02d..760574034ec 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/text.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/text.proto @@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1; option java_multiple_files = true; option java_outer_classname = "TextProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Dataset metadata for classification. diff --git a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/translation.proto b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/translation.proto index 8ee3ae8c603..bda51eaef3d 100644 --- a/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/translation.proto +++ b/packages/google-cloud-automl/protos/google/cloud/automl/v1beta1/translation.proto @@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1; option java_multiple_files = true; option java_outer_classname = "TranslationProto"; option java_package = "com.google.cloud.automl.v1beta1"; +option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; // Dataset metadata that is specific to translation. diff --git a/packages/google-cloud-automl/src/v1beta1/prediction_service_client.js b/packages/google-cloud-automl/src/v1beta1/prediction_service_client.js index b9e05bd2b2e..8d62f297aa9 100644 --- a/packages/google-cloud-automl/src/v1beta1/prediction_service_client.js +++ b/packages/google-cloud-automl/src/v1beta1/prediction_service_client.js @@ -221,7 +221,7 @@ class PredictionServiceClient { * }); * * const formattedName = client.modelPath('[PROJECT]', '[LOCATION]', '[MODEL]'); - * const payload = {}; // This object has the same structure as ExamplePayload + * const payload = {}; * const request = { * name: formattedName, * payload: payload, diff --git a/packages/google-cloud-automl/synth.metadata b/packages/google-cloud-automl/synth.metadata index f26e69af884..fe0c387995b 100644 --- a/packages/google-cloud-automl/synth.metadata +++ b/packages/google-cloud-automl/synth.metadata @@ -1,26 +1,38 @@ { + "updateTime": "2018-12-14T12:18:43.227607Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.2", + "dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "fe9310e4e91bd82ee653ce7fdca538bc7e3b1b03", + "internalRef": "225446843" } }, { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "template": { + "name": "node_library", + "origin": "synthtool.gcp", + "version": "2018.12.6" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "automl", + "apiVersion": "v1beta1", + "language": "nodejs", + "generator": "gapic", + "config": "google/cloud/automl/artman_automl_v1beta1.yaml" } } ]