1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006 |
- // Copyright 2022 Google LLC
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- syntax = "proto3";
- package google.cloud.aiplatform.v1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/aiplatform/v1/operation.proto";
- import "google/cloud/aiplatform/v1/tensorboard.proto";
- import "google/cloud/aiplatform/v1/tensorboard_data.proto";
- import "google/cloud/aiplatform/v1/tensorboard_experiment.proto";
- import "google/cloud/aiplatform/v1/tensorboard_run.proto";
- import "google/cloud/aiplatform/v1/tensorboard_time_series.proto";
- import "google/longrunning/operations.proto";
- import "google/protobuf/field_mask.proto";
- option csharp_namespace = "Google.Cloud.AIPlatform.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
- option java_multiple_files = true;
- option java_outer_classname = "TensorboardServiceProto";
- option java_package = "com.google.cloud.aiplatform.v1";
- option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
- option ruby_package = "Google::Cloud::AIPlatform::V1";
- // TensorboardService
- service TensorboardService {
- option (google.api.default_host) = "aiplatform.googleapis.com";
- option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform,"
- "https://www.googleapis.com/auth/cloud-platform.read-only";
- // Creates a Tensorboard.
- rpc CreateTensorboard(CreateTensorboardRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*}/tensorboards"
- body: "tensorboard"
- };
- option (google.api.method_signature) = "parent,tensorboard";
- option (google.longrunning.operation_info) = {
- response_type: "Tensorboard"
- metadata_type: "CreateTensorboardOperationMetadata"
- };
- }
- // Gets a Tensorboard.
- rpc GetTensorboard(GetTensorboardRequest) returns (Tensorboard) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/tensorboards/*}"
- };
- option (google.api.method_signature) = "name";
- }
- // Updates a Tensorboard.
- rpc UpdateTensorboard(UpdateTensorboardRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- patch: "/v1/{tensorboard.name=projects/*/locations/*/tensorboards/*}"
- body: "tensorboard"
- };
- option (google.api.method_signature) = "tensorboard,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Tensorboard"
- metadata_type: "UpdateTensorboardOperationMetadata"
- };
- }
- // Lists Tensorboards in a Location.
- rpc ListTensorboards(ListTensorboardsRequest) returns (ListTensorboardsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*}/tensorboards"
- };
- option (google.api.method_signature) = "parent";
- }
- // Deletes a Tensorboard.
- rpc DeleteTensorboard(DeleteTensorboardRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/tensorboards/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "DeleteOperationMetadata"
- };
- }
- // Creates a TensorboardExperiment.
- rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest) returns (TensorboardExperiment) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments"
- body: "tensorboard_experiment"
- };
- option (google.api.method_signature) = "parent,tensorboard_experiment,tensorboard_experiment_id";
- }
- // Gets a TensorboardExperiment.
- rpc GetTensorboardExperiment(GetTensorboardExperimentRequest) returns (TensorboardExperiment) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}"
- };
- option (google.api.method_signature) = "name";
- }
- // Updates a TensorboardExperiment.
- rpc UpdateTensorboardExperiment(UpdateTensorboardExperimentRequest) returns (TensorboardExperiment) {
- option (google.api.http) = {
- patch: "/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}"
- body: "tensorboard_experiment"
- };
- option (google.api.method_signature) = "tensorboard_experiment,update_mask";
- }
- // Lists TensorboardExperiments in a Location.
- rpc ListTensorboardExperiments(ListTensorboardExperimentsRequest) returns (ListTensorboardExperimentsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments"
- };
- option (google.api.method_signature) = "parent";
- }
- // Deletes a TensorboardExperiment.
- rpc DeleteTensorboardExperiment(DeleteTensorboardExperimentRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "DeleteOperationMetadata"
- };
- }
- // Creates a TensorboardRun.
- rpc CreateTensorboardRun(CreateTensorboardRunRequest) returns (TensorboardRun) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs"
- body: "tensorboard_run"
- };
- option (google.api.method_signature) = "parent,tensorboard_run,tensorboard_run_id";
- }
- // Batch create TensorboardRuns.
- rpc BatchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest) returns (BatchCreateTensorboardRunsResponse) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate"
- body: "*"
- };
- option (google.api.method_signature) = "parent,requests";
- }
- // Gets a TensorboardRun.
- rpc GetTensorboardRun(GetTensorboardRunRequest) returns (TensorboardRun) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
- };
- option (google.api.method_signature) = "name";
- }
- // Updates a TensorboardRun.
- rpc UpdateTensorboardRun(UpdateTensorboardRunRequest) returns (TensorboardRun) {
- option (google.api.http) = {
- patch: "/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
- body: "tensorboard_run"
- };
- option (google.api.method_signature) = "tensorboard_run,update_mask";
- }
- // Lists TensorboardRuns in a Location.
- rpc ListTensorboardRuns(ListTensorboardRunsRequest) returns (ListTensorboardRunsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs"
- };
- option (google.api.method_signature) = "parent";
- }
- // Deletes a TensorboardRun.
- rpc DeleteTensorboardRun(DeleteTensorboardRunRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "DeleteOperationMetadata"
- };
- }
- // Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
- rpc BatchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest) returns (BatchCreateTensorboardTimeSeriesResponse) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate"
- body: "*"
- };
- option (google.api.method_signature) = "parent,requests";
- }
- // Creates a TensorboardTimeSeries.
- rpc CreateTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries"
- body: "tensorboard_time_series"
- };
- option (google.api.method_signature) = "parent,tensorboard_time_series";
- }
- // Gets a TensorboardTimeSeries.
- rpc GetTensorboardTimeSeries(GetTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
- };
- option (google.api.method_signature) = "name";
- }
- // Updates a TensorboardTimeSeries.
- rpc UpdateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
- option (google.api.http) = {
- patch: "/v1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
- body: "tensorboard_time_series"
- };
- option (google.api.method_signature) = "tensorboard_time_series,update_mask";
- }
- // Lists TensorboardTimeSeries in a Location.
- rpc ListTensorboardTimeSeries(ListTensorboardTimeSeriesRequest) returns (ListTensorboardTimeSeriesResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries"
- };
- option (google.api.method_signature) = "parent";
- }
- // Deletes a TensorboardTimeSeries.
- rpc DeleteTensorboardTimeSeries(DeleteTensorboardTimeSeriesRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "DeleteOperationMetadata"
- };
- }
- // Reads multiple TensorboardTimeSeries' data. The data point number limit is
- // 1000 for scalars, 100 for tensors and blob references. If the number of
- // data points stored is less than the limit, all data will be returned.
- // Otherwise, that limit number of data points will be randomly selected from
- // this time series and returned.
- rpc BatchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest) returns (BatchReadTensorboardTimeSeriesDataResponse) {
- option (google.api.http) = {
- get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead"
- };
- option (google.api.method_signature) = "tensorboard";
- }
- // Reads a TensorboardTimeSeries' data. By default, if the number of data
- // points stored is less than 1000, all data will be returned. Otherwise, 1000
- // data points will be randomly selected from this time series and returned.
- // This value can be changed by changing max_data_points, which can't be
- // greater than 10k.
- rpc ReadTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest) returns (ReadTensorboardTimeSeriesDataResponse) {
- option (google.api.http) = {
- get: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read"
- };
- option (google.api.method_signature) = "tensorboard_time_series";
- }
- // Gets bytes of TensorboardBlobs.
- // This is to allow reading blob data stored in consumer project's Cloud
- // Storage bucket without users having to obtain Cloud Storage access
- // permission.
- rpc ReadTensorboardBlobData(ReadTensorboardBlobDataRequest) returns (stream ReadTensorboardBlobDataResponse) {
- option (google.api.http) = {
- get: "/v1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData"
- };
- option (google.api.method_signature) = "time_series";
- }
- // Write time series data points of multiple TensorboardTimeSeries in multiple
- // TensorboardRun's. If any data fail to be ingested, an error will be
- // returned.
- rpc WriteTensorboardExperimentData(WriteTensorboardExperimentDataRequest) returns (WriteTensorboardExperimentDataResponse) {
- option (google.api.http) = {
- post: "/v1/{tensorboard_experiment=projects/*/locations/*/tensorboards/*/experiments/*}:write"
- body: "*"
- };
- option (google.api.method_signature) = "tensorboard_experiment,write_run_data_requests";
- }
- // Write time series data points into multiple TensorboardTimeSeries under
- // a TensorboardRun. If any data fail to be ingested, an error will be
- // returned.
- rpc WriteTensorboardRunData(WriteTensorboardRunDataRequest) returns (WriteTensorboardRunDataResponse) {
- option (google.api.http) = {
- post: "/v1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write"
- body: "*"
- };
- option (google.api.method_signature) = "tensorboard_run,time_series_data";
- }
- // Exports a TensorboardTimeSeries' data. Data is returned in paginated
- // responses.
- rpc ExportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest) returns (ExportTensorboardTimeSeriesDataResponse) {
- option (google.api.http) = {
- post: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries"
- body: "*"
- };
- option (google.api.method_signature) = "tensorboard_time_series";
- }
- }
- // Request message for [TensorboardService.CreateTensorboard][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard].
- message CreateTensorboardRequest {
- // Required. The resource name of the Location to create the Tensorboard in.
- // Format: `projects/{project}/locations/{location}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/Tensorboard"
- }
- ];
- // Required. The Tensorboard to create.
- Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.GetTensorboard][google.cloud.aiplatform.v1.TensorboardService.GetTensorboard].
- message GetTensorboardRequest {
- // Required. The name of the Tensorboard resource.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/Tensorboard"
- }
- ];
- }
- // Request message for [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards].
- message ListTensorboardsRequest {
- // Required. The resource name of the Location to list Tensorboards.
- // Format:
- // `projects/{project}/locations/{location}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "aiplatform.googleapis.com/Tensorboard"
- }
- ];
- // Lists the Tensorboards that match the filter expression.
- string filter = 2;
- // The maximum number of Tensorboards to return. The service may return
- // fewer than this value. If unspecified, at most 100 Tensorboards will be
- // returned. The maximum value is 100; values above 100 will be coerced to
- // 100.
- int32 page_size = 3;
- // A page token, received from a previous
- // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to
- // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] must
- // match the call that provided the page token.
- string page_token = 4;
- // Field to use to sort the list.
- string order_by = 5;
- // Mask specifying which fields to read.
- google.protobuf.FieldMask read_mask = 6;
- }
- // Response message for [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards].
- message ListTensorboardsResponse {
- // The Tensorboards mathching the request.
- repeated Tensorboard tensorboards = 1;
- // A token, which can be sent as [ListTensorboardsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardsRequest.page_token]
- // to retrieve the next page. If this field is omitted, there are no
- // subsequent pages.
- string next_page_token = 2;
- }
- // Request message for [TensorboardService.UpdateTensorboard][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard].
- message UpdateTensorboardRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
- // Tensorboard resource by the update.
- // The fields specified in the update_mask are relative to the resource, not
- // the full request. A field will be overwritten if it is in the mask. If the
- // user does not provide a mask then all fields will be overwritten if new
- // values are specified.
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. The Tensorboard's `name` field is used to identify the
- // Tensorboard to be updated. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
- Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.DeleteTensorboard][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard].
- message DeleteTensorboardRequest {
- // Required. The name of the Tensorboard to be deleted.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/Tensorboard"
- }
- ];
- }
- // Request message for [TensorboardService.CreateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment].
- message CreateTensorboardExperimentRequest {
- // Required. The resource name of the Tensorboard to create the TensorboardExperiment
- // in. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- // The TensorboardExperiment to create.
- TensorboardExperiment tensorboard_experiment = 2;
- // Required. The ID to use for the Tensorboard experiment, which will become the final
- // component of the Tensorboard experiment's resource name.
- //
- // This value should be 1-128 characters, and valid characters
- // are /[a-z][0-9]-/.
- string tensorboard_experiment_id = 3 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.GetTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment].
- message GetTensorboardExperimentRequest {
- // Required. The name of the TensorboardExperiment resource.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- }
- // Request message for [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
- message ListTensorboardExperimentsRequest {
- // Required. The resource name of the Tensorboard to list TensorboardExperiments.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- // Lists the TensorboardExperiments that match the filter expression.
- string filter = 2;
- // The maximum number of TensorboardExperiments to return. The service may
- // return fewer than this value. If unspecified, at most 50
- // TensorboardExperiments will be returned. The maximum value is 1000; values
- // above 1000 will be coerced to 1000.
- int32 page_size = 3;
- // A page token, received from a previous
- // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to
- // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] must
- // match the call that provided the page token.
- string page_token = 4;
- // Field to use to sort the list.
- string order_by = 5;
- // Mask specifying which fields to read.
- google.protobuf.FieldMask read_mask = 6;
- }
- // Response message for [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
- message ListTensorboardExperimentsResponse {
- // The TensorboardExperiments mathching the request.
- repeated TensorboardExperiment tensorboard_experiments = 1;
- // A token, which can be sent as
- // [ListTensorboardExperimentsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest.page_token] to retrieve the next page.
- // If this field is omitted, there are no subsequent pages.
- string next_page_token = 2;
- }
- // Request message for [TensorboardService.UpdateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment].
- message UpdateTensorboardExperimentRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
- // TensorboardExperiment resource by the update.
- // The fields specified in the update_mask are relative to the resource, not
- // the full request. A field will be overwritten if it is in the mask. If the
- // user does not provide a mask then all fields will be overwritten if new
- // values are specified.
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. The TensorboardExperiment's `name` field is used to identify the
- // TensorboardExperiment to be updated. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- TensorboardExperiment tensorboard_experiment = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.DeleteTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment].
- message DeleteTensorboardExperimentRequest {
- // Required. The name of the TensorboardExperiment to be deleted.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- }
- // Request message for [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns].
- message BatchCreateTensorboardRunsRequest {
- // Required. The resource name of the TensorboardExperiment to create the
- // TensorboardRuns in. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- // The parent field in the CreateTensorboardRunRequest messages must match
- // this field.
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- // Required. The request message specifying the TensorboardRuns to create.
- // A maximum of 1000 TensorboardRuns can be created in a batch.
- repeated CreateTensorboardRunRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Response message for [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns].
- message BatchCreateTensorboardRunsResponse {
- // The created TensorboardRuns.
- repeated TensorboardRun tensorboard_runs = 1;
- }
- // Request message for [TensorboardService.CreateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun].
- message CreateTensorboardRunRequest {
- // Required. The resource name of the TensorboardExperiment to create the TensorboardRun
- // in. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardRun"
- }
- ];
- // Required. The TensorboardRun to create.
- TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The ID to use for the Tensorboard run, which will become the final
- // component of the Tensorboard run's resource name.
- //
- // This value should be 1-128 characters, and valid characters
- // are /[a-z][0-9]-/.
- string tensorboard_run_id = 3 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.GetTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun].
- message GetTensorboardRunRequest {
- // Required. The name of the TensorboardRun resource.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardRun"
- }
- ];
- }
- // Request message for [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData].
- message ReadTensorboardBlobDataRequest {
- // Required. The resource name of the TensorboardTimeSeries to list Blobs.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- string time_series = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- // IDs of the blobs to read.
- repeated string blob_ids = 2;
- }
- // Response message for [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData].
- message ReadTensorboardBlobDataResponse {
- // Blob messages containing blob bytes.
- repeated TensorboardBlob blobs = 1;
- }
- // Request message for [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
- message ListTensorboardRunsRequest {
- // Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "aiplatform.googleapis.com/TensorboardRun"
- }
- ];
- // Lists the TensorboardRuns that match the filter expression.
- string filter = 2;
- // The maximum number of TensorboardRuns to return. The service may return
- // fewer than this value. If unspecified, at most 50 TensorboardRuns will be
- // returned. The maximum value is 1000; values above 1000 will be coerced to
- // 1000.
- int32 page_size = 3;
- // A page token, received from a previous
- // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to
- // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] must
- // match the call that provided the page token.
- string page_token = 4;
- // Field to use to sort the list.
- string order_by = 5;
- // Mask specifying which fields to read.
- google.protobuf.FieldMask read_mask = 6;
- }
- // Response message for [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
- message ListTensorboardRunsResponse {
- // The TensorboardRuns mathching the request.
- repeated TensorboardRun tensorboard_runs = 1;
- // A token, which can be sent as [ListTensorboardRunsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardRunsRequest.page_token] to
- // retrieve the next page.
- // If this field is omitted, there are no subsequent pages.
- string next_page_token = 2;
- }
- // Request message for [TensorboardService.UpdateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun].
- message UpdateTensorboardRunRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
- // TensorboardRun resource by the update.
- // The fields specified in the update_mask are relative to the resource, not
- // the full request. A field will be overwritten if it is in the mask. If the
- // user does not provide a mask then all fields will be overwritten if new
- // values are specified.
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. The TensorboardRun's `name` field is used to identify the TensorboardRun to
- // be updated. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.DeleteTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun].
- message DeleteTensorboardRunRequest {
- // Required. The name of the TensorboardRun to be deleted.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardRun"
- }
- ];
- }
- // Request message for [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries].
- message BatchCreateTensorboardTimeSeriesRequest {
- // Required. The resource name of the TensorboardExperiment to create the
- // TensorboardTimeSeries in.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- // The TensorboardRuns referenced by the parent fields in the
- // CreateTensorboardTimeSeriesRequest messages must be sub resources of this
- // TensorboardExperiment.
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- // Required. The request message specifying the TensorboardTimeSeries to create.
- // A maximum of 1000 TensorboardTimeSeries can be created in a batch.
- repeated CreateTensorboardTimeSeriesRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Response message for [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries].
- message BatchCreateTensorboardTimeSeriesResponse {
- // The created TensorboardTimeSeries.
- repeated TensorboardTimeSeries tensorboard_time_series = 1;
- }
- // Request message for [TensorboardService.CreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries].
- message CreateTensorboardTimeSeriesRequest {
- // Required. The resource name of the TensorboardRun to create the
- // TensorboardTimeSeries in.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- // Optional. The user specified unique ID to use for the TensorboardTimeSeries, which
- // will become the final component of the TensorboardTimeSeries's resource
- // name.
- // This value should match "[a-z0-9][a-z0-9-]{0, 127}"
- string tensorboard_time_series_id = 3 [(google.api.field_behavior) = OPTIONAL];
- // Required. The TensorboardTimeSeries to create.
- TensorboardTimeSeries tensorboard_time_series = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.GetTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries].
- message GetTensorboardTimeSeriesRequest {
- // Required. The name of the TensorboardTimeSeries resource.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- }
- // Request message for [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
- message ListTensorboardTimeSeriesRequest {
- // Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- // Lists the TensorboardTimeSeries that match the filter expression.
- string filter = 2;
- // The maximum number of TensorboardTimeSeries to return. The service may
- // return fewer than this value. If unspecified, at most 50
- // TensorboardTimeSeries will be returned. The maximum value is 1000; values
- // above 1000 will be coerced to 1000.
- int32 page_size = 3;
- // A page token, received from a previous
- // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to
- // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] must
- // match the call that provided the page token.
- string page_token = 4;
- // Field to use to sort the list.
- string order_by = 5;
- // Mask specifying which fields to read.
- google.protobuf.FieldMask read_mask = 6;
- }
- // Response message for [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
- message ListTensorboardTimeSeriesResponse {
- // The TensorboardTimeSeries mathching the request.
- repeated TensorboardTimeSeries tensorboard_time_series = 1;
- // A token, which can be sent as
- // [ListTensorboardTimeSeriesRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardTimeSeriesRequest.page_token] to retrieve the next page.
- // If this field is omitted, there are no subsequent pages.
- string next_page_token = 2;
- }
- // Request message for [TensorboardService.UpdateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries].
- message UpdateTensorboardTimeSeriesRequest {
- // Required. Field mask is used to specify the fields to be overwritten in the
- // TensorboardTimeSeries resource by the update.
- // The fields specified in the update_mask are relative to the resource, not
- // the full request. A field will be overwritten if it is in the mask. If the
- // user does not provide a mask then all fields will be overwritten if new
- // values are specified.
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
- // Required. The TensorboardTimeSeries' `name` field is used to identify the
- // TensorboardTimeSeries to be updated.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- TensorboardTimeSeries tensorboard_time_series = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Request message for [TensorboardService.DeleteTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries].
- message DeleteTensorboardTimeSeriesRequest {
- // Required. The name of the TensorboardTimeSeries to be deleted.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- }
- // Request message for
- // [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData].
- message BatchReadTensorboardTimeSeriesDataRequest {
- // Required. The resource name of the Tensorboard containing TensorboardTimeSeries to
- // read data from. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`.
- // The TensorboardTimeSeries referenced by [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] must be sub
- // resources of this Tensorboard.
- string tensorboard = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/Tensorboard"
- }
- ];
- // Required. The resource names of the TensorboardTimeSeries to read data from. Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- repeated string time_series = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- }
- // Response message for
- // [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData].
- message BatchReadTensorboardTimeSeriesDataResponse {
- // The returned time series data.
- repeated TimeSeriesData time_series_data = 1;
- }
- // Request message for [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData].
- message ReadTensorboardTimeSeriesDataRequest {
- // Required. The resource name of the TensorboardTimeSeries to read data from.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- string tensorboard_time_series = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- // The maximum number of TensorboardTimeSeries' data to return.
- //
- // This value should be a positive integer.
- // This value can be set to -1 to return all data.
- int32 max_data_points = 2;
- // Reads the TensorboardTimeSeries' data that match the filter expression.
- string filter = 3;
- }
- // Response message for [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData].
- message ReadTensorboardTimeSeriesDataResponse {
- // The returned time series data.
- TimeSeriesData time_series_data = 1;
- }
- // Request message for [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData].
- message WriteTensorboardExperimentDataRequest {
- // Required. The resource name of the TensorboardExperiment to write data to.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
- string tensorboard_experiment = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardExperiment"
- }
- ];
- // Required. Requests containing per-run TensorboardTimeSeries data to write.
- repeated WriteTensorboardRunDataRequest write_run_data_requests = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Response message for [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData].
- message WriteTensorboardExperimentDataResponse {
- }
- // Request message for [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData].
- message WriteTensorboardRunDataRequest {
- // Required. The resource name of the TensorboardRun to write data to.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
- string tensorboard_run = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardRun"
- }
- ];
- // Required. The TensorboardTimeSeries data to write.
- // Values with in a time series are indexed by their step value.
- // Repeated writes to the same step will overwrite the existing value for that
- // step.
- // The upper limit of data points per write request is 5000.
- repeated TimeSeriesData time_series_data = 2 [(google.api.field_behavior) = REQUIRED];
- }
- // Response message for [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData].
- message WriteTensorboardRunDataResponse {
- }
- // Request message for [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData].
- message ExportTensorboardTimeSeriesDataRequest {
- // Required. The resource name of the TensorboardTimeSeries to export data from.
- // Format:
- // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
- string tensorboard_time_series = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "aiplatform.googleapis.com/TensorboardTimeSeries"
- }
- ];
- // Exports the TensorboardTimeSeries' data that match the filter expression.
- string filter = 2;
- // The maximum number of data points to return per page.
- // The default page_size will be 1000. Values must be between 1 and 10000.
- // Values above 10000 will be coerced to 10000.
- int32 page_size = 3;
- // A page token, received from a previous
- // [TensorboardService.ExportTensorboardTimeSeries][] call.
- // Provide this to retrieve the subsequent page.
- //
- // When paginating, all other parameters provided to
- // [TensorboardService.ExportTensorboardTimeSeries][] must
- // match the call that provided the page token.
- string page_token = 4;
- // Field to use to sort the TensorboardTimeSeries' data.
- // By default, TensorboardTimeSeries' data will be returned in a pseudo random
- // order.
- string order_by = 5;
- }
- // Response message for [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData].
- message ExportTensorboardTimeSeriesDataResponse {
- // The returned time series data points.
- repeated TimeSeriesDataPoint time_series_data_points = 1;
- // A token, which can be sent as
- // [ExportTensorboardTimeSeriesRequest.page_token][] to retrieve the next
- // page. If this field is omitted, there are no subsequent pages.
- string next_page_token = 2;
- }
- // Details of operations that perform create Tensorboard.
- message CreateTensorboardOperationMetadata {
- // Operation metadata for Tensorboard.
- GenericOperationMetadata generic_metadata = 1;
- }
- // Details of operations that perform update Tensorboard.
- message UpdateTensorboardOperationMetadata {
- // Operation metadata for Tensorboard.
- GenericOperationMetadata generic_metadata = 1;
- }
|