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

Commit

Permalink
feat: allow setting custom CA for generic webhooks (#355)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408995680

Source-Link: googleapis/googleapis@76f7f48

Source-Link: https://github.com/googleapis/googleapis-gen/commit/9e5faa62a238bd42c1350d3e51a6540af7337587
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU1ZmFhNjJhMjM4YmQ0MmMxMzUwZDNlNTFhNjU0MGFmNzMzNzU4NyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Nov 15, 2021
1 parent 0cfc996 commit 66a8c4a
Show file tree
Hide file tree
Showing 70 changed files with 884 additions and 779 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public final ListAgentsPagedResponse listAgents(LocationName parent) {
*
* <pre>{@code
* try (AgentsClient agentsClient = AgentsClient.create()) {
* String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Agent element : agentsClient.listAgents(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand All @@ -220,7 +220,7 @@ public final ListAgentsPagedResponse listAgents(String parent) {
* try (AgentsClient agentsClient = AgentsClient.create()) {
* ListAgentsRequest request =
* ListAgentsRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand All @@ -247,7 +247,7 @@ public final ListAgentsPagedResponse listAgents(ListAgentsRequest request) {
* try (AgentsClient agentsClient = AgentsClient.create()) {
* ListAgentsRequest request =
* ListAgentsRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand All @@ -273,7 +273,7 @@ public final UnaryCallable<ListAgentsRequest, ListAgentsPagedResponse> listAgent
* try (AgentsClient agentsClient = AgentsClient.create()) {
* ListAgentsRequest request =
* ListAgentsRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -428,7 +428,7 @@ public final Agent createAgent(LocationName parent, Agent agent) {
*
* <pre>{@code
* try (AgentsClient agentsClient = AgentsClient.create()) {
* String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Agent agent = Agent.newBuilder().build();
* Agent response = agentsClient.createAgent(parent, agent);
* }
Expand Down Expand Up @@ -458,7 +458,7 @@ public final Agent createAgent(String parent, Agent agent) {
* try (AgentsClient agentsClient = AgentsClient.create()) {
* CreateAgentRequest request =
* CreateAgentRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setAgent(Agent.newBuilder().build())
* .build();
* Agent response = agentsClient.createAgent(request);
Expand All @@ -485,7 +485,7 @@ public final Agent createAgent(CreateAgentRequest request) {
* try (AgentsClient agentsClient = AgentsClient.create()) {
* CreateAgentRequest request =
* CreateAgentRequest.newBuilder()
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setAgent(Agent.newBuilder().build())
* .build();
* ApiFuture<Agent> future = agentsClient.createAgentCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ public final ListChangelogsPagedResponse listChangelogs(AgentName parent) {
*
* <pre>{@code
* try (ChangelogsClient changelogsClient = ChangelogsClient.create()) {
* String parent =
* ChangelogName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CHANGELOG]").toString();
* String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
* for (Changelog element : changelogsClient.listChangelogs(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand All @@ -206,8 +205,7 @@ public final ListChangelogsPagedResponse listChangelogs(String parent) {
* try (ChangelogsClient changelogsClient = ChangelogsClient.create()) {
* ListChangelogsRequest request =
* ListChangelogsRequest.newBuilder()
* .setParent(
* ChangelogName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CHANGELOG]").toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -235,8 +233,7 @@ public final ListChangelogsPagedResponse listChangelogs(ListChangelogsRequest re
* try (ChangelogsClient changelogsClient = ChangelogsClient.create()) {
* ListChangelogsRequest request =
* ListChangelogsRequest.newBuilder()
* .setParent(
* ChangelogName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CHANGELOG]").toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -265,8 +262,7 @@ public final ListChangelogsPagedResponse listChangelogs(ListChangelogsRequest re
* try (ChangelogsClient changelogsClient = ChangelogsClient.create()) {
* ListChangelogsRequest request =
* ListChangelogsRequest.newBuilder()
* .setParent(
* ChangelogName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CHANGELOG]").toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setFilter("filter-1274492040")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ public final ListDeploymentsPagedResponse listDeployments(EnvironmentName parent
* <pre>{@code
* try (DeploymentsClient deploymentsClient = DeploymentsClient.create()) {
* String parent =
* DeploymentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
* .toString();
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]").toString();
* for (Deployment element : deploymentsClient.listDeployments(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand Down Expand Up @@ -217,8 +216,7 @@ public final ListDeploymentsPagedResponse listDeployments(String parent) {
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
* .setParent(
* DeploymentName.of(
* "[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -248,8 +246,7 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
* .setParent(
* DeploymentName.of(
* "[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -280,8 +277,7 @@ public final ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest
* ListDeploymentsRequest request =
* ListDeploymentsRequest.newBuilder()
* .setParent(
* DeploymentName.of(
* "[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]")
* EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]")
* .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(AgentName parent) {
*
* <pre>{@code
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* String parent =
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]").toString();
* String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
* for (EntityType element : entityTypesClient.listEntityTypes(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand All @@ -211,9 +210,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]")
* .toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -241,9 +238,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]")
* .toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -272,9 +267,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* ListEntityTypesRequest request =
* ListEntityTypesRequest.newBuilder()
* .setParent(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]")
* .toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setLanguageCode("languageCode-2092349083")
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
Expand Down Expand Up @@ -442,8 +435,7 @@ public final EntityType createEntityType(AgentName parent, EntityType entityType
*
* <pre>{@code
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* String parent =
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]").toString();
* String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
* EntityType entityType = EntityType.newBuilder().build();
* EntityType response = entityTypesClient.createEntityType(parent, entityType);
* }
Expand Down Expand Up @@ -473,9 +465,7 @@ public final EntityType createEntityType(String parent, EntityType entityType) {
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* CreateEntityTypeRequest request =
* CreateEntityTypeRequest.newBuilder()
* .setParent(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]")
* .toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setEntityType(EntityType.newBuilder().build())
* .setLanguageCode("languageCode-2092349083")
* .build();
Expand Down Expand Up @@ -503,9 +493,7 @@ public final EntityType createEntityType(CreateEntityTypeRequest request) {
* try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
* CreateEntityTypeRequest request =
* CreateEntityTypeRequest.newBuilder()
* .setParent(
* EntityTypeName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENTITY_TYPE]")
* .toString())
* .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
* .setEntityType(EntityType.newBuilder().build())
* .setLanguageCode("languageCode-2092349083")
* .build();
Expand Down
Loading

0 comments on commit 66a8c4a

Please sign in to comment.