• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.aiplatform.v1beta1;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21import "google/cloud/aiplatform/v1beta1/encryption_spec.proto";
22import "google/protobuf/timestamp.proto";
23
24option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
25option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
26option java_multiple_files = true;
27option java_outer_classname = "MetadataProto";
28option java_package = "com.google.cloud.aiplatform.v1beta1";
29option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
30option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
31
32// Instance of a metadata store. Contains a set of metadata that can be
33// queried.
34message MetadataStore {
35  option (google.api.resource) = {
36    type: "aiplatform.googleapis.com/MetadataStore"
37    pattern: "projects/{project}/locations/{location}/metadataStores/{metadata_store}"
38  };
39
40  // Represents state information for a MetadataStore.
41  message MetadataStoreState {
42    // The disk utilization of the MetadataStore in bytes.
43    int64 disk_utilization_bytes = 1;
44  }
45
46  // Output only. The resource name of the MetadataStore instance.
47  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
48
49  // Output only. Timestamp when this MetadataStore was created.
50  google.protobuf.Timestamp create_time = 3
51      [(google.api.field_behavior) = OUTPUT_ONLY];
52
53  // Output only. Timestamp when this MetadataStore was last updated.
54  google.protobuf.Timestamp update_time = 4
55      [(google.api.field_behavior) = OUTPUT_ONLY];
56
57  // Customer-managed encryption key spec for a Metadata Store. If set, this
58  // Metadata Store and all sub-resources of this Metadata Store are secured
59  // using this key.
60  EncryptionSpec encryption_spec = 5;
61
62  // Description of the MetadataStore.
63  string description = 6;
64
65  // Output only. State information of the MetadataStore.
66  MetadataStoreState state = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
67}
68