Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions java-enterpriseknowledgegraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-enterpriseknowledgegraph</artifactId>
<version>0.0.0</version>
<version>0.1.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.0.0'
implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.1.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.0.0"
libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.1.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_STATE_CANCELLED\020\004\022\"\n\036JOB_STATE_KNOWLEDG"
+ "E_EXTRACTION\020\005\022!\n\035JOB_STATE_RECON_PREPRO"
+ "CESSING\020\006\022\030\n\024JOB_STATE_CLUSTERING\020\007\022 \n\034J"
+ "OB_STATE_EXPORTING_CLUSTERS\020\010B\241\001\n,com.go"
+ "OB_STATE_EXPORTING_CLUSTERS\020\010B\245\002\n,com.go"
+ "ogle.cloud.enterpriseknowledgegraph.v1B\r"
+ "JobStateProtoP\001Z`google.golang.org/genpr"
+ "oto/googleapis/cloud/enterpriseknowledge"
+ "graph/v1;enterpriseknowledgegraphb\006proto"
+ "3"
+ "graph/v1;enterpriseknowledgegraph\252\002(Goog"
+ "le.Cloud.EnterpriseKnowledgeGraph.V1\312\002(G"
+ "oogle\\Cloud\\EnterpriseKnowledgeGraph\\V1\352"
+ "\002+Google::Cloud::EnterpriseKnowledgeGrap"
+ "h::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"r\n\005"
+ "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020"
+ "\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAIL"
+ "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\252\001\n,com"
+ "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\256\002\n,com"
+ ".google.cloud.enterpriseknowledgegraph.v"
+ "1B\026OperationMetadataProtoP\001Z`google.gola"
+ "ng.org/genproto/googleapis/cloud/enterpr"
+ "iseknowledgegraph/v1;enterpriseknowledge"
+ "graphb\006proto3"
+ "graph\252\002(Google.Cloud.EnterpriseKnowledge"
+ "Graph.V1\312\002(Google\\Cloud\\EnterpriseKnowle"
+ "dgeGraph\\V1\352\002+Google::Cloud::EnterpriseK"
+ "nowledgeGraph::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,94 +145,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "nd_count\030\001 \001(\003\"u\n\027DeleteOperationMetadat"
+ "a\022Z\n\017common_metadata\030\001 \001(\0132A.google.clou"
+ "d.enterpriseknowledgegraph.v1.CommonOper"
+ "ationMetadata\"\333\001\n$CreateEntityReconcilia"
+ "tionJobRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0"
+ "ationMetadata\"\352\001\n$CreateEntityReconcilia"
+ "tionJobRequest\022W\n\006parent\030\001 \001(\tBG\340A\002\372AA\022?"
+ "enterpriseknowledgegraph.googleapis.com/"
+ "Location\022i\n\031entity_reconciliation_job\030\002 "
+ "\001(\0132A.google.cloud.enterpriseknowledgegr"
+ "aph.v1.EntityReconciliationJobB\003\340A\002\"z\n!G"
+ "etEntityReconciliationJobRequest\022U\n\004name"
+ "\030\001 \001(\tBG\340A\002\372AA\n?enterpriseknowledgegraph"
+ ".googleapis.com/EntityReconciliationJob\""
+ "\246\001\n#ListEntityReconciliationJobsRequest\022"
+ "H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0enterpriseknowl"
+ "edgegraph.googleapis.com/Location\022\016\n\006fil"
+ "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok"
+ "en\030\004 \001(\t\"\246\001\n$ListEntityReconciliationJob"
+ "sResponse\022e\n\032entity_reconciliation_jobs\030"
+ "\001 \003(\0132A.google.cloud.enterpriseknowledge"
+ "graph.v1.EntityReconciliationJob\022\027\n\017next"
+ "_page_token\030\002 \001(\t\"}\n$CancelEntityReconci"
+ "liationJobRequest\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n"
+ "?enterpriseknowledgegraph.googleapis.com"
+ "/EntityReconciliationJob\"}\n$DeleteEntity"
+ "ReconciliationJobRequest\022U\n\004name\030\001 \001(\tBG"
+ "\340A\002\372AA\n?enterpriseknowledgegraph.googlea"
+ "pis.com/EntityReconciliationJob\"\331\005\n\027Enti"
+ "tyReconciliationJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022P"
+ "\n\014input_config\030\002 \001(\01325.google.cloud.ente"
+ "rpriseknowledgegraph.v1.InputConfigB\003\340A\002"
+ "\022R\n\routput_config\030\003 \001(\01326.google.cloud.e"
+ "nterpriseknowledgegraph.v1.OutputConfigB"
+ "\003\340A\002\022F\n\005state\030\004 \001(\01622.google.cloud.enter"
+ "priseknowledgegraph.v1.JobStateB\003\340A\003\022&\n\005"
+ "error\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013"
+ "create_time\030\006 \001(\0132\032.google.protobuf.Time"
+ "stampB\003\340A\003\0221\n\010end_time\030\007 \001(\0132\032.google.pr"
+ "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001"
+ "(\0132\032.google.protobuf.TimestampB\003\340A\003\022P\n\014r"
+ "econ_config\030\t \001(\01325.google.cloud.enterpr"
+ "iseknowledgegraph.v1.ReconConfigB\003\340A\001:\243\001"
+ "\352A\237\001\n?enterpriseknowledgegraph.googleapi"
+ "s.com/EntityReconciliationJob\022\\projects/"
+ "{project}/locations/{location}/entityRec"
+ "onciliationJobs/{entity_reconciliation_j"
+ "ob}2\373\n\n\037EnterpriseKnowledgeGraphService\022"
+ "\267\002\n\035CreateEntityReconciliationJob\022N.goog"
+ "le.cloud.enterpriseknowledgegraph.v1.Cre"
+ "ateEntityReconciliationJobRequest\032A.goog"
+ "le.cloud.enterpriseknowledgegraph.v1.Ent"
+ "ityReconciliationJob\"\202\001\202\323\344\223\002Y\"</v1/{pare"
+ "nt=projects/*/locations/*}/entityReconci"
+ "liationJobs:\031entity_reconciliation_job\332A"
+ " parent,entity_reconciliation_job\022\371\001\n\032Ge"
+ "tEntityReconciliationJob\022K.google.cloud."
+ "enterpriseknowledgegraph.v1.GetEntityRec"
+ "onciliationJobRequest\032A.google.cloud.ent"
+ "erpriseknowledgegraph.v1.EntityReconcili"
+ "ationJob\"K\202\323\344\223\002>\022</v1/{name=projects/*/l"
+ "ocations/*/entityReconciliationJobs/*}\332A"
+ "\004name\022\214\002\n\034ListEntityReconciliationJobs\022M"
+ ".google.cloud.enterpriseknowledgegraph.v"
+ "1.ListEntityReconciliationJobsRequest\032N."
+ "google.cloud.enterpriseknowledgegraph.v1"
+ ".ListEntityReconciliationJobsResponse\"M\202"
+ "\323\344\223\002>\022</v1/{parent=projects/*/locations/"
+ "*}/entityReconciliationJobs\332A\006parent\022\336\001\n"
+ "\035CancelEntityReconciliationJob\022N.google."
+ "cloud.enterpriseknowledgegraph.v1.Cancel"
+ "EntityReconciliationJobRequest\032\026.google."
+ "protobuf.Empty\"U\202\323\344\223\002H\"C/v1/{name=projec"
+ "ts/*/locations/*/entityReconciliationJob"
+ "s/*}:cancel:\001*\332A\004name\022\324\001\n\035DeleteEntityRe"
+ "conciliationJob\022N.google.cloud.enterpris"
+ "eknowledgegraph.v1.DeleteEntityReconcili"
+ "ationJobRequest\032\026.google.protobuf.Empty\""
+ "K\202\323\344\223\002>*</v1/{name=projects/*/locations/"
+ "*/entityReconciliationJobs/*}\332A\004name\032[\312A"
+ "\'enterpriseknowledgegraph.googleapis.com"
+ "\322A.https://www.googleapis.com/auth/cloud"
+ "-platformB\241\003\n,com.google.cloud.enterpris"
+ "eknowledgegraph.v1B\014ServiceProtoP\001Z`goog"
+ "le.golang.org/genproto/googleapis/cloud/"
+ "enterpriseknowledgegraph/v1;enterprisekn"
+ "owledgegraph\352AH\n\037bigquery.googleapis.com"
+ "/Dataset\022%projects/{project}/datasets/{d"
+ "ataset}\352AU\n\035bigquery.googleapis.com/Tabl"
+ "e\0224projects/{project}/datasets/{dataset}"
+ "/tables/{table}\352A[\n0enterpriseknowledgeg"
+ "raph.googleapis.com/Location\022\'projects/{"
+ "project}/locations/{location}b\006proto3"
+ "EntityReconciliationJob\022i\n\031entity_reconc"
+ "iliation_job\030\002 \001(\0132A.google.cloud.enterp"
+ "riseknowledgegraph.v1.EntityReconciliati"
+ "onJobB\003\340A\002\"z\n!GetEntityReconciliationJob"
+ "Request\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?enterpris"
+ "eknowledgegraph.googleapis.com/EntityRec"
+ "onciliationJob\"\265\001\n#ListEntityReconciliat"
+ "ionJobsRequest\022W\n\006parent\030\001 \001(\tBG\340A\002\372AA\022?"
+ "enterpriseknowledgegraph.googleapis.com/"
+ "EntityReconciliationJob\022\016\n\006filter\030\002 \001(\t\022"
+ "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\246"
+ "\001\n$ListEntityReconciliationJobsResponse\022"
+ "e\n\032entity_reconciliation_jobs\030\001 \003(\0132A.go"
+ "ogle.cloud.enterpriseknowledgegraph.v1.E"
+ "ntityReconciliationJob\022\027\n\017next_page_toke"
+ "n\030\002 \001(\t\"}\n$CancelEntityReconciliationJob"
+ "Request\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?enterpris"
+ "eknowledgegraph.googleapis.com/EntityRec"
+ "onciliationJob\"}\n$DeleteEntityReconcilia"
+ "tionJobRequest\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?en"
+ "terpriseknowledgegraph.googleapis.com/En"
+ "tityReconciliationJob\"\331\005\n\027EntityReconcil"
+ "iationJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022P\n\014input_co"
+ "nfig\030\002 \001(\01325.google.cloud.enterpriseknow"
+ "ledgegraph.v1.InputConfigB\003\340A\002\022R\n\routput"
+ "_config\030\003 \001(\01326.google.cloud.enterprisek"
+ "nowledgegraph.v1.OutputConfigB\003\340A\002\022F\n\005st"
+ "ate\030\004 \001(\01622.google.cloud.enterpriseknowl"
+ "edgegraph.v1.JobStateB\003\340A\003\022&\n\005error\030\005 \001("
+ "\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013create_tim"
+ "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
+ "\0221\n\010end_time\030\007 \001(\0132\032.google.protobuf.Tim"
+ "estampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.googl"
+ "e.protobuf.TimestampB\003\340A\003\022P\n\014recon_confi"
+ "g\030\t \001(\01325.google.cloud.enterpriseknowled"
+ "gegraph.v1.ReconConfigB\003\340A\001:\243\001\352A\237\001\n?ente"
+ "rpriseknowledgegraph.googleapis.com/Enti"
+ "tyReconciliationJob\022\\projects/{project}/"
+ "locations/{location}/entityReconciliatio"
+ "nJobs/{entity_reconciliation_job}2\373\n\n\037En"
+ "terpriseKnowledgeGraphService\022\267\002\n\035Create"
+ "EntityReconciliationJob\022N.google.cloud.e"
+ "nterpriseknowledgegraph.v1.CreateEntityR"
+ "econciliationJobRequest\032A.google.cloud.e"
+ "nterpriseknowledgegraph.v1.EntityReconci"
+ "liationJob\"\202\001\202\323\344\223\002Y\"</v1/{parent=project"
+ "s/*/locations/*}/entityReconciliationJob"
+ "s:\031entity_reconciliation_job\332A parent,en"
+ "tity_reconciliation_job\022\371\001\n\032GetEntityRec"
+ "onciliationJob\022K.google.cloud.enterprise"
+ "knowledgegraph.v1.GetEntityReconciliatio"
+ "nJobRequest\032A.google.cloud.enterprisekno"
+ "wledgegraph.v1.EntityReconciliationJob\"K"
+ "\202\323\344\223\002>\022</v1/{name=projects/*/locations/*"
+ "/entityReconciliationJobs/*}\332A\004name\022\214\002\n\034"
+ "ListEntityReconciliationJobs\022M.google.cl"
+ "oud.enterpriseknowledgegraph.v1.ListEnti"
+ "tyReconciliationJobsRequest\032N.google.clo"
+ "ud.enterpriseknowledgegraph.v1.ListEntit"
+ "yReconciliationJobsResponse\"M\202\323\344\223\002>\022</v1"
+ "/{parent=projects/*/locations/*}/entityR"
+ "econciliationJobs\332A\006parent\022\336\001\n\035CancelEnt"
+ "ityReconciliationJob\022N.google.cloud.ente"
+ "rpriseknowledgegraph.v1.CancelEntityReco"
+ "nciliationJobRequest\032\026.google.protobuf.E"
+ "mpty\"U\202\323\344\223\002H\"C/v1/{name=projects/*/locat"
+ "ions/*/entityReconciliationJobs/*}:cance"
+ "l:\001*\332A\004name\022\324\001\n\035DeleteEntityReconciliati"
+ "onJob\022N.google.cloud.enterpriseknowledge"
+ "graph.v1.DeleteEntityReconciliationJobRe"
+ "quest\032\026.google.protobuf.Empty\"K\202\323\344\223\002>*</"
+ "v1/{name=projects/*/locations/*/entityRe"
+ "conciliationJobs/*}\332A\004name\032[\312A\'enterpris"
+ "eknowledgegraph.googleapis.com\322A.https:/"
+ "/www.googleapis.com/auth/cloud-platformB"
+ "\307\003\n,com.google.cloud.enterpriseknowledge"
+ "graph.v1B\014ServiceProtoP\001Z`google.golang."
+ "org/genproto/googleapis/cloud/enterprise"
+ "knowledgegraph/v1;enterpriseknowledgegra"
+ "ph\252\002(Google.Cloud.EnterpriseKnowledgeGra"
+ "ph.V1\312\002(Google\\Cloud\\EnterpriseKnowledge"
+ "Graph\\V1\352\002+Google::Cloud::EnterpriseKnow"
+ "ledgeGraph::V1\352AH\n\037bigquery.googleapis.c"
+ "om/Dataset\022%projects/{project}/datasets/"
+ "{dataset}\352AU\n\035bigquery.googleapis.com/Ta"
+ "ble\0224projects/{project}/datasets/{datase"
+ "t}/tables/{table}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowl
option java_multiple_files = true;
option java_outer_classname = "JobStateProto";
option java_package = "com.google.cloud.enterpriseknowledgegraph.v1";
option php_namespace = "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1";
option ruby_package = "Google::Cloud::EnterpriseKnowledgeGraph::V1";
option csharp_namespace = "Google.Cloud.EnterpriseKnowledgeGraph.V1";

// Describes the state of a job.
enum JobState {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowl
option java_multiple_files = true;
option java_outer_classname = "OperationMetadataProto";
option java_package = "com.google.cloud.enterpriseknowledgegraph.v1";
option php_namespace = "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1";
option ruby_package = "Google::Cloud::EnterpriseKnowledgeGraph::V1";
option csharp_namespace = "Google.Cloud.EnterpriseKnowledgeGraph.V1";

// The common metadata for long running operations.
message CommonOperationMetadata {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowl
option java_multiple_files = true;
option java_outer_classname = "ServiceProto";
option java_package = "com.google.cloud.enterpriseknowledgegraph.v1";
option php_namespace = "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1";
option ruby_package = "Google::Cloud::EnterpriseKnowledgeGraph::V1";
option csharp_namespace = "Google.Cloud.EnterpriseKnowledgeGraph.V1";
option (google.api.resource_definition) = {
type: "bigquery.googleapis.com/Dataset"
pattern: "projects/{project}/datasets/{dataset}"
Expand All @@ -38,10 +41,6 @@ option (google.api.resource_definition) = {
type: "bigquery.googleapis.com/Table"
pattern: "projects/{project}/datasets/{dataset}/tables/{table}"
};
option (google.api.resource_definition) = {
type: "enterpriseknowledgegraph.googleapis.com/Location"
pattern: "projects/{project}/locations/{location}"
};

// APIs for enterprise knowledge graph product.
service EnterpriseKnowledgeGraphService {
Expand Down Expand Up @@ -234,7 +233,7 @@ message CreateEntityReconciliationJobRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "enterpriseknowledgegraph.googleapis.com/Location"
child_type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
}
];

Expand Down Expand Up @@ -264,7 +263,7 @@ message ListEntityReconciliationJobsRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "enterpriseknowledgegraph.googleapis.com/Location"
child_type: "enterpriseknowledgegraph.googleapis.com/EntityReconciliationJob"
}
];

Expand Down