Skip to content
Open
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
40 changes: 20 additions & 20 deletions src/main/java/com/google/genai/gaos/Agents.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public AsyncAgents async() {
}

/**
* Lists all Agents.
* Lists agents.
*
* @return The call builder
*/
Expand All @@ -75,7 +75,7 @@ public ListAgentsRequestBuilder list() {
}

/**
* Lists all Agents.
* Lists agents.
*
* @return The response from the API call
* @throws RuntimeException subclass if the API call fails
Expand All @@ -86,9 +86,9 @@ public ListAgentsResponse listDirect() {
}

/**
* Lists all Agents.
* Lists agents.
*
* @param apiVersion Which version of the API to use.
* @param apiVersion API version for request routing.
* @param pageSize
* @param pageToken
* @param parent
Expand All @@ -109,7 +109,7 @@ public ListAgentsResponse list(
}

/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @return The call builder
*/
Expand All @@ -118,7 +118,7 @@ public CreateAgentRequestBuilder create() {
}

/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @param body An agent definition for the CreateAgent API.
* This message is the target for annotation-parser-based JSON parsing.
Expand All @@ -138,9 +138,9 @@ public CreateAgentResponse create(@Nonnull Agent body) {
}

/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @param apiVersion Which version of the API to use.
* @param apiVersion API version for request routing.
* @param body An agent definition for the CreateAgent API.
* This message is the target for annotation-parser-based JSON parsing.
* New format:
Expand All @@ -165,7 +165,7 @@ public CreateAgentResponse create(
}

/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @return The call builder
*/
Expand All @@ -174,9 +174,9 @@ public DeleteAgentRequestBuilder delete() {
}

/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @param id
* @param id Part of `name`.
* @return The response from the API call
* @throws RuntimeException subclass if the API call fails
*/
Expand All @@ -185,10 +185,10 @@ public DeleteAgentResponse delete(@Nonnull String id) {
}

/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @param apiVersion Which version of the API to use.
* @param id
* @param apiVersion API version for request routing.
* @param id Part of `name`.
* @param options additional options
* @return The response from the API call
* @throws RuntimeException subclass if the API call fails
Expand All @@ -203,7 +203,7 @@ public DeleteAgentResponse delete(
}

/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @return The call builder
*/
Expand All @@ -212,9 +212,9 @@ public GetAgentRequestBuilder get() {
}

/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @param id
* @param id Part of `name`.
* @return The response from the API call
* @throws RuntimeException subclass if the API call fails
*/
Expand All @@ -223,10 +223,10 @@ public GetAgentResponse get(@Nonnull String id) {
}

