Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
docs: remove orderBy from doc samples (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Nov 13, 2019
1 parent c2b8a17 commit a9c3485
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .kokoro/release/drop.cfg
Expand Up @@ -4,6 +4,3 @@ env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-datacatalog/.kokoro/release/drop.sh"
}

# Download staging properties file.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-datacatalog"
4 changes: 0 additions & 4 deletions .kokoro/release/promote.cfg
Expand Up @@ -4,7 +4,3 @@ env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-datacatalog/.kokoro/release/promote.sh"
}

# Download staging properties file.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-datacatalog"

Expand Up @@ -591,11 +591,9 @@ public final SearchCatalogPagedResponse searchCatalog(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
* String query = "";
* String orderBy = "";
* SearchCatalogRequest request = SearchCatalogRequest.newBuilder()
* .setScope(scope)
* .setQuery(query)
* .setOrderBy(orderBy)
* .build();
* for (SearchCatalogResult element : dataCatalogClient.searchCatalog(request).iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -631,11 +629,9 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
* String query = "";
* String orderBy = "";
* SearchCatalogRequest request = SearchCatalogRequest.newBuilder()
* .setScope(scope)
* .setQuery(query)
* .setOrderBy(orderBy)
* .build();
* ApiFuture<SearchCatalogPagedResponse> future = dataCatalogClient.searchCatalogPagedCallable().futureCall(request);
* // Do something
Expand Down Expand Up @@ -671,11 +667,9 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build();
* String query = "";
* String orderBy = "";
* SearchCatalogRequest request = SearchCatalogRequest.newBuilder()
* .setScope(scope)
* .setQuery(query)
* .setOrderBy(orderBy)
* .build();
* while (true) {
* SearchCatalogResponse response = dataCatalogClient.searchCatalogCallable().call(request);
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
@@ -1,19 +1,19 @@
{
"updateTime": "2019-10-19T07:52:36.038015Z",
"updateTime": "2019-11-13T08:44:31.158128Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.40.1",
"dockerImage": "googleapis/artman@sha256:168646efbffe41e8f8fa86a60fa0d5724fab67fa37f35082cf6cfc85cedce3c7"
"version": "0.41.1",
"dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0e9a6d15fcb944ed40921ba0aad2082ee1bc7edd",
"internalRef": "275543900"
"sha": "88bbf96b90089994ed16208a0f38cdd07f743742",
"internalRef": "280134477"
}
},
{
Expand Down

0 comments on commit a9c3485

Please sign in to comment.