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

fix!: remove resource_reference for invisible resources #483

Merged
merged 5 commits into from
Mar 29, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,12 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest request)
*
* <pre>{@code
* try (AgentsClient agentsClient = AgentsClient.create()) {
* SearchAgentsRequest request =
* SearchAgentsRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* SearchAgentsResponse response = agentsClient.searchAgentsCallable().call(request);
* for (Agent element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,15 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR
*
* <pre>{@code
* try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
* ListAnswerRecordsRequest request =
* ListAnswerRecordsRequest.newBuilder()
* .setParent(
* AnswerRecordName.ofProjectAnswerRecordName("[PROJECT]", "[ANSWER_RECORD]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListAnswerRecordsResponse response =
* answerRecordsClient.listAnswerRecordsCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
*
* <pre>{@code
* try (ContextsClient contextsClient = ContextsClient.create()) {
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
* ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListContextsResponse response = contextsClient.listContextsCallable().call(request);
* for (Context element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,15 @@ public final ListConversationProfilesPagedResponse listConversationProfiles(
* <pre>{@code
* try (ConversationProfilesClient conversationProfilesClient =
* ConversationProfilesClient.create()) {
* ListConversationProfilesRequest request =
* ListConversationProfilesRequest.newBuilder()
* .setParent(
* ConversationProfileName.ofProjectConversationProfileName(
* "[PROJECT]", "[CONVERSATION_PROFILE]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListConversationProfilesResponse response =
* conversationProfilesClient.listConversationProfilesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,15 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListConversationsRequest request =
* ListConversationsRequest.newBuilder()
* .setParent(
* ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* while (true) {
* ListConversationsResponse response =
* conversationsClient.listConversationsCallable().call(request);
Expand Down Expand Up @@ -987,6 +996,15 @@ public final ListCallMatchersPagedResponse listCallMatchers(ListCallMatchersRequ
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListCallMatchersRequest request =
* ListCallMatchersRequest.newBuilder()
* .setParent(
* CallMatcherName.ofProjectConversationCallMatcherName(
* "[PROJECT]", "[CONVERSATION]", "[CALL_MATCHER]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListCallMatchersResponse response =
* conversationsClient.listCallMatchersCallable().call(request);
Expand Down Expand Up @@ -1257,6 +1275,16 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request)
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListMessagesRequest request =
* ListMessagesRequest.newBuilder()
* .setParent(
* MessageName.ofProjectConversationMessageName(
* "[PROJECT]", "[CONVERSATION]", "[MESSAGE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListMessagesResponse response = conversationsClient.listMessagesCallable().call(request);
* for (Message element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,15 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque
*
* <pre>{@code
* try (DocumentsClient documentsClient = DocumentsClient.create()) {
* ListDocumentsRequest request =
* ListDocumentsRequest.newBuilder()
* .setParent(
* DocumentName.ofProjectKnowledgeBaseDocumentName(
* "[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListDocumentsResponse response = documentsClient.listDocumentsCallable().call(request);
* for (Document element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,13 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
*
* <pre>{@code
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListEntityTypesResponse response =
* entityTypesClient.listEntityTypesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
*
* <pre>{@code
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* ListEnvironmentsRequest request =
* ListEnvironmentsRequest.newBuilder()
* .setParent(EnvironmentName.of("[PROJECT]", "[ENVIRONMENT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListEnvironmentsResponse response =
* environmentsClient.listEnvironmentsCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) {
*
* <pre>{@code
* try (IntentsClient intentsClient = IntentsClient.create()) {
* ListIntentsRequest request =
* ListIntentsRequest.newBuilder()
* .setParent(IntentName.of("[PROJECT]", "[INTENT]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setIntentView(IntentView.forNumber(0))
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListIntentsResponse response = intentsClient.listIntentsCallable().call(request);
* for (Intent element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,14 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(
*
* <pre>{@code
* try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
* ListKnowledgeBasesRequest request =
* ListKnowledgeBasesRequest.newBuilder()
* .setParent(
* KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListKnowledgeBasesResponse response =
* knowledgeBasesClient.listKnowledgeBasesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,15 @@ public final ListParticipantsPagedResponse listParticipants(ListParticipantsRequ
*
* <pre>{@code
* try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
* ListParticipantsRequest request =
* ListParticipantsRequest.newBuilder()
* .setParent(
* ParticipantName.ofProjectConversationParticipantName(
* "[PROJECT]", "[CONVERSATION]", "[PARTICIPANT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListParticipantsResponse response =
* participantsClient.listParticipantsCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,15 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes(
*
* <pre>{@code
* try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
* ListSessionEntityTypesRequest request =
* ListSessionEntityTypesRequest.newBuilder()
* .setParent(
* SessionEntityTypeName.ofProjectSessionEntityTypeName(
* "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListSessionEntityTypesResponse response =
* sessionEntityTypesClient.listSessionEntityTypesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,12 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest request)
*
* <pre>{@code
* try (AgentsClient agentsClient = AgentsClient.create()) {
* SearchAgentsRequest request =
* SearchAgentsRequest.newBuilder()
* .setParent(AgentName.ofProjectName("[PROJECT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* SearchAgentsResponse response = agentsClient.searchAgentsCallable().call(request);
* for (Agent element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,14 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR
*
* <pre>{@code
* try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
* ListAnswerRecordsRequest request =
* ListAnswerRecordsRequest.newBuilder()
* .setParent(
* AnswerRecordName.ofProjectAnswerRecordName("[PROJECT]", "[ANSWER_RECORD]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListAnswerRecordsResponse response =
* answerRecordsClient.listAnswerRecordsCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,14 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
*
* <pre>{@code
* try (ContextsClient contextsClient = ContextsClient.create()) {
* ListContextsRequest request =
* ListContextsRequest.newBuilder()
* .setParent(
* ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListContextsResponse response = contextsClient.listContextsCallable().call(request);
* for (Context element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,15 @@ public final ListConversationProfilesPagedResponse listConversationProfiles(
* <pre>{@code
* try (ConversationProfilesClient conversationProfilesClient =
* ConversationProfilesClient.create()) {
* ListConversationProfilesRequest request =
* ListConversationProfilesRequest.newBuilder()
* .setParent(
* ConversationProfileName.ofProjectConversationProfileName(
* "[PROJECT]", "[CONVERSATION_PROFILE]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListConversationProfilesResponse response =
* conversationProfilesClient.listConversationProfilesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,15 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListConversationsRequest request =
* ListConversationsRequest.newBuilder()
* .setParent(
* ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* while (true) {
* ListConversationsResponse response =
* conversationsClient.listConversationsCallable().call(request);
Expand Down Expand Up @@ -988,6 +997,15 @@ public final ListCallMatchersPagedResponse listCallMatchers(ListCallMatchersRequ
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListCallMatchersRequest request =
* ListCallMatchersRequest.newBuilder()
* .setParent(
* CallMatcherName.ofProjectConversationCallMatcherName(
* "[PROJECT]", "[CONVERSATION]", "[CALL_MATCHER]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListCallMatchersResponse response =
* conversationsClient.listCallMatchersCallable().call(request);
Expand Down Expand Up @@ -1367,6 +1385,16 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request)
*
* <pre>{@code
* try (ConversationsClient conversationsClient = ConversationsClient.create()) {
* ListMessagesRequest request =
* ListMessagesRequest.newBuilder()
* .setParent(
* MessageName.ofProjectConversationMessageName(
* "[PROJECT]", "[CONVERSATION]", "[MESSAGE]")
* .toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListMessagesResponse response = conversationsClient.listMessagesCallable().call(request);
* for (Message element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,16 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque
*
* <pre>{@code
* try (DocumentsClient documentsClient = DocumentsClient.create()) {
* ListDocumentsRequest request =
* ListDocumentsRequest.newBuilder()
* .setParent(
* DocumentName.ofProjectKnowledgeBaseDocumentName(
* "[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* while (true) {
* ListDocumentsResponse response = documentsClient.listDocumentsCallable().call(request);
* for (Document element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,14 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
*
* <pre>{@code
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
* EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListEntityTypesResponse response =
* entityTypesClient.listEntityTypesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
*
* <pre>{@code
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* ListEnvironmentsRequest request =
* ListEnvironmentsRequest.newBuilder()
* .setParent(
* EnvironmentName.ofProjectEnvironmentName("[PROJECT]", "[ENVIRONMENT]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListEnvironmentsResponse response =
* environmentsClient.listEnvironmentsCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,14 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) {
*
* <pre>{@code
* try (IntentsClient intentsClient = IntentsClient.create()) {
* ListIntentsRequest request =
* ListIntentsRequest.newBuilder()
* .setParent(IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setIntentView(IntentView.forNumber(0))
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
* while (true) {
* ListIntentsResponse response = intentsClient.listIntentsCallable().call(request);
* for (Intent element : response.getResponsesList()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,15 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases(
*
* <pre>{@code
* try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
* ListKnowledgeBasesRequest request =
* ListKnowledgeBasesRequest.newBuilder()
* .setParent(
* KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* while (true) {
* ListKnowledgeBasesResponse response =
* knowledgeBasesClient.listKnowledgeBasesCallable().call(request);
Expand Down
Loading