/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @param apiVersion Which version of the API to use.
* @param id
* @param apiVersion API version for request routing.
* @param id Part of `name`.
* @param options additional options
* @return The response from the API call
* @throws RuntimeException subclass if the API call fails
Expand Down
40 changes: 20 additions & 20 deletions src/main/java/com/google/genai/gaos/AsyncAgents.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Agents sync() {


/**
* Lists all Agents.
* Lists agents.
*
* @return The async call builder
*/
Expand All @@ -78,7 +78,7 @@ public ListAgentsRequestBuilder list() {
}

/**
* Lists all Agents.
* Lists agents.
*
* @return {@code CompletableFuture<ListAgentsResponse>} - The async response
*/
Expand All @@ -89,9 +89,9 @@ public CompletableFuture<ListAgentsResponse> listDirect() {
}

/**
* Lists all Agents.
* Lists agents.
*
* @param apiVersion Which version of the API to use.
* @param apiVersion API version for request routing.
* @param pageSize
* @param pageToken
* @param parent
Expand All @@ -115,7 +115,7 @@ public CompletableFuture<ListAgentsResponse> list(


/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @return The async call builder
*/
Expand All @@ -124,7 +124,7 @@ public CreateAgentRequestBuilder create() {
}

/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @param body An agent definition for the CreateAgent API.
* This message is the target for annotation-parser-based JSON parsing.
Expand All @@ -143,9 +143,9 @@ public CompletableFuture<CreateAgentResponse> create(@Nonnull Agent body) {
}

/**
* Creates a new Agent (Typed version for SDK).
* Creates or updates an agent (upsert by name).
*
* @param apiVersion Which version of the API to use.
* @param apiVersion API version for request routing.
* @param body An agent definition for the CreateAgent API.
* This message is the target for annotation-parser-based JSON parsing.
* New format:
Expand Down Expand Up @@ -173,7 +173,7 @@ public CompletableFuture<CreateAgentResponse> create(


/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @return The async call builder
*/
Expand All @@ -182,20 +182,20 @@ public DeleteAgentRequestBuilder delete() {
}

/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @param id
* @param id Part of `name`.
* @return {@code CompletableFuture<DeleteAgentResponse>} - The async response
*/
public CompletableFuture<DeleteAgentResponse> delete(@Nonnull String id) {
return delete(null, id, null);
}

/**
* Deletes an Agent.
* Deletes an agent and all its versions.
*
* @param apiVersion Which version of the API to use.
* @param id
* @param apiVersion API version for request routing.
* @param id Part of `name`.
* @param options additional options
* @return {@code CompletableFuture<DeleteAgentResponse>} - The async response
*/
Expand All @@ -213,7 +213,7 @@ public CompletableFuture<DeleteAgentResponse> delete(


/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @return The async call builder
*/
Expand All @@ -222,20 +222,20 @@ public GetAgentRequestBuilder get() {
}

/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @param id
* @param id Part of `name`.
* @return {@code CompletableFuture<GetAgentResponse>} - The async response
*/
public CompletableFuture<GetAgentResponse> get(@Nonnull String id) {
return get(null, id, null);
}

/**
* Gets a specific Agent.
* Gets an agent (latest version).
*
* @param apiVersion Which version of the API to use.
* @param id
* @param apiVersion API version for request routing.
* @param id Part of `name`.
* @param options additional options
* @return {@code CompletableFuture<GetAgentResponse>} - The async response
*/
Expand Down
45 changes: 23 additions & 22 deletions src/main/java/com/google/genai/gaos/AsyncEnvironments.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Environments sync() {


/**
* Lists environments.
* Lists environments (HTTP endpoint).
*
* @return The async call builder
*/
Expand All @@ -83,7 +83,7 @@ public ListEnvironmentsRequestBuilder listEnvironments() {
}

/**
* Lists environments.
* Lists environments (HTTP endpoint).
*
* @return {@code CompletableFuture<ListEnvironmentsResponse>} - The async response
*/
Expand All @@ -94,11 +94,12 @@ public CompletableFuture<ListEnvironmentsResponse> listEnvironmentsDirect() {
}

/**
* Lists environments.
* Lists environments (HTTP endpoint).
*
* @param apiVersion Which version of the API to use.
* @param pageSize Optional. Maximum number of environments to return.\nIf unspecified, defaults to 50. Maximum is 1000.
* @param pageToken Optional. Pagination token.
* @param apiVersion API version for request routing.
* @param pageSize Maximum number of environments to return.
* If unspecified, defaults to 50. Maximum is 1000.
* @param pageToken Pagination token.
* @param options additional options
* @return {@code CompletableFuture<ListEnvironmentsResponse>} - The async response
*/
Expand All @@ -116,7 +117,7 @@ public CompletableFuture<ListEnvironmentsResponse> listEnvironments(


/**
* Creates an environment.
* Creates an environment (HTTP endpoint).
*
* @return The async call builder
*/
Expand All @@ -125,7 +126,7 @@ public CreateEnvironmentRequestBuilder createEnvironment() {
}

/**
* Creates an environment.
* Creates an environment (HTTP endpoint).
*
* @param body Request for `CreateEnvironment`.
* @return {@code CompletableFuture<CreateEnvironmentResponse>} - The async response
Expand All @@ -135,9 +136,9 @@ public CompletableFuture<CreateEnvironmentResponse> createEnvironment(@Nonnull C
}

/**
* Creates an environment.
* Creates an environment (HTTP endpoint).
*
* @param apiVersion Which version of the API to use.
* @param apiVersion API version for request routing.
* @param body Request for `CreateEnvironment`.
* @param options additional options
* @return {@code CompletableFuture<CreateEnvironmentResponse>} - The async response
Expand All @@ -156,7 +157,7 @@ public CompletableFuture<CreateEnvironmentResponse> createEnvironment(


/**
* Deletes an environment.
* Deletes an environment (HTTP endpoint).
*
* @return The async call builder
*/
Expand All @@ -165,20 +166,20 @@ public DeleteEnvironmentRequestBuilder deleteEnvironment() {
}

/**
* Deletes an environment.
* Deletes an environment (HTTP endpoint).
*
* @param id Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
* @param id Required. The identifier of the environment to delete.
* @return {@code CompletableFuture<DeleteEnvironmentResponse>} - The async response
*/
public CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(@Nonnull String id) {
return deleteEnvironment(null, id, null);
}

/**
* Deletes an environment.
* Deletes an environment (HTTP endpoint).
*
* @param apiVersion Which version of the API to use.
* @param id Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
* @param apiVersion API version for request routing.
* @param id Required. The identifier of the environment to delete.
* @param options additional options
* @return {@code CompletableFuture<DeleteEnvironmentResponse>} - The async response
*/
Expand All @@ -196,7 +197,7 @@ public CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(


/**
* Gets an environment.
* Gets an environment (HTTP endpoint).
*
* @return The async call builder
*/
Expand All @@ -205,20 +206,20 @@ public GetEnvironmentRequestBuilder getEnvironment() {
}

/**
* Gets an environment.
* Gets an environment (HTTP endpoint).
*
* @param id Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
* @param id Required. The identifier of the environment to retrieve.
* @return {@code CompletableFuture<GetEnvironmentResponse>} - The async response
*/
public CompletableFuture<GetEnvironmentResponse> getEnvironment(@Nonnull String id) {
return getEnvironment(null, id, null);
}

/**
* Gets an environment.
* Gets an environment (HTTP endpoint).
*
* @param apiVersion Which version of the API to use.
* @param id Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
* @param apiVersion API version for request routing.
* @param id Required. The identifier of the environment to retrieve.
* @param options additional options
* @return {@code CompletableFuture<GetEnvironmentResponse>} - The async response
*/
Expand Down
Loading
Loading