xref: /aosp_15_r20/external/googleapis/google/cloud/enterpriseknowledgegraph/v1/service.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1*d5c09012SAndroid Build Coastguard Worker// Copyright 2022 Google LLC
2*d5c09012SAndroid Build Coastguard Worker//
3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*d5c09012SAndroid Build Coastguard Worker//
7*d5c09012SAndroid Build Coastguard Worker//     http://www.apache.org/licenses/LICENSE-2.0
8*d5c09012SAndroid Build Coastguard Worker//
9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*d5c09012SAndroid Build Coastguard Worker// limitations under the License.
14*d5c09012SAndroid Build Coastguard Worker
15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3";
16*d5c09012SAndroid Build Coastguard Worker
17*d5c09012SAndroid Build Coastguard Workerpackage google.cloud.enterpriseknowledgegraph.v1;
18*d5c09012SAndroid Build Coastguard Worker
19*d5c09012SAndroid Build Coastguard Workerimport "google/api/annotations.proto";
20*d5c09012SAndroid Build Coastguard Workerimport "google/api/client.proto";
21*d5c09012SAndroid Build Coastguard Workerimport "google/api/field_behavior.proto";
22*d5c09012SAndroid Build Coastguard Workerimport "google/api/resource.proto";
23*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/enterpriseknowledgegraph/v1/job_state.proto";
24*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto";
25*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/empty.proto";
26*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/struct.proto";
27*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/timestamp.proto";
28*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/wrappers.proto";
29*d5c09012SAndroid Build Coastguard Workerimport "google/rpc/status.proto";
30*d5c09012SAndroid Build Coastguard Worker
31*d5c09012SAndroid Build Coastguard Workeroption csharp_namespace = "Google.Cloud.EnterpriseKnowledgeGraph.V1";
32*d5c09012SAndroid Build Coastguard Workeroption go_package = "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb";
33*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true;
34*d5c09012SAndroid Build Coastguard Workeroption java_outer_classname = "ServiceProto";
35*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.cloud.enterpriseknowledgegraph.v1";
36*d5c09012SAndroid Build Coastguard Workeroption php_namespace = "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1";
37*d5c09012SAndroid Build Coastguard Workeroption ruby_package = "Google::Cloud::EnterpriseKnowledgeGraph::V1";
38*d5c09012SAndroid Build Coastguard Workeroption (google.api.resource_definition) = {
39*d5c09012SAndroid Build Coastguard Worker  type: "bigquery.googleapis.com/Dataset"
40*d5c09012SAndroid Build Coastguard Worker  pattern: "projects/{project}/datasets/{dataset}"
41*d5c09012SAndroid Build Coastguard Worker};
42*d5c09012SAndroid Build Coastguard Workeroption (google.api.resource_definition) = {
43*d5c09012SAndroid Build Coastguard Worker  type: "bigquery.googleapis.com/Table"
44*d5c09012SAndroid Build Coastguard Worker  pattern: "projects/{project}/datasets/{dataset}/tables/{table}"
45*d5c09012SAndroid Build Coastguard Worker};
46*d5c09012SAndroid Build Coastguard Workeroption (google.api.resource_definition) = {
47*d5c09012SAndroid Build Coastguard Worker  type: "enterpriseknowledgegraph.googleapis.com/CloudKnowledgeGraphEntity"
48*d5c09012SAndroid Build Coastguard Worker  pattern: "projects/{project}/locations/{location}/cloudKnowledgeGraphEntities/{cloud_knowledge_graph_entity}"
49*d5c09012SAndroid Build Coastguard Worker};
50*d5c09012SAndroid Build Coastguard Workeroption (google.api.resource_definition) = {
51*d5c09012SAndroid Build Coastguard Worker  type: "enterpriseknowledgegraph.googleapis.com/PublicKnowledgeGraphEntity"
52*d5c09012SAndroid Build Coastguard Worker  pattern: "projects/{project}/locations/{location}/publicKnowledgeGraphEntities/{public_knowledge_graph_entity}"
53*d5c09012SAndroid Build Coastguard Worker};
54*d5c09012SAndroid Build Coastguard Worker
55*d5c09012SAndroid Build Coastguard Worker// APIs for enterprise knowledge graph product.
56*d5c09012SAndroid Build Coastguard Workerservice EnterpriseKnowledgeGraphService {
57*d5c09012SAndroid Build Coastguard Worker  option (google.api.default_host) = "enterpriseknowledgegraph.googleapis.com";
58*d5c09012SAndroid Build Coastguard Worker  option (google.api.oauth_scopes) =
59*d5c09012SAndroid Build Coastguard Worker      "https://www.googleapis.com/auth/cloud-platform";
60*d5c09012SAndroid Build Coastguard Worker
61*d5c09012SAndroid Build Coastguard Worker  // Creates a EntityReconciliationJob. A EntityReconciliationJob once created
62*d5c09012SAndroid Build Coastguard Worker  // will right away be attempted to start.
63*d5c09012SAndroid Build Coastguard Worker  rpc CreateEntityReconciliationJob(CreateEntityReconciliationJobRequest)
64*d5c09012SAndroid Build Coastguard Worker      returns (EntityReconciliationJob) {
65*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
66*d5c09012SAndroid Build Coastguard Worker      post: "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs"
67*d5c09012SAndroid Build Coastguard Worker      body: "entity_reconciliation_job"
68*d5c09012SAndroid Build Coastguard Worker    };
69*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent,entity_reconciliation_job";
70*d5c09012SAndroid Build Coastguard Worker  }
71*d5c09012SAndroid Build Coastguard Worker
72*d5c09012SAndroid Build Coastguard Worker  // Gets a EntityReconciliationJob.
73*d5c09012SAndroid Build Coastguard Worker  rpc GetEntityReconciliationJob(GetEntityReconciliationJobRequest)
74*d5c09012SAndroid Build Coastguard Worker      returns (EntityReconciliationJob) {
75*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
76*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}"
77*d5c09012SAndroid Build Coastguard Worker    };
78*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "name";
79*d5c09012SAndroid Build Coastguard Worker  }
80*d5c09012SAndroid Build Coastguard Worker
81*d5c09012SAndroid Build Coastguard Worker  // Lists Entity Reconciliation Jobs.
82*d5c09012SAndroid Build Coastguard Worker  rpc ListEntityReconciliationJobs(ListEntityReconciliationJobsRequest)
83*d5c09012SAndroid Build Coastguard Worker      returns (ListEntityReconciliationJobsResponse) {
84*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
85*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs"
86*d5c09012SAndroid Build Coastguard Worker    };
87*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent";
88*d5c09012SAndroid Build Coastguard Worker  }
89*d5c09012SAndroid Build Coastguard Worker
90*d5c09012SAndroid Build Coastguard Worker  // Cancels a EntityReconciliationJob. Success of cancellation is not
91*d5c09012SAndroid Build Coastguard Worker  // guaranteed.
92*d5c09012SAndroid Build Coastguard Worker  rpc CancelEntityReconciliationJob(CancelEntityReconciliationJobRequest)
93*d5c09012SAndroid Build Coastguard Worker      returns (google.protobuf.Empty) {
94*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
95*d5c09012SAndroid Build Coastguard Worker      post: "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}:cancel"
96*d5c09012SAndroid Build Coastguard Worker      body: "*"
97*d5c09012SAndroid Build Coastguard Worker    };
98*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "name";
99*d5c09012SAndroid Build Coastguard Worker  }
100*d5c09012SAndroid Build Coastguard Worker
101*d5c09012SAndroid Build Coastguard Worker  // Deletes a EntityReconciliationJob.
102*d5c09012SAndroid Build Coastguard Worker  // It only deletes the job when the job state is in FAILED, SUCCEEDED, and
103*d5c09012SAndroid Build Coastguard Worker  // CANCELLED.
104*d5c09012SAndroid Build Coastguard Worker  rpc DeleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest)
105*d5c09012SAndroid Build Coastguard Worker      returns (google.protobuf.Empty) {
106*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
107*d5c09012SAndroid Build Coastguard Worker      delete: "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}"
108*d5c09012SAndroid Build Coastguard Worker    };
109*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "name";
110*d5c09012SAndroid Build Coastguard Worker  }
111*d5c09012SAndroid Build Coastguard Worker
112*d5c09012SAndroid Build Coastguard Worker  // Finds the Cloud KG entities with CKG ID(s).
113*d5c09012SAndroid Build Coastguard Worker  rpc Lookup(LookupRequest) returns (LookupResponse) {
114*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
115*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Lookup"
116*d5c09012SAndroid Build Coastguard Worker    };
117*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent,ids";
118*d5c09012SAndroid Build Coastguard Worker  }
119*d5c09012SAndroid Build Coastguard Worker
120*d5c09012SAndroid Build Coastguard Worker  // Searches the Cloud KG entities with entity name.
121*d5c09012SAndroid Build Coastguard Worker  rpc Search(SearchRequest) returns (SearchResponse) {
122*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
123*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Search"
124*d5c09012SAndroid Build Coastguard Worker    };
125*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent,query";
126*d5c09012SAndroid Build Coastguard Worker  }
127*d5c09012SAndroid Build Coastguard Worker
128*d5c09012SAndroid Build Coastguard Worker  // Finds the public KG entities with public KG ID(s).
129*d5c09012SAndroid Build Coastguard Worker  rpc LookupPublicKg(LookupPublicKgRequest) returns (LookupPublicKgResponse) {
130*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
131*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Lookup"
132*d5c09012SAndroid Build Coastguard Worker    };
133*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent,ids";
134*d5c09012SAndroid Build Coastguard Worker  }
135*d5c09012SAndroid Build Coastguard Worker
136*d5c09012SAndroid Build Coastguard Worker  // Searches the public KG entities with entity name.
137*d5c09012SAndroid Build Coastguard Worker  rpc SearchPublicKg(SearchPublicKgRequest) returns (SearchPublicKgResponse) {
138*d5c09012SAndroid Build Coastguard Worker    option (google.api.http) = {
139*d5c09012SAndroid Build Coastguard Worker      get: "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Search"
140*d5c09012SAndroid Build Coastguard Worker    };
141*d5c09012SAndroid Build Coastguard Worker    option (google.api.method_signature) = "parent,query";
142*d5c09012SAndroid Build Coastguard Worker  }
143*d5c09012SAndroid Build Coastguard Worker}
144*d5c09012SAndroid Build Coastguard Worker
145*d5c09012SAndroid Build Coastguard Worker// The desired input location and metadata.
146*d5c09012SAndroid Build Coastguard Workermessage InputConfig {
147*d5c09012SAndroid Build Coastguard Worker  // The type of entities we will support. Currently, we only support people,
148*d5c09012SAndroid Build Coastguard Worker  // establishment, property, and product types. If the type is
149*d5c09012SAndroid Build Coastguard Worker  // unspecified, it will be generic type.
150*d5c09012SAndroid Build Coastguard Worker  enum EntityType {
151*d5c09012SAndroid Build Coastguard Worker    // The default value.
152*d5c09012SAndroid Build Coastguard Worker    ENTITY_TYPE_UNSPECIFIED = 0;
153*d5c09012SAndroid Build Coastguard Worker
154*d5c09012SAndroid Build Coastguard Worker    // People entity.
155*d5c09012SAndroid Build Coastguard Worker    PEOPLE = 1 [deprecated = true];
156*d5c09012SAndroid Build Coastguard Worker
157*d5c09012SAndroid Build Coastguard Worker    // Establishment entity.
158*d5c09012SAndroid Build Coastguard Worker    ESTABLISHMENT = 2 [deprecated = true];
159*d5c09012SAndroid Build Coastguard Worker
160*d5c09012SAndroid Build Coastguard Worker    // Property entity. e.g. real estate property.
161*d5c09012SAndroid Build Coastguard Worker    PROPERTY = 3 [deprecated = true];
162*d5c09012SAndroid Build Coastguard Worker
163*d5c09012SAndroid Build Coastguard Worker    // Product entity.
164*d5c09012SAndroid Build Coastguard Worker    PRODUCT = 4;
165*d5c09012SAndroid Build Coastguard Worker
166*d5c09012SAndroid Build Coastguard Worker    // Organization entity.
167*d5c09012SAndroid Build Coastguard Worker    ORGANIZATION = 5;
168*d5c09012SAndroid Build Coastguard Worker
169*d5c09012SAndroid Build Coastguard Worker    // Local Business entity.
170*d5c09012SAndroid Build Coastguard Worker    LOCAL_BUSINESS = 6;
171*d5c09012SAndroid Build Coastguard Worker
172*d5c09012SAndroid Build Coastguard Worker    // Person entity.
173*d5c09012SAndroid Build Coastguard Worker    PERSON = 7;
174*d5c09012SAndroid Build Coastguard Worker  }
175*d5c09012SAndroid Build Coastguard Worker
176*d5c09012SAndroid Build Coastguard Worker  // Set of input BigQuery tables.
177*d5c09012SAndroid Build Coastguard Worker  repeated BigQueryInputConfig bigquery_input_configs = 1;
178*d5c09012SAndroid Build Coastguard Worker
179*d5c09012SAndroid Build Coastguard Worker  // Entity type
180*d5c09012SAndroid Build Coastguard Worker  EntityType entity_type = 2;
181*d5c09012SAndroid Build Coastguard Worker
182*d5c09012SAndroid Build Coastguard Worker  // Optional. Provide the bigquery table containing the previous results if
183*d5c09012SAndroid Build Coastguard Worker  // cluster ID stability is desired. Format is
184*d5c09012SAndroid Build Coastguard Worker  // `projects/*/datasets/*/tables/*`.
185*d5c09012SAndroid Build Coastguard Worker  string previous_result_bigquery_table = 3 [
186*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = OPTIONAL,
187*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = { type: "bigquery.googleapis.com/Table" }
188*d5c09012SAndroid Build Coastguard Worker  ];
189*d5c09012SAndroid Build Coastguard Worker}
190*d5c09012SAndroid Build Coastguard Worker
191*d5c09012SAndroid Build Coastguard Worker// The input config for BigQuery tables.
192*d5c09012SAndroid Build Coastguard Workermessage BigQueryInputConfig {
193*d5c09012SAndroid Build Coastguard Worker  // Required. Format is `projects/*/datasets/*/tables/*`.
194*d5c09012SAndroid Build Coastguard Worker  string bigquery_table = 1 [
195*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
196*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = { type: "bigquery.googleapis.com/Table" }
197*d5c09012SAndroid Build Coastguard Worker  ];
198*d5c09012SAndroid Build Coastguard Worker
199*d5c09012SAndroid Build Coastguard Worker  // Required. Schema mapping file
200*d5c09012SAndroid Build Coastguard Worker  string gcs_uri = 2 [(google.api.field_behavior) = REQUIRED];
201*d5c09012SAndroid Build Coastguard Worker}
202*d5c09012SAndroid Build Coastguard Worker
203*d5c09012SAndroid Build Coastguard Worker// The desired output location and metadata.
204*d5c09012SAndroid Build Coastguard Workermessage OutputConfig {
205*d5c09012SAndroid Build Coastguard Worker  // Format is “projects/*/datasets/*”.
206*d5c09012SAndroid Build Coastguard Worker  string bigquery_dataset = 1 [(google.api.resource_reference) = {
207*d5c09012SAndroid Build Coastguard Worker    type: "bigquery.googleapis.com/Dataset"
208*d5c09012SAndroid Build Coastguard Worker  }];
209*d5c09012SAndroid Build Coastguard Worker}
210*d5c09012SAndroid Build Coastguard Worker
211*d5c09012SAndroid Build Coastguard Worker// Recon configs
212*d5c09012SAndroid Build Coastguard Workermessage ReconConfig {
213*d5c09012SAndroid Build Coastguard Worker  // Options for experimental changes on entity clustering behavior.
214*d5c09012SAndroid Build Coastguard Worker  message Options {
215*d5c09012SAndroid Build Coastguard Worker    // If true, separate clusters by their geographic region (from geocoding).
216*d5c09012SAndroid Build Coastguard Worker    // Uses the following entity features:
217*d5c09012SAndroid Build Coastguard Worker    //
218*d5c09012SAndroid Build Coastguard Worker    // - schema.org/addressLocality
219*d5c09012SAndroid Build Coastguard Worker    // - schema.org/addressRegion
220*d5c09012SAndroid Build Coastguard Worker    // - schema.org/addressCountry
221*d5c09012SAndroid Build Coastguard Worker    // Warning: processing will no longer be regionalized!
222*d5c09012SAndroid Build Coastguard Worker    bool enable_geocoding_separation = 100;
223*d5c09012SAndroid Build Coastguard Worker  }
224*d5c09012SAndroid Build Coastguard Worker
225*d5c09012SAndroid Build Coastguard Worker  // Model Configs
226*d5c09012SAndroid Build Coastguard Worker  message ModelConfig {
227*d5c09012SAndroid Build Coastguard Worker    // Model name. Refer to external documentation for valid names.
228*d5c09012SAndroid Build Coastguard Worker    // If unspecified, it defaults to the one mentioned in the documentation.
229*d5c09012SAndroid Build Coastguard Worker    string model_name = 1;
230*d5c09012SAndroid Build Coastguard Worker
231*d5c09012SAndroid Build Coastguard Worker    // Model version tag. Refer to external documentation for valid tags.
232*d5c09012SAndroid Build Coastguard Worker    // If unspecified, it defaults to the one mentioned in the documentation.
233*d5c09012SAndroid Build Coastguard Worker    string version_tag = 2;
234*d5c09012SAndroid Build Coastguard Worker  }
235*d5c09012SAndroid Build Coastguard Worker
236*d5c09012SAndroid Build Coastguard Worker  // Choice of clustering algorithm. Default is ConnectedComponentsConfig.
237*d5c09012SAndroid Build Coastguard Worker  oneof clustering_config {
238*d5c09012SAndroid Build Coastguard Worker    // Configs for connected components.
239*d5c09012SAndroid Build Coastguard Worker    ConnectedComponentsConfig connected_components_config = 1;
240*d5c09012SAndroid Build Coastguard Worker
241*d5c09012SAndroid Build Coastguard Worker    // Configs for affinity clustering.
242*d5c09012SAndroid Build Coastguard Worker    AffinityClusteringConfig affinity_clustering_config = 2;
243*d5c09012SAndroid Build Coastguard Worker  }
244*d5c09012SAndroid Build Coastguard Worker
245*d5c09012SAndroid Build Coastguard Worker  // Extra options that affect entity clustering behavior.
246*d5c09012SAndroid Build Coastguard Worker  Options options = 3;
247*d5c09012SAndroid Build Coastguard Worker
248*d5c09012SAndroid Build Coastguard Worker  // Model Configs
249*d5c09012SAndroid Build Coastguard Worker  ModelConfig model_config = 4;
250*d5c09012SAndroid Build Coastguard Worker}
251*d5c09012SAndroid Build Coastguard Worker
252*d5c09012SAndroid Build Coastguard Worker// Options for connected components.
253*d5c09012SAndroid Build Coastguard Workermessage ConnectedComponentsConfig {
254*d5c09012SAndroid Build Coastguard Worker  // Threshold used for connected components. Default value is 0.85.
255*d5c09012SAndroid Build Coastguard Worker  float weight_threshold = 1;
256*d5c09012SAndroid Build Coastguard Worker}
257*d5c09012SAndroid Build Coastguard Worker
258*d5c09012SAndroid Build Coastguard Worker// Options for affinity clustering.
259*d5c09012SAndroid Build Coastguard Workermessage AffinityClusteringConfig {
260*d5c09012SAndroid Build Coastguard Worker  // Number of iterations to perform. Default value is 1.
261*d5c09012SAndroid Build Coastguard Worker  int64 compression_round_count = 1;
262*d5c09012SAndroid Build Coastguard Worker}
263*d5c09012SAndroid Build Coastguard Worker
264*d5c09012SAndroid Build Coastguard Worker// Details of operations that perform deletes of any entities.
265*d5c09012SAndroid Build Coastguard Workermessage DeleteOperationMetadata {
266*d5c09012SAndroid Build Coastguard Worker  // The common part of the operation metadata.
267*d5c09012SAndroid Build Coastguard Worker  CommonOperationMetadata common_metadata = 1;
268*d5c09012SAndroid Build Coastguard Worker}
269*d5c09012SAndroid Build Coastguard Worker
270*d5c09012SAndroid Build Coastguard Worker// Request message for CreateEntityReconciliationJob.
271*d5c09012SAndroid Build Coastguard Workermessage CreateEntityReconciliationJobRequest {
272*d5c09012SAndroid Build Coastguard Worker  // Required. The resource name of the Location to create the
273*d5c09012SAndroid Build Coastguard Worker  // EntityReconciliationJob in. Format:
274*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}`
275*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
276*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
277*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
278*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
279*d5c09012SAndroid Build Coastguard Worker    }
280*d5c09012SAndroid Build Coastguard Worker  ];
281*d5c09012SAndroid Build Coastguard Worker
282*d5c09012SAndroid Build Coastguard Worker  // Required. The EntityReconciliationJob to create.
283*d5c09012SAndroid Build Coastguard Worker  EntityReconciliationJob entity_reconciliation_job = 2
284*d5c09012SAndroid Build Coastguard Worker      [(google.api.field_behavior) = REQUIRED];
285*d5c09012SAndroid Build Coastguard Worker}
286*d5c09012SAndroid Build Coastguard Worker
287*d5c09012SAndroid Build Coastguard Worker// Request message for GetEntityReconciliationJob.
288*d5c09012SAndroid Build Coastguard Workermessage GetEntityReconciliationJobRequest {
289*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the EntityReconciliationJob resource.
290*d5c09012SAndroid Build Coastguard Worker  // Format:
291*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
292*d5c09012SAndroid Build Coastguard Worker  string name = 1 [
293*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
294*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
295*d5c09012SAndroid Build Coastguard Worker      type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
296*d5c09012SAndroid Build Coastguard Worker    }
297*d5c09012SAndroid Build Coastguard Worker  ];
298*d5c09012SAndroid Build Coastguard Worker}
299*d5c09012SAndroid Build Coastguard Worker
300*d5c09012SAndroid Build Coastguard Worker// Request message for
301*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
302*d5c09012SAndroid Build Coastguard Workermessage ListEntityReconciliationJobsRequest {
303*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the EntityReconciliationJob's parent resource.
304*d5c09012SAndroid Build Coastguard Worker  // Format: `projects/{project}/locations/{location}`
305*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
306*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
307*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
308*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
309*d5c09012SAndroid Build Coastguard Worker    }
310*d5c09012SAndroid Build Coastguard Worker  ];
311*d5c09012SAndroid Build Coastguard Worker
312*d5c09012SAndroid Build Coastguard Worker  // An expression for filtering the results of the request. For field names
313*d5c09012SAndroid Build Coastguard Worker  // both snake_case and camelCase are supported.
314*d5c09012SAndroid Build Coastguard Worker  string filter = 2;
315*d5c09012SAndroid Build Coastguard Worker
316*d5c09012SAndroid Build Coastguard Worker  // The standard list page size.
317*d5c09012SAndroid Build Coastguard Worker  int32 page_size = 3;
318*d5c09012SAndroid Build Coastguard Worker
319*d5c09012SAndroid Build Coastguard Worker  // The standard list page token.
320*d5c09012SAndroid Build Coastguard Worker  string page_token = 4;
321*d5c09012SAndroid Build Coastguard Worker}
322*d5c09012SAndroid Build Coastguard Worker
323*d5c09012SAndroid Build Coastguard Worker// Response message for
324*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
325*d5c09012SAndroid Build Coastguard Workermessage ListEntityReconciliationJobsResponse {
326*d5c09012SAndroid Build Coastguard Worker  // A list of EntityReconciliationJobs that matches the specified filter in the
327*d5c09012SAndroid Build Coastguard Worker  // request.
328*d5c09012SAndroid Build Coastguard Worker  repeated EntityReconciliationJob entity_reconciliation_jobs = 1;
329*d5c09012SAndroid Build Coastguard Worker
330*d5c09012SAndroid Build Coastguard Worker  // The standard List next-page token.
331*d5c09012SAndroid Build Coastguard Worker  string next_page_token = 2;
332*d5c09012SAndroid Build Coastguard Worker}
333*d5c09012SAndroid Build Coastguard Worker
334*d5c09012SAndroid Build Coastguard Worker// Request message for CancelEntityReconciliationJob.
335*d5c09012SAndroid Build Coastguard Workermessage CancelEntityReconciliationJobRequest {
336*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the EntityReconciliationJob resource.
337*d5c09012SAndroid Build Coastguard Worker  // Format:
338*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
339*d5c09012SAndroid Build Coastguard Worker  string name = 1 [
340*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
341*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
342*d5c09012SAndroid Build Coastguard Worker      type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
343*d5c09012SAndroid Build Coastguard Worker    }
344*d5c09012SAndroid Build Coastguard Worker  ];
345*d5c09012SAndroid Build Coastguard Worker}
346*d5c09012SAndroid Build Coastguard Worker
347*d5c09012SAndroid Build Coastguard Worker// Request message for DeleteEntityReconciliationJob.
348*d5c09012SAndroid Build Coastguard Workermessage DeleteEntityReconciliationJobRequest {
349*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the EntityReconciliationJob resource.
350*d5c09012SAndroid Build Coastguard Worker  // Format:
351*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
352*d5c09012SAndroid Build Coastguard Worker  string name = 1 [
353*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
354*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
355*d5c09012SAndroid Build Coastguard Worker      type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
356*d5c09012SAndroid Build Coastguard Worker    }
357*d5c09012SAndroid Build Coastguard Worker  ];
358*d5c09012SAndroid Build Coastguard Worker}
359*d5c09012SAndroid Build Coastguard Worker
360*d5c09012SAndroid Build Coastguard Worker// Entity reconciliation job message.
361*d5c09012SAndroid Build Coastguard Workermessage EntityReconciliationJob {
362*d5c09012SAndroid Build Coastguard Worker  option (google.api.resource) = {
363*d5c09012SAndroid Build Coastguard Worker    type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
364*d5c09012SAndroid Build Coastguard Worker    pattern: "projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}"
365*d5c09012SAndroid Build Coastguard Worker  };
366*d5c09012SAndroid Build Coastguard Worker
367*d5c09012SAndroid Build Coastguard Worker  // Output only. Resource name of the EntityReconciliationJob.
368*d5c09012SAndroid Build Coastguard Worker  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
369*d5c09012SAndroid Build Coastguard Worker
370*d5c09012SAndroid Build Coastguard Worker  // Required. Information about the input BigQuery tables.
371*d5c09012SAndroid Build Coastguard Worker  InputConfig input_config = 2 [(google.api.field_behavior) = REQUIRED];
372*d5c09012SAndroid Build Coastguard Worker
373*d5c09012SAndroid Build Coastguard Worker  // Required. The desired output location.
374*d5c09012SAndroid Build Coastguard Worker  OutputConfig output_config = 3 [(google.api.field_behavior) = REQUIRED];
375*d5c09012SAndroid Build Coastguard Worker
376*d5c09012SAndroid Build Coastguard Worker  // Output only. The detailed state of the job.
377*d5c09012SAndroid Build Coastguard Worker  JobState state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
378*d5c09012SAndroid Build Coastguard Worker
379*d5c09012SAndroid Build Coastguard Worker  // Output only. Only populated when the job's state is JOB_STATE_FAILED or
380*d5c09012SAndroid Build Coastguard Worker  // JOB_STATE_CANCELLED.
381*d5c09012SAndroid Build Coastguard Worker  google.rpc.Status error = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
382*d5c09012SAndroid Build Coastguard Worker
383*d5c09012SAndroid Build Coastguard Worker  // Output only. Time when the EntityReconciliationJob was created.
384*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Timestamp create_time = 6
385*d5c09012SAndroid Build Coastguard Worker      [(google.api.field_behavior) = OUTPUT_ONLY];
386*d5c09012SAndroid Build Coastguard Worker
387*d5c09012SAndroid Build Coastguard Worker  // Output only. Time when the EntityReconciliationJob entered any of the
388*d5c09012SAndroid Build Coastguard Worker  // following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
389*d5c09012SAndroid Build Coastguard Worker  // `JOB_STATE_CANCELLED`.
390*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Timestamp end_time = 7
391*d5c09012SAndroid Build Coastguard Worker      [(google.api.field_behavior) = OUTPUT_ONLY];
392*d5c09012SAndroid Build Coastguard Worker
393*d5c09012SAndroid Build Coastguard Worker  // Output only. Time when the EntityReconciliationJob was most recently
394*d5c09012SAndroid Build Coastguard Worker  // updated.
395*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Timestamp update_time = 8
396*d5c09012SAndroid Build Coastguard Worker      [(google.api.field_behavior) = OUTPUT_ONLY];
397*d5c09012SAndroid Build Coastguard Worker
398*d5c09012SAndroid Build Coastguard Worker  // Optional. Recon configs to adjust the clustering behavior.
399*d5c09012SAndroid Build Coastguard Worker  ReconConfig recon_config = 9 [(google.api.field_behavior) = OPTIONAL];
400*d5c09012SAndroid Build Coastguard Worker}
401*d5c09012SAndroid Build Coastguard Worker
402*d5c09012SAndroid Build Coastguard Worker// Request message for
403*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Lookup][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Lookup].
404*d5c09012SAndroid Build Coastguard Workermessage LookupRequest {
405*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the Entity's parent resource.
406*d5c09012SAndroid Build Coastguard Worker  // Format:
407*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}`
408*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
409*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
410*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
411*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/CloudKnowledgeGraphEntity"
412*d5c09012SAndroid Build Coastguard Worker    }
413*d5c09012SAndroid Build Coastguard Worker  ];
414*d5c09012SAndroid Build Coastguard Worker
415*d5c09012SAndroid Build Coastguard Worker  // Required. The list of entity ids to be used for lookup.
416*d5c09012SAndroid Build Coastguard Worker  repeated string ids = 2 [(google.api.field_behavior) = REQUIRED];
417*d5c09012SAndroid Build Coastguard Worker
418*d5c09012SAndroid Build Coastguard Worker  // The list of language codes (defined in ISO 693) to run the query with,
419*d5c09012SAndroid Build Coastguard Worker  // e.g. 'en'.
420*d5c09012SAndroid Build Coastguard Worker  repeated string languages = 3;
421*d5c09012SAndroid Build Coastguard Worker}
422*d5c09012SAndroid Build Coastguard Worker
423*d5c09012SAndroid Build Coastguard Worker// Response message for
424*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Lookup][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Lookup].
425*d5c09012SAndroid Build Coastguard Workermessage LookupResponse {
426*d5c09012SAndroid Build Coastguard Worker  // The local context applicable for the response. See more details at
427*d5c09012SAndroid Build Coastguard Worker  // http://www.w3.org/TR/json-ld/#context-definitions.
428*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value context = 1;
429*d5c09012SAndroid Build Coastguard Worker
430*d5c09012SAndroid Build Coastguard Worker  // The schema type of top-level JSON-LD object, e.g. ItemList.
431*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value type = 2;
432*d5c09012SAndroid Build Coastguard Worker
433*d5c09012SAndroid Build Coastguard Worker  // The item list of search results.
434*d5c09012SAndroid Build Coastguard Worker  google.protobuf.ListValue item_list_element = 3;
435*d5c09012SAndroid Build Coastguard Worker}
436*d5c09012SAndroid Build Coastguard Worker
437*d5c09012SAndroid Build Coastguard Worker// Request message for
438*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].
439*d5c09012SAndroid Build Coastguard Workermessage SearchRequest {
440*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the Entity's parent resource.
441*d5c09012SAndroid Build Coastguard Worker  // Format:
442*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}`
443*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
444*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
445*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
446*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/CloudKnowledgeGraphEntity"
447*d5c09012SAndroid Build Coastguard Worker    }
448*d5c09012SAndroid Build Coastguard Worker  ];
449*d5c09012SAndroid Build Coastguard Worker
450*d5c09012SAndroid Build Coastguard Worker  // Required. The literal query string for search.
451*d5c09012SAndroid Build Coastguard Worker  string query = 2 [(google.api.field_behavior) = REQUIRED];
452*d5c09012SAndroid Build Coastguard Worker
453*d5c09012SAndroid Build Coastguard Worker  // The list of language codes (defined in ISO 693) to run the query with,
454*d5c09012SAndroid Build Coastguard Worker  // e.g. 'en'.
455*d5c09012SAndroid Build Coastguard Worker  repeated string languages = 3;
456*d5c09012SAndroid Build Coastguard Worker
457*d5c09012SAndroid Build Coastguard Worker  // Restricts returned entities with these types, e.g. Person
458*d5c09012SAndroid Build Coastguard Worker  // (as defined in http://schema.org/Person). If multiple types are specified,
459*d5c09012SAndroid Build Coastguard Worker  // returned entities will contain one or more of these types.
460*d5c09012SAndroid Build Coastguard Worker  repeated string types = 4;
461*d5c09012SAndroid Build Coastguard Worker
462*d5c09012SAndroid Build Coastguard Worker  // Limits the number of entities to be returned.
463*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Int32Value limit = 6;
464*d5c09012SAndroid Build Coastguard Worker}
465*d5c09012SAndroid Build Coastguard Worker
466*d5c09012SAndroid Build Coastguard Worker// Response message for
467*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].
468*d5c09012SAndroid Build Coastguard Workermessage SearchResponse {
469*d5c09012SAndroid Build Coastguard Worker  // The local context applicable for the response. See more details at
470*d5c09012SAndroid Build Coastguard Worker  // http://www.w3.org/TR/json-ld/#context-definitions.
471*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value context = 1;
472*d5c09012SAndroid Build Coastguard Worker
473*d5c09012SAndroid Build Coastguard Worker  // The schema type of top-level JSON-LD object, e.g. ItemList.
474*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value type = 2;
475*d5c09012SAndroid Build Coastguard Worker
476*d5c09012SAndroid Build Coastguard Worker  // The item list of search results.
477*d5c09012SAndroid Build Coastguard Worker  google.protobuf.ListValue item_list_element = 3;
478*d5c09012SAndroid Build Coastguard Worker}
479*d5c09012SAndroid Build Coastguard Worker
480*d5c09012SAndroid Build Coastguard Worker// Request message for
481*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.LookupPublicKg][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg].
482*d5c09012SAndroid Build Coastguard Workermessage LookupPublicKgRequest {
483*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the Entity's parent resource.
484*d5c09012SAndroid Build Coastguard Worker  // Format:
485*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}`
486*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
487*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
488*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
489*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/PublicKnowledgeGraphEntity"
490*d5c09012SAndroid Build Coastguard Worker    }
491*d5c09012SAndroid Build Coastguard Worker  ];
492*d5c09012SAndroid Build Coastguard Worker
493*d5c09012SAndroid Build Coastguard Worker  // Required. The list of entity ids to be used for lookup.
494*d5c09012SAndroid Build Coastguard Worker  repeated string ids = 2 [(google.api.field_behavior) = REQUIRED];
495*d5c09012SAndroid Build Coastguard Worker
496*d5c09012SAndroid Build Coastguard Worker  // The list of language codes (defined in ISO 693) to run the query with,
497*d5c09012SAndroid Build Coastguard Worker  // e.g. 'en'.
498*d5c09012SAndroid Build Coastguard Worker  repeated string languages = 3;
499*d5c09012SAndroid Build Coastguard Worker}
500*d5c09012SAndroid Build Coastguard Worker
501*d5c09012SAndroid Build Coastguard Worker// Response message for
502*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.LookupPublicKg][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg].
503*d5c09012SAndroid Build Coastguard Workermessage LookupPublicKgResponse {
504*d5c09012SAndroid Build Coastguard Worker  // The local context applicable for the response. See more details at
505*d5c09012SAndroid Build Coastguard Worker  // http://www.w3.org/TR/json-ld/#context-definitions.
506*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value context = 1;
507*d5c09012SAndroid Build Coastguard Worker
508*d5c09012SAndroid Build Coastguard Worker  // The schema type of top-level JSON-LD object, e.g. ItemList.
509*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value type = 2;
510*d5c09012SAndroid Build Coastguard Worker
511*d5c09012SAndroid Build Coastguard Worker  // The item list of search results.
512*d5c09012SAndroid Build Coastguard Worker  google.protobuf.ListValue item_list_element = 3;
513*d5c09012SAndroid Build Coastguard Worker}
514*d5c09012SAndroid Build Coastguard Worker
515*d5c09012SAndroid Build Coastguard Worker// Request message for
516*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].
517*d5c09012SAndroid Build Coastguard Workermessage SearchPublicKgRequest {
518*d5c09012SAndroid Build Coastguard Worker  // Required. The name of the Entity's parent resource.
519*d5c09012SAndroid Build Coastguard Worker  // Format:
520*d5c09012SAndroid Build Coastguard Worker  // `projects/{project}/locations/{location}`
521*d5c09012SAndroid Build Coastguard Worker  string parent = 1 [
522*d5c09012SAndroid Build Coastguard Worker    (google.api.field_behavior) = REQUIRED,
523*d5c09012SAndroid Build Coastguard Worker    (google.api.resource_reference) = {
524*d5c09012SAndroid Build Coastguard Worker      child_type: "enterpriseknowledgegraph.googleapis.com/PublicKnowledgeGraphEntity"
525*d5c09012SAndroid Build Coastguard Worker    }
526*d5c09012SAndroid Build Coastguard Worker  ];
527*d5c09012SAndroid Build Coastguard Worker
528*d5c09012SAndroid Build Coastguard Worker  // Required. The literal query string for search.
529*d5c09012SAndroid Build Coastguard Worker  string query = 2 [(google.api.field_behavior) = REQUIRED];
530*d5c09012SAndroid Build Coastguard Worker
531*d5c09012SAndroid Build Coastguard Worker  // The list of language codes (defined in ISO 693) to run the query with,
532*d5c09012SAndroid Build Coastguard Worker  // e.g. 'en'.
533*d5c09012SAndroid Build Coastguard Worker  repeated string languages = 3;
534*d5c09012SAndroid Build Coastguard Worker
535*d5c09012SAndroid Build Coastguard Worker  // Restricts returned entities with these types, e.g. Person
536*d5c09012SAndroid Build Coastguard Worker  // (as defined in http://schema.org/Person). If multiple types are specified,
537*d5c09012SAndroid Build Coastguard Worker  // returned entities will contain one or more of these types.
538*d5c09012SAndroid Build Coastguard Worker  repeated string types = 4;
539*d5c09012SAndroid Build Coastguard Worker
540*d5c09012SAndroid Build Coastguard Worker  // Limits the number of entities to be returned.
541*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Int32Value limit = 6;
542*d5c09012SAndroid Build Coastguard Worker}
543*d5c09012SAndroid Build Coastguard Worker
544*d5c09012SAndroid Build Coastguard Worker// Response message for
545*d5c09012SAndroid Build Coastguard Worker// [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].
546*d5c09012SAndroid Build Coastguard Workermessage SearchPublicKgResponse {
547*d5c09012SAndroid Build Coastguard Worker  // The local context applicable for the response. See more details at
548*d5c09012SAndroid Build Coastguard Worker  // http://www.w3.org/TR/json-ld/#context-definitions.
549*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value context = 1;
550*d5c09012SAndroid Build Coastguard Worker
551*d5c09012SAndroid Build Coastguard Worker  // The schema type of top-level JSON-LD object, e.g. ItemList.
552*d5c09012SAndroid Build Coastguard Worker  google.protobuf.Value type = 2;
553*d5c09012SAndroid Build Coastguard Worker
554*d5c09012SAndroid Build Coastguard Worker  // The item list of search results.
555*d5c09012SAndroid Build Coastguard Worker  google.protobuf.ListValue item_list_element = 3;
556*d5c09012SAndroid Build Coastguard Worker}
557