diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index 6f7d462d6291..b2ba4a0b9ac1 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.34.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalAdminClient.java b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalAdminClient.java index 4e49303bac32..fe6497da5e5f 100644 --- a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalAdminClient.java +++ b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalAdminClient.java @@ -87,68 +87,70 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListApprovalRequests

ListApprovalRequests

Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApprovalRequests(ListApprovalRequestsMessage request) + *
  • listApprovalRequests(ListApprovalRequestsMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApprovalRequests(FolderName parent) - *
  • listApprovalRequests(OrganizationName parent) - *
  • listApprovalRequests(ProjectName parent) - *
  • listApprovalRequests(String parent) + *
  • listApprovalRequests(FolderName parent) + *

  • listApprovalRequests(OrganizationName parent) + *

  • listApprovalRequests(ProjectName parent) + *

  • listApprovalRequests(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApprovalRequestsPagedCallable() - *
  • listApprovalRequestsCallable() + *
  • listApprovalRequestsPagedCallable() + *

  • listApprovalRequestsCallable() *

*
GetApprovalRequest

GetApprovalRequest

Gets an approval request. Returns NOT_FOUND if the request does not exist.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApprovalRequest(GetApprovalRequestMessage request) + *
  • getApprovalRequest(GetApprovalRequestMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApprovalRequest(ApprovalRequestName name) - *
  • getApprovalRequest(String name) + *
  • getApprovalRequest(ApprovalRequestName name) + *

  • getApprovalRequest(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApprovalRequestCallable() + *
  • getApprovalRequestCallable() *

*
ApproveApprovalRequest

ApproveApprovalRequest

Approves a request and returns the updated ApprovalRequest. *

Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • approveApprovalRequest(ApproveApprovalRequestMessage request) + *
  • approveApprovalRequest(ApproveApprovalRequestMessage request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • approveApprovalRequestCallable() + *
  • approveApprovalRequestCallable() *

*
DismissApprovalRequest

DismissApprovalRequest

Dismisses a request. Returns the updated ApprovalRequest. *

NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. *

Returns NOT_FOUND if the request does not exist. @@ -156,105 +158,104 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • dismissApprovalRequest(DismissApprovalRequestMessage request) + *
  • dismissApprovalRequest(DismissApprovalRequestMessage request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • dismissApprovalRequestCallable() + *
  • dismissApprovalRequestCallable() *

*
InvalidateApprovalRequest

InvalidateApprovalRequest

Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. *

NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. *

Returns FAILED_PRECONDITION if the request exists but is not in an approved state.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • invalidateApprovalRequest(InvalidateApprovalRequestMessage request) + *
  • invalidateApprovalRequest(InvalidateApprovalRequestMessage request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • invalidateApprovalRequestCallable() + *
  • invalidateApprovalRequestCallable() *

*
GetAccessApprovalSettings

GetAccessApprovalSettings

Gets the settings associated with a project, folder, or organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccessApprovalSettings(GetAccessApprovalSettingsMessage request) + *
  • getAccessApprovalSettings(GetAccessApprovalSettingsMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccessApprovalSettings(AccessApprovalSettingsName name) - *
  • getAccessApprovalSettings(String name) + *
  • getAccessApprovalSettings(AccessApprovalSettingsName name) + *

  • getAccessApprovalSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccessApprovalSettingsCallable() + *
  • getAccessApprovalSettingsCallable() *

*
UpdateAccessApprovalSettings

UpdateAccessApprovalSettings

Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccessApprovalSettings(UpdateAccessApprovalSettingsMessage request) + *
  • updateAccessApprovalSettings(UpdateAccessApprovalSettingsMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAccessApprovalSettings(AccessApprovalSettings settings, FieldMask updateMask) + *
  • updateAccessApprovalSettings(AccessApprovalSettings settings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccessApprovalSettingsCallable() + *
  • updateAccessApprovalSettingsCallable() *

*
DeleteAccessApprovalSettings

DeleteAccessApprovalSettings

Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccessApprovalSettings(DeleteAccessApprovalSettingsMessage request) + *
  • deleteAccessApprovalSettings(DeleteAccessApprovalSettingsMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteAccessApprovalSettings(AccessApprovalSettingsName name) - *
  • deleteAccessApprovalSettings(String name) + *
  • deleteAccessApprovalSettings(AccessApprovalSettingsName name) + *

  • deleteAccessApprovalSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccessApprovalSettingsCallable() + *
  • deleteAccessApprovalSettingsCallable() *

*
GetAccessApprovalServiceAccount

GetAccessApprovalServiceAccount

Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccessApprovalServiceAccount(GetAccessApprovalServiceAccountMessage request) + *
  • getAccessApprovalServiceAccount(GetAccessApprovalServiceAccountMessage request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccessApprovalServiceAccount(String name) + *
  • getAccessApprovalServiceAccount(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccessApprovalServiceAccountCallable() + *
  • getAccessApprovalServiceAccountCallable() *

*
* *

See the individual methods for example code. diff --git a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/AccessApprovalStubSettings.java b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/AccessApprovalStubSettings.java index f869fe9ec9a7..29889c6e4693 100644 --- a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/AccessApprovalStubSettings.java +++ b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/AccessApprovalStubSettings.java @@ -272,6 +272,15 @@ public AccessApprovalStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -520,7 +529,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -533,7 +541,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -662,6 +669,15 @@ public Builder applyToAllUnaryMethods( return getAccessApprovalServiceAccountSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AccessApprovalStubSettings build() throws IOException { return new AccessApprovalStubSettings(this); diff --git a/java-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index bfa54811594b..607b403bffbe 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.34.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/AccessContextManagerClient.java b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/AccessContextManagerClient.java index e4971ed3f1fa..f22ef9d2c88b 100644 --- a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/AccessContextManagerClient.java +++ b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/AccessContextManagerClient.java @@ -76,480 +76,481 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListAccessPolicies

ListAccessPolicies

Lists all [access policies] [google.identity.accesscontextmanager.v1.AccessPolicy] in an organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccessPolicies(ListAccessPoliciesRequest request) + *
  • listAccessPolicies(ListAccessPoliciesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccessPoliciesPagedCallable() - *
  • listAccessPoliciesCallable() + *
  • listAccessPoliciesPagedCallable() + *

  • listAccessPoliciesCallable() *

*
GetAccessPolicy

GetAccessPolicy

Returns an [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] based on the name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccessPolicy(GetAccessPolicyRequest request) + *
  • getAccessPolicy(GetAccessPolicyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccessPolicy(AccessPolicyName name) - *
  • getAccessPolicy(String name) + *
  • getAccessPolicy(AccessPolicyName name) + *

  • getAccessPolicy(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccessPolicyCallable() + *
  • getAccessPolicyCallable() *

*
CreateAccessPolicy

CreateAccessPolicy

Creates an access policy. This method fails if the organization already has an access policy. The long-running operation has a successful status after the access policy propagates to long-lasting storage. Syntactic and basic semantic errors are returned in `metadata` as a BadRequest proto.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAccessPolicyAsync(AccessPolicy request) + *
  • createAccessPolicyAsync(AccessPolicy request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAccessPolicyOperationCallable() - *
  • createAccessPolicyCallable() + *
  • createAccessPolicyOperationCallable() + *

  • createAccessPolicyCallable() *

*
UpdateAccessPolicy

UpdateAccessPolicy

Updates an [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy]. The long-running operation from this RPC has a successful status after the changes to the [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] propagate to long-lasting storage.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccessPolicyAsync(UpdateAccessPolicyRequest request) + *
  • updateAccessPolicyAsync(UpdateAccessPolicyRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateAccessPolicyAsync(AccessPolicy policy, FieldMask updateMask) + *
  • updateAccessPolicyAsync(AccessPolicy policy, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccessPolicyOperationCallable() - *
  • updateAccessPolicyCallable() + *
  • updateAccessPolicyOperationCallable() + *

  • updateAccessPolicyCallable() *

*
DeleteAccessPolicy

DeleteAccessPolicy

Deletes an [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] based on the resource name. The long-running operation has a successful status after the [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] is removed from long-lasting storage.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccessPolicyAsync(DeleteAccessPolicyRequest request) + *
  • deleteAccessPolicyAsync(DeleteAccessPolicyRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteAccessPolicyAsync(AccessPolicyName name) - *
  • deleteAccessPolicyAsync(String name) + *
  • deleteAccessPolicyAsync(AccessPolicyName name) + *

  • deleteAccessPolicyAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccessPolicyOperationCallable() - *
  • deleteAccessPolicyCallable() + *
  • deleteAccessPolicyOperationCallable() + *

  • deleteAccessPolicyCallable() *

*
ListAccessLevels

ListAccessLevels

Lists all [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccessLevels(ListAccessLevelsRequest request) + *
  • listAccessLevels(ListAccessLevelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAccessLevels(AccessPolicyName parent) - *
  • listAccessLevels(String parent) + *
  • listAccessLevels(AccessPolicyName parent) + *

  • listAccessLevels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccessLevelsPagedCallable() - *
  • listAccessLevelsCallable() + *
  • listAccessLevelsPagedCallable() + *

  • listAccessLevelsCallable() *

*
GetAccessLevel

GetAccessLevel

Gets an [access level] [google.identity.accesscontextmanager.v1.AccessLevel] based on the resource name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccessLevel(GetAccessLevelRequest request) + *
  • getAccessLevel(GetAccessLevelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccessLevel(AccessLevelName name) - *
  • getAccessLevel(String name) + *
  • getAccessLevel(AccessLevelName name) + *

  • getAccessLevel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccessLevelCallable() + *
  • getAccessLevelCallable() *

*
CreateAccessLevel

CreateAccessLevel

Creates an [access level] [google.identity.accesscontextmanager.v1.AccessLevel]. The long-running operation from this RPC has a successful status after the [access level] [google.identity.accesscontextmanager.v1.AccessLevel] propagates to long-lasting storage. If [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] contain errors, an error response is returned for the first error encountered.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAccessLevelAsync(CreateAccessLevelRequest request) + *
  • createAccessLevelAsync(CreateAccessLevelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createAccessLevelAsync(AccessPolicyName parent, AccessLevel accessLevel) - *
  • createAccessLevelAsync(String parent, AccessLevel accessLevel) + *
  • createAccessLevelAsync(AccessPolicyName parent, AccessLevel accessLevel) + *

  • createAccessLevelAsync(String parent, AccessLevel accessLevel) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAccessLevelOperationCallable() - *
  • createAccessLevelCallable() + *
  • createAccessLevelOperationCallable() + *

  • createAccessLevelCallable() *

*
UpdateAccessLevel

UpdateAccessLevel

Updates an [access level] [google.identity.accesscontextmanager.v1.AccessLevel]. The long-running operation from this RPC has a successful status after the changes to the [access level] [google.identity.accesscontextmanager.v1.AccessLevel] propagate to long-lasting storage. If [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] contain errors, an error response is returned for the first error encountered.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccessLevelAsync(UpdateAccessLevelRequest request) + *
  • updateAccessLevelAsync(UpdateAccessLevelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateAccessLevelAsync(AccessLevel accessLevel, FieldMask updateMask) + *
  • updateAccessLevelAsync(AccessLevel accessLevel, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccessLevelOperationCallable() - *
  • updateAccessLevelCallable() + *
  • updateAccessLevelOperationCallable() + *

  • updateAccessLevelCallable() *

*
DeleteAccessLevel

DeleteAccessLevel

Deletes an [access level] [google.identity.accesscontextmanager.v1.AccessLevel] based on the resource name. The long-running operation from this RPC has a successful status after the [access level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccessLevelAsync(DeleteAccessLevelRequest request) + *
  • deleteAccessLevelAsync(DeleteAccessLevelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteAccessLevelAsync(AccessLevelName name) - *
  • deleteAccessLevelAsync(String name) + *
  • deleteAccessLevelAsync(AccessLevelName name) + *

  • deleteAccessLevelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccessLevelOperationCallable() - *
  • deleteAccessLevelCallable() + *
  • deleteAccessLevelOperationCallable() + *

  • deleteAccessLevelCallable() *

*
ReplaceAccessLevels

ReplaceAccessLevels

Replaces all existing [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing [access levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] result in an error.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • replaceAccessLevelsAsync(ReplaceAccessLevelsRequest request) + *
  • replaceAccessLevelsAsync(ReplaceAccessLevelsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • replaceAccessLevelsOperationCallable() - *
  • replaceAccessLevelsCallable() + *
  • replaceAccessLevelsOperationCallable() + *

  • replaceAccessLevelsCallable() *

*
ListServicePerimeters

ListServicePerimeters

Lists all [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listServicePerimeters(ListServicePerimetersRequest request) + *
  • listServicePerimeters(ListServicePerimetersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listServicePerimeters(AccessPolicyName parent) - *
  • listServicePerimeters(String parent) + *
  • listServicePerimeters(AccessPolicyName parent) + *

  • listServicePerimeters(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listServicePerimetersPagedCallable() - *
  • listServicePerimetersCallable() + *
  • listServicePerimetersPagedCallable() + *

  • listServicePerimetersCallable() *

*
GetServicePerimeter

GetServicePerimeter

Gets a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] based on the resource name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getServicePerimeter(GetServicePerimeterRequest request) + *
  • getServicePerimeter(GetServicePerimeterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getServicePerimeter(ServicePerimeterName name) - *
  • getServicePerimeter(String name) + *
  • getServicePerimeter(ServicePerimeterName name) + *

  • getServicePerimeter(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getServicePerimeterCallable() + *
  • getServicePerimeterCallable() *

*
CreateServicePerimeter

CreateServicePerimeter

Creates a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The long-running operation from this RPC has a successful status after the [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] propagates to long-lasting storage. If a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] contains errors, an error response is returned for the first error encountered.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createServicePerimeterAsync(CreateServicePerimeterRequest request) + *
  • createServicePerimeterAsync(CreateServicePerimeterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createServicePerimeterAsync(AccessPolicyName parent, ServicePerimeter servicePerimeter) - *
  • createServicePerimeterAsync(String parent, ServicePerimeter servicePerimeter) + *
  • createServicePerimeterAsync(AccessPolicyName parent, ServicePerimeter servicePerimeter) + *

  • createServicePerimeterAsync(String parent, ServicePerimeter servicePerimeter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createServicePerimeterOperationCallable() - *
  • createServicePerimeterCallable() + *
  • createServicePerimeterOperationCallable() + *

  • createServicePerimeterCallable() *

*
UpdateServicePerimeter

UpdateServicePerimeter

Updates a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The long-running operation from this RPC has a successful status after the [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] propagates to long-lasting storage. If a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] contains errors, an error response is returned for the first error encountered.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateServicePerimeterAsync(UpdateServicePerimeterRequest request) + *
  • updateServicePerimeterAsync(UpdateServicePerimeterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateServicePerimeterAsync(ServicePerimeter servicePerimeter, FieldMask updateMask) + *
  • updateServicePerimeterAsync(ServicePerimeter servicePerimeter, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateServicePerimeterOperationCallable() - *
  • updateServicePerimeterCallable() + *
  • updateServicePerimeterOperationCallable() + *

  • updateServicePerimeterCallable() *

*
DeleteServicePerimeter

DeleteServicePerimeter

Deletes a [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] based on the resource name. The long-running operation from this RPC has a successful status after the [service perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] is removed from long-lasting storage.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteServicePerimeterAsync(DeleteServicePerimeterRequest request) + *
  • deleteServicePerimeterAsync(DeleteServicePerimeterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteServicePerimeterAsync(ServicePerimeterName name) - *
  • deleteServicePerimeterAsync(String name) + *
  • deleteServicePerimeterAsync(ServicePerimeterName name) + *

  • deleteServicePerimeterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteServicePerimeterOperationCallable() - *
  • deleteServicePerimeterCallable() + *
  • deleteServicePerimeterOperationCallable() + *

  • deleteServicePerimeterCallable() *

*
ReplaceServicePerimeters

ReplaceServicePerimeters

Replace all existing [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [access policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • replaceServicePerimetersAsync(ReplaceServicePerimetersRequest request) + *
  • replaceServicePerimetersAsync(ReplaceServicePerimetersRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • replaceServicePerimetersOperationCallable() - *
  • replaceServicePerimetersCallable() + *
  • replaceServicePerimetersOperationCallable() + *

  • replaceServicePerimetersCallable() *

*
CommitServicePerimeters

CommitServicePerimeters

Commits the dry-run specification for all the [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [access policy][google.identity.accesscontextmanager.v1.AccessPolicy]. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the [service perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • commitServicePerimetersAsync(CommitServicePerimetersRequest request) + *
  • commitServicePerimetersAsync(CommitServicePerimetersRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • commitServicePerimetersOperationCallable() - *
  • commitServicePerimetersCallable() + *
  • commitServicePerimetersOperationCallable() + *

  • commitServicePerimetersCallable() *

*
ListGcpUserAccessBindings

ListGcpUserAccessBindings

Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request) + *
  • listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listGcpUserAccessBindings(OrganizationName parent) - *
  • listGcpUserAccessBindings(String parent) + *
  • listGcpUserAccessBindings(OrganizationName parent) + *

  • listGcpUserAccessBindings(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listGcpUserAccessBindingsPagedCallable() - *
  • listGcpUserAccessBindingsCallable() + *
  • listGcpUserAccessBindingsPagedCallable() + *

  • listGcpUserAccessBindingsCallable() *

*
GetGcpUserAccessBinding

GetGcpUserAccessBinding

Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request) + *
  • getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getGcpUserAccessBinding(GcpUserAccessBindingName name) - *
  • getGcpUserAccessBinding(String name) + *
  • getGcpUserAccessBinding(GcpUserAccessBindingName name) + *

  • getGcpUserAccessBinding(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getGcpUserAccessBindingCallable() + *
  • getGcpUserAccessBindingCallable() *

*
CreateGcpUserAccessBinding

CreateGcpUserAccessBinding

Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server ignores it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest request) + *
  • createGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createGcpUserAccessBindingAsync(OrganizationName parent, GcpUserAccessBinding gcpUserAccessBinding) - *
  • createGcpUserAccessBindingAsync(String parent, GcpUserAccessBinding gcpUserAccessBinding) + *
  • createGcpUserAccessBindingAsync(OrganizationName parent, GcpUserAccessBinding gcpUserAccessBinding) + *

  • createGcpUserAccessBindingAsync(String parent, GcpUserAccessBinding gcpUserAccessBinding) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createGcpUserAccessBindingOperationCallable() - *
  • createGcpUserAccessBindingCallable() + *
  • createGcpUserAccessBindingOperationCallable() + *

  • createGcpUserAccessBindingCallable() *

*
UpdateGcpUserAccessBinding

UpdateGcpUserAccessBinding

Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest request) + *
  • updateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateGcpUserAccessBindingAsync(GcpUserAccessBinding gcpUserAccessBinding, FieldMask updateMask) + *
  • updateGcpUserAccessBindingAsync(GcpUserAccessBinding gcpUserAccessBinding, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateGcpUserAccessBindingOperationCallable() - *
  • updateGcpUserAccessBindingCallable() + *
  • updateGcpUserAccessBindingOperationCallable() + *

  • updateGcpUserAccessBindingCallable() *

*
DeleteGcpUserAccessBinding

DeleteGcpUserAccessBinding

Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest request) + *
  • deleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteGcpUserAccessBindingAsync(GcpUserAccessBindingName name) - *
  • deleteGcpUserAccessBindingAsync(String name) + *
  • deleteGcpUserAccessBindingAsync(GcpUserAccessBindingName name) + *

  • deleteGcpUserAccessBindingAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteGcpUserAccessBindingOperationCallable() - *
  • deleteGcpUserAccessBindingCallable() + *
  • deleteGcpUserAccessBindingOperationCallable() + *

  • deleteGcpUserAccessBindingCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the IAM policy for the specified Access Context Manager [access policy][google.identity.accesscontextmanager.v1.AccessPolicy]. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager [access policy][google.identity.accesscontextmanager.v1.AccessPolicy].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the IAM policy for the specified Access Context Manager [access policy][google.identity.accesscontextmanager.v1.AccessPolicy].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an [AccessPolicy][google.identity.accesscontextmanager.v1.AccessPolicy], [AccessLevel][google.identity.accesscontextmanager.v1.AccessLevel], or [ServicePerimeter][google.identity.accesscontextmanager.v1.ServicePerimeter ]. This method does not support other resources.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/AccessContextManagerStubSettings.java b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/AccessContextManagerStubSettings.java index 12201deadd3e..9037637effdb 100644 --- a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/AccessContextManagerStubSettings.java +++ b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/AccessContextManagerStubSettings.java @@ -796,6 +796,15 @@ public AccessContextManagerStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1271,7 +1280,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1284,7 +1292,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2125,6 +2132,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AccessContextManagerStubSettings build() throws IOException { return new AccessContextManagerStubSettings(this); diff --git a/java-advisorynotifications/README.md b/java-advisorynotifications/README.md index 773695a4734a..647c18698d67 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-advisorynotifications/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.22.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClient.java b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClient.java index 84f58a48ec87..8659b47e6ffd 100644 --- a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClient.java +++ b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClient.java @@ -59,87 +59,88 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListNotifications

ListNotifications

Lists notifications under a given parent.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNotifications(ListNotificationsRequest request) + *
  • listNotifications(ListNotificationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNotifications(LocationName parent) - *
  • listNotifications(String parent) + *
  • listNotifications(LocationName parent) + *

  • listNotifications(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNotificationsPagedCallable() - *
  • listNotificationsCallable() + *
  • listNotificationsPagedCallable() + *

  • listNotificationsCallable() *

*
GetNotification

GetNotification

Gets a notification.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNotification(GetNotificationRequest request) + *
  • getNotification(GetNotificationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNotification(NotificationName name) - *
  • getNotification(String name) + *
  • getNotification(NotificationName name) + *

  • getNotification(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNotificationCallable() + *
  • getNotificationCallable() *

*
GetSettings

GetSettings

Get notification settings.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSettings(GetSettingsRequest request) + *
  • getSettings(GetSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSettings(SettingsName name) - *
  • getSettings(String name) + *
  • getSettings(SettingsName name) + *

  • getSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSettingsCallable() + *
  • getSettingsCallable() *

*
UpdateSettings

UpdateSettings

Update notification settings.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSettings(UpdateSettingsRequest request) + *
  • updateSettings(UpdateSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSettings(Settings settings) + *
  • updateSettings(Settings settings) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSettingsCallable() + *
  • updateSettingsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/AdvisoryNotificationsServiceStubSettings.java b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/AdvisoryNotificationsServiceStubSettings.java index 44f64dea7fef..cfe10a18e1af 100644 --- a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/AdvisoryNotificationsServiceStubSettings.java +++ b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/AdvisoryNotificationsServiceStubSettings.java @@ -211,6 +211,15 @@ public AdvisoryNotificationsServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -403,7 +412,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -416,7 +424,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -485,6 +492,15 @@ public UnaryCallSettings.Builder updateSettings return updateSettingsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AdvisoryNotificationsServiceStubSettings build() throws IOException { return new AdvisoryNotificationsServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java index 3eacceaad010..b284351f6d31 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java @@ -70,434 +70,435 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Creates a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDatasetAsync(CreateDatasetRequest request) + *
  • createDatasetAsync(CreateDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDatasetAsync(LocationName parent, Dataset dataset) - *
  • createDatasetAsync(String parent, Dataset dataset) + *
  • createDatasetAsync(LocationName parent, Dataset dataset) + *

  • createDatasetAsync(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetOperationCallable() - *
  • createDatasetCallable() + *
  • createDatasetOperationCallable() + *

  • createDatasetCallable() *

*
GetDataset

GetDataset

Gets a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
UpdateDataset

UpdateDataset

Updates a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataset(UpdateDatasetRequest request) + *
  • updateDataset(UpdateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataset(Dataset dataset, FieldMask updateMask) + *
  • updateDataset(Dataset dataset, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetCallable() + *
  • updateDatasetCallable() *

*
ListDatasets

ListDatasets

Lists Datasets in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(LocationName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(LocationName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
DeleteDataset

DeleteDataset

Deletes a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetAsync(DeleteDatasetRequest request) + *
  • deleteDatasetAsync(DeleteDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetAsync(DatasetName name) - *
  • deleteDatasetAsync(String name) + *
  • deleteDatasetAsync(DatasetName name) + *

  • deleteDatasetAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetOperationCallable() - *
  • deleteDatasetCallable() + *
  • deleteDatasetOperationCallable() + *

  • deleteDatasetCallable() *

*
ImportData

ImportData

Imports data into a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importDataAsync(ImportDataRequest request) + *
  • importDataAsync(ImportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importDataAsync(DatasetName name, List importConfigs) - *
  • importDataAsync(String name, List importConfigs) + *
  • importDataAsync(DatasetName name, List<ImportDataConfig> importConfigs) + *

  • importDataAsync(String name, List<ImportDataConfig> importConfigs) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importDataOperationCallable() - *
  • importDataCallable() + *
  • importDataOperationCallable() + *

  • importDataCallable() *

*
ExportData

ExportData

Exports data from a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportDataAsync(ExportDataRequest request) + *
  • exportDataAsync(ExportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportDataAsync(DatasetName name, ExportDataConfig exportConfig) - *
  • exportDataAsync(String name, ExportDataConfig exportConfig) + *
  • exportDataAsync(DatasetName name, ExportDataConfig exportConfig) + *

  • exportDataAsync(String name, ExportDataConfig exportConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportDataOperationCallable() - *
  • exportDataCallable() + *
  • exportDataOperationCallable() + *

  • exportDataCallable() *

*
CreateDatasetVersion

CreateDatasetVersion

Create a version from a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDatasetVersionAsync(CreateDatasetVersionRequest request) + *
  • createDatasetVersionAsync(CreateDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDatasetVersionAsync(DatasetName parent, DatasetVersion datasetVersion) - *
  • createDatasetVersionAsync(String parent, DatasetVersion datasetVersion) + *
  • createDatasetVersionAsync(DatasetName parent, DatasetVersion datasetVersion) + *

  • createDatasetVersionAsync(String parent, DatasetVersion datasetVersion) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetVersionOperationCallable() - *
  • createDatasetVersionCallable() + *
  • createDatasetVersionOperationCallable() + *

  • createDatasetVersionCallable() *

*
DeleteDatasetVersion

DeleteDatasetVersion

Deletes a Dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetVersionAsync(DeleteDatasetVersionRequest request) + *
  • deleteDatasetVersionAsync(DeleteDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetVersionAsync(DatasetVersionName name) - *
  • deleteDatasetVersionAsync(String name) + *
  • deleteDatasetVersionAsync(DatasetVersionName name) + *

  • deleteDatasetVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetVersionOperationCallable() - *
  • deleteDatasetVersionCallable() + *
  • deleteDatasetVersionOperationCallable() + *

  • deleteDatasetVersionCallable() *

*
GetDatasetVersion

GetDatasetVersion

Gets a Dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDatasetVersion(GetDatasetVersionRequest request) + *
  • getDatasetVersion(GetDatasetVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDatasetVersion(DatasetVersionName name) - *
  • getDatasetVersion(String name) + *
  • getDatasetVersion(DatasetVersionName name) + *

  • getDatasetVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetVersionCallable() + *
  • getDatasetVersionCallable() *

*
ListDatasetVersions

ListDatasetVersions

Lists DatasetVersions in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasetVersions(ListDatasetVersionsRequest request) + *
  • listDatasetVersions(ListDatasetVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasetVersions(DatasetName parent) - *
  • listDatasetVersions(String parent) + *
  • listDatasetVersions(DatasetName parent) + *

  • listDatasetVersions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetVersionsPagedCallable() - *
  • listDatasetVersionsCallable() + *
  • listDatasetVersionsPagedCallable() + *

  • listDatasetVersionsCallable() *

*
RestoreDatasetVersion

RestoreDatasetVersion

Restores a dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restoreDatasetVersionAsync(RestoreDatasetVersionRequest request) + *
  • restoreDatasetVersionAsync(RestoreDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • restoreDatasetVersionAsync(DatasetVersionName name) - *
  • restoreDatasetVersionAsync(String name) + *
  • restoreDatasetVersionAsync(DatasetVersionName name) + *

  • restoreDatasetVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restoreDatasetVersionOperationCallable() - *
  • restoreDatasetVersionCallable() + *
  • restoreDatasetVersionOperationCallable() + *

  • restoreDatasetVersionCallable() *

*
ListDataItems

ListDataItems

Lists DataItems in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataItems(ListDataItemsRequest request) + *
  • listDataItems(ListDataItemsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataItems(DatasetName parent) - *
  • listDataItems(String parent) + *
  • listDataItems(DatasetName parent) + *

  • listDataItems(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataItemsPagedCallable() - *
  • listDataItemsCallable() + *
  • listDataItemsPagedCallable() + *

  • listDataItemsCallable() *

*
SearchDataItems

SearchDataItems

Searches DataItems in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchDataItems(SearchDataItemsRequest request) + *
  • searchDataItems(SearchDataItemsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchDataItemsPagedCallable() - *
  • searchDataItemsCallable() + *
  • searchDataItemsPagedCallable() + *

  • searchDataItemsCallable() *

*
ListSavedQueries

ListSavedQueries

Lists SavedQueries in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSavedQueries(ListSavedQueriesRequest request) + *
  • listSavedQueries(ListSavedQueriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSavedQueries(DatasetName parent) - *
  • listSavedQueries(String parent) + *
  • listSavedQueries(DatasetName parent) + *

  • listSavedQueries(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSavedQueriesPagedCallable() - *
  • listSavedQueriesCallable() + *
  • listSavedQueriesPagedCallable() + *

  • listSavedQueriesCallable() *

*
DeleteSavedQuery

DeleteSavedQuery

Deletes a SavedQuery.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSavedQueryAsync(DeleteSavedQueryRequest request) + *
  • deleteSavedQueryAsync(DeleteSavedQueryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteSavedQueryAsync(SavedQueryName name) - *
  • deleteSavedQueryAsync(String name) + *
  • deleteSavedQueryAsync(SavedQueryName name) + *

  • deleteSavedQueryAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSavedQueryOperationCallable() - *
  • deleteSavedQueryCallable() + *
  • deleteSavedQueryOperationCallable() + *

  • deleteSavedQueryCallable() *

*
GetAnnotationSpec

GetAnnotationSpec

Gets an AnnotationSpec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAnnotationSpec(GetAnnotationSpecRequest request) + *
  • getAnnotationSpec(GetAnnotationSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAnnotationSpec(AnnotationSpecName name) - *
  • getAnnotationSpec(String name) + *
  • getAnnotationSpec(AnnotationSpecName name) + *

  • getAnnotationSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAnnotationSpecCallable() + *
  • getAnnotationSpecCallable() *

*
ListAnnotations

ListAnnotations

Lists Annotations belongs to a dataitem

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAnnotations(ListAnnotationsRequest request) + *
  • listAnnotations(ListAnnotationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAnnotations(DataItemName parent) - *
  • listAnnotations(String parent) + *
  • listAnnotations(DataItemName parent) + *

  • listAnnotations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAnnotationsPagedCallable() - *
  • listAnnotationsCallable() + *
  • listAnnotationsPagedCallable() + *

  • listAnnotationsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceClient.java index bf7988757ea2..f74a1ab9c04c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceClient.java @@ -73,182 +73,183 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDeploymentResourcePool

CreateDeploymentResourcePool

Create a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest request) + *
  • createDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDeploymentResourcePoolAsync(LocationName parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) - *
  • createDeploymentResourcePoolAsync(String parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) + *
  • createDeploymentResourcePoolAsync(LocationName parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) + *

  • createDeploymentResourcePoolAsync(String parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDeploymentResourcePoolOperationCallable() - *
  • createDeploymentResourcePoolCallable() + *
  • createDeploymentResourcePoolOperationCallable() + *

  • createDeploymentResourcePoolCallable() *

*
GetDeploymentResourcePool

GetDeploymentResourcePool

Get a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDeploymentResourcePool(GetDeploymentResourcePoolRequest request) + *
  • getDeploymentResourcePool(GetDeploymentResourcePoolRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDeploymentResourcePool(DeploymentResourcePoolName name) - *
  • getDeploymentResourcePool(String name) + *
  • getDeploymentResourcePool(DeploymentResourcePoolName name) + *

  • getDeploymentResourcePool(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDeploymentResourcePoolCallable() + *
  • getDeploymentResourcePoolCallable() *

*
ListDeploymentResourcePools

ListDeploymentResourcePools

List DeploymentResourcePools in a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDeploymentResourcePools(ListDeploymentResourcePoolsRequest request) + *
  • listDeploymentResourcePools(ListDeploymentResourcePoolsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDeploymentResourcePools(ProjectName parent) - *
  • listDeploymentResourcePools(String parent) + *
  • listDeploymentResourcePools(ProjectName parent) + *

  • listDeploymentResourcePools(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDeploymentResourcePoolsPagedCallable() - *
  • listDeploymentResourcePoolsCallable() + *
  • listDeploymentResourcePoolsPagedCallable() + *

  • listDeploymentResourcePoolsCallable() *

*
DeleteDeploymentResourcePool

DeleteDeploymentResourcePool

Delete a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest request) + *
  • deleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDeploymentResourcePoolAsync(DeploymentResourcePoolName name) - *
  • deleteDeploymentResourcePoolAsync(String name) + *
  • deleteDeploymentResourcePoolAsync(DeploymentResourcePoolName name) + *

  • deleteDeploymentResourcePoolAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDeploymentResourcePoolOperationCallable() - *
  • deleteDeploymentResourcePoolCallable() + *
  • deleteDeploymentResourcePoolOperationCallable() + *

  • deleteDeploymentResourcePoolCallable() *

*
QueryDeployedModels

QueryDeployedModels

List DeployedModels that have been deployed on this DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryDeployedModels(QueryDeployedModelsRequest request) + *
  • queryDeployedModels(QueryDeployedModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryDeployedModels(String deploymentResourcePool) + *
  • queryDeployedModels(String deploymentResourcePool) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryDeployedModelsPagedCallable() - *
  • queryDeployedModelsCallable() + *
  • queryDeployedModelsPagedCallable() + *

  • queryDeployedModelsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java index 629f04db5a39..5fd35e4d7f6d 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java @@ -73,243 +73,244 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateEndpoint

CreateEndpoint

Creates an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createEndpointAsync(CreateEndpointRequest request) + *
  • createEndpointAsync(CreateEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createEndpointAsync(LocationName parent, Endpoint endpoint) - *
  • createEndpointAsync(String parent, Endpoint endpoint) - *
  • createEndpointAsync(LocationName parent, Endpoint endpoint, String endpointId) - *
  • createEndpointAsync(String parent, Endpoint endpoint, String endpointId) + *
  • createEndpointAsync(LocationName parent, Endpoint endpoint) + *

  • createEndpointAsync(String parent, Endpoint endpoint) + *

  • createEndpointAsync(LocationName parent, Endpoint endpoint, String endpointId) + *

  • createEndpointAsync(String parent, Endpoint endpoint, String endpointId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createEndpointOperationCallable() - *
  • createEndpointCallable() + *
  • createEndpointOperationCallable() + *

  • createEndpointCallable() *

*
GetEndpoint

GetEndpoint

Gets an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEndpoint(GetEndpointRequest request) + *
  • getEndpoint(GetEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEndpoint(EndpointName name) - *
  • getEndpoint(String name) + *
  • getEndpoint(EndpointName name) + *

  • getEndpoint(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEndpointCallable() + *
  • getEndpointCallable() *

*
ListEndpoints

ListEndpoints

Lists Endpoints in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listEndpoints(ListEndpointsRequest request) + *
  • listEndpoints(ListEndpointsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listEndpoints(LocationName parent) - *
  • listEndpoints(String parent) + *
  • listEndpoints(LocationName parent) + *

  • listEndpoints(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listEndpointsPagedCallable() - *
  • listEndpointsCallable() + *
  • listEndpointsPagedCallable() + *

  • listEndpointsCallable() *

*
UpdateEndpoint

UpdateEndpoint

Updates an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEndpoint(UpdateEndpointRequest request) + *
  • updateEndpoint(UpdateEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEndpoint(Endpoint endpoint, FieldMask updateMask) + *
  • updateEndpoint(Endpoint endpoint, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEndpointCallable() + *
  • updateEndpointCallable() *

*
DeleteEndpoint

DeleteEndpoint

Deletes an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteEndpointAsync(DeleteEndpointRequest request) + *
  • deleteEndpointAsync(DeleteEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteEndpointAsync(EndpointName name) - *
  • deleteEndpointAsync(String name) + *
  • deleteEndpointAsync(EndpointName name) + *

  • deleteEndpointAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteEndpointOperationCallable() - *
  • deleteEndpointCallable() + *
  • deleteEndpointOperationCallable() + *

  • deleteEndpointCallable() *

*
DeployModel

DeployModel

Deploys a Model into this Endpoint, creating a DeployedModel within it.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployModelAsync(DeployModelRequest request) + *
  • deployModelAsync(DeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployModelAsync(EndpointName endpoint, DeployedModel deployedModel, Map trafficSplit) - *
  • deployModelAsync(String endpoint, DeployedModel deployedModel, Map trafficSplit) + *
  • deployModelAsync(EndpointName endpoint, DeployedModel deployedModel, Map<String, Integer> trafficSplit) + *

  • deployModelAsync(String endpoint, DeployedModel deployedModel, Map<String, Integer> trafficSplit) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployModelOperationCallable() - *
  • deployModelCallable() + *
  • deployModelOperationCallable() + *

  • deployModelCallable() *

*
UndeployModel

UndeployModel

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployModelAsync(UndeployModelRequest request) + *
  • undeployModelAsync(UndeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployModelAsync(EndpointName endpoint, String deployedModelId, Map trafficSplit) - *
  • undeployModelAsync(String endpoint, String deployedModelId, Map trafficSplit) + *
  • undeployModelAsync(EndpointName endpoint, String deployedModelId, Map<String, Integer> trafficSplit) + *

  • undeployModelAsync(String endpoint, String deployedModelId, Map<String, Integer> trafficSplit) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployModelOperationCallable() - *
  • undeployModelCallable() + *
  • undeployModelOperationCallable() + *

  • undeployModelCallable() *

*
MutateDeployedModel

MutateDeployedModel

Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mutateDeployedModelAsync(MutateDeployedModelRequest request) + *
  • mutateDeployedModelAsync(MutateDeployedModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • mutateDeployedModelAsync(EndpointName endpoint, DeployedModel deployedModel, FieldMask updateMask) - *
  • mutateDeployedModelAsync(String endpoint, DeployedModel deployedModel, FieldMask updateMask) + *
  • mutateDeployedModelAsync(EndpointName endpoint, DeployedModel deployedModel, FieldMask updateMask) + *

  • mutateDeployedModelAsync(String endpoint, DeployedModel deployedModel, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mutateDeployedModelOperationCallable() - *
  • mutateDeployedModelCallable() + *
  • mutateDeployedModelOperationCallable() + *

  • mutateDeployedModelCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClient.java index fd765c6a40a7..b8072192d41c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClient.java @@ -74,338 +74,339 @@ * automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeatureOnlineStore

CreateFeatureOnlineStore

Creates a new FeatureOnlineStore in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request) + *
  • createFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) - *
  • createFeatureOnlineStoreAsync(String parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) + *
  • createFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) + *

  • createFeatureOnlineStoreAsync(String parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOnlineStoreOperationCallable() - *
  • createFeatureOnlineStoreCallable() + *
  • createFeatureOnlineStoreOperationCallable() + *

  • createFeatureOnlineStoreCallable() *

*
GetFeatureOnlineStore

GetFeatureOnlineStore

Gets details of a single FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureOnlineStore(GetFeatureOnlineStoreRequest request) + *
  • getFeatureOnlineStore(GetFeatureOnlineStoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureOnlineStore(FeatureOnlineStoreName name) - *
  • getFeatureOnlineStore(String name) + *
  • getFeatureOnlineStore(FeatureOnlineStoreName name) + *

  • getFeatureOnlineStore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureOnlineStoreCallable() + *
  • getFeatureOnlineStoreCallable() *

*
ListFeatureOnlineStores

ListFeatureOnlineStores

Lists FeatureOnlineStores in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureOnlineStores(ListFeatureOnlineStoresRequest request) + *
  • listFeatureOnlineStores(ListFeatureOnlineStoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureOnlineStores(LocationName parent) - *
  • listFeatureOnlineStores(String parent) + *
  • listFeatureOnlineStores(LocationName parent) + *

  • listFeatureOnlineStores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureOnlineStoresPagedCallable() - *
  • listFeatureOnlineStoresCallable() + *
  • listFeatureOnlineStoresPagedCallable() + *

  • listFeatureOnlineStoresCallable() *

*
UpdateFeatureOnlineStore

UpdateFeatureOnlineStore

Updates the parameters of a single FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request) + *
  • updateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask) + *
  • updateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureOnlineStoreOperationCallable() - *
  • updateFeatureOnlineStoreCallable() + *
  • updateFeatureOnlineStoreOperationCallable() + *

  • updateFeatureOnlineStoreCallable() *

*
DeleteFeatureOnlineStore

DeleteFeatureOnlineStore

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest request) + *
  • deleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureOnlineStoreAsync(FeatureOnlineStoreName name, boolean force) - *
  • deleteFeatureOnlineStoreAsync(String name, boolean force) + *
  • deleteFeatureOnlineStoreAsync(FeatureOnlineStoreName name, boolean force) + *

  • deleteFeatureOnlineStoreAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOnlineStoreOperationCallable() - *
  • deleteFeatureOnlineStoreCallable() + *
  • deleteFeatureOnlineStoreOperationCallable() + *

  • deleteFeatureOnlineStoreCallable() *

*
CreateFeatureView

CreateFeatureView

Creates a new FeatureView in a given FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureViewAsync(CreateFeatureViewRequest request) + *
  • createFeatureViewAsync(CreateFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, String featureViewId) - *
  • createFeatureViewAsync(String parent, FeatureView featureView, String featureViewId) + *
  • createFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, String featureViewId) + *

  • createFeatureViewAsync(String parent, FeatureView featureView, String featureViewId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureViewOperationCallable() - *
  • createFeatureViewCallable() + *
  • createFeatureViewOperationCallable() + *

  • createFeatureViewCallable() *

*
GetFeatureView

GetFeatureView

Gets details of a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureView(GetFeatureViewRequest request) + *
  • getFeatureView(GetFeatureViewRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureView(FeatureViewName name) - *
  • getFeatureView(String name) + *
  • getFeatureView(FeatureViewName name) + *

  • getFeatureView(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureViewCallable() + *
  • getFeatureViewCallable() *

*
ListFeatureViews

ListFeatureViews

Lists FeatureViews in a given FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureViews(ListFeatureViewsRequest request) + *
  • listFeatureViews(ListFeatureViewsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureViews(FeatureOnlineStoreName parent) - *
  • listFeatureViews(String parent) + *
  • listFeatureViews(FeatureOnlineStoreName parent) + *

  • listFeatureViews(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureViewsPagedCallable() - *
  • listFeatureViewsCallable() + *
  • listFeatureViewsPagedCallable() + *

  • listFeatureViewsCallable() *

*
UpdateFeatureView

UpdateFeatureView

Updates the parameters of a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureViewAsync(UpdateFeatureViewRequest request) + *
  • updateFeatureViewAsync(UpdateFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureViewAsync(FeatureView featureView, FieldMask updateMask) + *
  • updateFeatureViewAsync(FeatureView featureView, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureViewOperationCallable() - *
  • updateFeatureViewCallable() + *
  • updateFeatureViewOperationCallable() + *

  • updateFeatureViewCallable() *

*
DeleteFeatureView

DeleteFeatureView

Deletes a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureViewAsync(DeleteFeatureViewRequest request) + *
  • deleteFeatureViewAsync(DeleteFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureViewAsync(FeatureViewName name) - *
  • deleteFeatureViewAsync(String name) + *
  • deleteFeatureViewAsync(FeatureViewName name) + *

  • deleteFeatureViewAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureViewOperationCallable() - *
  • deleteFeatureViewCallable() + *
  • deleteFeatureViewOperationCallable() + *

  • deleteFeatureViewCallable() *

*
SyncFeatureView

SyncFeatureView

Triggers on-demand sync for the FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • syncFeatureView(SyncFeatureViewRequest request) + *
  • syncFeatureView(SyncFeatureViewRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • syncFeatureView(FeatureViewName featureView) - *
  • syncFeatureView(String featureView) + *
  • syncFeatureView(FeatureViewName featureView) + *

  • syncFeatureView(String featureView) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • syncFeatureViewCallable() + *
  • syncFeatureViewCallable() *

*
GetFeatureViewSync

GetFeatureViewSync

Gets details of a single FeatureViewSync.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureViewSync(GetFeatureViewSyncRequest request) + *
  • getFeatureViewSync(GetFeatureViewSyncRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureViewSync(FeatureViewSyncName name) - *
  • getFeatureViewSync(String name) + *
  • getFeatureViewSync(FeatureViewSyncName name) + *

  • getFeatureViewSync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureViewSyncCallable() + *
  • getFeatureViewSyncCallable() *

*
ListFeatureViewSyncs

ListFeatureViewSyncs

Lists FeatureViewSyncs in a given FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureViewSyncs(ListFeatureViewSyncsRequest request) + *
  • listFeatureViewSyncs(ListFeatureViewSyncsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureViewSyncs(FeatureViewName parent) - *
  • listFeatureViewSyncs(String parent) + *
  • listFeatureViewSyncs(FeatureViewName parent) + *

  • listFeatureViewSyncs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureViewSyncsPagedCallable() - *
  • listFeatureViewSyncsCallable() + *
  • listFeatureViewSyncsPagedCallable() + *

  • listFeatureViewSyncsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java index a62c6decbe96..d3a6b70279ca 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java @@ -67,103 +67,104 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
FetchFeatureValues

FetchFeatureValues

Fetch feature values under a FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • fetchFeatureValues(FetchFeatureValuesRequest request) + *
  • fetchFeatureValues(FetchFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • fetchFeatureValues(FeatureViewName featureView, FeatureViewDataKey dataKey) - *
  • fetchFeatureValues(String featureView, FeatureViewDataKey dataKey) + *
  • fetchFeatureValues(FeatureViewName featureView, FeatureViewDataKey dataKey) + *

  • fetchFeatureValues(String featureView, FeatureViewDataKey dataKey) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • fetchFeatureValuesCallable() + *
  • fetchFeatureValuesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java index c8403b0594df..caf7e2d3194a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java @@ -72,282 +72,283 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeatureGroup

CreateFeatureGroup

Creates a new FeatureGroup in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureGroupAsync(CreateFeatureGroupRequest request) + *
  • createFeatureGroupAsync(CreateFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureGroupAsync(LocationName parent, FeatureGroup featureGroup, String featureGroupId) - *
  • createFeatureGroupAsync(String parent, FeatureGroup featureGroup, String featureGroupId) + *
  • createFeatureGroupAsync(LocationName parent, FeatureGroup featureGroup, String featureGroupId) + *

  • createFeatureGroupAsync(String parent, FeatureGroup featureGroup, String featureGroupId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureGroupOperationCallable() - *
  • createFeatureGroupCallable() + *
  • createFeatureGroupOperationCallable() + *

  • createFeatureGroupCallable() *

*
GetFeatureGroup

GetFeatureGroup

Gets details of a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureGroup(GetFeatureGroupRequest request) + *
  • getFeatureGroup(GetFeatureGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureGroup(FeatureGroupName name) - *
  • getFeatureGroup(String name) + *
  • getFeatureGroup(FeatureGroupName name) + *

  • getFeatureGroup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureGroupCallable() + *
  • getFeatureGroupCallable() *

*
ListFeatureGroups

ListFeatureGroups

Lists FeatureGroups in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureGroups(ListFeatureGroupsRequest request) + *
  • listFeatureGroups(ListFeatureGroupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureGroups(LocationName parent) - *
  • listFeatureGroups(String parent) + *
  • listFeatureGroups(LocationName parent) + *

  • listFeatureGroups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureGroupsPagedCallable() - *
  • listFeatureGroupsCallable() + *
  • listFeatureGroupsPagedCallable() + *

  • listFeatureGroupsCallable() *

*
UpdateFeatureGroup

UpdateFeatureGroup

Updates the parameters of a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureGroupAsync(UpdateFeatureGroupRequest request) + *
  • updateFeatureGroupAsync(UpdateFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureGroupAsync(FeatureGroup featureGroup, FieldMask updateMask) + *
  • updateFeatureGroupAsync(FeatureGroup featureGroup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureGroupOperationCallable() - *
  • updateFeatureGroupCallable() + *
  • updateFeatureGroupOperationCallable() + *

  • updateFeatureGroupCallable() *

*
DeleteFeatureGroup

DeleteFeatureGroup

Deletes a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureGroupAsync(DeleteFeatureGroupRequest request) + *
  • deleteFeatureGroupAsync(DeleteFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureGroupAsync(FeatureGroupName name, boolean force) - *
  • deleteFeatureGroupAsync(String name, boolean force) + *
  • deleteFeatureGroupAsync(FeatureGroupName name, boolean force) + *

  • deleteFeatureGroupAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureGroupOperationCallable() - *
  • deleteFeatureGroupCallable() + *
  • deleteFeatureGroupOperationCallable() + *

  • deleteFeatureGroupCallable() *

*
CreateFeature

CreateFeature

Creates a new Feature in a given FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureAsync(CreateFeatureRequest request) + *
  • createFeatureAsync(CreateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) - *
  • createFeatureAsync(String parent, Feature feature, String featureId) + *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) + *

  • createFeatureAsync(String parent, Feature feature, String featureId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOperationCallable() - *
  • createFeatureCallable() + *
  • createFeatureOperationCallable() + *

  • createFeatureCallable() *

*
GetFeature

GetFeature

Gets details of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeature(GetFeatureRequest request) + *
  • getFeature(GetFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeature(FeatureName name) - *
  • getFeature(String name) + *
  • getFeature(FeatureName name) + *

  • getFeature(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureCallable() + *
  • getFeatureCallable() *

*
ListFeatures

ListFeatures

Lists Features in a given FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatures(ListFeaturesRequest request) + *
  • listFeatures(ListFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatures(EntityTypeName parent) - *
  • listFeatures(FeatureGroupName parent) - *
  • listFeatures(String parent) + *
  • listFeatures(EntityTypeName parent) + *

  • listFeatures(FeatureGroupName parent) + *

  • listFeatures(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturesPagedCallable() - *
  • listFeaturesCallable() + *
  • listFeaturesPagedCallable() + *

  • listFeaturesCallable() *

*
UpdateFeature

UpdateFeature

Updates the parameters of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureAsync(UpdateFeatureRequest request) + *
  • updateFeatureAsync(UpdateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureAsync(Feature feature, FieldMask updateMask) + *
  • updateFeatureAsync(Feature feature, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureOperationCallable() - *
  • updateFeatureCallable() + *
  • updateFeatureOperationCallable() + *

  • updateFeatureCallable() *

*
DeleteFeature

DeleteFeature

Deletes a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureAsync(DeleteFeatureRequest request) + *
  • deleteFeatureAsync(DeleteFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureAsync(FeatureName name) - *
  • deleteFeatureAsync(String name) + *
  • deleteFeatureAsync(FeatureName name) + *

  • deleteFeatureAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOperationCallable() - *
  • deleteFeatureCallable() + *
  • deleteFeatureOperationCallable() + *

  • deleteFeatureCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java index 0a07a07d69a7..82e412dc199d 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java @@ -69,133 +69,134 @@ * automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ReadFeatureValues

ReadFeatureValues

Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readFeatureValues(ReadFeatureValuesRequest request) + *
  • readFeatureValues(ReadFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readFeatureValues(EntityTypeName entityType) - *
  • readFeatureValues(String entityType) + *
  • readFeatureValues(EntityTypeName entityType) + *

  • readFeatureValues(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readFeatureValuesCallable() + *
  • readFeatureValuesCallable() *

*
StreamingReadFeatureValues

StreamingReadFeatureValues

Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingReadFeatureValuesCallable() + *
  • streamingReadFeatureValuesCallable() *

*
WriteFeatureValues

WriteFeatureValues

Writes Feature values of one or more entities of an EntityType. *

The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeFeatureValues(WriteFeatureValuesRequest request) + *
  • writeFeatureValues(WriteFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeFeatureValues(EntityTypeName entityType, List payloads) - *
  • writeFeatureValues(String entityType, List payloads) + *
  • writeFeatureValues(EntityTypeName entityType, List<WriteFeatureValuesPayload> payloads) + *

  • writeFeatureValues(String entityType, List<WriteFeatureValuesPayload> payloads) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeFeatureValuesCallable() + *
  • writeFeatureValuesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java index 3e082f4157a7..434407b6f6ec 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java @@ -71,334 +71,336 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeaturestore

CreateFeaturestore

Creates a new Featurestore in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeaturestoreAsync(CreateFeaturestoreRequest request) + *
  • createFeaturestoreAsync(CreateFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore) - *
  • createFeaturestoreAsync(String parent, Featurestore featurestore) - *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore, String featurestoreId) - *
  • createFeaturestoreAsync(String parent, Featurestore featurestore, String featurestoreId) + *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore) + *

  • createFeaturestoreAsync(String parent, Featurestore featurestore) + *

  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore, String featurestoreId) + *

  • createFeaturestoreAsync(String parent, Featurestore featurestore, String featurestoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeaturestoreOperationCallable() - *
  • createFeaturestoreCallable() + *
  • createFeaturestoreOperationCallable() + *

  • createFeaturestoreCallable() *

*
GetFeaturestore

GetFeaturestore

Gets details of a single Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeaturestore(GetFeaturestoreRequest request) + *
  • getFeaturestore(GetFeaturestoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeaturestore(FeaturestoreName name) - *
  • getFeaturestore(String name) + *
  • getFeaturestore(FeaturestoreName name) + *

  • getFeaturestore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeaturestoreCallable() + *
  • getFeaturestoreCallable() *

*
ListFeaturestores

ListFeaturestores

Lists Featurestores in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeaturestores(ListFeaturestoresRequest request) + *
  • listFeaturestores(ListFeaturestoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeaturestores(LocationName parent) - *
  • listFeaturestores(String parent) + *
  • listFeaturestores(LocationName parent) + *

  • listFeaturestores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturestoresPagedCallable() - *
  • listFeaturestoresCallable() + *
  • listFeaturestoresPagedCallable() + *

  • listFeaturestoresCallable() *

*
UpdateFeaturestore

UpdateFeaturestore

Updates the parameters of a single Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeaturestoreAsync(UpdateFeaturestoreRequest request) + *
  • updateFeaturestoreAsync(UpdateFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask) + *
  • updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeaturestoreOperationCallable() - *
  • updateFeaturestoreCallable() + *
  • updateFeaturestoreOperationCallable() + *

  • updateFeaturestoreCallable() *

*
DeleteFeaturestore

DeleteFeaturestore

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or `force` must be set to true for the request to succeed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeaturestoreAsync(DeleteFeaturestoreRequest request) + *
  • deleteFeaturestoreAsync(DeleteFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeaturestoreAsync(FeaturestoreName name) - *
  • deleteFeaturestoreAsync(String name) - *
  • deleteFeaturestoreAsync(FeaturestoreName name, boolean force) - *
  • deleteFeaturestoreAsync(String name, boolean force) + *
  • deleteFeaturestoreAsync(FeaturestoreName name) + *

  • deleteFeaturestoreAsync(String name) + *

  • deleteFeaturestoreAsync(FeaturestoreName name, boolean force) + *

  • deleteFeaturestoreAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeaturestoreOperationCallable() - *
  • deleteFeaturestoreCallable() + *
  • deleteFeaturestoreOperationCallable() + *

  • deleteFeaturestoreCallable() *

*
CreateEntityType

CreateEntityType

Creates a new EntityType in a given Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createEntityTypeAsync(CreateEntityTypeRequest request) + *
  • createEntityTypeAsync(CreateEntityTypeRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType) - *
  • createEntityTypeAsync(String parent, EntityType entityType) - *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType, String entityTypeId) - *
  • createEntityTypeAsync(String parent, EntityType entityType, String entityTypeId) + *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType) + *

  • createEntityTypeAsync(String parent, EntityType entityType) + *

  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType, String entityTypeId) + *

  • createEntityTypeAsync(String parent, EntityType entityType, String entityTypeId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createEntityTypeOperationCallable() - *
  • createEntityTypeCallable() + *
  • createEntityTypeOperationCallable() + *

  • createEntityTypeCallable() *

*
GetEntityType

GetEntityType

Gets details of a single EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEntityType(GetEntityTypeRequest request) + *
  • getEntityType(GetEntityTypeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEntityType(EntityTypeName name) - *
  • getEntityType(String name) + *
  • getEntityType(EntityTypeName name) + *

  • getEntityType(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEntityTypeCallable() + *
  • getEntityTypeCallable() *

*
ListEntityTypes

ListEntityTypes

Lists EntityTypes in a given Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listEntityTypes(ListEntityTypesRequest request) + *
  • listEntityTypes(ListEntityTypesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listEntityTypes(FeaturestoreName parent) - *
  • listEntityTypes(String parent) + *
  • listEntityTypes(FeaturestoreName parent) + *

  • listEntityTypes(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listEntityTypesPagedCallable() - *
  • listEntityTypesCallable() + *
  • listEntityTypesPagedCallable() + *

  • listEntityTypesCallable() *

*
UpdateEntityType

UpdateEntityType

Updates the parameters of a single EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEntityType(UpdateEntityTypeRequest request) + *
  • updateEntityType(UpdateEntityTypeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEntityType(EntityType entityType, FieldMask updateMask) + *
  • updateEntityType(EntityType entityType, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEntityTypeCallable() + *
  • updateEntityTypeCallable() *

*
DeleteEntityType

DeleteEntityType

Deletes a single EntityType. The EntityType must not have any Features or `force` must be set to true for the request to succeed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteEntityTypeAsync(DeleteEntityTypeRequest request) + *
  • deleteEntityTypeAsync(DeleteEntityTypeRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteEntityTypeAsync(EntityTypeName name) - *
  • deleteEntityTypeAsync(String name) - *
  • deleteEntityTypeAsync(EntityTypeName name, boolean force) - *
  • deleteEntityTypeAsync(String name, boolean force) + *
  • deleteEntityTypeAsync(EntityTypeName name) + *

  • deleteEntityTypeAsync(String name) + *

  • deleteEntityTypeAsync(EntityTypeName name, boolean force) + *

  • deleteEntityTypeAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteEntityTypeOperationCallable() - *
  • deleteEntityTypeCallable() + *
  • deleteEntityTypeOperationCallable() + *

  • deleteEntityTypeCallable() *

*
CreateFeature

CreateFeature

Creates a new Feature in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureAsync(CreateFeatureRequest request) + *
  • createFeatureAsync(CreateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureAsync(EntityTypeName parent, Feature feature) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature) - *
  • createFeatureAsync(String parent, Feature feature) - *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) - *
  • createFeatureAsync(String parent, Feature feature, String featureId) + *
  • createFeatureAsync(EntityTypeName parent, Feature feature) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature) + *

  • createFeatureAsync(String parent, Feature feature) + *

  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) + *

  • createFeatureAsync(String parent, Feature feature, String featureId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOperationCallable() - *
  • createFeatureCallable() + *
  • createFeatureOperationCallable() + *

  • createFeatureCallable() *

*
BatchCreateFeatures

BatchCreateFeatures

Creates a batch of Features in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateFeaturesAsync(EntityTypeName parent, List requests) - *
  • batchCreateFeaturesAsync(String parent, List requests) - *
  • batchCreateFeaturesAsync(BatchCreateFeaturesRequest request) + *
  • batchCreateFeaturesAsync(EntityTypeName parent, List<CreateFeatureRequest> requests) + *

  • batchCreateFeaturesAsync(String parent, List<CreateFeatureRequest> requests) + *

  • batchCreateFeaturesAsync(BatchCreateFeaturesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateFeaturesOperationCallable() - *
  • batchCreateFeaturesCallable() + *
  • batchCreateFeaturesOperationCallable() + *

  • batchCreateFeaturesCallable() *

*
GetFeature

GetFeature

Gets details of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeature(GetFeatureRequest request) + *
  • getFeature(GetFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeature(FeatureName name) - *
  • getFeature(String name) + *
  • getFeature(FeatureName name) + *

  • getFeature(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureCallable() + *
  • getFeatureCallable() *

*
ListFeatures

ListFeatures

Lists Features in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatures(ListFeaturesRequest request) + *
  • listFeatures(ListFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatures(EntityTypeName parent) - *
  • listFeatures(FeatureGroupName parent) - *
  • listFeatures(String parent) + *
  • listFeatures(EntityTypeName parent) + *

  • listFeatures(FeatureGroupName parent) + *

  • listFeatures(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturesPagedCallable() - *
  • listFeaturesCallable() + *
  • listFeaturesPagedCallable() + *

  • listFeaturesCallable() *

*
UpdateFeature

UpdateFeature

Updates the parameters of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeature(UpdateFeatureRequest request) + *
  • updateFeature(UpdateFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateFeature(Feature feature, FieldMask updateMask) + *
  • updateFeature(Feature feature, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureCallable() + *
  • updateFeatureCallable() *

*
DeleteFeature

DeleteFeature

Deletes a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureAsync(DeleteFeatureRequest request) + *
  • deleteFeatureAsync(DeleteFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureAsync(FeatureName name) - *
  • deleteFeatureAsync(String name) + *
  • deleteFeatureAsync(FeatureName name) + *

  • deleteFeatureAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOperationCallable() - *
  • deleteFeatureCallable() + *
  • deleteFeatureOperationCallable() + *

  • deleteFeatureCallable() *

*
ImportFeatureValues

ImportFeatureValues

Imports Feature values into the Featurestore from a source storage. *

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done. *

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done. @@ -407,179 +409,178 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importFeatureValuesAsync(ImportFeatureValuesRequest request) + *
  • importFeatureValuesAsync(ImportFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importFeatureValuesAsync(EntityTypeName entityType) - *
  • importFeatureValuesAsync(String entityType) + *
  • importFeatureValuesAsync(EntityTypeName entityType) + *

  • importFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importFeatureValuesOperationCallable() - *
  • importFeatureValuesCallable() + *
  • importFeatureValuesOperationCallable() + *

  • importFeatureValuesCallable() *

*
BatchReadFeatureValues

BatchReadFeatureValues

Batch reads Feature values from a Featurestore. *

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request) + *
  • batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchReadFeatureValuesAsync(FeaturestoreName featurestore) - *
  • batchReadFeatureValuesAsync(String featurestore) + *
  • batchReadFeatureValuesAsync(FeaturestoreName featurestore) + *

  • batchReadFeatureValuesAsync(String featurestore) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchReadFeatureValuesOperationCallable() - *
  • batchReadFeatureValuesCallable() + *
  • batchReadFeatureValuesOperationCallable() + *

  • batchReadFeatureValuesCallable() *

*
ExportFeatureValues

ExportFeatureValues

Exports Feature values from all the entities of a target EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportFeatureValuesAsync(ExportFeatureValuesRequest request) + *
  • exportFeatureValuesAsync(ExportFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportFeatureValuesAsync(EntityTypeName entityType) - *
  • exportFeatureValuesAsync(String entityType) + *
  • exportFeatureValuesAsync(EntityTypeName entityType) + *

  • exportFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportFeatureValuesOperationCallable() - *
  • exportFeatureValuesCallable() + *
  • exportFeatureValuesOperationCallable() + *

  • exportFeatureValuesCallable() *

*
DeleteFeatureValues

DeleteFeatureValues

Delete Feature values from Featurestore. *

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done. *

If a delete feature values operation fails, the feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same delete request again and wait till the new operation returned is marked as successfully done.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) + *
  • deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureValuesAsync(EntityTypeName entityType) - *
  • deleteFeatureValuesAsync(String entityType) + *
  • deleteFeatureValuesAsync(EntityTypeName entityType) + *

  • deleteFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureValuesOperationCallable() - *
  • deleteFeatureValuesCallable() + *
  • deleteFeatureValuesOperationCallable() + *

  • deleteFeatureValuesCallable() *

*
SearchFeatures

SearchFeatures

Searches Features matching a query in a given project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchFeatures(SearchFeaturesRequest request) + *
  • searchFeatures(SearchFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchFeatures(LocationName location) - *
  • searchFeatures(String location) - *
  • searchFeatures(LocationName location, String query) - *
  • searchFeatures(String location, String query) + *
  • searchFeatures(LocationName location) + *

  • searchFeatures(String location) + *

  • searchFeatures(LocationName location, String query) + *

  • searchFeatures(String location, String query) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchFeaturesPagedCallable() - *
  • searchFeaturesCallable() + *
  • searchFeaturesPagedCallable() + *

  • searchFeaturesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java index 77a1f9c70dfb..2bc34cd8b7aa 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java @@ -72,241 +72,242 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateIndexEndpoint

CreateIndexEndpoint

Creates an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createIndexEndpointAsync(CreateIndexEndpointRequest request) + *
  • createIndexEndpointAsync(CreateIndexEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createIndexEndpointAsync(LocationName parent, IndexEndpoint indexEndpoint) - *
  • createIndexEndpointAsync(String parent, IndexEndpoint indexEndpoint) + *
  • createIndexEndpointAsync(LocationName parent, IndexEndpoint indexEndpoint) + *

  • createIndexEndpointAsync(String parent, IndexEndpoint indexEndpoint) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createIndexEndpointOperationCallable() - *
  • createIndexEndpointCallable() + *
  • createIndexEndpointOperationCallable() + *

  • createIndexEndpointCallable() *

*
GetIndexEndpoint

GetIndexEndpoint

Gets an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIndexEndpoint(GetIndexEndpointRequest request) + *
  • getIndexEndpoint(GetIndexEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getIndexEndpoint(IndexEndpointName name) - *
  • getIndexEndpoint(String name) + *
  • getIndexEndpoint(IndexEndpointName name) + *

  • getIndexEndpoint(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIndexEndpointCallable() + *
  • getIndexEndpointCallable() *

*
ListIndexEndpoints

ListIndexEndpoints

Lists IndexEndpoints in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listIndexEndpoints(ListIndexEndpointsRequest request) + *
  • listIndexEndpoints(ListIndexEndpointsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listIndexEndpoints(LocationName parent) - *
  • listIndexEndpoints(String parent) + *
  • listIndexEndpoints(LocationName parent) + *

  • listIndexEndpoints(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listIndexEndpointsPagedCallable() - *
  • listIndexEndpointsCallable() + *
  • listIndexEndpointsPagedCallable() + *

  • listIndexEndpointsCallable() *

*
UpdateIndexEndpoint

UpdateIndexEndpoint

Updates an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateIndexEndpoint(UpdateIndexEndpointRequest request) + *
  • updateIndexEndpoint(UpdateIndexEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateIndexEndpoint(IndexEndpoint indexEndpoint, FieldMask updateMask) + *
  • updateIndexEndpoint(IndexEndpoint indexEndpoint, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateIndexEndpointCallable() + *
  • updateIndexEndpointCallable() *

*
DeleteIndexEndpoint

DeleteIndexEndpoint

Deletes an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteIndexEndpointAsync(DeleteIndexEndpointRequest request) + *
  • deleteIndexEndpointAsync(DeleteIndexEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteIndexEndpointAsync(IndexEndpointName name) - *
  • deleteIndexEndpointAsync(String name) + *
  • deleteIndexEndpointAsync(IndexEndpointName name) + *

  • deleteIndexEndpointAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteIndexEndpointOperationCallable() - *
  • deleteIndexEndpointCallable() + *
  • deleteIndexEndpointOperationCallable() + *

  • deleteIndexEndpointCallable() *

*
DeployIndex

DeployIndex

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployIndexAsync(DeployIndexRequest request) + *
  • deployIndexAsync(DeployIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) - *
  • deployIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) + *
  • deployIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) + *

  • deployIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployIndexOperationCallable() - *
  • deployIndexCallable() + *
  • deployIndexOperationCallable() + *

  • deployIndexCallable() *

*
UndeployIndex

UndeployIndex

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployIndexAsync(UndeployIndexRequest request) + *
  • undeployIndexAsync(UndeployIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployIndexAsync(IndexEndpointName indexEndpoint, String deployedIndexId) - *
  • undeployIndexAsync(String indexEndpoint, String deployedIndexId) + *
  • undeployIndexAsync(IndexEndpointName indexEndpoint, String deployedIndexId) + *

  • undeployIndexAsync(String indexEndpoint, String deployedIndexId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployIndexOperationCallable() - *
  • undeployIndexCallable() + *
  • undeployIndexOperationCallable() + *

  • undeployIndexCallable() *

*
MutateDeployedIndex

MutateDeployedIndex

Update an existing DeployedIndex under an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mutateDeployedIndexAsync(MutateDeployedIndexRequest request) + *
  • mutateDeployedIndexAsync(MutateDeployedIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • mutateDeployedIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) - *
  • mutateDeployedIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) + *
  • mutateDeployedIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) + *

  • mutateDeployedIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mutateDeployedIndexOperationCallable() - *
  • mutateDeployedIndexCallable() + *
  • mutateDeployedIndexOperationCallable() + *

  • mutateDeployedIndexCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java index 0f512f9e68e0..1c002bedd1fb 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java @@ -70,210 +70,211 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateIndex

CreateIndex

Creates an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createIndexAsync(CreateIndexRequest request) + *
  • createIndexAsync(CreateIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createIndexAsync(LocationName parent, Index index) - *
  • createIndexAsync(String parent, Index index) + *
  • createIndexAsync(LocationName parent, Index index) + *

  • createIndexAsync(String parent, Index index) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createIndexOperationCallable() - *
  • createIndexCallable() + *
  • createIndexOperationCallable() + *

  • createIndexCallable() *

*
GetIndex

GetIndex

Gets an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIndex(GetIndexRequest request) + *
  • getIndex(GetIndexRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getIndex(IndexName name) - *
  • getIndex(String name) + *
  • getIndex(IndexName name) + *

  • getIndex(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIndexCallable() + *
  • getIndexCallable() *

*
ListIndexes

ListIndexes

Lists Indexes in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listIndexes(ListIndexesRequest request) + *
  • listIndexes(ListIndexesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listIndexes(LocationName parent) - *
  • listIndexes(String parent) + *
  • listIndexes(LocationName parent) + *

  • listIndexes(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listIndexesPagedCallable() - *
  • listIndexesCallable() + *
  • listIndexesPagedCallable() + *

  • listIndexesCallable() *

*
UpdateIndex

UpdateIndex

Updates an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateIndexAsync(UpdateIndexRequest request) + *
  • updateIndexAsync(UpdateIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateIndexAsync(Index index, FieldMask updateMask) + *
  • updateIndexAsync(Index index, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateIndexOperationCallable() - *
  • updateIndexCallable() + *
  • updateIndexOperationCallable() + *

  • updateIndexCallable() *

*
DeleteIndex

DeleteIndex

Deletes an Index. An Index can only be deleted when all its [DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had been undeployed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteIndexAsync(DeleteIndexRequest request) + *
  • deleteIndexAsync(DeleteIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteIndexAsync(IndexName name) - *
  • deleteIndexAsync(String name) + *
  • deleteIndexAsync(IndexName name) + *

  • deleteIndexAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteIndexOperationCallable() - *
  • deleteIndexCallable() + *
  • deleteIndexOperationCallable() + *

  • deleteIndexCallable() *

*
UpsertDatapoints

UpsertDatapoints

Add/update Datapoints into an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • upsertDatapoints(UpsertDatapointsRequest request) + *
  • upsertDatapoints(UpsertDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • upsertDatapointsCallable() + *
  • upsertDatapointsCallable() *

*
RemoveDatapoints

RemoveDatapoints

Remove Datapoints from an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • removeDatapoints(RemoveDatapointsRequest request) + *
  • removeDatapoints(RemoveDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • removeDatapointsCallable() + *
  • removeDatapointsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java index a70bf788c41f..1441ec2b64c1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java @@ -71,764 +71,765 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateCustomJob

CreateCustomJob

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomJob(CreateCustomJobRequest request) + *
  • createCustomJob(CreateCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomJob(LocationName parent, CustomJob customJob) - *
  • createCustomJob(String parent, CustomJob customJob) + *
  • createCustomJob(LocationName parent, CustomJob customJob) + *

  • createCustomJob(String parent, CustomJob customJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomJobCallable() + *
  • createCustomJobCallable() *

*
GetCustomJob

GetCustomJob

Gets a CustomJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomJob(GetCustomJobRequest request) + *
  • getCustomJob(GetCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomJob(CustomJobName name) - *
  • getCustomJob(String name) + *
  • getCustomJob(CustomJobName name) + *

  • getCustomJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomJobCallable() + *
  • getCustomJobCallable() *

*
ListCustomJobs

ListCustomJobs

Lists CustomJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomJobs(ListCustomJobsRequest request) + *
  • listCustomJobs(ListCustomJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomJobs(LocationName parent) - *
  • listCustomJobs(String parent) + *
  • listCustomJobs(LocationName parent) + *

  • listCustomJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomJobsPagedCallable() - *
  • listCustomJobsCallable() + *
  • listCustomJobsPagedCallable() + *

  • listCustomJobsCallable() *

*
DeleteCustomJob

DeleteCustomJob

Deletes a CustomJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteCustomJobAsync(DeleteCustomJobRequest request) + *
  • deleteCustomJobAsync(DeleteCustomJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteCustomJobAsync(CustomJobName name) - *
  • deleteCustomJobAsync(String name) + *
  • deleteCustomJobAsync(CustomJobName name) + *

  • deleteCustomJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteCustomJobOperationCallable() - *
  • deleteCustomJobCallable() + *
  • deleteCustomJobOperationCallable() + *

  • deleteCustomJobCallable() *

*
CancelCustomJob

CancelCustomJob

Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelCustomJob(CancelCustomJobRequest request) + *
  • cancelCustomJob(CancelCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelCustomJob(CustomJobName name) - *
  • cancelCustomJob(String name) + *
  • cancelCustomJob(CustomJobName name) + *

  • cancelCustomJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelCustomJobCallable() + *
  • cancelCustomJobCallable() *

*
CreateDataLabelingJob

CreateDataLabelingJob

Creates a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataLabelingJob(CreateDataLabelingJobRequest request) + *
  • createDataLabelingJob(CreateDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataLabelingJob(LocationName parent, DataLabelingJob dataLabelingJob) - *
  • createDataLabelingJob(String parent, DataLabelingJob dataLabelingJob) + *
  • createDataLabelingJob(LocationName parent, DataLabelingJob dataLabelingJob) + *

  • createDataLabelingJob(String parent, DataLabelingJob dataLabelingJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDataLabelingJobCallable() + *
  • createDataLabelingJobCallable() *

*
GetDataLabelingJob

GetDataLabelingJob

Gets a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataLabelingJob(GetDataLabelingJobRequest request) + *
  • getDataLabelingJob(GetDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataLabelingJob(DataLabelingJobName name) - *
  • getDataLabelingJob(String name) + *
  • getDataLabelingJob(DataLabelingJobName name) + *

  • getDataLabelingJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataLabelingJobCallable() + *
  • getDataLabelingJobCallable() *

*
ListDataLabelingJobs

ListDataLabelingJobs

Lists DataLabelingJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataLabelingJobs(ListDataLabelingJobsRequest request) + *
  • listDataLabelingJobs(ListDataLabelingJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataLabelingJobs(LocationName parent) - *
  • listDataLabelingJobs(String parent) + *
  • listDataLabelingJobs(LocationName parent) + *

  • listDataLabelingJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataLabelingJobsPagedCallable() - *
  • listDataLabelingJobsCallable() + *
  • listDataLabelingJobsPagedCallable() + *

  • listDataLabelingJobsCallable() *

*
DeleteDataLabelingJob

DeleteDataLabelingJob

Deletes a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request) + *
  • deleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDataLabelingJobAsync(DataLabelingJobName name) - *
  • deleteDataLabelingJobAsync(String name) + *
  • deleteDataLabelingJobAsync(DataLabelingJobName name) + *

  • deleteDataLabelingJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDataLabelingJobOperationCallable() - *
  • deleteDataLabelingJobCallable() + *
  • deleteDataLabelingJobOperationCallable() + *

  • deleteDataLabelingJobCallable() *

*
CancelDataLabelingJob

CancelDataLabelingJob

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelDataLabelingJob(CancelDataLabelingJobRequest request) + *
  • cancelDataLabelingJob(CancelDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelDataLabelingJob(DataLabelingJobName name) - *
  • cancelDataLabelingJob(String name) + *
  • cancelDataLabelingJob(DataLabelingJobName name) + *

  • cancelDataLabelingJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelDataLabelingJobCallable() + *
  • cancelDataLabelingJobCallable() *

*
CreateHyperparameterTuningJob

CreateHyperparameterTuningJob

Creates a HyperparameterTuningJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request) + *
  • createHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createHyperparameterTuningJob(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob) - *
  • createHyperparameterTuningJob(String parent, HyperparameterTuningJob hyperparameterTuningJob) + *
  • createHyperparameterTuningJob(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob) + *

  • createHyperparameterTuningJob(String parent, HyperparameterTuningJob hyperparameterTuningJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createHyperparameterTuningJobCallable() + *
  • createHyperparameterTuningJobCallable() *

*
GetHyperparameterTuningJob

GetHyperparameterTuningJob

Gets a HyperparameterTuningJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getHyperparameterTuningJob(GetHyperparameterTuningJobRequest request) + *
  • getHyperparameterTuningJob(GetHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getHyperparameterTuningJob(HyperparameterTuningJobName name) - *
  • getHyperparameterTuningJob(String name) + *
  • getHyperparameterTuningJob(HyperparameterTuningJobName name) + *

  • getHyperparameterTuningJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getHyperparameterTuningJobCallable() + *
  • getHyperparameterTuningJobCallable() *

*
ListHyperparameterTuningJobs

ListHyperparameterTuningJobs

Lists HyperparameterTuningJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request) + *
  • listHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listHyperparameterTuningJobs(LocationName parent) - *
  • listHyperparameterTuningJobs(String parent) + *
  • listHyperparameterTuningJobs(LocationName parent) + *

  • listHyperparameterTuningJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listHyperparameterTuningJobsPagedCallable() - *
  • listHyperparameterTuningJobsCallable() + *
  • listHyperparameterTuningJobsPagedCallable() + *

  • listHyperparameterTuningJobsCallable() *

*
DeleteHyperparameterTuningJob

DeleteHyperparameterTuningJob

Deletes a HyperparameterTuningJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request) + *
  • deleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name) - *
  • deleteHyperparameterTuningJobAsync(String name) + *
  • deleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name) + *

  • deleteHyperparameterTuningJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteHyperparameterTuningJobOperationCallable() - *
  • deleteHyperparameterTuningJobCallable() + *
  • deleteHyperparameterTuningJobOperationCallable() + *

  • deleteHyperparameterTuningJobCallable() *

*
CancelHyperparameterTuningJob

CancelHyperparameterTuningJob

Cancels a HyperparameterTuningJob. Starts asynchronous cancellation on the HyperparameterTuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the HyperparameterTuningJob is not deleted; instead it becomes a job with a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request) + *
  • cancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelHyperparameterTuningJob(HyperparameterTuningJobName name) - *
  • cancelHyperparameterTuningJob(String name) + *
  • cancelHyperparameterTuningJob(HyperparameterTuningJobName name) + *

  • cancelHyperparameterTuningJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelHyperparameterTuningJobCallable() + *
  • cancelHyperparameterTuningJobCallable() *

*
CreateNasJob

CreateNasJob

Creates a NasJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createNasJob(CreateNasJobRequest request) + *
  • createNasJob(CreateNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createNasJob(LocationName parent, NasJob nasJob) - *
  • createNasJob(String parent, NasJob nasJob) + *
  • createNasJob(LocationName parent, NasJob nasJob) + *

  • createNasJob(String parent, NasJob nasJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createNasJobCallable() + *
  • createNasJobCallable() *

*
GetNasJob

GetNasJob

Gets a NasJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNasJob(GetNasJobRequest request) + *
  • getNasJob(GetNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNasJob(NasJobName name) - *
  • getNasJob(String name) + *
  • getNasJob(NasJobName name) + *

  • getNasJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNasJobCallable() + *
  • getNasJobCallable() *

*
ListNasJobs

ListNasJobs

Lists NasJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNasJobs(ListNasJobsRequest request) + *
  • listNasJobs(ListNasJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNasJobs(LocationName parent) - *
  • listNasJobs(String parent) + *
  • listNasJobs(LocationName parent) + *

  • listNasJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNasJobsPagedCallable() - *
  • listNasJobsCallable() + *
  • listNasJobsPagedCallable() + *

  • listNasJobsCallable() *

*
DeleteNasJob

DeleteNasJob

Deletes a NasJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteNasJobAsync(DeleteNasJobRequest request) + *
  • deleteNasJobAsync(DeleteNasJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteNasJobAsync(NasJobName name) - *
  • deleteNasJobAsync(String name) + *
  • deleteNasJobAsync(NasJobName name) + *

  • deleteNasJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteNasJobOperationCallable() - *
  • deleteNasJobCallable() + *
  • deleteNasJobOperationCallable() + *

  • deleteNasJobCallable() *

*
CancelNasJob

CancelNasJob

Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the NasJob is not deleted; instead it becomes a job with a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelNasJob(CancelNasJobRequest request) + *
  • cancelNasJob(CancelNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelNasJob(NasJobName name) - *
  • cancelNasJob(String name) + *
  • cancelNasJob(NasJobName name) + *

  • cancelNasJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelNasJobCallable() + *
  • cancelNasJobCallable() *

*
GetNasTrialDetail

GetNasTrialDetail

Gets a NasTrialDetail.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNasTrialDetail(GetNasTrialDetailRequest request) + *
  • getNasTrialDetail(GetNasTrialDetailRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNasTrialDetail(NasTrialDetailName name) - *
  • getNasTrialDetail(String name) + *
  • getNasTrialDetail(NasTrialDetailName name) + *

  • getNasTrialDetail(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNasTrialDetailCallable() + *
  • getNasTrialDetailCallable() *

*
ListNasTrialDetails

ListNasTrialDetails

List top NasTrialDetails of a NasJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNasTrialDetails(ListNasTrialDetailsRequest request) + *
  • listNasTrialDetails(ListNasTrialDetailsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNasTrialDetails(NasJobName parent) - *
  • listNasTrialDetails(String parent) + *
  • listNasTrialDetails(NasJobName parent) + *

  • listNasTrialDetails(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNasTrialDetailsPagedCallable() - *
  • listNasTrialDetailsCallable() + *
  • listNasTrialDetailsPagedCallable() + *

  • listNasTrialDetailsCallable() *

*
CreateBatchPredictionJob

CreateBatchPredictionJob

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createBatchPredictionJob(CreateBatchPredictionJobRequest request) + *
  • createBatchPredictionJob(CreateBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createBatchPredictionJob(LocationName parent, BatchPredictionJob batchPredictionJob) - *
  • createBatchPredictionJob(String parent, BatchPredictionJob batchPredictionJob) + *
  • createBatchPredictionJob(LocationName parent, BatchPredictionJob batchPredictionJob) + *

  • createBatchPredictionJob(String parent, BatchPredictionJob batchPredictionJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createBatchPredictionJobCallable() + *
  • createBatchPredictionJobCallable() *

*
GetBatchPredictionJob

GetBatchPredictionJob

Gets a BatchPredictionJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBatchPredictionJob(GetBatchPredictionJobRequest request) + *
  • getBatchPredictionJob(GetBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBatchPredictionJob(BatchPredictionJobName name) - *
  • getBatchPredictionJob(String name) + *
  • getBatchPredictionJob(BatchPredictionJobName name) + *

  • getBatchPredictionJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBatchPredictionJobCallable() + *
  • getBatchPredictionJobCallable() *

*
ListBatchPredictionJobs

ListBatchPredictionJobs

Lists BatchPredictionJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBatchPredictionJobs(ListBatchPredictionJobsRequest request) + *
  • listBatchPredictionJobs(ListBatchPredictionJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBatchPredictionJobs(LocationName parent) - *
  • listBatchPredictionJobs(String parent) + *
  • listBatchPredictionJobs(LocationName parent) + *

  • listBatchPredictionJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBatchPredictionJobsPagedCallable() - *
  • listBatchPredictionJobsCallable() + *
  • listBatchPredictionJobsPagedCallable() + *

  • listBatchPredictionJobsCallable() *

*
DeleteBatchPredictionJob

DeleteBatchPredictionJob

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request) + *
  • deleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteBatchPredictionJobAsync(BatchPredictionJobName name) - *
  • deleteBatchPredictionJobAsync(String name) + *
  • deleteBatchPredictionJobAsync(BatchPredictionJobName name) + *

  • deleteBatchPredictionJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteBatchPredictionJobOperationCallable() - *
  • deleteBatchPredictionJobCallable() + *
  • deleteBatchPredictionJobOperationCallable() + *

  • deleteBatchPredictionJobCallable() *

*
CancelBatchPredictionJob

CancelBatchPredictionJob

Cancels a BatchPredictionJob. *

Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already outputted by the job are not deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelBatchPredictionJob(CancelBatchPredictionJobRequest request) + *
  • cancelBatchPredictionJob(CancelBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelBatchPredictionJob(BatchPredictionJobName name) - *
  • cancelBatchPredictionJob(String name) + *
  • cancelBatchPredictionJob(BatchPredictionJobName name) + *

  • cancelBatchPredictionJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelBatchPredictionJobCallable() + *
  • cancelBatchPredictionJobCallable() *

*
CreateModelDeploymentMonitoringJob

CreateModelDeploymentMonitoringJob

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request) + *
  • createModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createModelDeploymentMonitoringJob(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) - *
  • createModelDeploymentMonitoringJob(String parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) + *
  • createModelDeploymentMonitoringJob(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) + *

  • createModelDeploymentMonitoringJob(String parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createModelDeploymentMonitoringJobCallable() + *
  • createModelDeploymentMonitoringJobCallable() *

*
SearchModelDeploymentMonitoringStatsAnomalies

SearchModelDeploymentMonitoringStatsAnomalies

Searches Model Monitoring Statistics generated within a given time window.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request) + *
  • searchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, String deployedModelId) - *
  • searchModelDeploymentMonitoringStatsAnomalies(String modelDeploymentMonitoringJob, String deployedModelId) + *
  • searchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, String deployedModelId) + *

  • searchModelDeploymentMonitoringStatsAnomalies(String modelDeploymentMonitoringJob, String deployedModelId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomaliesPagedCallable() - *
  • searchModelDeploymentMonitoringStatsAnomaliesCallable() + *
  • searchModelDeploymentMonitoringStatsAnomaliesPagedCallable() + *

  • searchModelDeploymentMonitoringStatsAnomaliesCallable() *

*
GetModelDeploymentMonitoringJob

GetModelDeploymentMonitoringJob

Gets a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request) + *
  • getModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • getModelDeploymentMonitoringJob(String name) + *
  • getModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • getModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelDeploymentMonitoringJobCallable() + *
  • getModelDeploymentMonitoringJobCallable() *

*
ListModelDeploymentMonitoringJobs

ListModelDeploymentMonitoringJobs

Lists ModelDeploymentMonitoringJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request) + *
  • listModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelDeploymentMonitoringJobs(LocationName parent) - *
  • listModelDeploymentMonitoringJobs(String parent) + *
  • listModelDeploymentMonitoringJobs(LocationName parent) + *

  • listModelDeploymentMonitoringJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelDeploymentMonitoringJobsPagedCallable() - *
  • listModelDeploymentMonitoringJobsCallable() + *
  • listModelDeploymentMonitoringJobsPagedCallable() + *

  • listModelDeploymentMonitoringJobsCallable() *

*
UpdateModelDeploymentMonitoringJob

UpdateModelDeploymentMonitoringJob

Updates a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request) + *
  • updateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask) + *
  • updateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateModelDeploymentMonitoringJobOperationCallable() - *
  • updateModelDeploymentMonitoringJobCallable() + *
  • updateModelDeploymentMonitoringJobOperationCallable() + *

  • updateModelDeploymentMonitoringJobCallable() *

*
DeleteModelDeploymentMonitoringJob

DeleteModelDeploymentMonitoringJob

Deletes a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request) + *
  • deleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name) - *
  • deleteModelDeploymentMonitoringJobAsync(String name) + *
  • deleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name) + *

  • deleteModelDeploymentMonitoringJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelDeploymentMonitoringJobOperationCallable() - *
  • deleteModelDeploymentMonitoringJobCallable() + *
  • deleteModelDeploymentMonitoringJobOperationCallable() + *

  • deleteModelDeploymentMonitoringJobCallable() *

*
PauseModelDeploymentMonitoringJob

PauseModelDeploymentMonitoringJob

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • pauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request) + *
  • pauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • pauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • pauseModelDeploymentMonitoringJob(String name) + *
  • pauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • pauseModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • pauseModelDeploymentMonitoringJobCallable() + *
  • pauseModelDeploymentMonitoringJobCallable() *

*
ResumeModelDeploymentMonitoringJob

ResumeModelDeploymentMonitoringJob

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • resumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request) + *
  • resumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • resumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • resumeModelDeploymentMonitoringJob(String name) + *
  • resumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • resumeModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • resumeModelDeploymentMonitoringJobCallable() + *
  • resumeModelDeploymentMonitoringJobCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClient.java index e29e2a99a2ce..13cb41830343 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClient.java @@ -68,122 +68,123 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CountTokens

CountTokens

Perform a token counting.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • countTokens(CountTokensRequest request) + *
  • countTokens(CountTokensRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • countTokens(EndpointName endpoint, List instances) - *
  • countTokens(String endpoint, List instances) + *
  • countTokens(EndpointName endpoint, List<Value> instances) + *

  • countTokens(String endpoint, List<Value> instances) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • countTokensCallable() + *
  • countTokensCallable() *

*
ComputeTokens

ComputeTokens

Return a list of tokens based on the input text.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • computeTokens(ComputeTokensRequest request) + *
  • computeTokens(ComputeTokensRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • computeTokens(EndpointName endpoint, List instances) - *
  • computeTokens(String endpoint, List instances) + *
  • computeTokens(EndpointName endpoint, List<Value> instances) + *

  • computeTokens(String endpoint, List<Value> instances) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • computeTokensCallable() + *
  • computeTokensCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MatchServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MatchServiceClient.java index df06b9df3676..021cc11166e6 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MatchServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MatchServiceClient.java @@ -72,112 +72,113 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
FindNeighbors

FindNeighbors

Finds the nearest neighbors of each vector within the request.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • findNeighbors(FindNeighborsRequest request) + *
  • findNeighbors(FindNeighborsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • findNeighborsCallable() + *
  • findNeighborsCallable() *

*
ReadIndexDatapoints

ReadIndexDatapoints

Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readIndexDatapoints(ReadIndexDatapointsRequest request) + *
  • readIndexDatapoints(ReadIndexDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readIndexDatapointsCallable() + *
  • readIndexDatapointsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java index da201b03f7f9..73806d404081 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java @@ -71,702 +71,703 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateMetadataStore

CreateMetadataStore

Initializes a MetadataStore, including allocation of resources.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMetadataStoreAsync(CreateMetadataStoreRequest request) + *
  • createMetadataStoreAsync(CreateMetadataStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createMetadataStoreAsync(LocationName parent, MetadataStore metadataStore, String metadataStoreId) - *
  • createMetadataStoreAsync(String parent, MetadataStore metadataStore, String metadataStoreId) + *
  • createMetadataStoreAsync(LocationName parent, MetadataStore metadataStore, String metadataStoreId) + *

  • createMetadataStoreAsync(String parent, MetadataStore metadataStore, String metadataStoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMetadataStoreOperationCallable() - *
  • createMetadataStoreCallable() + *
  • createMetadataStoreOperationCallable() + *

  • createMetadataStoreCallable() *

*
GetMetadataStore

GetMetadataStore

Retrieves a specific MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMetadataStore(GetMetadataStoreRequest request) + *
  • getMetadataStore(GetMetadataStoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMetadataStore(MetadataStoreName name) - *
  • getMetadataStore(String name) + *
  • getMetadataStore(MetadataStoreName name) + *

  • getMetadataStore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMetadataStoreCallable() + *
  • getMetadataStoreCallable() *

*
ListMetadataStores

ListMetadataStores

Lists MetadataStores for a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMetadataStores(ListMetadataStoresRequest request) + *
  • listMetadataStores(ListMetadataStoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMetadataStores(LocationName parent) - *
  • listMetadataStores(String parent) + *
  • listMetadataStores(LocationName parent) + *

  • listMetadataStores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMetadataStoresPagedCallable() - *
  • listMetadataStoresCallable() + *
  • listMetadataStoresPagedCallable() + *

  • listMetadataStoresCallable() *

*
DeleteMetadataStore

DeleteMetadataStore

Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteMetadataStoreAsync(DeleteMetadataStoreRequest request) + *
  • deleteMetadataStoreAsync(DeleteMetadataStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteMetadataStoreAsync(MetadataStoreName name) - *
  • deleteMetadataStoreAsync(String name) + *
  • deleteMetadataStoreAsync(MetadataStoreName name) + *

  • deleteMetadataStoreAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteMetadataStoreOperationCallable() - *
  • deleteMetadataStoreCallable() + *
  • deleteMetadataStoreOperationCallable() + *

  • deleteMetadataStoreCallable() *

*
CreateArtifact

CreateArtifact

Creates an Artifact associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createArtifact(CreateArtifactRequest request) + *
  • createArtifact(CreateArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createArtifact(MetadataStoreName parent, Artifact artifact, String artifactId) - *
  • createArtifact(String parent, Artifact artifact, String artifactId) + *
  • createArtifact(MetadataStoreName parent, Artifact artifact, String artifactId) + *

  • createArtifact(String parent, Artifact artifact, String artifactId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createArtifactCallable() + *
  • createArtifactCallable() *

*
GetArtifact

GetArtifact

Retrieves a specific Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getArtifact(GetArtifactRequest request) + *
  • getArtifact(GetArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getArtifact(ArtifactName name) - *
  • getArtifact(String name) + *
  • getArtifact(ArtifactName name) + *

  • getArtifact(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getArtifactCallable() + *
  • getArtifactCallable() *

*
ListArtifacts

ListArtifacts

Lists Artifacts in the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listArtifacts(ListArtifactsRequest request) + *
  • listArtifacts(ListArtifactsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listArtifacts(MetadataStoreName parent) - *
  • listArtifacts(String parent) + *
  • listArtifacts(MetadataStoreName parent) + *

  • listArtifacts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listArtifactsPagedCallable() - *
  • listArtifactsCallable() + *
  • listArtifactsPagedCallable() + *

  • listArtifactsCallable() *

*
UpdateArtifact

UpdateArtifact

Updates a stored Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateArtifact(UpdateArtifactRequest request) + *
  • updateArtifact(UpdateArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateArtifact(Artifact artifact, FieldMask updateMask) + *
  • updateArtifact(Artifact artifact, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateArtifactCallable() + *
  • updateArtifactCallable() *

*
DeleteArtifact

DeleteArtifact

Deletes an Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteArtifactAsync(DeleteArtifactRequest request) + *
  • deleteArtifactAsync(DeleteArtifactRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteArtifactAsync(ArtifactName name) - *
  • deleteArtifactAsync(String name) + *
  • deleteArtifactAsync(ArtifactName name) + *

  • deleteArtifactAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteArtifactOperationCallable() - *
  • deleteArtifactCallable() + *
  • deleteArtifactOperationCallable() + *

  • deleteArtifactCallable() *

*
PurgeArtifacts

PurgeArtifacts

Purges Artifacts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeArtifactsAsync(PurgeArtifactsRequest request) + *
  • purgeArtifactsAsync(PurgeArtifactsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeArtifactsAsync(MetadataStoreName parent) - *
  • purgeArtifactsAsync(String parent) + *
  • purgeArtifactsAsync(MetadataStoreName parent) + *

  • purgeArtifactsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeArtifactsOperationCallable() - *
  • purgeArtifactsCallable() + *
  • purgeArtifactsOperationCallable() + *

  • purgeArtifactsCallable() *

*
CreateContext

CreateContext

Creates a Context associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createContext(CreateContextRequest request) + *
  • createContext(CreateContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createContext(MetadataStoreName parent, Context context, String contextId) - *
  • createContext(String parent, Context context, String contextId) + *
  • createContext(MetadataStoreName parent, Context context, String contextId) + *

  • createContext(String parent, Context context, String contextId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createContextCallable() + *
  • createContextCallable() *

*
GetContext

GetContext

Retrieves a specific Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getContext(GetContextRequest request) + *
  • getContext(GetContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getContext(ContextName name) - *
  • getContext(String name) + *
  • getContext(ContextName name) + *

  • getContext(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getContextCallable() + *
  • getContextCallable() *

*
ListContexts

ListContexts

Lists Contexts on the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listContexts(ListContextsRequest request) + *
  • listContexts(ListContextsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listContexts(MetadataStoreName parent) - *
  • listContexts(String parent) + *
  • listContexts(MetadataStoreName parent) + *

  • listContexts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listContextsPagedCallable() - *
  • listContextsCallable() + *
  • listContextsPagedCallable() + *

  • listContextsCallable() *

*
UpdateContext

UpdateContext

Updates a stored Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateContext(UpdateContextRequest request) + *
  • updateContext(UpdateContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateContext(Context context, FieldMask updateMask) + *
  • updateContext(Context context, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateContextCallable() + *
  • updateContextCallable() *

*
DeleteContext

DeleteContext

Deletes a stored Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteContextAsync(DeleteContextRequest request) + *
  • deleteContextAsync(DeleteContextRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteContextAsync(ContextName name) - *
  • deleteContextAsync(String name) + *
  • deleteContextAsync(ContextName name) + *

  • deleteContextAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteContextOperationCallable() - *
  • deleteContextCallable() + *
  • deleteContextOperationCallable() + *

  • deleteContextCallable() *

*
PurgeContexts

PurgeContexts

Purges Contexts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeContextsAsync(PurgeContextsRequest request) + *
  • purgeContextsAsync(PurgeContextsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeContextsAsync(MetadataStoreName parent) - *
  • purgeContextsAsync(String parent) + *
  • purgeContextsAsync(MetadataStoreName parent) + *

  • purgeContextsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeContextsOperationCallable() - *
  • purgeContextsCallable() + *
  • purgeContextsOperationCallable() + *

  • purgeContextsCallable() *

*
AddContextArtifactsAndExecutions

AddContextArtifactsAndExecutions

Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request) + *
  • addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addContextArtifactsAndExecutions(ContextName context, List artifacts, List executions) - *
  • addContextArtifactsAndExecutions(String context, List artifacts, List executions) + *
  • addContextArtifactsAndExecutions(ContextName context, List<String> artifacts, List<String> executions) + *

  • addContextArtifactsAndExecutions(String context, List<String> artifacts, List<String> executions) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addContextArtifactsAndExecutionsCallable() + *
  • addContextArtifactsAndExecutionsCallable() *

*
AddContextChildren

AddContextChildren

Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addContextChildren(AddContextChildrenRequest request) + *
  • addContextChildren(AddContextChildrenRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addContextChildren(ContextName context, List childContexts) - *
  • addContextChildren(String context, List childContexts) + *
  • addContextChildren(ContextName context, List<String> childContexts) + *

  • addContextChildren(String context, List<String> childContexts) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addContextChildrenCallable() + *
  • addContextChildrenCallable() *

*
RemoveContextChildren

RemoveContextChildren

Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • removeContextChildren(RemoveContextChildrenRequest request) + *
  • removeContextChildren(RemoveContextChildrenRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • removeContextChildren(ContextName context, List childContexts) - *
  • removeContextChildren(String context, List childContexts) + *
  • removeContextChildren(ContextName context, List<String> childContexts) + *

  • removeContextChildren(String context, List<String> childContexts) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • removeContextChildrenCallable() + *
  • removeContextChildrenCallable() *

*
QueryContextLineageSubgraph

QueryContextLineageSubgraph

Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request) + *
  • queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryContextLineageSubgraph(ContextName context) - *
  • queryContextLineageSubgraph(String context) + *
  • queryContextLineageSubgraph(ContextName context) + *

  • queryContextLineageSubgraph(String context) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryContextLineageSubgraphCallable() + *
  • queryContextLineageSubgraphCallable() *

*
CreateExecution

CreateExecution

Creates an Execution associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createExecution(CreateExecutionRequest request) + *
  • createExecution(CreateExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createExecution(MetadataStoreName parent, Execution execution, String executionId) - *
  • createExecution(String parent, Execution execution, String executionId) + *
  • createExecution(MetadataStoreName parent, Execution execution, String executionId) + *

  • createExecution(String parent, Execution execution, String executionId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createExecutionCallable() + *
  • createExecutionCallable() *

*
GetExecution

GetExecution

Retrieves a specific Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getExecution(GetExecutionRequest request) + *
  • getExecution(GetExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getExecution(ExecutionName name) - *
  • getExecution(String name) + *
  • getExecution(ExecutionName name) + *

  • getExecution(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getExecutionCallable() + *
  • getExecutionCallable() *

*
ListExecutions

ListExecutions

Lists Executions in the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listExecutions(ListExecutionsRequest request) + *
  • listExecutions(ListExecutionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listExecutions(MetadataStoreName parent) - *
  • listExecutions(String parent) + *
  • listExecutions(MetadataStoreName parent) + *

  • listExecutions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listExecutionsPagedCallable() - *
  • listExecutionsCallable() + *
  • listExecutionsPagedCallable() + *

  • listExecutionsCallable() *

*
UpdateExecution

UpdateExecution

Updates a stored Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateExecution(UpdateExecutionRequest request) + *
  • updateExecution(UpdateExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateExecution(Execution execution, FieldMask updateMask) + *
  • updateExecution(Execution execution, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateExecutionCallable() + *
  • updateExecutionCallable() *

*
DeleteExecution

DeleteExecution

Deletes an Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteExecutionAsync(DeleteExecutionRequest request) + *
  • deleteExecutionAsync(DeleteExecutionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteExecutionAsync(ExecutionName name) - *
  • deleteExecutionAsync(String name) + *
  • deleteExecutionAsync(ExecutionName name) + *

  • deleteExecutionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteExecutionOperationCallable() - *
  • deleteExecutionCallable() + *
  • deleteExecutionOperationCallable() + *

  • deleteExecutionCallable() *

*
PurgeExecutions

PurgeExecutions

Purges Executions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeExecutionsAsync(PurgeExecutionsRequest request) + *
  • purgeExecutionsAsync(PurgeExecutionsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeExecutionsAsync(MetadataStoreName parent) - *
  • purgeExecutionsAsync(String parent) + *
  • purgeExecutionsAsync(MetadataStoreName parent) + *

  • purgeExecutionsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeExecutionsOperationCallable() - *
  • purgeExecutionsCallable() + *
  • purgeExecutionsOperationCallable() + *

  • purgeExecutionsCallable() *

*
AddExecutionEvents

AddExecutionEvents

Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addExecutionEvents(AddExecutionEventsRequest request) + *
  • addExecutionEvents(AddExecutionEventsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addExecutionEvents(ExecutionName execution, List events) - *
  • addExecutionEvents(String execution, List events) + *
  • addExecutionEvents(ExecutionName execution, List<Event> events) + *

  • addExecutionEvents(String execution, List<Event> events) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addExecutionEventsCallable() + *
  • addExecutionEventsCallable() *

*
QueryExecutionInputsAndOutputs

QueryExecutionInputsAndOutputs

Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request) + *
  • queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryExecutionInputsAndOutputs(ExecutionName execution) - *
  • queryExecutionInputsAndOutputs(String execution) + *
  • queryExecutionInputsAndOutputs(ExecutionName execution) + *

  • queryExecutionInputsAndOutputs(String execution) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryExecutionInputsAndOutputsCallable() + *
  • queryExecutionInputsAndOutputsCallable() *

*
CreateMetadataSchema

CreateMetadataSchema

Creates a MetadataSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMetadataSchema(CreateMetadataSchemaRequest request) + *
  • createMetadataSchema(CreateMetadataSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createMetadataSchema(MetadataStoreName parent, MetadataSchema metadataSchema, String metadataSchemaId) - *
  • createMetadataSchema(String parent, MetadataSchema metadataSchema, String metadataSchemaId) + *
  • createMetadataSchema(MetadataStoreName parent, MetadataSchema metadataSchema, String metadataSchemaId) + *

  • createMetadataSchema(String parent, MetadataSchema metadataSchema, String metadataSchemaId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMetadataSchemaCallable() + *
  • createMetadataSchemaCallable() *

*
GetMetadataSchema

GetMetadataSchema

Retrieves a specific MetadataSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMetadataSchema(GetMetadataSchemaRequest request) + *
  • getMetadataSchema(GetMetadataSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMetadataSchema(MetadataSchemaName name) - *
  • getMetadataSchema(String name) + *
  • getMetadataSchema(MetadataSchemaName name) + *

  • getMetadataSchema(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMetadataSchemaCallable() + *
  • getMetadataSchemaCallable() *

*
ListMetadataSchemas

ListMetadataSchemas

Lists MetadataSchemas.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMetadataSchemas(ListMetadataSchemasRequest request) + *
  • listMetadataSchemas(ListMetadataSchemasRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMetadataSchemas(MetadataStoreName parent) - *
  • listMetadataSchemas(String parent) + *
  • listMetadataSchemas(MetadataStoreName parent) + *

  • listMetadataSchemas(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMetadataSchemasPagedCallable() - *
  • listMetadataSchemasCallable() + *
  • listMetadataSchemasPagedCallable() + *

  • listMetadataSchemasCallable() *

*
QueryArtifactLineageSubgraph

QueryArtifactLineageSubgraph

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request) + *
  • queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryArtifactLineageSubgraph(ArtifactName artifact) - *
  • queryArtifactLineageSubgraph(String artifact) + *
  • queryArtifactLineageSubgraph(ArtifactName artifact) + *

  • queryArtifactLineageSubgraph(String artifact) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryArtifactLineageSubgraphCallable() + *
  • queryArtifactLineageSubgraphCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java index f24d1968b380..124660f81782 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java @@ -70,124 +70,125 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
SearchMigratableResources

SearchMigratableResources

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchMigratableResources(SearchMigratableResourcesRequest request) + *
  • searchMigratableResources(SearchMigratableResourcesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchMigratableResources(LocationName parent) - *
  • searchMigratableResources(String parent) + *
  • searchMigratableResources(LocationName parent) + *

  • searchMigratableResources(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchMigratableResourcesPagedCallable() - *
  • searchMigratableResourcesCallable() + *
  • searchMigratableResourcesPagedCallable() + *

  • searchMigratableResourcesCallable() *

*
BatchMigrateResources

BatchMigrateResources

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchMigrateResourcesAsync(BatchMigrateResourcesRequest request) + *
  • batchMigrateResourcesAsync(BatchMigrateResourcesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchMigrateResourcesAsync(LocationName parent, List migrateResourceRequests) - *
  • batchMigrateResourcesAsync(String parent, List migrateResourceRequests) + *
  • batchMigrateResourcesAsync(LocationName parent, List<MigrateResourceRequest> migrateResourceRequests) + *

  • batchMigrateResourcesAsync(String parent, List<MigrateResourceRequest> migrateResourceRequests) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchMigrateResourcesOperationCallable() - *
  • batchMigrateResourcesCallable() + *
  • batchMigrateResourcesOperationCallable() + *

  • batchMigrateResourcesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelGardenServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelGardenServiceClient.java index 7770f5428704..8f0acf31b385 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelGardenServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelGardenServiceClient.java @@ -65,103 +65,104 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetPublisherModel

GetPublisherModel

Gets a Model Garden publisher model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPublisherModel(GetPublisherModelRequest request) + *
  • getPublisherModel(GetPublisherModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPublisherModel(PublisherModelName name) - *
  • getPublisherModel(String name) + *
  • getPublisherModel(PublisherModelName name) + *

  • getPublisherModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPublisherModelCallable() + *
  • getPublisherModelCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java index 253c4ef3a815..0718418f880e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java @@ -70,439 +70,440 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
UploadModel

UploadModel

Uploads a Model artifact into Vertex AI.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • uploadModelAsync(UploadModelRequest request) + *
  • uploadModelAsync(UploadModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • uploadModelAsync(LocationName parent, Model model) - *
  • uploadModelAsync(String parent, Model model) + *
  • uploadModelAsync(LocationName parent, Model model) + *

  • uploadModelAsync(String parent, Model model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • uploadModelOperationCallable() - *
  • uploadModelCallable() + *
  • uploadModelOperationCallable() + *

  • uploadModelCallable() *

*
GetModel

GetModel

Gets a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModel(GetModelRequest request) + *
  • getModel(GetModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModel(ModelName name) - *
  • getModel(String name) + *
  • getModel(ModelName name) + *

  • getModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelCallable() + *
  • getModelCallable() *

*
ListModels

ListModels

Lists Models in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModels(ListModelsRequest request) + *
  • listModels(ListModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModels(LocationName parent) - *
  • listModels(String parent) + *
  • listModels(LocationName parent) + *

  • listModels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelsPagedCallable() - *
  • listModelsCallable() + *
  • listModelsPagedCallable() + *

  • listModelsCallable() *

*
ListModelVersions

ListModelVersions

Lists versions of the specified model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelVersions(ListModelVersionsRequest request) + *
  • listModelVersions(ListModelVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelVersions(ModelName name) - *
  • listModelVersions(String name) + *
  • listModelVersions(ModelName name) + *

  • listModelVersions(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelVersionsPagedCallable() - *
  • listModelVersionsCallable() + *
  • listModelVersionsPagedCallable() + *

  • listModelVersionsCallable() *

*
UpdateModel

UpdateModel

Updates a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateModel(UpdateModelRequest request) + *
  • updateModel(UpdateModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateModel(Model model, FieldMask updateMask) + *
  • updateModel(Model model, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateModelCallable() + *
  • updateModelCallable() *

*
UpdateExplanationDataset

UpdateExplanationDataset

Incrementally update the dataset used for an examples model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateExplanationDatasetAsync(UpdateExplanationDatasetRequest request) + *
  • updateExplanationDatasetAsync(UpdateExplanationDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateExplanationDatasetAsync(ModelName model) - *
  • updateExplanationDatasetAsync(String model) + *
  • updateExplanationDatasetAsync(ModelName model) + *

  • updateExplanationDatasetAsync(String model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateExplanationDatasetOperationCallable() - *
  • updateExplanationDatasetCallable() + *
  • updateExplanationDatasetOperationCallable() + *

  • updateExplanationDatasetCallable() *

*
DeleteModel

DeleteModel

Deletes a Model. *

A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelAsync(DeleteModelRequest request) + *
  • deleteModelAsync(DeleteModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelAsync(ModelName name) - *
  • deleteModelAsync(String name) + *
  • deleteModelAsync(ModelName name) + *

  • deleteModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelOperationCallable() - *
  • deleteModelCallable() + *
  • deleteModelOperationCallable() + *

  • deleteModelCallable() *

*
DeleteModelVersion

DeleteModelVersion

Deletes a Model version. *

Model version can only be deleted if there are no [DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelVersionAsync(DeleteModelVersionRequest request) + *
  • deleteModelVersionAsync(DeleteModelVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelVersionAsync(ModelName name) - *
  • deleteModelVersionAsync(String name) + *
  • deleteModelVersionAsync(ModelName name) + *

  • deleteModelVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelVersionOperationCallable() - *
  • deleteModelVersionCallable() + *
  • deleteModelVersionOperationCallable() + *

  • deleteModelVersionCallable() *

*
MergeVersionAliases

MergeVersionAliases

Merges a set of aliases for a Model version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mergeVersionAliases(MergeVersionAliasesRequest request) + *
  • mergeVersionAliases(MergeVersionAliasesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • mergeVersionAliases(ModelName name, List versionAliases) - *
  • mergeVersionAliases(String name, List versionAliases) + *
  • mergeVersionAliases(ModelName name, List<String> versionAliases) + *

  • mergeVersionAliases(String name, List<String> versionAliases) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mergeVersionAliasesCallable() + *
  • mergeVersionAliasesCallable() *

*
ExportModel

ExportModel

Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportModelAsync(ExportModelRequest request) + *
  • exportModelAsync(ExportModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportModelAsync(ModelName name, ExportModelRequest.OutputConfig outputConfig) - *
  • exportModelAsync(String name, ExportModelRequest.OutputConfig outputConfig) + *
  • exportModelAsync(ModelName name, ExportModelRequest.OutputConfig outputConfig) + *

  • exportModelAsync(String name, ExportModelRequest.OutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportModelOperationCallable() - *
  • exportModelCallable() + *
  • exportModelOperationCallable() + *

  • exportModelCallable() *

*
CopyModel

CopyModel

Copies an already existing Vertex AI Model into the specified Location. The source Model must exist in the same Project. When copying custom Models, the users themselves are responsible for [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as well as making sure that any resources (e.g. files) it depends on remain accessible.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • copyModelAsync(CopyModelRequest request) + *
  • copyModelAsync(CopyModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • copyModelAsync(LocationName parent, ModelName sourceModel) - *
  • copyModelAsync(LocationName parent, String sourceModel) - *
  • copyModelAsync(String parent, ModelName sourceModel) - *
  • copyModelAsync(String parent, String sourceModel) + *
  • copyModelAsync(LocationName parent, ModelName sourceModel) + *

  • copyModelAsync(LocationName parent, String sourceModel) + *

  • copyModelAsync(String parent, ModelName sourceModel) + *

  • copyModelAsync(String parent, String sourceModel) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • copyModelOperationCallable() - *
  • copyModelCallable() + *
  • copyModelOperationCallable() + *

  • copyModelCallable() *

*
ImportModelEvaluation

ImportModelEvaluation

Imports an externally generated ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importModelEvaluation(ImportModelEvaluationRequest request) + *
  • importModelEvaluation(ImportModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • importModelEvaluation(ModelName parent, ModelEvaluation modelEvaluation) - *
  • importModelEvaluation(String parent, ModelEvaluation modelEvaluation) + *
  • importModelEvaluation(ModelName parent, ModelEvaluation modelEvaluation) + *

  • importModelEvaluation(String parent, ModelEvaluation modelEvaluation) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importModelEvaluationCallable() + *
  • importModelEvaluationCallable() *

*
BatchImportModelEvaluationSlices

BatchImportModelEvaluationSlices

Imports a list of externally generated ModelEvaluationSlice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request) + *
  • batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchImportModelEvaluationSlices(ModelEvaluationName parent, List modelEvaluationSlices) - *
  • batchImportModelEvaluationSlices(String parent, List modelEvaluationSlices) + *
  • batchImportModelEvaluationSlices(ModelEvaluationName parent, List<ModelEvaluationSlice> modelEvaluationSlices) + *

  • batchImportModelEvaluationSlices(String parent, List<ModelEvaluationSlice> modelEvaluationSlices) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchImportModelEvaluationSlicesCallable() + *
  • batchImportModelEvaluationSlicesCallable() *

*
BatchImportEvaluatedAnnotations

BatchImportEvaluatedAnnotations

Imports a list of externally generated EvaluatedAnnotations.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request) + *
  • batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchImportEvaluatedAnnotations(ModelEvaluationSliceName parent, List evaluatedAnnotations) - *
  • batchImportEvaluatedAnnotations(String parent, List evaluatedAnnotations) + *
  • batchImportEvaluatedAnnotations(ModelEvaluationSliceName parent, List<EvaluatedAnnotation> evaluatedAnnotations) + *

  • batchImportEvaluatedAnnotations(String parent, List<EvaluatedAnnotation> evaluatedAnnotations) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchImportEvaluatedAnnotationsCallable() + *
  • batchImportEvaluatedAnnotationsCallable() *

*
GetModelEvaluation

GetModelEvaluation

Gets a ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluation(GetModelEvaluationRequest request) + *
  • getModelEvaluation(GetModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluation(ModelEvaluationName name) - *
  • getModelEvaluation(String name) + *
  • getModelEvaluation(ModelEvaluationName name) + *

  • getModelEvaluation(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationCallable() + *
  • getModelEvaluationCallable() *

*
ListModelEvaluations

ListModelEvaluations

Lists ModelEvaluations in a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluations(ListModelEvaluationsRequest request) + *
  • listModelEvaluations(ListModelEvaluationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluations(ModelName parent) - *
  • listModelEvaluations(String parent) + *
  • listModelEvaluations(ModelName parent) + *

  • listModelEvaluations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationsPagedCallable() - *
  • listModelEvaluationsCallable() + *
  • listModelEvaluationsPagedCallable() + *

  • listModelEvaluationsCallable() *

*
GetModelEvaluationSlice

GetModelEvaluationSlice

Gets a ModelEvaluationSlice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluationSlice(GetModelEvaluationSliceRequest request) + *
  • getModelEvaluationSlice(GetModelEvaluationSliceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluationSlice(ModelEvaluationSliceName name) - *
  • getModelEvaluationSlice(String name) + *
  • getModelEvaluationSlice(ModelEvaluationSliceName name) + *

  • getModelEvaluationSlice(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationSliceCallable() + *
  • getModelEvaluationSliceCallable() *

*
ListModelEvaluationSlices

ListModelEvaluationSlices

Lists ModelEvaluationSlices in a ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluationSlices(ListModelEvaluationSlicesRequest request) + *
  • listModelEvaluationSlices(ListModelEvaluationSlicesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluationSlices(ModelEvaluationName parent) - *
  • listModelEvaluationSlices(String parent) + *
  • listModelEvaluationSlices(ModelEvaluationName parent) + *

  • listModelEvaluationSlices(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationSlicesPagedCallable() - *
  • listModelEvaluationSlicesCallable() + *
  • listModelEvaluationSlicesPagedCallable() + *

  • listModelEvaluationSlicesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java index 38a99e43e55f..76dc33e40977 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java @@ -74,278 +74,279 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateTrainingPipeline

CreateTrainingPipeline

Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTrainingPipeline(CreateTrainingPipelineRequest request) + *
  • createTrainingPipeline(CreateTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTrainingPipeline(LocationName parent, TrainingPipeline trainingPipeline) - *
  • createTrainingPipeline(String parent, TrainingPipeline trainingPipeline) + *
  • createTrainingPipeline(LocationName parent, TrainingPipeline trainingPipeline) + *

  • createTrainingPipeline(String parent, TrainingPipeline trainingPipeline) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTrainingPipelineCallable() + *
  • createTrainingPipelineCallable() *

*
GetTrainingPipeline

GetTrainingPipeline

Gets a TrainingPipeline.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTrainingPipeline(GetTrainingPipelineRequest request) + *
  • getTrainingPipeline(GetTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTrainingPipeline(TrainingPipelineName name) - *
  • getTrainingPipeline(String name) + *
  • getTrainingPipeline(TrainingPipelineName name) + *

  • getTrainingPipeline(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTrainingPipelineCallable() + *
  • getTrainingPipelineCallable() *

*
ListTrainingPipelines

ListTrainingPipelines

Lists TrainingPipelines in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTrainingPipelines(ListTrainingPipelinesRequest request) + *
  • listTrainingPipelines(ListTrainingPipelinesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTrainingPipelines(LocationName parent) - *
  • listTrainingPipelines(String parent) + *
  • listTrainingPipelines(LocationName parent) + *

  • listTrainingPipelines(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTrainingPipelinesPagedCallable() - *
  • listTrainingPipelinesCallable() + *
  • listTrainingPipelinesPagedCallable() + *

  • listTrainingPipelinesCallable() *

*
DeleteTrainingPipeline

DeleteTrainingPipeline

Deletes a TrainingPipeline.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTrainingPipelineAsync(DeleteTrainingPipelineRequest request) + *
  • deleteTrainingPipelineAsync(DeleteTrainingPipelineRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTrainingPipelineAsync(TrainingPipelineName name) - *
  • deleteTrainingPipelineAsync(String name) + *
  • deleteTrainingPipelineAsync(TrainingPipelineName name) + *

  • deleteTrainingPipelineAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTrainingPipelineOperationCallable() - *
  • deleteTrainingPipelineCallable() + *
  • deleteTrainingPipelineOperationCallable() + *

  • deleteTrainingPipelineCallable() *

*
CancelTrainingPipeline

CancelTrainingPipeline

Cancels a TrainingPipeline. Starts asynchronous cancellation on the TrainingPipeline. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline] or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the TrainingPipeline is not deleted; instead it becomes a pipeline with a [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelTrainingPipeline(CancelTrainingPipelineRequest request) + *
  • cancelTrainingPipeline(CancelTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelTrainingPipeline(TrainingPipelineName name) - *
  • cancelTrainingPipeline(String name) + *
  • cancelTrainingPipeline(TrainingPipelineName name) + *

  • cancelTrainingPipeline(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelTrainingPipelineCallable() + *
  • cancelTrainingPipelineCallable() *

*
CreatePipelineJob

CreatePipelineJob

Creates a PipelineJob. A PipelineJob will run immediately when created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createPipelineJob(CreatePipelineJobRequest request) + *
  • createPipelineJob(CreatePipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createPipelineJob(LocationName parent, PipelineJob pipelineJob, String pipelineJobId) - *
  • createPipelineJob(String parent, PipelineJob pipelineJob, String pipelineJobId) + *
  • createPipelineJob(LocationName parent, PipelineJob pipelineJob, String pipelineJobId) + *

  • createPipelineJob(String parent, PipelineJob pipelineJob, String pipelineJobId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createPipelineJobCallable() + *
  • createPipelineJobCallable() *

*
GetPipelineJob

GetPipelineJob

Gets a PipelineJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPipelineJob(GetPipelineJobRequest request) + *
  • getPipelineJob(GetPipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPipelineJob(PipelineJobName name) - *
  • getPipelineJob(String name) + *
  • getPipelineJob(PipelineJobName name) + *

  • getPipelineJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPipelineJobCallable() + *
  • getPipelineJobCallable() *

*
ListPipelineJobs

ListPipelineJobs

Lists PipelineJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPipelineJobs(ListPipelineJobsRequest request) + *
  • listPipelineJobs(ListPipelineJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPipelineJobs(LocationName parent) - *
  • listPipelineJobs(String parent) + *
  • listPipelineJobs(LocationName parent) + *

  • listPipelineJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPipelineJobsPagedCallable() - *
  • listPipelineJobsCallable() + *
  • listPipelineJobsPagedCallable() + *

  • listPipelineJobsCallable() *

*
DeletePipelineJob

DeletePipelineJob

Deletes a PipelineJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deletePipelineJobAsync(DeletePipelineJobRequest request) + *
  • deletePipelineJobAsync(DeletePipelineJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deletePipelineJobAsync(PipelineJobName name) - *
  • deletePipelineJobAsync(String name) + *
  • deletePipelineJobAsync(PipelineJobName name) + *

  • deletePipelineJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePipelineJobOperationCallable() - *
  • deletePipelineJobCallable() + *
  • deletePipelineJobOperationCallable() + *

  • deletePipelineJobCallable() *

*
CancelPipelineJob

CancelPipelineJob

Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob] or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelPipelineJob(CancelPipelineJobRequest request) + *
  • cancelPipelineJob(CancelPipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelPipelineJob(PipelineJobName name) - *
  • cancelPipelineJob(String name) + *
  • cancelPipelineJob(PipelineJobName name) + *

  • cancelPipelineJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelPipelineJobCallable() + *
  • cancelPipelineJobCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java index fc690b42c55f..60d164eb62a1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java @@ -72,31 +72,33 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
Predict

Predict

Perform an online prediction.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • predict(PredictRequest request) + *
  • predict(PredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • predict(EndpointName endpoint, List instances, Value parameters) - *
  • predict(String endpoint, List instances, Value parameters) + *
  • predict(EndpointName endpoint, List<Value> instances, Value parameters) + *

  • predict(String endpoint, List<Value> instances, Value parameters) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • predictCallable() + *
  • predictCallable() *

*
RawPredict

RawPredict

Perform an online prediction with an arbitrary HTTP payload. *

The response includes the following HTTP headers: *

    @@ -108,181 +110,180 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • rawPredict(RawPredictRequest request) + *
  • rawPredict(RawPredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • rawPredict(EndpointName endpoint, HttpBody httpBody) - *
  • rawPredict(String endpoint, HttpBody httpBody) + *
  • rawPredict(EndpointName endpoint, HttpBody httpBody) + *

  • rawPredict(String endpoint, HttpBody httpBody) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • rawPredictCallable() + *
  • rawPredictCallable() *

*
DirectPredict

DirectPredict

Perform an unary online prediction request for Vertex first-party products and frameworks.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • directPredict(DirectPredictRequest request) + *
  • directPredict(DirectPredictRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • directPredictCallable() + *
  • directPredictCallable() *

*
DirectRawPredict

DirectRawPredict

Perform an online prediction request through gRPC.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • directRawPredict(DirectRawPredictRequest request) + *
  • directRawPredict(DirectRawPredictRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • directRawPredictCallable() + *
  • directRawPredictCallable() *

*
StreamingPredict

StreamingPredict

Perform a streaming online prediction request for Vertex first-party products and frameworks.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingPredictCallable() + *
  • streamingPredictCallable() *

*
ServerStreamingPredict

ServerStreamingPredict

Perform a server-side streaming online prediction request for Vertex LLM streaming.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • serverStreamingPredictCallable() + *
  • serverStreamingPredictCallable() *

*
StreamingRawPredict

StreamingRawPredict

Perform a streaming online prediction request through gRPC.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingRawPredictCallable() + *
  • streamingRawPredictCallable() *

*
Explain

Explain

Perform an online explanation. *

If [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id] is specified, the corresponding DeployModel must have [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] populated. If [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id] is not specified, all DeployedModels must have [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] populated.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • explain(ExplainRequest request) + *
  • explain(ExplainRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • explain(EndpointName endpoint, List instances, Value parameters, String deployedModelId) - *
  • explain(String endpoint, List instances, Value parameters, String deployedModelId) + *
  • explain(EndpointName endpoint, List<Value> instances, Value parameters, String deployedModelId) + *

  • explain(String endpoint, List<Value> instances, Value parameters, String deployedModelId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • explainCallable() + *
  • explainCallable() *

*
StreamGenerateContent

StreamGenerateContent

Generate content with multimodal inputs with streaming support.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamGenerateContentCallable() + *
  • streamGenerateContentCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ScheduleServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ScheduleServiceClient.java index 266caf710b94..b225cba93c61 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ScheduleServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ScheduleServiceClient.java @@ -73,222 +73,223 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateSchedule

CreateSchedule

Creates a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSchedule(CreateScheduleRequest request) + *
  • createSchedule(CreateScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSchedule(LocationName parent, Schedule schedule) - *
  • createSchedule(String parent, Schedule schedule) + *
  • createSchedule(LocationName parent, Schedule schedule) + *

  • createSchedule(String parent, Schedule schedule) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createScheduleCallable() + *
  • createScheduleCallable() *

*
DeleteSchedule

DeleteSchedule

Deletes a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteScheduleAsync(DeleteScheduleRequest request) + *
  • deleteScheduleAsync(DeleteScheduleRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteScheduleAsync(ScheduleName name) - *
  • deleteScheduleAsync(String name) + *
  • deleteScheduleAsync(ScheduleName name) + *

  • deleteScheduleAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteScheduleOperationCallable() - *
  • deleteScheduleCallable() + *
  • deleteScheduleOperationCallable() + *

  • deleteScheduleCallable() *

*
GetSchedule

GetSchedule

Gets a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSchedule(GetScheduleRequest request) + *
  • getSchedule(GetScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSchedule(ScheduleName name) - *
  • getSchedule(String name) + *
  • getSchedule(ScheduleName name) + *

  • getSchedule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getScheduleCallable() + *
  • getScheduleCallable() *

*
ListSchedules

ListSchedules

Lists Schedules in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSchedules(ListSchedulesRequest request) + *
  • listSchedules(ListSchedulesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSchedules(LocationName parent) - *
  • listSchedules(String parent) + *
  • listSchedules(LocationName parent) + *

  • listSchedules(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSchedulesPagedCallable() - *
  • listSchedulesCallable() + *
  • listSchedulesPagedCallable() + *

  • listSchedulesCallable() *

*
PauseSchedule

PauseSchedule

Pauses a Schedule. Will mark [Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • pauseSchedule(PauseScheduleRequest request) + *
  • pauseSchedule(PauseScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • pauseSchedule(ScheduleName name) - *
  • pauseSchedule(String name) + *
  • pauseSchedule(ScheduleName name) + *

  • pauseSchedule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • pauseScheduleCallable() + *
  • pauseScheduleCallable() *

*
ResumeSchedule

ResumeSchedule

Resumes a paused Schedule to start scheduling new runs. Will mark [Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'ACTIVE'. Only paused Schedule can be resumed. *

When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If [Schedule.catchUp][] is set up true, all missed runs will be scheduled for backfill first.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • resumeSchedule(ResumeScheduleRequest request) + *
  • resumeSchedule(ResumeScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • resumeSchedule(ScheduleName name) - *
  • resumeSchedule(String name) - *
  • resumeSchedule(ScheduleName name, boolean catchUp) - *
  • resumeSchedule(String name, boolean catchUp) + *
  • resumeSchedule(ScheduleName name) + *

  • resumeSchedule(String name) + *

  • resumeSchedule(ScheduleName name, boolean catchUp) + *

  • resumeSchedule(String name, boolean catchUp) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • resumeScheduleCallable() + *
  • resumeScheduleCallable() *

*
UpdateSchedule

UpdateSchedule

Updates an active or paused Schedule. *

When the Schedule is updated, new runs will be scheduled starting from the updated next execution time after the update time based on the time_specification in the updated Schedule. All unstarted runs before the update time will be skipped while already created runs will NOT be paused or canceled.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSchedule(UpdateScheduleRequest request) + *
  • updateSchedule(UpdateScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSchedule(Schedule schedule, FieldMask updateMask) + *
  • updateSchedule(Schedule schedule, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateScheduleCallable() + *
  • updateScheduleCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java index 9ecbdf5c3aff..03b337efecf8 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java @@ -77,182 +77,183 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateSpecialistPool

CreateSpecialistPool

Creates a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSpecialistPoolAsync(CreateSpecialistPoolRequest request) + *
  • createSpecialistPoolAsync(CreateSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSpecialistPoolAsync(LocationName parent, SpecialistPool specialistPool) - *
  • createSpecialistPoolAsync(String parent, SpecialistPool specialistPool) + *
  • createSpecialistPoolAsync(LocationName parent, SpecialistPool specialistPool) + *

  • createSpecialistPoolAsync(String parent, SpecialistPool specialistPool) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSpecialistPoolOperationCallable() - *
  • createSpecialistPoolCallable() + *
  • createSpecialistPoolOperationCallable() + *

  • createSpecialistPoolCallable() *

*
GetSpecialistPool

GetSpecialistPool

Gets a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSpecialistPool(GetSpecialistPoolRequest request) + *
  • getSpecialistPool(GetSpecialistPoolRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSpecialistPool(SpecialistPoolName name) - *
  • getSpecialistPool(String name) + *
  • getSpecialistPool(SpecialistPoolName name) + *

  • getSpecialistPool(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSpecialistPoolCallable() + *
  • getSpecialistPoolCallable() *

*
ListSpecialistPools

ListSpecialistPools

Lists SpecialistPools in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSpecialistPools(ListSpecialistPoolsRequest request) + *
  • listSpecialistPools(ListSpecialistPoolsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSpecialistPools(LocationName parent) - *
  • listSpecialistPools(String parent) + *
  • listSpecialistPools(LocationName parent) + *

  • listSpecialistPools(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSpecialistPoolsPagedCallable() - *
  • listSpecialistPoolsCallable() + *
  • listSpecialistPoolsPagedCallable() + *

  • listSpecialistPoolsCallable() *

*
DeleteSpecialistPool

DeleteSpecialistPool

Deletes a SpecialistPool as well as all Specialists in the pool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request) + *
  • deleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteSpecialistPoolAsync(SpecialistPoolName name) - *
  • deleteSpecialistPoolAsync(String name) + *
  • deleteSpecialistPoolAsync(SpecialistPoolName name) + *

  • deleteSpecialistPoolAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSpecialistPoolOperationCallable() - *
  • deleteSpecialistPoolCallable() + *
  • deleteSpecialistPoolOperationCallable() + *

  • deleteSpecialistPoolCallable() *

*
UpdateSpecialistPool

UpdateSpecialistPool

Updates a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSpecialistPoolAsync(UpdateSpecialistPoolRequest request) + *
  • updateSpecialistPoolAsync(UpdateSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateSpecialistPoolAsync(SpecialistPool specialistPool, FieldMask updateMask) + *
  • updateSpecialistPoolAsync(SpecialistPool specialistPool, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSpecialistPoolOperationCallable() - *
  • updateSpecialistPoolCallable() + *
  • updateSpecialistPoolOperationCallable() + *

  • updateSpecialistPoolCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java index a57cabd764e0..1582ef1fdb8b 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java @@ -72,646 +72,647 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateTensorboard

CreateTensorboard

Creates a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardAsync(CreateTensorboardRequest request) + *
  • createTensorboardAsync(CreateTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createTensorboardAsync(TensorboardName parent, Tensorboard tensorboard) - *
  • createTensorboardAsync(String parent, Tensorboard tensorboard) + *
  • createTensorboardAsync(TensorboardName parent, Tensorboard tensorboard) + *

  • createTensorboardAsync(String parent, Tensorboard tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardOperationCallable() - *
  • createTensorboardCallable() + *
  • createTensorboardOperationCallable() + *

  • createTensorboardCallable() *

*
GetTensorboard

GetTensorboard

Gets a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboard(GetTensorboardRequest request) + *
  • getTensorboard(GetTensorboardRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboard(TensorboardName name) - *
  • getTensorboard(String name) + *
  • getTensorboard(TensorboardName name) + *

  • getTensorboard(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardCallable() + *
  • getTensorboardCallable() *

*
UpdateTensorboard

UpdateTensorboard

Updates a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardAsync(UpdateTensorboardRequest request) + *
  • updateTensorboardAsync(UpdateTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateTensorboardAsync(Tensorboard tensorboard, FieldMask updateMask) + *
  • updateTensorboardAsync(Tensorboard tensorboard, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardOperationCallable() - *
  • updateTensorboardCallable() + *
  • updateTensorboardOperationCallable() + *

  • updateTensorboardCallable() *

*
ListTensorboards

ListTensorboards

Lists Tensorboards in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboards(ListTensorboardsRequest request) + *
  • listTensorboards(ListTensorboardsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboards(LocationName parent) - *
  • listTensorboards(String parent) + *
  • listTensorboards(LocationName parent) + *

  • listTensorboards(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardsPagedCallable() - *
  • listTensorboardsCallable() + *
  • listTensorboardsPagedCallable() + *

  • listTensorboardsCallable() *

*
DeleteTensorboard

DeleteTensorboard

Deletes a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardAsync(DeleteTensorboardRequest request) + *
  • deleteTensorboardAsync(DeleteTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardAsync(TensorboardName name) - *
  • deleteTensorboardAsync(String name) + *
  • deleteTensorboardAsync(TensorboardName name) + *

  • deleteTensorboardAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardOperationCallable() - *
  • deleteTensorboardCallable() + *
  • deleteTensorboardOperationCallable() + *

  • deleteTensorboardCallable() *

*
ReadTensorboardUsage

ReadTensorboardUsage

Returns a list of monthly active users for a given TensorBoard instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardUsage(ReadTensorboardUsageRequest request) + *
  • readTensorboardUsage(ReadTensorboardUsageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardUsage(TensorboardName tensorboard) - *
  • readTensorboardUsage(String tensorboard) + *
  • readTensorboardUsage(TensorboardName tensorboard) + *

  • readTensorboardUsage(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardUsageCallable() + *
  • readTensorboardUsageCallable() *

*
ReadTensorboardSize

ReadTensorboardSize

Returns the storage size for a given TensorBoard instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardSize(ReadTensorboardSizeRequest request) + *
  • readTensorboardSize(ReadTensorboardSizeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardSize(TensorboardName tensorboard) - *
  • readTensorboardSize(String tensorboard) + *
  • readTensorboardSize(TensorboardName tensorboard) + *

  • readTensorboardSize(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardSizeCallable() + *
  • readTensorboardSizeCallable() *

*
CreateTensorboardExperiment

CreateTensorboardExperiment

Creates a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardExperiment(CreateTensorboardExperimentRequest request) + *
  • createTensorboardExperiment(CreateTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardExperiment(TensorboardExperimentName parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) - *
  • createTensorboardExperiment(String parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) + *
  • createTensorboardExperiment(TensorboardExperimentName parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) + *

  • createTensorboardExperiment(String parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardExperimentCallable() + *
  • createTensorboardExperimentCallable() *

*
GetTensorboardExperiment

GetTensorboardExperiment

Gets a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardExperiment(GetTensorboardExperimentRequest request) + *
  • getTensorboardExperiment(GetTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardExperiment(TensorboardExperimentName name) - *
  • getTensorboardExperiment(String name) + *
  • getTensorboardExperiment(TensorboardExperimentName name) + *

  • getTensorboardExperiment(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardExperimentCallable() + *
  • getTensorboardExperimentCallable() *

*
UpdateTensorboardExperiment

UpdateTensorboardExperiment

Updates a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardExperiment(UpdateTensorboardExperimentRequest request) + *
  • updateTensorboardExperiment(UpdateTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardExperiment(TensorboardExperiment tensorboardExperiment, FieldMask updateMask) + *
  • updateTensorboardExperiment(TensorboardExperiment tensorboardExperiment, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardExperimentCallable() + *
  • updateTensorboardExperimentCallable() *

*
ListTensorboardExperiments

ListTensorboardExperiments

Lists TensorboardExperiments in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardExperiments(ListTensorboardExperimentsRequest request) + *
  • listTensorboardExperiments(ListTensorboardExperimentsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardExperiments(TensorboardName parent) - *
  • listTensorboardExperiments(String parent) + *
  • listTensorboardExperiments(TensorboardName parent) + *

  • listTensorboardExperiments(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardExperimentsPagedCallable() - *
  • listTensorboardExperimentsCallable() + *
  • listTensorboardExperimentsPagedCallable() + *

  • listTensorboardExperimentsCallable() *

*
DeleteTensorboardExperiment

DeleteTensorboardExperiment

Deletes a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardExperimentAsync(DeleteTensorboardExperimentRequest request) + *
  • deleteTensorboardExperimentAsync(DeleteTensorboardExperimentRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardExperimentAsync(TensorboardExperimentName name) - *
  • deleteTensorboardExperimentAsync(String name) + *
  • deleteTensorboardExperimentAsync(TensorboardExperimentName name) + *

  • deleteTensorboardExperimentAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardExperimentOperationCallable() - *
  • deleteTensorboardExperimentCallable() + *
  • deleteTensorboardExperimentOperationCallable() + *

  • deleteTensorboardExperimentCallable() *

*
CreateTensorboardRun

CreateTensorboardRun

Creates a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardRun(CreateTensorboardRunRequest request) + *
  • createTensorboardRun(CreateTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardRun(TensorboardRunName parent, TensorboardRun tensorboardRun, String tensorboardRunId) - *
  • createTensorboardRun(String parent, TensorboardRun tensorboardRun, String tensorboardRunId) + *
  • createTensorboardRun(TensorboardRunName parent, TensorboardRun tensorboardRun, String tensorboardRunId) + *

  • createTensorboardRun(String parent, TensorboardRun tensorboardRun, String tensorboardRunId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardRunCallable() + *
  • createTensorboardRunCallable() *

*
BatchCreateTensorboardRuns

BatchCreateTensorboardRuns

Batch create TensorboardRuns.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateTensorboardRuns(TensorboardExperimentName parent, List requests) - *
  • batchCreateTensorboardRuns(String parent, List requests) - *
  • batchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest request) + *
  • batchCreateTensorboardRuns(TensorboardExperimentName parent, List<CreateTensorboardRunRequest> requests) + *

  • batchCreateTensorboardRuns(String parent, List<CreateTensorboardRunRequest> requests) + *

  • batchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateTensorboardRunsCallable() + *
  • batchCreateTensorboardRunsCallable() *

*
GetTensorboardRun

GetTensorboardRun

Gets a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardRun(GetTensorboardRunRequest request) + *
  • getTensorboardRun(GetTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardRun(TensorboardRunName name) - *
  • getTensorboardRun(String name) + *
  • getTensorboardRun(TensorboardRunName name) + *

  • getTensorboardRun(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardRunCallable() + *
  • getTensorboardRunCallable() *

*
UpdateTensorboardRun

UpdateTensorboardRun

Updates a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardRun(UpdateTensorboardRunRequest request) + *
  • updateTensorboardRun(UpdateTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardRun(TensorboardRun tensorboardRun, FieldMask updateMask) + *
  • updateTensorboardRun(TensorboardRun tensorboardRun, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardRunCallable() + *
  • updateTensorboardRunCallable() *

*
ListTensorboardRuns

ListTensorboardRuns

Lists TensorboardRuns in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardRuns(ListTensorboardRunsRequest request) + *
  • listTensorboardRuns(ListTensorboardRunsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardRuns(TensorboardExperimentName parent) - *
  • listTensorboardRuns(String parent) + *
  • listTensorboardRuns(TensorboardExperimentName parent) + *

  • listTensorboardRuns(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardRunsPagedCallable() - *
  • listTensorboardRunsCallable() + *
  • listTensorboardRunsPagedCallable() + *

  • listTensorboardRunsCallable() *

*
DeleteTensorboardRun

DeleteTensorboardRun

Deletes a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardRunAsync(DeleteTensorboardRunRequest request) + *
  • deleteTensorboardRunAsync(DeleteTensorboardRunRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardRunAsync(TensorboardRunName name) - *
  • deleteTensorboardRunAsync(String name) + *
  • deleteTensorboardRunAsync(TensorboardRunName name) + *

  • deleteTensorboardRunAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardRunOperationCallable() - *
  • deleteTensorboardRunCallable() + *
  • deleteTensorboardRunOperationCallable() + *

  • deleteTensorboardRunCallable() *

*
BatchCreateTensorboardTimeSeries

BatchCreateTensorboardTimeSeries

Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateTensorboardTimeSeries(TensorboardExperimentName parent, List requests) - *
  • batchCreateTensorboardTimeSeries(String parent, List requests) - *
  • batchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest request) + *
  • batchCreateTensorboardTimeSeries(TensorboardExperimentName parent, List<CreateTensorboardTimeSeriesRequest> requests) + *

  • batchCreateTensorboardTimeSeries(String parent, List<CreateTensorboardTimeSeriesRequest> requests) + *

  • batchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateTensorboardTimeSeriesCallable() + *
  • batchCreateTensorboardTimeSeriesCallable() *

*
CreateTensorboardTimeSeries

CreateTensorboardTimeSeries

Creates a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest request) + *
  • createTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardTimeSeries(TensorboardTimeSeriesName parent, TensorboardTimeSeries tensorboardTimeSeries) - *
  • createTensorboardTimeSeries(String parent, TensorboardTimeSeries tensorboardTimeSeries) + *
  • createTensorboardTimeSeries(TensorboardTimeSeriesName parent, TensorboardTimeSeries tensorboardTimeSeries) + *

  • createTensorboardTimeSeries(String parent, TensorboardTimeSeries tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardTimeSeriesCallable() + *
  • createTensorboardTimeSeriesCallable() *

*
GetTensorboardTimeSeries

GetTensorboardTimeSeries

Gets a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardTimeSeries(GetTensorboardTimeSeriesRequest request) + *
  • getTensorboardTimeSeries(GetTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardTimeSeries(TensorboardTimeSeriesName name) - *
  • getTensorboardTimeSeries(String name) + *
  • getTensorboardTimeSeries(TensorboardTimeSeriesName name) + *

  • getTensorboardTimeSeries(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardTimeSeriesCallable() + *
  • getTensorboardTimeSeriesCallable() *

*
UpdateTensorboardTimeSeries

UpdateTensorboardTimeSeries

Updates a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest request) + *
  • updateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardTimeSeries(TensorboardTimeSeries tensorboardTimeSeries, FieldMask updateMask) + *
  • updateTensorboardTimeSeries(TensorboardTimeSeries tensorboardTimeSeries, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardTimeSeriesCallable() + *
  • updateTensorboardTimeSeriesCallable() *

*
ListTensorboardTimeSeries

ListTensorboardTimeSeries

Lists TensorboardTimeSeries in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardTimeSeries(ListTensorboardTimeSeriesRequest request) + *
  • listTensorboardTimeSeries(ListTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardTimeSeries(TensorboardRunName parent) - *
  • listTensorboardTimeSeries(String parent) + *
  • listTensorboardTimeSeries(TensorboardRunName parent) + *

  • listTensorboardTimeSeries(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardTimeSeriesPagedCallable() - *
  • listTensorboardTimeSeriesCallable() + *
  • listTensorboardTimeSeriesPagedCallable() + *

  • listTensorboardTimeSeriesCallable() *

*
DeleteTensorboardTimeSeries

DeleteTensorboardTimeSeries

Deletes a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardTimeSeriesAsync(DeleteTensorboardTimeSeriesRequest request) + *
  • deleteTensorboardTimeSeriesAsync(DeleteTensorboardTimeSeriesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardTimeSeriesAsync(TensorboardTimeSeriesName name) - *
  • deleteTensorboardTimeSeriesAsync(String name) + *
  • deleteTensorboardTimeSeriesAsync(TensorboardTimeSeriesName name) + *

  • deleteTensorboardTimeSeriesAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardTimeSeriesOperationCallable() - *
  • deleteTensorboardTimeSeriesCallable() + *
  • deleteTensorboardTimeSeriesOperationCallable() + *

  • deleteTensorboardTimeSeriesCallable() *

*
BatchReadTensorboardTimeSeriesData

BatchReadTensorboardTimeSeriesData

Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest request) + *
  • batchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchReadTensorboardTimeSeriesData(TensorboardName tensorboard) - *
  • batchReadTensorboardTimeSeriesData(String tensorboard) + *
  • batchReadTensorboardTimeSeriesData(TensorboardName tensorboard) + *

  • batchReadTensorboardTimeSeriesData(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchReadTensorboardTimeSeriesDataCallable() + *
  • batchReadTensorboardTimeSeriesDataCallable() *

*
ReadTensorboardTimeSeriesData

ReadTensorboardTimeSeriesData

Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can't be greater than 10k.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest request) + *
  • readTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) - *
  • readTensorboardTimeSeriesData(String tensorboardTimeSeries) + *
  • readTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) + *

  • readTensorboardTimeSeriesData(String tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardTimeSeriesDataCallable() + *
  • readTensorboardTimeSeriesDataCallable() *

*
ReadTensorboardBlobData

ReadTensorboardBlobData

Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardBlobDataCallable() + *
  • readTensorboardBlobDataCallable() *

*
WriteTensorboardExperimentData

WriteTensorboardExperimentData

Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's. If any data fail to be ingested, an error is returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeTensorboardExperimentData(WriteTensorboardExperimentDataRequest request) + *
  • writeTensorboardExperimentData(WriteTensorboardExperimentDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeTensorboardExperimentData(TensorboardExperimentName tensorboardExperiment, List writeRunDataRequests) - *
  • writeTensorboardExperimentData(String tensorboardExperiment, List writeRunDataRequests) + *
  • writeTensorboardExperimentData(TensorboardExperimentName tensorboardExperiment, List<WriteTensorboardRunDataRequest> writeRunDataRequests) + *

  • writeTensorboardExperimentData(String tensorboardExperiment, List<WriteTensorboardRunDataRequest> writeRunDataRequests) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeTensorboardExperimentDataCallable() + *
  • writeTensorboardExperimentDataCallable() *

*
WriteTensorboardRunData

WriteTensorboardRunData

Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If any data fail to be ingested, an error is returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeTensorboardRunData(WriteTensorboardRunDataRequest request) + *
  • writeTensorboardRunData(WriteTensorboardRunDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeTensorboardRunData(TensorboardRunName tensorboardRun, List timeSeriesData) - *
  • writeTensorboardRunData(String tensorboardRun, List timeSeriesData) + *
  • writeTensorboardRunData(TensorboardRunName tensorboardRun, List<TimeSeriesData> timeSeriesData) + *

  • writeTensorboardRunData(String tensorboardRun, List<TimeSeriesData> timeSeriesData) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeTensorboardRunDataCallable() + *
  • writeTensorboardRunDataCallable() *

*
ExportTensorboardTimeSeriesData

ExportTensorboardTimeSeriesData

Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest request) + *
  • exportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • exportTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) - *
  • exportTensorboardTimeSeriesData(String tensorboardTimeSeries) + *
  • exportTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) + *

  • exportTensorboardTimeSeriesData(String tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportTensorboardTimeSeriesDataPagedCallable() - *
  • exportTensorboardTimeSeriesDataCallable() + *
  • exportTensorboardTimeSeriesDataPagedCallable() + *

  • exportTensorboardTimeSeriesDataCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java index 4d59063017f0..19cd27f04029 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java @@ -73,348 +73,349 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateStudy

CreateStudy

Creates a Study. A resource name will be generated after creation of the Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createStudy(CreateStudyRequest request) + *
  • createStudy(CreateStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createStudy(LocationName parent, Study study) - *
  • createStudy(String parent, Study study) + *
  • createStudy(LocationName parent, Study study) + *

  • createStudy(String parent, Study study) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createStudyCallable() + *
  • createStudyCallable() *

*
GetStudy

GetStudy

Gets a Study by name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getStudy(GetStudyRequest request) + *
  • getStudy(GetStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getStudy(StudyName name) - *
  • getStudy(String name) + *
  • getStudy(StudyName name) + *

  • getStudy(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getStudyCallable() + *
  • getStudyCallable() *

*
ListStudies

ListStudies

Lists all the studies in a region for an associated project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listStudies(ListStudiesRequest request) + *
  • listStudies(ListStudiesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listStudies(LocationName parent) - *
  • listStudies(String parent) + *
  • listStudies(LocationName parent) + *

  • listStudies(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listStudiesPagedCallable() - *
  • listStudiesCallable() + *
  • listStudiesPagedCallable() + *

  • listStudiesCallable() *

*
DeleteStudy

DeleteStudy

Deletes a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteStudy(DeleteStudyRequest request) + *
  • deleteStudy(DeleteStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteStudy(StudyName name) - *
  • deleteStudy(String name) + *
  • deleteStudy(StudyName name) + *

  • deleteStudy(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteStudyCallable() + *
  • deleteStudyCallable() *

*
LookupStudy

LookupStudy

Looks a study up using the user-defined display_name field instead of the fully qualified resource name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • lookupStudy(LookupStudyRequest request) + *
  • lookupStudy(LookupStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • lookupStudy(LocationName parent) - *
  • lookupStudy(String parent) + *
  • lookupStudy(LocationName parent) + *

  • lookupStudy(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • lookupStudyCallable() + *
  • lookupStudyCallable() *

*
SuggestTrials

SuggestTrials

Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a [SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • suggestTrialsAsync(SuggestTrialsRequest request) + *
  • suggestTrialsAsync(SuggestTrialsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • suggestTrialsOperationCallable() - *
  • suggestTrialsCallable() + *
  • suggestTrialsOperationCallable() + *

  • suggestTrialsCallable() *

*
CreateTrial

CreateTrial

Adds a user provided Trial to a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTrial(CreateTrialRequest request) + *
  • createTrial(CreateTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTrial(StudyName parent, Trial trial) - *
  • createTrial(String parent, Trial trial) + *
  • createTrial(StudyName parent, Trial trial) + *

  • createTrial(String parent, Trial trial) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTrialCallable() + *
  • createTrialCallable() *

*
GetTrial

GetTrial

Gets a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTrial(GetTrialRequest request) + *
  • getTrial(GetTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTrial(TrialName name) - *
  • getTrial(String name) + *
  • getTrial(TrialName name) + *

  • getTrial(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTrialCallable() + *
  • getTrialCallable() *

*
ListTrials

ListTrials

Lists the Trials associated with a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTrials(ListTrialsRequest request) + *
  • listTrials(ListTrialsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTrials(StudyName parent) - *
  • listTrials(String parent) + *
  • listTrials(StudyName parent) + *

  • listTrials(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTrialsPagedCallable() - *
  • listTrialsCallable() + *
  • listTrialsPagedCallable() + *

  • listTrialsCallable() *

*
AddTrialMeasurement

AddTrialMeasurement

Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addTrialMeasurement(AddTrialMeasurementRequest request) + *
  • addTrialMeasurement(AddTrialMeasurementRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addTrialMeasurementCallable() + *
  • addTrialMeasurementCallable() *

*
CompleteTrial

CompleteTrial

Marks a Trial as complete.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • completeTrial(CompleteTrialRequest request) + *
  • completeTrial(CompleteTrialRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • completeTrialCallable() + *
  • completeTrialCallable() *

*
DeleteTrial

DeleteTrial

Deletes a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTrial(DeleteTrialRequest request) + *
  • deleteTrial(DeleteTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteTrial(TrialName name) - *
  • deleteTrial(String name) + *
  • deleteTrial(TrialName name) + *

  • deleteTrial(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTrialCallable() + *
  • deleteTrialCallable() *

*
CheckTrialEarlyStoppingState

CheckTrialEarlyStoppingState

Checks whether a Trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a [CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • checkTrialEarlyStoppingStateAsync(CheckTrialEarlyStoppingStateRequest request) + *
  • checkTrialEarlyStoppingStateAsync(CheckTrialEarlyStoppingStateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • checkTrialEarlyStoppingStateOperationCallable() - *
  • checkTrialEarlyStoppingStateCallable() + *
  • checkTrialEarlyStoppingStateOperationCallable() + *

  • checkTrialEarlyStoppingStateCallable() *

*
StopTrial

StopTrial

Stops a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • stopTrial(StopTrialRequest request) + *
  • stopTrial(StopTrialRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • stopTrialCallable() + *
  • stopTrialCallable() *

*
ListOptimalTrials

ListOptimalTrials

Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listOptimalTrials(ListOptimalTrialsRequest request) + *
  • listOptimalTrials(ListOptimalTrialsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listOptimalTrials(StudyName parent) - *
  • listOptimalTrials(String parent) + *
  • listOptimalTrials(StudyName parent) + *

  • listOptimalTrials(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listOptimalTrialsCallable() + *
  • listOptimalTrialsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java index cc06bfb98e94..cbb59aeccd92 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java @@ -797,6 +797,15 @@ public DatasetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1135,7 +1144,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1679,6 +1687,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public DatasetServiceStubSettings build() throws IOException { return new DatasetServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DeploymentResourcePoolServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DeploymentResourcePoolServiceStubSettings.java index b3fc84f21e46..1756992cfc58 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DeploymentResourcePoolServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DeploymentResourcePoolServiceStubSettings.java @@ -432,6 +432,15 @@ public DeploymentResourcePoolServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -657,7 +666,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -868,6 +876,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public DeploymentResourcePoolServiceStubSettings build() throws IOException { return new DeploymentResourcePoolServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java index 4adf7343bc8b..616f370ec1d0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java @@ -382,6 +382,15 @@ public EndpointServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -624,7 +633,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -956,6 +964,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public EndpointServiceStubSettings build() throws IOException { return new EndpointServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStubSettings.java index 6b208fb50e7e..729e25a71f62 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStubSettings.java @@ -609,6 +609,15 @@ public FeatureOnlineStoreAdminServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -915,7 +924,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1348,6 +1356,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureOnlineStoreAdminServiceStubSettings build() throws IOException { return new FeatureOnlineStoreAdminServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStubSettings.java index c9e7591247e0..561324edf9d6 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStubSettings.java @@ -212,6 +212,15 @@ public FeatureOnlineStoreServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -375,7 +384,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -465,6 +473,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureOnlineStoreServiceStubSettings build() throws IOException { return new FeatureOnlineStoreServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStubSettings.java index 86cd55baea23..316d1efb31a3 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStubSettings.java @@ -463,6 +463,15 @@ public FeatureRegistryServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -729,7 +738,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1116,6 +1124,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureRegistryServiceStubSettings build() throws IOException { return new FeatureRegistryServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java index 8724c7ef1d45..e1ca9ba95d93 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java @@ -234,6 +234,15 @@ public FeaturestoreOnlineServingServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -413,7 +422,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -526,6 +534,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeaturestoreOnlineServingServiceStubSettings build() throws IOException { return new FeaturestoreOnlineServingServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java index fc821b8d45ad..3441236ef70e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java @@ -758,6 +758,15 @@ public FeaturestoreServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1158,7 +1167,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1884,6 +1892,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeaturestoreServiceStubSettings build() throws IOException { return new FeaturestoreServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java index 43e08e737304..617b5efb2c23 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java @@ -398,6 +398,15 @@ public IndexEndpointServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -647,7 +656,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -983,6 +991,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public IndexEndpointServiceStubSettings build() throws IOException { return new IndexEndpointServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java index cba0616575a5..c1c9a4cad779 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java @@ -347,6 +347,15 @@ public IndexServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -565,7 +574,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -813,6 +821,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public IndexServiceStubSettings build() throws IOException { return new IndexServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java index a89827ccfa6d..7d15e3d63b5b 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java @@ -1191,6 +1191,15 @@ public JobServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1694,7 +1703,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2423,6 +2431,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public JobServiceStubSettings build() throws IOException { return new JobServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStubSettings.java index b9cf8c8e2eaa..763a2edf8449 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStubSettings.java @@ -218,6 +218,15 @@ public LlmUtilityServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -387,7 +396,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -488,6 +496,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public LlmUtilityServiceStubSettings build() throws IOException { return new LlmUtilityServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MatchServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MatchServiceStubSettings.java index 0ae7355b6a0a..e013c382a829 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MatchServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MatchServiceStubSettings.java @@ -219,6 +219,15 @@ public MatchServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -388,7 +397,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -489,6 +497,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MatchServiceStubSettings build() throws IOException { return new MatchServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java index 4ce417d78e8c..2b8dcae86ffe 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java @@ -854,6 +854,15 @@ public MetadataServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1294,7 +1303,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1981,6 +1989,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MetadataServiceStubSettings build() throws IOException { return new MetadataServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java index f5b5a3904b3e..bdddc5036939 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java @@ -324,6 +324,15 @@ public MigrationServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -507,7 +516,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -648,6 +656,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MigrationServiceStubSettings build() throws IOException { return new MigrationServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelGardenServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelGardenServiceStubSettings.java index 02fb9c4841aa..3dc44a4cab3c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelGardenServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelGardenServiceStubSettings.java @@ -210,6 +210,15 @@ public ModelGardenServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -373,7 +382,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -463,6 +471,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ModelGardenServiceStubSettings build() throws IOException { return new ModelGardenServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java index b4c950236815..21f997fc9abc 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java @@ -703,6 +703,15 @@ public ModelServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1035,7 +1044,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1514,6 +1522,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ModelServiceStubSettings build() throws IOException { return new ModelServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java index 403394ef0838..e7c086f4f453 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java @@ -443,6 +443,15 @@ public PipelineServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -688,7 +697,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -944,6 +952,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PipelineServiceStubSettings build() throws IOException { return new PipelineServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java index d317df298fbb..1e43604b7f63 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java @@ -284,6 +284,15 @@ public PredictionServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -494,7 +503,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -659,6 +667,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PredictionServiceStubSettings build() throws IOException { return new PredictionServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ScheduleServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ScheduleServiceStubSettings.java index 458cf32e7704..7b12e863266e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ScheduleServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ScheduleServiceStubSettings.java @@ -324,6 +324,15 @@ public ScheduleServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -530,7 +539,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -713,6 +721,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ScheduleServiceStubSettings build() throws IOException { return new ScheduleServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java index f18d5c65f154..9c628348739b 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java @@ -347,6 +347,15 @@ public SpecialistPoolServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -566,7 +575,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -804,6 +812,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public SpecialistPoolServiceStubSettings build() throws IOException { return new SpecialistPoolServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java index d754f3ef46ad..4f5a43a9b512 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java @@ -942,6 +942,15 @@ public TensorboardServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1404,7 +1413,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2035,6 +2043,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public TensorboardServiceStubSettings build() throws IOException { return new TensorboardServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java index 16f2d7b9298c..bef841e5debc 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java @@ -460,6 +460,15 @@ public VizierServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -730,7 +739,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1036,6 +1044,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public VizierServiceStubSettings build() throws IOException { return new VizierServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java index 8a2503d01f0a..74c68f8109a0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java @@ -71,434 +71,435 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Creates a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDatasetAsync(CreateDatasetRequest request) + *
  • createDatasetAsync(CreateDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDatasetAsync(LocationName parent, Dataset dataset) - *
  • createDatasetAsync(String parent, Dataset dataset) + *
  • createDatasetAsync(LocationName parent, Dataset dataset) + *

  • createDatasetAsync(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetOperationCallable() - *
  • createDatasetCallable() + *
  • createDatasetOperationCallable() + *

  • createDatasetCallable() *

*
GetDataset

GetDataset

Gets a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
UpdateDataset

UpdateDataset

Updates a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataset(UpdateDatasetRequest request) + *
  • updateDataset(UpdateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataset(Dataset dataset, FieldMask updateMask) + *
  • updateDataset(Dataset dataset, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetCallable() + *
  • updateDatasetCallable() *

*
ListDatasets

ListDatasets

Lists Datasets in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(LocationName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(LocationName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
DeleteDataset

DeleteDataset

Deletes a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetAsync(DeleteDatasetRequest request) + *
  • deleteDatasetAsync(DeleteDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetAsync(DatasetName name) - *
  • deleteDatasetAsync(String name) + *
  • deleteDatasetAsync(DatasetName name) + *

  • deleteDatasetAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetOperationCallable() - *
  • deleteDatasetCallable() + *
  • deleteDatasetOperationCallable() + *

  • deleteDatasetCallable() *

*
ImportData

ImportData

Imports data into a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importDataAsync(ImportDataRequest request) + *
  • importDataAsync(ImportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importDataAsync(DatasetName name, List importConfigs) - *
  • importDataAsync(String name, List importConfigs) + *
  • importDataAsync(DatasetName name, List<ImportDataConfig> importConfigs) + *

  • importDataAsync(String name, List<ImportDataConfig> importConfigs) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importDataOperationCallable() - *
  • importDataCallable() + *
  • importDataOperationCallable() + *

  • importDataCallable() *

*
ExportData

ExportData

Exports data from a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportDataAsync(ExportDataRequest request) + *
  • exportDataAsync(ExportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportDataAsync(DatasetName name, ExportDataConfig exportConfig) - *
  • exportDataAsync(String name, ExportDataConfig exportConfig) + *
  • exportDataAsync(DatasetName name, ExportDataConfig exportConfig) + *

  • exportDataAsync(String name, ExportDataConfig exportConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportDataOperationCallable() - *
  • exportDataCallable() + *
  • exportDataOperationCallable() + *

  • exportDataCallable() *

*
CreateDatasetVersion

CreateDatasetVersion

Create a version from a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDatasetVersionAsync(CreateDatasetVersionRequest request) + *
  • createDatasetVersionAsync(CreateDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDatasetVersionAsync(DatasetName parent, DatasetVersion datasetVersion) - *
  • createDatasetVersionAsync(String parent, DatasetVersion datasetVersion) + *
  • createDatasetVersionAsync(DatasetName parent, DatasetVersion datasetVersion) + *

  • createDatasetVersionAsync(String parent, DatasetVersion datasetVersion) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetVersionOperationCallable() - *
  • createDatasetVersionCallable() + *
  • createDatasetVersionOperationCallable() + *

  • createDatasetVersionCallable() *

*
DeleteDatasetVersion

DeleteDatasetVersion

Deletes a Dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetVersionAsync(DeleteDatasetVersionRequest request) + *
  • deleteDatasetVersionAsync(DeleteDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetVersionAsync(DatasetVersionName name) - *
  • deleteDatasetVersionAsync(String name) + *
  • deleteDatasetVersionAsync(DatasetVersionName name) + *

  • deleteDatasetVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetVersionOperationCallable() - *
  • deleteDatasetVersionCallable() + *
  • deleteDatasetVersionOperationCallable() + *

  • deleteDatasetVersionCallable() *

*
GetDatasetVersion

GetDatasetVersion

Gets a Dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDatasetVersion(GetDatasetVersionRequest request) + *
  • getDatasetVersion(GetDatasetVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDatasetVersion(DatasetVersionName name) - *
  • getDatasetVersion(String name) + *
  • getDatasetVersion(DatasetVersionName name) + *

  • getDatasetVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetVersionCallable() + *
  • getDatasetVersionCallable() *

*
ListDatasetVersions

ListDatasetVersions

Lists DatasetVersions in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasetVersions(ListDatasetVersionsRequest request) + *
  • listDatasetVersions(ListDatasetVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasetVersions(DatasetName parent) - *
  • listDatasetVersions(String parent) + *
  • listDatasetVersions(DatasetName parent) + *

  • listDatasetVersions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetVersionsPagedCallable() - *
  • listDatasetVersionsCallable() + *
  • listDatasetVersionsPagedCallable() + *

  • listDatasetVersionsCallable() *

*
RestoreDatasetVersion

RestoreDatasetVersion

Restores a dataset version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restoreDatasetVersionAsync(RestoreDatasetVersionRequest request) + *
  • restoreDatasetVersionAsync(RestoreDatasetVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • restoreDatasetVersionAsync(DatasetVersionName name) - *
  • restoreDatasetVersionAsync(String name) + *
  • restoreDatasetVersionAsync(DatasetVersionName name) + *

  • restoreDatasetVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restoreDatasetVersionOperationCallable() - *
  • restoreDatasetVersionCallable() + *
  • restoreDatasetVersionOperationCallable() + *

  • restoreDatasetVersionCallable() *

*
ListDataItems

ListDataItems

Lists DataItems in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataItems(ListDataItemsRequest request) + *
  • listDataItems(ListDataItemsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataItems(DatasetName parent) - *
  • listDataItems(String parent) + *
  • listDataItems(DatasetName parent) + *

  • listDataItems(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataItemsPagedCallable() - *
  • listDataItemsCallable() + *
  • listDataItemsPagedCallable() + *

  • listDataItemsCallable() *

*
SearchDataItems

SearchDataItems

Searches DataItems in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchDataItems(SearchDataItemsRequest request) + *
  • searchDataItems(SearchDataItemsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchDataItemsPagedCallable() - *
  • searchDataItemsCallable() + *
  • searchDataItemsPagedCallable() + *

  • searchDataItemsCallable() *

*
ListSavedQueries

ListSavedQueries

Lists SavedQueries in a Dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSavedQueries(ListSavedQueriesRequest request) + *
  • listSavedQueries(ListSavedQueriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSavedQueries(DatasetName parent) - *
  • listSavedQueries(String parent) + *
  • listSavedQueries(DatasetName parent) + *

  • listSavedQueries(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSavedQueriesPagedCallable() - *
  • listSavedQueriesCallable() + *
  • listSavedQueriesPagedCallable() + *

  • listSavedQueriesCallable() *

*
DeleteSavedQuery

DeleteSavedQuery

Deletes a SavedQuery.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSavedQueryAsync(DeleteSavedQueryRequest request) + *
  • deleteSavedQueryAsync(DeleteSavedQueryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteSavedQueryAsync(SavedQueryName name) - *
  • deleteSavedQueryAsync(String name) + *
  • deleteSavedQueryAsync(SavedQueryName name) + *

  • deleteSavedQueryAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSavedQueryOperationCallable() - *
  • deleteSavedQueryCallable() + *
  • deleteSavedQueryOperationCallable() + *

  • deleteSavedQueryCallable() *

*
GetAnnotationSpec

GetAnnotationSpec

Gets an AnnotationSpec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAnnotationSpec(GetAnnotationSpecRequest request) + *
  • getAnnotationSpec(GetAnnotationSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAnnotationSpec(AnnotationSpecName name) - *
  • getAnnotationSpec(String name) + *
  • getAnnotationSpec(AnnotationSpecName name) + *

  • getAnnotationSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAnnotationSpecCallable() + *
  • getAnnotationSpecCallable() *

*
ListAnnotations

ListAnnotations

Lists Annotations belongs to a dataitem

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAnnotations(ListAnnotationsRequest request) + *
  • listAnnotations(ListAnnotationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAnnotations(DataItemName parent) - *
  • listAnnotations(String parent) + *
  • listAnnotations(DataItemName parent) + *

  • listAnnotations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAnnotationsPagedCallable() - *
  • listAnnotationsCallable() + *
  • listAnnotationsPagedCallable() + *

  • listAnnotationsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java index f4cb6e3d5c75..f14eb6db72d6 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java @@ -74,182 +74,183 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDeploymentResourcePool

CreateDeploymentResourcePool

Create a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest request) + *
  • createDeploymentResourcePoolAsync(CreateDeploymentResourcePoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDeploymentResourcePoolAsync(LocationName parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) - *
  • createDeploymentResourcePoolAsync(String parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) + *
  • createDeploymentResourcePoolAsync(LocationName parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) + *

  • createDeploymentResourcePoolAsync(String parent, DeploymentResourcePool deploymentResourcePool, String deploymentResourcePoolId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDeploymentResourcePoolOperationCallable() - *
  • createDeploymentResourcePoolCallable() + *
  • createDeploymentResourcePoolOperationCallable() + *

  • createDeploymentResourcePoolCallable() *

*
GetDeploymentResourcePool

GetDeploymentResourcePool

Get a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDeploymentResourcePool(GetDeploymentResourcePoolRequest request) + *
  • getDeploymentResourcePool(GetDeploymentResourcePoolRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDeploymentResourcePool(DeploymentResourcePoolName name) - *
  • getDeploymentResourcePool(String name) + *
  • getDeploymentResourcePool(DeploymentResourcePoolName name) + *

  • getDeploymentResourcePool(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDeploymentResourcePoolCallable() + *
  • getDeploymentResourcePoolCallable() *

*
ListDeploymentResourcePools

ListDeploymentResourcePools

List DeploymentResourcePools in a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDeploymentResourcePools(ListDeploymentResourcePoolsRequest request) + *
  • listDeploymentResourcePools(ListDeploymentResourcePoolsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDeploymentResourcePools(ProjectName parent) - *
  • listDeploymentResourcePools(String parent) + *
  • listDeploymentResourcePools(ProjectName parent) + *

  • listDeploymentResourcePools(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDeploymentResourcePoolsPagedCallable() - *
  • listDeploymentResourcePoolsCallable() + *
  • listDeploymentResourcePoolsPagedCallable() + *

  • listDeploymentResourcePoolsCallable() *

*
DeleteDeploymentResourcePool

DeleteDeploymentResourcePool

Delete a DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest request) + *
  • deleteDeploymentResourcePoolAsync(DeleteDeploymentResourcePoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDeploymentResourcePoolAsync(DeploymentResourcePoolName name) - *
  • deleteDeploymentResourcePoolAsync(String name) + *
  • deleteDeploymentResourcePoolAsync(DeploymentResourcePoolName name) + *

  • deleteDeploymentResourcePoolAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDeploymentResourcePoolOperationCallable() - *
  • deleteDeploymentResourcePoolCallable() + *
  • deleteDeploymentResourcePoolOperationCallable() + *

  • deleteDeploymentResourcePoolCallable() *

*
QueryDeployedModels

QueryDeployedModels

List DeployedModels that have been deployed on this DeploymentResourcePool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryDeployedModels(QueryDeployedModelsRequest request) + *
  • queryDeployedModels(QueryDeployedModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryDeployedModels(String deploymentResourcePool) + *
  • queryDeployedModels(String deploymentResourcePool) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryDeployedModelsPagedCallable() - *
  • queryDeployedModelsCallable() + *
  • queryDeployedModelsPagedCallable() + *

  • queryDeployedModelsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java index e1c213df8308..fb2782d3bb5f 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java @@ -74,243 +74,244 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateEndpoint

CreateEndpoint

Creates an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createEndpointAsync(CreateEndpointRequest request) + *
  • createEndpointAsync(CreateEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createEndpointAsync(LocationName parent, Endpoint endpoint) - *
  • createEndpointAsync(String parent, Endpoint endpoint) - *
  • createEndpointAsync(LocationName parent, Endpoint endpoint, String endpointId) - *
  • createEndpointAsync(String parent, Endpoint endpoint, String endpointId) + *
  • createEndpointAsync(LocationName parent, Endpoint endpoint) + *

  • createEndpointAsync(String parent, Endpoint endpoint) + *

  • createEndpointAsync(LocationName parent, Endpoint endpoint, String endpointId) + *

  • createEndpointAsync(String parent, Endpoint endpoint, String endpointId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createEndpointOperationCallable() - *
  • createEndpointCallable() + *
  • createEndpointOperationCallable() + *

  • createEndpointCallable() *

*
GetEndpoint

GetEndpoint

Gets an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEndpoint(GetEndpointRequest request) + *
  • getEndpoint(GetEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEndpoint(EndpointName name) - *
  • getEndpoint(String name) + *
  • getEndpoint(EndpointName name) + *

  • getEndpoint(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEndpointCallable() + *
  • getEndpointCallable() *

*
ListEndpoints

ListEndpoints

Lists Endpoints in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listEndpoints(ListEndpointsRequest request) + *
  • listEndpoints(ListEndpointsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listEndpoints(LocationName parent) - *
  • listEndpoints(String parent) + *
  • listEndpoints(LocationName parent) + *

  • listEndpoints(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listEndpointsPagedCallable() - *
  • listEndpointsCallable() + *
  • listEndpointsPagedCallable() + *

  • listEndpointsCallable() *

*
UpdateEndpoint

UpdateEndpoint

Updates an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEndpoint(UpdateEndpointRequest request) + *
  • updateEndpoint(UpdateEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEndpoint(Endpoint endpoint, FieldMask updateMask) + *
  • updateEndpoint(Endpoint endpoint, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEndpointCallable() + *
  • updateEndpointCallable() *

*
DeleteEndpoint

DeleteEndpoint

Deletes an Endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteEndpointAsync(DeleteEndpointRequest request) + *
  • deleteEndpointAsync(DeleteEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteEndpointAsync(EndpointName name) - *
  • deleteEndpointAsync(String name) + *
  • deleteEndpointAsync(EndpointName name) + *

  • deleteEndpointAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteEndpointOperationCallable() - *
  • deleteEndpointCallable() + *
  • deleteEndpointOperationCallable() + *

  • deleteEndpointCallable() *

*
DeployModel

DeployModel

Deploys a Model into this Endpoint, creating a DeployedModel within it.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployModelAsync(DeployModelRequest request) + *
  • deployModelAsync(DeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployModelAsync(EndpointName endpoint, DeployedModel deployedModel, Map trafficSplit) - *
  • deployModelAsync(String endpoint, DeployedModel deployedModel, Map trafficSplit) + *
  • deployModelAsync(EndpointName endpoint, DeployedModel deployedModel, Map<String, Integer> trafficSplit) + *

  • deployModelAsync(String endpoint, DeployedModel deployedModel, Map<String, Integer> trafficSplit) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployModelOperationCallable() - *
  • deployModelCallable() + *
  • deployModelOperationCallable() + *

  • deployModelCallable() *

*
UndeployModel

UndeployModel

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployModelAsync(UndeployModelRequest request) + *
  • undeployModelAsync(UndeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployModelAsync(EndpointName endpoint, String deployedModelId, Map trafficSplit) - *
  • undeployModelAsync(String endpoint, String deployedModelId, Map trafficSplit) + *
  • undeployModelAsync(EndpointName endpoint, String deployedModelId, Map<String, Integer> trafficSplit) + *

  • undeployModelAsync(String endpoint, String deployedModelId, Map<String, Integer> trafficSplit) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployModelOperationCallable() - *
  • undeployModelCallable() + *
  • undeployModelOperationCallable() + *

  • undeployModelCallable() *

*
MutateDeployedModel

MutateDeployedModel

Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mutateDeployedModelAsync(MutateDeployedModelRequest request) + *
  • mutateDeployedModelAsync(MutateDeployedModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • mutateDeployedModelAsync(EndpointName endpoint, DeployedModel deployedModel, FieldMask updateMask) - *
  • mutateDeployedModelAsync(String endpoint, DeployedModel deployedModel, FieldMask updateMask) + *
  • mutateDeployedModelAsync(EndpointName endpoint, DeployedModel deployedModel, FieldMask updateMask) + *

  • mutateDeployedModelAsync(String endpoint, DeployedModel deployedModel, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mutateDeployedModelOperationCallable() - *
  • mutateDeployedModelCallable() + *
  • mutateDeployedModelOperationCallable() + *

  • mutateDeployedModelCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreAdminServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreAdminServiceClient.java index d751d6094930..09229d947451 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreAdminServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreAdminServiceClient.java @@ -75,338 +75,339 @@ * automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeatureOnlineStore

CreateFeatureOnlineStore

Creates a new FeatureOnlineStore in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request) + *
  • createFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) - *
  • createFeatureOnlineStoreAsync(String parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) + *
  • createFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) + *

  • createFeatureOnlineStoreAsync(String parent, FeatureOnlineStore featureOnlineStore, String featureOnlineStoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOnlineStoreOperationCallable() - *
  • createFeatureOnlineStoreCallable() + *
  • createFeatureOnlineStoreOperationCallable() + *

  • createFeatureOnlineStoreCallable() *

*
GetFeatureOnlineStore

GetFeatureOnlineStore

Gets details of a single FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureOnlineStore(GetFeatureOnlineStoreRequest request) + *
  • getFeatureOnlineStore(GetFeatureOnlineStoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureOnlineStore(FeatureOnlineStoreName name) - *
  • getFeatureOnlineStore(String name) + *
  • getFeatureOnlineStore(FeatureOnlineStoreName name) + *

  • getFeatureOnlineStore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureOnlineStoreCallable() + *
  • getFeatureOnlineStoreCallable() *

*
ListFeatureOnlineStores

ListFeatureOnlineStores

Lists FeatureOnlineStores in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureOnlineStores(ListFeatureOnlineStoresRequest request) + *
  • listFeatureOnlineStores(ListFeatureOnlineStoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureOnlineStores(LocationName parent) - *
  • listFeatureOnlineStores(String parent) + *
  • listFeatureOnlineStores(LocationName parent) + *

  • listFeatureOnlineStores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureOnlineStoresPagedCallable() - *
  • listFeatureOnlineStoresCallable() + *
  • listFeatureOnlineStoresPagedCallable() + *

  • listFeatureOnlineStoresCallable() *

*
UpdateFeatureOnlineStore

UpdateFeatureOnlineStore

Updates the parameters of a single FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request) + *
  • updateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask) + *
  • updateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureOnlineStoreOperationCallable() - *
  • updateFeatureOnlineStoreCallable() + *
  • updateFeatureOnlineStoreOperationCallable() + *

  • updateFeatureOnlineStoreCallable() *

*
DeleteFeatureOnlineStore

DeleteFeatureOnlineStore

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest request) + *
  • deleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureOnlineStoreAsync(FeatureOnlineStoreName name, boolean force) - *
  • deleteFeatureOnlineStoreAsync(String name, boolean force) + *
  • deleteFeatureOnlineStoreAsync(FeatureOnlineStoreName name, boolean force) + *

  • deleteFeatureOnlineStoreAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOnlineStoreOperationCallable() - *
  • deleteFeatureOnlineStoreCallable() + *
  • deleteFeatureOnlineStoreOperationCallable() + *

  • deleteFeatureOnlineStoreCallable() *

*
CreateFeatureView

CreateFeatureView

Creates a new FeatureView in a given FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureViewAsync(CreateFeatureViewRequest request) + *
  • createFeatureViewAsync(CreateFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, String featureViewId) - *
  • createFeatureViewAsync(String parent, FeatureView featureView, String featureViewId) + *
  • createFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, String featureViewId) + *

  • createFeatureViewAsync(String parent, FeatureView featureView, String featureViewId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureViewOperationCallable() - *
  • createFeatureViewCallable() + *
  • createFeatureViewOperationCallable() + *

  • createFeatureViewCallable() *

*
GetFeatureView

GetFeatureView

Gets details of a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureView(GetFeatureViewRequest request) + *
  • getFeatureView(GetFeatureViewRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureView(FeatureViewName name) - *
  • getFeatureView(String name) + *
  • getFeatureView(FeatureViewName name) + *

  • getFeatureView(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureViewCallable() + *
  • getFeatureViewCallable() *

*
ListFeatureViews

ListFeatureViews

Lists FeatureViews in a given FeatureOnlineStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureViews(ListFeatureViewsRequest request) + *
  • listFeatureViews(ListFeatureViewsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureViews(FeatureOnlineStoreName parent) - *
  • listFeatureViews(String parent) + *
  • listFeatureViews(FeatureOnlineStoreName parent) + *

  • listFeatureViews(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureViewsPagedCallable() - *
  • listFeatureViewsCallable() + *
  • listFeatureViewsPagedCallable() + *

  • listFeatureViewsCallable() *

*
UpdateFeatureView

UpdateFeatureView

Updates the parameters of a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureViewAsync(UpdateFeatureViewRequest request) + *
  • updateFeatureViewAsync(UpdateFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureViewAsync(FeatureView featureView, FieldMask updateMask) + *
  • updateFeatureViewAsync(FeatureView featureView, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureViewOperationCallable() - *
  • updateFeatureViewCallable() + *
  • updateFeatureViewOperationCallable() + *

  • updateFeatureViewCallable() *

*
DeleteFeatureView

DeleteFeatureView

Deletes a single FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureViewAsync(DeleteFeatureViewRequest request) + *
  • deleteFeatureViewAsync(DeleteFeatureViewRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureViewAsync(FeatureViewName name) - *
  • deleteFeatureViewAsync(String name) + *
  • deleteFeatureViewAsync(FeatureViewName name) + *

  • deleteFeatureViewAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureViewOperationCallable() - *
  • deleteFeatureViewCallable() + *
  • deleteFeatureViewOperationCallable() + *

  • deleteFeatureViewCallable() *

*
SyncFeatureView

SyncFeatureView

Triggers on-demand sync for the FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • syncFeatureView(SyncFeatureViewRequest request) + *
  • syncFeatureView(SyncFeatureViewRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • syncFeatureView(FeatureViewName featureView) - *
  • syncFeatureView(String featureView) + *
  • syncFeatureView(FeatureViewName featureView) + *

  • syncFeatureView(String featureView) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • syncFeatureViewCallable() + *
  • syncFeatureViewCallable() *

*
GetFeatureViewSync

GetFeatureViewSync

Gets details of a single FeatureViewSync.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureViewSync(GetFeatureViewSyncRequest request) + *
  • getFeatureViewSync(GetFeatureViewSyncRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureViewSync(FeatureViewSyncName name) - *
  • getFeatureViewSync(String name) + *
  • getFeatureViewSync(FeatureViewSyncName name) + *

  • getFeatureViewSync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureViewSyncCallable() + *
  • getFeatureViewSyncCallable() *

*
ListFeatureViewSyncs

ListFeatureViewSyncs

Lists FeatureViewSyncs in a given FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureViewSyncs(ListFeatureViewSyncsRequest request) + *
  • listFeatureViewSyncs(ListFeatureViewSyncsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureViewSyncs(FeatureViewName parent) - *
  • listFeatureViewSyncs(String parent) + *
  • listFeatureViewSyncs(FeatureViewName parent) + *

  • listFeatureViewSyncs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureViewSyncsPagedCallable() - *
  • listFeatureViewSyncsCallable() + *
  • listFeatureViewSyncsPagedCallable() + *

  • listFeatureViewSyncsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreServiceClient.java index 77eeb9637122..1a30e5bd7b53 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreServiceClient.java @@ -68,117 +68,118 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
FetchFeatureValues

FetchFeatureValues

Fetch feature values under a FeatureView.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • fetchFeatureValues(FetchFeatureValuesRequest request) + *
  • fetchFeatureValues(FetchFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • fetchFeatureValues(FeatureViewName featureView, FeatureViewDataKey dataKey) - *
  • fetchFeatureValues(String featureView, FeatureViewDataKey dataKey) + *
  • fetchFeatureValues(FeatureViewName featureView, FeatureViewDataKey dataKey) + *

  • fetchFeatureValues(String featureView, FeatureViewDataKey dataKey) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • fetchFeatureValuesCallable() + *
  • fetchFeatureValuesCallable() *

*
SearchNearestEntities

SearchNearestEntities

Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchNearestEntities(SearchNearestEntitiesRequest request) + *
  • searchNearestEntities(SearchNearestEntitiesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchNearestEntitiesCallable() + *
  • searchNearestEntitiesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureRegistryServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureRegistryServiceClient.java index 09da2984b4ea..4e176ae86514 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureRegistryServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureRegistryServiceClient.java @@ -73,282 +73,283 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeatureGroup

CreateFeatureGroup

Creates a new FeatureGroup in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureGroupAsync(CreateFeatureGroupRequest request) + *
  • createFeatureGroupAsync(CreateFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureGroupAsync(LocationName parent, FeatureGroup featureGroup, String featureGroupId) - *
  • createFeatureGroupAsync(String parent, FeatureGroup featureGroup, String featureGroupId) + *
  • createFeatureGroupAsync(LocationName parent, FeatureGroup featureGroup, String featureGroupId) + *

  • createFeatureGroupAsync(String parent, FeatureGroup featureGroup, String featureGroupId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureGroupOperationCallable() - *
  • createFeatureGroupCallable() + *
  • createFeatureGroupOperationCallable() + *

  • createFeatureGroupCallable() *

*
GetFeatureGroup

GetFeatureGroup

Gets details of a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeatureGroup(GetFeatureGroupRequest request) + *
  • getFeatureGroup(GetFeatureGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeatureGroup(FeatureGroupName name) - *
  • getFeatureGroup(String name) + *
  • getFeatureGroup(FeatureGroupName name) + *

  • getFeatureGroup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureGroupCallable() + *
  • getFeatureGroupCallable() *

*
ListFeatureGroups

ListFeatureGroups

Lists FeatureGroups in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatureGroups(ListFeatureGroupsRequest request) + *
  • listFeatureGroups(ListFeatureGroupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatureGroups(LocationName parent) - *
  • listFeatureGroups(String parent) + *
  • listFeatureGroups(LocationName parent) + *

  • listFeatureGroups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeatureGroupsPagedCallable() - *
  • listFeatureGroupsCallable() + *
  • listFeatureGroupsPagedCallable() + *

  • listFeatureGroupsCallable() *

*
UpdateFeatureGroup

UpdateFeatureGroup

Updates the parameters of a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureGroupAsync(UpdateFeatureGroupRequest request) + *
  • updateFeatureGroupAsync(UpdateFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureGroupAsync(FeatureGroup featureGroup, FieldMask updateMask) + *
  • updateFeatureGroupAsync(FeatureGroup featureGroup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureGroupOperationCallable() - *
  • updateFeatureGroupCallable() + *
  • updateFeatureGroupOperationCallable() + *

  • updateFeatureGroupCallable() *

*
DeleteFeatureGroup

DeleteFeatureGroup

Deletes a single FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureGroupAsync(DeleteFeatureGroupRequest request) + *
  • deleteFeatureGroupAsync(DeleteFeatureGroupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureGroupAsync(FeatureGroupName name, boolean force) - *
  • deleteFeatureGroupAsync(String name, boolean force) + *
  • deleteFeatureGroupAsync(FeatureGroupName name, boolean force) + *

  • deleteFeatureGroupAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureGroupOperationCallable() - *
  • deleteFeatureGroupCallable() + *
  • deleteFeatureGroupOperationCallable() + *

  • deleteFeatureGroupCallable() *

*
CreateFeature

CreateFeature

Creates a new Feature in a given FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureAsync(CreateFeatureRequest request) + *
  • createFeatureAsync(CreateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) - *
  • createFeatureAsync(String parent, Feature feature, String featureId) + *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) + *

  • createFeatureAsync(String parent, Feature feature, String featureId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOperationCallable() - *
  • createFeatureCallable() + *
  • createFeatureOperationCallable() + *

  • createFeatureCallable() *

*
GetFeature

GetFeature

Gets details of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeature(GetFeatureRequest request) + *
  • getFeature(GetFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeature(FeatureName name) - *
  • getFeature(String name) + *
  • getFeature(FeatureName name) + *

  • getFeature(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureCallable() + *
  • getFeatureCallable() *

*
ListFeatures

ListFeatures

Lists Features in a given FeatureGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatures(ListFeaturesRequest request) + *
  • listFeatures(ListFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatures(EntityTypeName parent) - *
  • listFeatures(FeatureGroupName parent) - *
  • listFeatures(String parent) + *
  • listFeatures(EntityTypeName parent) + *

  • listFeatures(FeatureGroupName parent) + *

  • listFeatures(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturesPagedCallable() - *
  • listFeaturesCallable() + *
  • listFeaturesPagedCallable() + *

  • listFeaturesCallable() *

*
UpdateFeature

UpdateFeature

Updates the parameters of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeatureAsync(UpdateFeatureRequest request) + *
  • updateFeatureAsync(UpdateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeatureAsync(Feature feature, FieldMask updateMask) + *
  • updateFeatureAsync(Feature feature, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureOperationCallable() - *
  • updateFeatureCallable() + *
  • updateFeatureOperationCallable() + *

  • updateFeatureCallable() *

*
DeleteFeature

DeleteFeature

Deletes a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureAsync(DeleteFeatureRequest request) + *
  • deleteFeatureAsync(DeleteFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureAsync(FeatureName name) - *
  • deleteFeatureAsync(String name) + *
  • deleteFeatureAsync(FeatureName name) + *

  • deleteFeatureAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOperationCallable() - *
  • deleteFeatureCallable() + *
  • deleteFeatureOperationCallable() + *

  • deleteFeatureCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java index f0fd220ff8fa..a3bdc1e6388c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java @@ -70,133 +70,134 @@ * automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ReadFeatureValues

ReadFeatureValues

Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readFeatureValues(ReadFeatureValuesRequest request) + *
  • readFeatureValues(ReadFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readFeatureValues(EntityTypeName entityType) - *
  • readFeatureValues(String entityType) + *
  • readFeatureValues(EntityTypeName entityType) + *

  • readFeatureValues(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readFeatureValuesCallable() + *
  • readFeatureValuesCallable() *

*
StreamingReadFeatureValues

StreamingReadFeatureValues

Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingReadFeatureValuesCallable() + *
  • streamingReadFeatureValuesCallable() *

*
WriteFeatureValues

WriteFeatureValues

Writes Feature values of one or more entities of an EntityType. *

The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeFeatureValues(WriteFeatureValuesRequest request) + *
  • writeFeatureValues(WriteFeatureValuesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeFeatureValues(EntityTypeName entityType, List payloads) - *
  • writeFeatureValues(String entityType, List payloads) + *
  • writeFeatureValues(EntityTypeName entityType, List<WriteFeatureValuesPayload> payloads) + *

  • writeFeatureValues(String entityType, List<WriteFeatureValuesPayload> payloads) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeFeatureValuesCallable() + *
  • writeFeatureValuesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java index 467f05b7d91b..7bb895a12dc4 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java @@ -72,334 +72,336 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeaturestore

CreateFeaturestore

Creates a new Featurestore in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeaturestoreAsync(CreateFeaturestoreRequest request) + *
  • createFeaturestoreAsync(CreateFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore) - *
  • createFeaturestoreAsync(String parent, Featurestore featurestore) - *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore, String featurestoreId) - *
  • createFeaturestoreAsync(String parent, Featurestore featurestore, String featurestoreId) + *
  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore) + *

  • createFeaturestoreAsync(String parent, Featurestore featurestore) + *

  • createFeaturestoreAsync(LocationName parent, Featurestore featurestore, String featurestoreId) + *

  • createFeaturestoreAsync(String parent, Featurestore featurestore, String featurestoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeaturestoreOperationCallable() - *
  • createFeaturestoreCallable() + *
  • createFeaturestoreOperationCallable() + *

  • createFeaturestoreCallable() *

*
GetFeaturestore

GetFeaturestore

Gets details of a single Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeaturestore(GetFeaturestoreRequest request) + *
  • getFeaturestore(GetFeaturestoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeaturestore(FeaturestoreName name) - *
  • getFeaturestore(String name) + *
  • getFeaturestore(FeaturestoreName name) + *

  • getFeaturestore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeaturestoreCallable() + *
  • getFeaturestoreCallable() *

*
ListFeaturestores

ListFeaturestores

Lists Featurestores in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeaturestores(ListFeaturestoresRequest request) + *
  • listFeaturestores(ListFeaturestoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeaturestores(LocationName parent) - *
  • listFeaturestores(String parent) + *
  • listFeaturestores(LocationName parent) + *

  • listFeaturestores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturestoresPagedCallable() - *
  • listFeaturestoresCallable() + *
  • listFeaturestoresPagedCallable() + *

  • listFeaturestoresCallable() *

*
UpdateFeaturestore

UpdateFeaturestore

Updates the parameters of a single Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeaturestoreAsync(UpdateFeaturestoreRequest request) + *
  • updateFeaturestoreAsync(UpdateFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask) + *
  • updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeaturestoreOperationCallable() - *
  • updateFeaturestoreCallable() + *
  • updateFeaturestoreOperationCallable() + *

  • updateFeaturestoreCallable() *

*
DeleteFeaturestore

DeleteFeaturestore

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or `force` must be set to true for the request to succeed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeaturestoreAsync(DeleteFeaturestoreRequest request) + *
  • deleteFeaturestoreAsync(DeleteFeaturestoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeaturestoreAsync(FeaturestoreName name) - *
  • deleteFeaturestoreAsync(String name) - *
  • deleteFeaturestoreAsync(FeaturestoreName name, boolean force) - *
  • deleteFeaturestoreAsync(String name, boolean force) + *
  • deleteFeaturestoreAsync(FeaturestoreName name) + *

  • deleteFeaturestoreAsync(String name) + *

  • deleteFeaturestoreAsync(FeaturestoreName name, boolean force) + *

  • deleteFeaturestoreAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeaturestoreOperationCallable() - *
  • deleteFeaturestoreCallable() + *
  • deleteFeaturestoreOperationCallable() + *

  • deleteFeaturestoreCallable() *

*
CreateEntityType

CreateEntityType

Creates a new EntityType in a given Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createEntityTypeAsync(CreateEntityTypeRequest request) + *
  • createEntityTypeAsync(CreateEntityTypeRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType) - *
  • createEntityTypeAsync(String parent, EntityType entityType) - *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType, String entityTypeId) - *
  • createEntityTypeAsync(String parent, EntityType entityType, String entityTypeId) + *
  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType) + *

  • createEntityTypeAsync(String parent, EntityType entityType) + *

  • createEntityTypeAsync(FeaturestoreName parent, EntityType entityType, String entityTypeId) + *

  • createEntityTypeAsync(String parent, EntityType entityType, String entityTypeId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createEntityTypeOperationCallable() - *
  • createEntityTypeCallable() + *
  • createEntityTypeOperationCallable() + *

  • createEntityTypeCallable() *

*
GetEntityType

GetEntityType

Gets details of a single EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEntityType(GetEntityTypeRequest request) + *
  • getEntityType(GetEntityTypeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEntityType(EntityTypeName name) - *
  • getEntityType(String name) + *
  • getEntityType(EntityTypeName name) + *

  • getEntityType(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEntityTypeCallable() + *
  • getEntityTypeCallable() *

*
ListEntityTypes

ListEntityTypes

Lists EntityTypes in a given Featurestore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listEntityTypes(ListEntityTypesRequest request) + *
  • listEntityTypes(ListEntityTypesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listEntityTypes(FeaturestoreName parent) - *
  • listEntityTypes(String parent) + *
  • listEntityTypes(FeaturestoreName parent) + *

  • listEntityTypes(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listEntityTypesPagedCallable() - *
  • listEntityTypesCallable() + *
  • listEntityTypesPagedCallable() + *

  • listEntityTypesCallable() *

*
UpdateEntityType

UpdateEntityType

Updates the parameters of a single EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEntityType(UpdateEntityTypeRequest request) + *
  • updateEntityType(UpdateEntityTypeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEntityType(EntityType entityType, FieldMask updateMask) + *
  • updateEntityType(EntityType entityType, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEntityTypeCallable() + *
  • updateEntityTypeCallable() *

*
DeleteEntityType

DeleteEntityType

Deletes a single EntityType. The EntityType must not have any Features or `force` must be set to true for the request to succeed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteEntityTypeAsync(DeleteEntityTypeRequest request) + *
  • deleteEntityTypeAsync(DeleteEntityTypeRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteEntityTypeAsync(EntityTypeName name) - *
  • deleteEntityTypeAsync(String name) - *
  • deleteEntityTypeAsync(EntityTypeName name, boolean force) - *
  • deleteEntityTypeAsync(String name, boolean force) + *
  • deleteEntityTypeAsync(EntityTypeName name) + *

  • deleteEntityTypeAsync(String name) + *

  • deleteEntityTypeAsync(EntityTypeName name, boolean force) + *

  • deleteEntityTypeAsync(String name, boolean force) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteEntityTypeOperationCallable() - *
  • deleteEntityTypeCallable() + *
  • deleteEntityTypeOperationCallable() + *

  • deleteEntityTypeCallable() *

*
CreateFeature

CreateFeature

Creates a new Feature in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeatureAsync(CreateFeatureRequest request) + *
  • createFeatureAsync(CreateFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createFeatureAsync(EntityTypeName parent, Feature feature) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature) - *
  • createFeatureAsync(String parent, Feature feature) - *
  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) - *
  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) - *
  • createFeatureAsync(String parent, Feature feature, String featureId) + *
  • createFeatureAsync(EntityTypeName parent, Feature feature) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature) + *

  • createFeatureAsync(String parent, Feature feature) + *

  • createFeatureAsync(EntityTypeName parent, Feature feature, String featureId) + *

  • createFeatureAsync(FeatureGroupName parent, Feature feature, String featureId) + *

  • createFeatureAsync(String parent, Feature feature, String featureId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeatureOperationCallable() - *
  • createFeatureCallable() + *
  • createFeatureOperationCallable() + *

  • createFeatureCallable() *

*
BatchCreateFeatures

BatchCreateFeatures

Creates a batch of Features in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateFeaturesAsync(EntityTypeName parent, List requests) - *
  • batchCreateFeaturesAsync(String parent, List requests) - *
  • batchCreateFeaturesAsync(BatchCreateFeaturesRequest request) + *
  • batchCreateFeaturesAsync(EntityTypeName parent, List<CreateFeatureRequest> requests) + *

  • batchCreateFeaturesAsync(String parent, List<CreateFeatureRequest> requests) + *

  • batchCreateFeaturesAsync(BatchCreateFeaturesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateFeaturesOperationCallable() - *
  • batchCreateFeaturesCallable() + *
  • batchCreateFeaturesOperationCallable() + *

  • batchCreateFeaturesCallable() *

*
GetFeature

GetFeature

Gets details of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeature(GetFeatureRequest request) + *
  • getFeature(GetFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeature(FeatureName name) - *
  • getFeature(String name) + *
  • getFeature(FeatureName name) + *

  • getFeature(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeatureCallable() + *
  • getFeatureCallable() *

*
ListFeatures

ListFeatures

Lists Features in a given EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeatures(ListFeaturesRequest request) + *
  • listFeatures(ListFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeatures(EntityTypeName parent) - *
  • listFeatures(FeatureGroupName parent) - *
  • listFeatures(String parent) + *
  • listFeatures(EntityTypeName parent) + *

  • listFeatures(FeatureGroupName parent) + *

  • listFeatures(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeaturesPagedCallable() - *
  • listFeaturesCallable() + *
  • listFeaturesPagedCallable() + *

  • listFeaturesCallable() *

*
UpdateFeature

UpdateFeature

Updates the parameters of a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeature(UpdateFeatureRequest request) + *
  • updateFeature(UpdateFeatureRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateFeature(Feature feature, FieldMask updateMask) + *
  • updateFeature(Feature feature, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeatureCallable() + *
  • updateFeatureCallable() *

*
DeleteFeature

DeleteFeature

Deletes a single Feature.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureAsync(DeleteFeatureRequest request) + *
  • deleteFeatureAsync(DeleteFeatureRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureAsync(FeatureName name) - *
  • deleteFeatureAsync(String name) + *
  • deleteFeatureAsync(FeatureName name) + *

  • deleteFeatureAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureOperationCallable() - *
  • deleteFeatureCallable() + *
  • deleteFeatureOperationCallable() + *

  • deleteFeatureCallable() *

*
ImportFeatureValues

ImportFeatureValues

Imports Feature values into the Featurestore from a source storage. *

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done. *

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done. @@ -408,179 +410,178 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importFeatureValuesAsync(ImportFeatureValuesRequest request) + *
  • importFeatureValuesAsync(ImportFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importFeatureValuesAsync(EntityTypeName entityType) - *
  • importFeatureValuesAsync(String entityType) + *
  • importFeatureValuesAsync(EntityTypeName entityType) + *

  • importFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importFeatureValuesOperationCallable() - *
  • importFeatureValuesCallable() + *
  • importFeatureValuesOperationCallable() + *

  • importFeatureValuesCallable() *

*
BatchReadFeatureValues

BatchReadFeatureValues

Batch reads Feature values from a Featurestore. *

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request) + *
  • batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchReadFeatureValuesAsync(FeaturestoreName featurestore) - *
  • batchReadFeatureValuesAsync(String featurestore) + *
  • batchReadFeatureValuesAsync(FeaturestoreName featurestore) + *

  • batchReadFeatureValuesAsync(String featurestore) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchReadFeatureValuesOperationCallable() - *
  • batchReadFeatureValuesCallable() + *
  • batchReadFeatureValuesOperationCallable() + *

  • batchReadFeatureValuesCallable() *

*
ExportFeatureValues

ExportFeatureValues

Exports Feature values from all the entities of a target EntityType.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportFeatureValuesAsync(ExportFeatureValuesRequest request) + *
  • exportFeatureValuesAsync(ExportFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportFeatureValuesAsync(EntityTypeName entityType) - *
  • exportFeatureValuesAsync(String entityType) + *
  • exportFeatureValuesAsync(EntityTypeName entityType) + *

  • exportFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportFeatureValuesOperationCallable() - *
  • exportFeatureValuesCallable() + *
  • exportFeatureValuesOperationCallable() + *

  • exportFeatureValuesCallable() *

*
DeleteFeatureValues

DeleteFeatureValues

Delete Feature values from Featurestore. *

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done. *

If a delete feature values operation fails, the feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same delete request again and wait till the new operation returned is marked as successfully done.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) + *
  • deleteFeatureValuesAsync(DeleteFeatureValuesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteFeatureValuesAsync(EntityTypeName entityType) - *
  • deleteFeatureValuesAsync(String entityType) + *
  • deleteFeatureValuesAsync(EntityTypeName entityType) + *

  • deleteFeatureValuesAsync(String entityType) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeatureValuesOperationCallable() - *
  • deleteFeatureValuesCallable() + *
  • deleteFeatureValuesOperationCallable() + *

  • deleteFeatureValuesCallable() *

*
SearchFeatures

SearchFeatures

Searches Features matching a query in a given project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchFeatures(SearchFeaturesRequest request) + *
  • searchFeatures(SearchFeaturesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchFeatures(LocationName location) - *
  • searchFeatures(String location) - *
  • searchFeatures(LocationName location, String query) - *
  • searchFeatures(String location, String query) + *
  • searchFeatures(LocationName location) + *

  • searchFeatures(String location) + *

  • searchFeatures(LocationName location, String query) + *

  • searchFeatures(String location, String query) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchFeaturesPagedCallable() - *
  • searchFeaturesCallable() + *
  • searchFeaturesPagedCallable() + *

  • searchFeaturesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java index 44d238c66dc3..1853fdbb0fde 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java @@ -73,241 +73,242 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateIndexEndpoint

CreateIndexEndpoint

Creates an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createIndexEndpointAsync(CreateIndexEndpointRequest request) + *
  • createIndexEndpointAsync(CreateIndexEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createIndexEndpointAsync(LocationName parent, IndexEndpoint indexEndpoint) - *
  • createIndexEndpointAsync(String parent, IndexEndpoint indexEndpoint) + *
  • createIndexEndpointAsync(LocationName parent, IndexEndpoint indexEndpoint) + *

  • createIndexEndpointAsync(String parent, IndexEndpoint indexEndpoint) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createIndexEndpointOperationCallable() - *
  • createIndexEndpointCallable() + *
  • createIndexEndpointOperationCallable() + *

  • createIndexEndpointCallable() *

*
GetIndexEndpoint

GetIndexEndpoint

Gets an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIndexEndpoint(GetIndexEndpointRequest request) + *
  • getIndexEndpoint(GetIndexEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getIndexEndpoint(IndexEndpointName name) - *
  • getIndexEndpoint(String name) + *
  • getIndexEndpoint(IndexEndpointName name) + *

  • getIndexEndpoint(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIndexEndpointCallable() + *
  • getIndexEndpointCallable() *

*
ListIndexEndpoints

ListIndexEndpoints

Lists IndexEndpoints in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listIndexEndpoints(ListIndexEndpointsRequest request) + *
  • listIndexEndpoints(ListIndexEndpointsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listIndexEndpoints(LocationName parent) - *
  • listIndexEndpoints(String parent) + *
  • listIndexEndpoints(LocationName parent) + *

  • listIndexEndpoints(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listIndexEndpointsPagedCallable() - *
  • listIndexEndpointsCallable() + *
  • listIndexEndpointsPagedCallable() + *

  • listIndexEndpointsCallable() *

*
UpdateIndexEndpoint

UpdateIndexEndpoint

Updates an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateIndexEndpoint(UpdateIndexEndpointRequest request) + *
  • updateIndexEndpoint(UpdateIndexEndpointRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateIndexEndpoint(IndexEndpoint indexEndpoint, FieldMask updateMask) + *
  • updateIndexEndpoint(IndexEndpoint indexEndpoint, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateIndexEndpointCallable() + *
  • updateIndexEndpointCallable() *

*
DeleteIndexEndpoint

DeleteIndexEndpoint

Deletes an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteIndexEndpointAsync(DeleteIndexEndpointRequest request) + *
  • deleteIndexEndpointAsync(DeleteIndexEndpointRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteIndexEndpointAsync(IndexEndpointName name) - *
  • deleteIndexEndpointAsync(String name) + *
  • deleteIndexEndpointAsync(IndexEndpointName name) + *

  • deleteIndexEndpointAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteIndexEndpointOperationCallable() - *
  • deleteIndexEndpointCallable() + *
  • deleteIndexEndpointOperationCallable() + *

  • deleteIndexEndpointCallable() *

*
DeployIndex

DeployIndex

Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployIndexAsync(DeployIndexRequest request) + *
  • deployIndexAsync(DeployIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) - *
  • deployIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) + *
  • deployIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) + *

  • deployIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployIndexOperationCallable() - *
  • deployIndexCallable() + *
  • deployIndexOperationCallable() + *

  • deployIndexCallable() *

*
UndeployIndex

UndeployIndex

Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployIndexAsync(UndeployIndexRequest request) + *
  • undeployIndexAsync(UndeployIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployIndexAsync(IndexEndpointName indexEndpoint, String deployedIndexId) - *
  • undeployIndexAsync(String indexEndpoint, String deployedIndexId) + *
  • undeployIndexAsync(IndexEndpointName indexEndpoint, String deployedIndexId) + *

  • undeployIndexAsync(String indexEndpoint, String deployedIndexId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployIndexOperationCallable() - *
  • undeployIndexCallable() + *
  • undeployIndexOperationCallable() + *

  • undeployIndexCallable() *

*
MutateDeployedIndex

MutateDeployedIndex

Update an existing DeployedIndex under an IndexEndpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mutateDeployedIndexAsync(MutateDeployedIndexRequest request) + *
  • mutateDeployedIndexAsync(MutateDeployedIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • mutateDeployedIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) - *
  • mutateDeployedIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) + *
  • mutateDeployedIndexAsync(IndexEndpointName indexEndpoint, DeployedIndex deployedIndex) + *

  • mutateDeployedIndexAsync(String indexEndpoint, DeployedIndex deployedIndex) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mutateDeployedIndexOperationCallable() - *
  • mutateDeployedIndexCallable() + *
  • mutateDeployedIndexOperationCallable() + *

  • mutateDeployedIndexCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java index 56404b30ed3d..6065985169ed 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java @@ -71,210 +71,211 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateIndex

CreateIndex

Creates an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createIndexAsync(CreateIndexRequest request) + *
  • createIndexAsync(CreateIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createIndexAsync(LocationName parent, Index index) - *
  • createIndexAsync(String parent, Index index) + *
  • createIndexAsync(LocationName parent, Index index) + *

  • createIndexAsync(String parent, Index index) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createIndexOperationCallable() - *
  • createIndexCallable() + *
  • createIndexOperationCallable() + *

  • createIndexCallable() *

*
GetIndex

GetIndex

Gets an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIndex(GetIndexRequest request) + *
  • getIndex(GetIndexRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getIndex(IndexName name) - *
  • getIndex(String name) + *
  • getIndex(IndexName name) + *

  • getIndex(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIndexCallable() + *
  • getIndexCallable() *

*
ListIndexes

ListIndexes

Lists Indexes in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listIndexes(ListIndexesRequest request) + *
  • listIndexes(ListIndexesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listIndexes(LocationName parent) - *
  • listIndexes(String parent) + *
  • listIndexes(LocationName parent) + *

  • listIndexes(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listIndexesPagedCallable() - *
  • listIndexesCallable() + *
  • listIndexesPagedCallable() + *

  • listIndexesCallable() *

*
UpdateIndex

UpdateIndex

Updates an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateIndexAsync(UpdateIndexRequest request) + *
  • updateIndexAsync(UpdateIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateIndexAsync(Index index, FieldMask updateMask) + *
  • updateIndexAsync(Index index, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateIndexOperationCallable() - *
  • updateIndexCallable() + *
  • updateIndexOperationCallable() + *

  • updateIndexCallable() *

*
DeleteIndex

DeleteIndex

Deletes an Index. An Index can only be deleted when all its [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteIndexAsync(DeleteIndexRequest request) + *
  • deleteIndexAsync(DeleteIndexRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteIndexAsync(IndexName name) - *
  • deleteIndexAsync(String name) + *
  • deleteIndexAsync(IndexName name) + *

  • deleteIndexAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteIndexOperationCallable() - *
  • deleteIndexCallable() + *
  • deleteIndexOperationCallable() + *

  • deleteIndexCallable() *

*
UpsertDatapoints

UpsertDatapoints

Add/update Datapoints into an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • upsertDatapoints(UpsertDatapointsRequest request) + *
  • upsertDatapoints(UpsertDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • upsertDatapointsCallable() + *
  • upsertDatapointsCallable() *

*
RemoveDatapoints

RemoveDatapoints

Remove Datapoints from an Index.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • removeDatapoints(RemoveDatapointsRequest request) + *
  • removeDatapoints(RemoveDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • removeDatapointsCallable() + *
  • removeDatapointsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java index d4cc4ccc6e97..16b8f7725c33 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java @@ -72,764 +72,765 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateCustomJob

CreateCustomJob

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomJob(CreateCustomJobRequest request) + *
  • createCustomJob(CreateCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomJob(LocationName parent, CustomJob customJob) - *
  • createCustomJob(String parent, CustomJob customJob) + *
  • createCustomJob(LocationName parent, CustomJob customJob) + *

  • createCustomJob(String parent, CustomJob customJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomJobCallable() + *
  • createCustomJobCallable() *

*
GetCustomJob

GetCustomJob

Gets a CustomJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomJob(GetCustomJobRequest request) + *
  • getCustomJob(GetCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomJob(CustomJobName name) - *
  • getCustomJob(String name) + *
  • getCustomJob(CustomJobName name) + *

  • getCustomJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomJobCallable() + *
  • getCustomJobCallable() *

*
ListCustomJobs

ListCustomJobs

Lists CustomJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomJobs(ListCustomJobsRequest request) + *
  • listCustomJobs(ListCustomJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomJobs(LocationName parent) - *
  • listCustomJobs(String parent) + *
  • listCustomJobs(LocationName parent) + *

  • listCustomJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomJobsPagedCallable() - *
  • listCustomJobsCallable() + *
  • listCustomJobsPagedCallable() + *

  • listCustomJobsCallable() *

*
DeleteCustomJob

DeleteCustomJob

Deletes a CustomJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteCustomJobAsync(DeleteCustomJobRequest request) + *
  • deleteCustomJobAsync(DeleteCustomJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteCustomJobAsync(CustomJobName name) - *
  • deleteCustomJobAsync(String name) + *
  • deleteCustomJobAsync(CustomJobName name) + *

  • deleteCustomJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteCustomJobOperationCallable() - *
  • deleteCustomJobCallable() + *
  • deleteCustomJobOperationCallable() + *

  • deleteCustomJobCallable() *

*
CancelCustomJob

CancelCustomJob

Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelCustomJob(CancelCustomJobRequest request) + *
  • cancelCustomJob(CancelCustomJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelCustomJob(CustomJobName name) - *
  • cancelCustomJob(String name) + *
  • cancelCustomJob(CustomJobName name) + *

  • cancelCustomJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelCustomJobCallable() + *
  • cancelCustomJobCallable() *

*
CreateDataLabelingJob

CreateDataLabelingJob

Creates a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataLabelingJob(CreateDataLabelingJobRequest request) + *
  • createDataLabelingJob(CreateDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataLabelingJob(LocationName parent, DataLabelingJob dataLabelingJob) - *
  • createDataLabelingJob(String parent, DataLabelingJob dataLabelingJob) + *
  • createDataLabelingJob(LocationName parent, DataLabelingJob dataLabelingJob) + *

  • createDataLabelingJob(String parent, DataLabelingJob dataLabelingJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDataLabelingJobCallable() + *
  • createDataLabelingJobCallable() *

*
GetDataLabelingJob

GetDataLabelingJob

Gets a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataLabelingJob(GetDataLabelingJobRequest request) + *
  • getDataLabelingJob(GetDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataLabelingJob(DataLabelingJobName name) - *
  • getDataLabelingJob(String name) + *
  • getDataLabelingJob(DataLabelingJobName name) + *

  • getDataLabelingJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataLabelingJobCallable() + *
  • getDataLabelingJobCallable() *

*
ListDataLabelingJobs

ListDataLabelingJobs

Lists DataLabelingJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataLabelingJobs(ListDataLabelingJobsRequest request) + *
  • listDataLabelingJobs(ListDataLabelingJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataLabelingJobs(LocationName parent) - *
  • listDataLabelingJobs(String parent) + *
  • listDataLabelingJobs(LocationName parent) + *

  • listDataLabelingJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataLabelingJobsPagedCallable() - *
  • listDataLabelingJobsCallable() + *
  • listDataLabelingJobsPagedCallable() + *

  • listDataLabelingJobsCallable() *

*
DeleteDataLabelingJob

DeleteDataLabelingJob

Deletes a DataLabelingJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request) + *
  • deleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDataLabelingJobAsync(DataLabelingJobName name) - *
  • deleteDataLabelingJobAsync(String name) + *
  • deleteDataLabelingJobAsync(DataLabelingJobName name) + *

  • deleteDataLabelingJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDataLabelingJobOperationCallable() - *
  • deleteDataLabelingJobCallable() + *
  • deleteDataLabelingJobOperationCallable() + *

  • deleteDataLabelingJobCallable() *

*
CancelDataLabelingJob

CancelDataLabelingJob

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelDataLabelingJob(CancelDataLabelingJobRequest request) + *
  • cancelDataLabelingJob(CancelDataLabelingJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelDataLabelingJob(DataLabelingJobName name) - *
  • cancelDataLabelingJob(String name) + *
  • cancelDataLabelingJob(DataLabelingJobName name) + *

  • cancelDataLabelingJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelDataLabelingJobCallable() + *
  • cancelDataLabelingJobCallable() *

*
CreateHyperparameterTuningJob

CreateHyperparameterTuningJob

Creates a HyperparameterTuningJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request) + *
  • createHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createHyperparameterTuningJob(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob) - *
  • createHyperparameterTuningJob(String parent, HyperparameterTuningJob hyperparameterTuningJob) + *
  • createHyperparameterTuningJob(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob) + *

  • createHyperparameterTuningJob(String parent, HyperparameterTuningJob hyperparameterTuningJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createHyperparameterTuningJobCallable() + *
  • createHyperparameterTuningJobCallable() *

*
GetHyperparameterTuningJob

GetHyperparameterTuningJob

Gets a HyperparameterTuningJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getHyperparameterTuningJob(GetHyperparameterTuningJobRequest request) + *
  • getHyperparameterTuningJob(GetHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getHyperparameterTuningJob(HyperparameterTuningJobName name) - *
  • getHyperparameterTuningJob(String name) + *
  • getHyperparameterTuningJob(HyperparameterTuningJobName name) + *

  • getHyperparameterTuningJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getHyperparameterTuningJobCallable() + *
  • getHyperparameterTuningJobCallable() *

*
ListHyperparameterTuningJobs

ListHyperparameterTuningJobs

Lists HyperparameterTuningJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request) + *
  • listHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listHyperparameterTuningJobs(LocationName parent) - *
  • listHyperparameterTuningJobs(String parent) + *
  • listHyperparameterTuningJobs(LocationName parent) + *

  • listHyperparameterTuningJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listHyperparameterTuningJobsPagedCallable() - *
  • listHyperparameterTuningJobsCallable() + *
  • listHyperparameterTuningJobsPagedCallable() + *

  • listHyperparameterTuningJobsCallable() *

*
DeleteHyperparameterTuningJob

DeleteHyperparameterTuningJob

Deletes a HyperparameterTuningJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request) + *
  • deleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name) - *
  • deleteHyperparameterTuningJobAsync(String name) + *
  • deleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name) + *

  • deleteHyperparameterTuningJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteHyperparameterTuningJobOperationCallable() - *
  • deleteHyperparameterTuningJobCallable() + *
  • deleteHyperparameterTuningJobOperationCallable() + *

  • deleteHyperparameterTuningJobCallable() *

*
CancelHyperparameterTuningJob

CancelHyperparameterTuningJob

Cancels a HyperparameterTuningJob. Starts asynchronous cancellation on the HyperparameterTuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the HyperparameterTuningJob is not deleted; instead it becomes a job with a [HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request) + *
  • cancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelHyperparameterTuningJob(HyperparameterTuningJobName name) - *
  • cancelHyperparameterTuningJob(String name) + *
  • cancelHyperparameterTuningJob(HyperparameterTuningJobName name) + *

  • cancelHyperparameterTuningJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelHyperparameterTuningJobCallable() + *
  • cancelHyperparameterTuningJobCallable() *

*
CreateNasJob

CreateNasJob

Creates a NasJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createNasJob(CreateNasJobRequest request) + *
  • createNasJob(CreateNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createNasJob(LocationName parent, NasJob nasJob) - *
  • createNasJob(String parent, NasJob nasJob) + *
  • createNasJob(LocationName parent, NasJob nasJob) + *

  • createNasJob(String parent, NasJob nasJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createNasJobCallable() + *
  • createNasJobCallable() *

*
GetNasJob

GetNasJob

Gets a NasJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNasJob(GetNasJobRequest request) + *
  • getNasJob(GetNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNasJob(NasJobName name) - *
  • getNasJob(String name) + *
  • getNasJob(NasJobName name) + *

  • getNasJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNasJobCallable() + *
  • getNasJobCallable() *

*
ListNasJobs

ListNasJobs

Lists NasJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNasJobs(ListNasJobsRequest request) + *
  • listNasJobs(ListNasJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNasJobs(LocationName parent) - *
  • listNasJobs(String parent) + *
  • listNasJobs(LocationName parent) + *

  • listNasJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNasJobsPagedCallable() - *
  • listNasJobsCallable() + *
  • listNasJobsPagedCallable() + *

  • listNasJobsCallable() *

*
DeleteNasJob

DeleteNasJob

Deletes a NasJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteNasJobAsync(DeleteNasJobRequest request) + *
  • deleteNasJobAsync(DeleteNasJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteNasJobAsync(NasJobName name) - *
  • deleteNasJobAsync(String name) + *
  • deleteNasJobAsync(NasJobName name) + *

  • deleteNasJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteNasJobOperationCallable() - *
  • deleteNasJobCallable() + *
  • deleteNasJobOperationCallable() + *

  • deleteNasJobCallable() *

*
CancelNasJob

CancelNasJob

Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the NasJob is not deleted; instead it becomes a job with a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelNasJob(CancelNasJobRequest request) + *
  • cancelNasJob(CancelNasJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelNasJob(NasJobName name) - *
  • cancelNasJob(String name) + *
  • cancelNasJob(NasJobName name) + *

  • cancelNasJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelNasJobCallable() + *
  • cancelNasJobCallable() *

*
GetNasTrialDetail

GetNasTrialDetail

Gets a NasTrialDetail.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNasTrialDetail(GetNasTrialDetailRequest request) + *
  • getNasTrialDetail(GetNasTrialDetailRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNasTrialDetail(NasTrialDetailName name) - *
  • getNasTrialDetail(String name) + *
  • getNasTrialDetail(NasTrialDetailName name) + *

  • getNasTrialDetail(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNasTrialDetailCallable() + *
  • getNasTrialDetailCallable() *

*
ListNasTrialDetails

ListNasTrialDetails

List top NasTrialDetails of a NasJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNasTrialDetails(ListNasTrialDetailsRequest request) + *
  • listNasTrialDetails(ListNasTrialDetailsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNasTrialDetails(NasJobName parent) - *
  • listNasTrialDetails(String parent) + *
  • listNasTrialDetails(NasJobName parent) + *

  • listNasTrialDetails(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNasTrialDetailsPagedCallable() - *
  • listNasTrialDetailsCallable() + *
  • listNasTrialDetailsPagedCallable() + *

  • listNasTrialDetailsCallable() *

*
CreateBatchPredictionJob

CreateBatchPredictionJob

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createBatchPredictionJob(CreateBatchPredictionJobRequest request) + *
  • createBatchPredictionJob(CreateBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createBatchPredictionJob(LocationName parent, BatchPredictionJob batchPredictionJob) - *
  • createBatchPredictionJob(String parent, BatchPredictionJob batchPredictionJob) + *
  • createBatchPredictionJob(LocationName parent, BatchPredictionJob batchPredictionJob) + *

  • createBatchPredictionJob(String parent, BatchPredictionJob batchPredictionJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createBatchPredictionJobCallable() + *
  • createBatchPredictionJobCallable() *

*
GetBatchPredictionJob

GetBatchPredictionJob

Gets a BatchPredictionJob

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBatchPredictionJob(GetBatchPredictionJobRequest request) + *
  • getBatchPredictionJob(GetBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBatchPredictionJob(BatchPredictionJobName name) - *
  • getBatchPredictionJob(String name) + *
  • getBatchPredictionJob(BatchPredictionJobName name) + *

  • getBatchPredictionJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBatchPredictionJobCallable() + *
  • getBatchPredictionJobCallable() *

*
ListBatchPredictionJobs

ListBatchPredictionJobs

Lists BatchPredictionJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBatchPredictionJobs(ListBatchPredictionJobsRequest request) + *
  • listBatchPredictionJobs(ListBatchPredictionJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBatchPredictionJobs(LocationName parent) - *
  • listBatchPredictionJobs(String parent) + *
  • listBatchPredictionJobs(LocationName parent) + *

  • listBatchPredictionJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBatchPredictionJobsPagedCallable() - *
  • listBatchPredictionJobsCallable() + *
  • listBatchPredictionJobsPagedCallable() + *

  • listBatchPredictionJobsCallable() *

*
DeleteBatchPredictionJob

DeleteBatchPredictionJob

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request) + *
  • deleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteBatchPredictionJobAsync(BatchPredictionJobName name) - *
  • deleteBatchPredictionJobAsync(String name) + *
  • deleteBatchPredictionJobAsync(BatchPredictionJobName name) + *

  • deleteBatchPredictionJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteBatchPredictionJobOperationCallable() - *
  • deleteBatchPredictionJobCallable() + *
  • deleteBatchPredictionJobOperationCallable() + *

  • deleteBatchPredictionJobCallable() *

*
CancelBatchPredictionJob

CancelBatchPredictionJob

Cancels a BatchPredictionJob. *

Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob] or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its [BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state] is set to `CANCELLED`. Any files already outputted by the job are not deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelBatchPredictionJob(CancelBatchPredictionJobRequest request) + *
  • cancelBatchPredictionJob(CancelBatchPredictionJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelBatchPredictionJob(BatchPredictionJobName name) - *
  • cancelBatchPredictionJob(String name) + *
  • cancelBatchPredictionJob(BatchPredictionJobName name) + *

  • cancelBatchPredictionJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelBatchPredictionJobCallable() + *
  • cancelBatchPredictionJobCallable() *

*
CreateModelDeploymentMonitoringJob

CreateModelDeploymentMonitoringJob

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request) + *
  • createModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createModelDeploymentMonitoringJob(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) - *
  • createModelDeploymentMonitoringJob(String parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) + *
  • createModelDeploymentMonitoringJob(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) + *

  • createModelDeploymentMonitoringJob(String parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createModelDeploymentMonitoringJobCallable() + *
  • createModelDeploymentMonitoringJobCallable() *

*
SearchModelDeploymentMonitoringStatsAnomalies

SearchModelDeploymentMonitoringStatsAnomalies

Searches Model Monitoring Statistics generated within a given time window.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request) + *
  • searchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, String deployedModelId) - *
  • searchModelDeploymentMonitoringStatsAnomalies(String modelDeploymentMonitoringJob, String deployedModelId) + *
  • searchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, String deployedModelId) + *

  • searchModelDeploymentMonitoringStatsAnomalies(String modelDeploymentMonitoringJob, String deployedModelId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchModelDeploymentMonitoringStatsAnomaliesPagedCallable() - *
  • searchModelDeploymentMonitoringStatsAnomaliesCallable() + *
  • searchModelDeploymentMonitoringStatsAnomaliesPagedCallable() + *

  • searchModelDeploymentMonitoringStatsAnomaliesCallable() *

*
GetModelDeploymentMonitoringJob

GetModelDeploymentMonitoringJob

Gets a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request) + *
  • getModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • getModelDeploymentMonitoringJob(String name) + *
  • getModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • getModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelDeploymentMonitoringJobCallable() + *
  • getModelDeploymentMonitoringJobCallable() *

*
ListModelDeploymentMonitoringJobs

ListModelDeploymentMonitoringJobs

Lists ModelDeploymentMonitoringJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request) + *
  • listModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelDeploymentMonitoringJobs(LocationName parent) - *
  • listModelDeploymentMonitoringJobs(String parent) + *
  • listModelDeploymentMonitoringJobs(LocationName parent) + *

  • listModelDeploymentMonitoringJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelDeploymentMonitoringJobsPagedCallable() - *
  • listModelDeploymentMonitoringJobsCallable() + *
  • listModelDeploymentMonitoringJobsPagedCallable() + *

  • listModelDeploymentMonitoringJobsCallable() *

*
UpdateModelDeploymentMonitoringJob

UpdateModelDeploymentMonitoringJob

Updates a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request) + *
  • updateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask) + *
  • updateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateModelDeploymentMonitoringJobOperationCallable() - *
  • updateModelDeploymentMonitoringJobCallable() + *
  • updateModelDeploymentMonitoringJobOperationCallable() + *

  • updateModelDeploymentMonitoringJobCallable() *

*
DeleteModelDeploymentMonitoringJob

DeleteModelDeploymentMonitoringJob

Deletes a ModelDeploymentMonitoringJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request) + *
  • deleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name) - *
  • deleteModelDeploymentMonitoringJobAsync(String name) + *
  • deleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name) + *

  • deleteModelDeploymentMonitoringJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelDeploymentMonitoringJobOperationCallable() - *
  • deleteModelDeploymentMonitoringJobCallable() + *
  • deleteModelDeploymentMonitoringJobOperationCallable() + *

  • deleteModelDeploymentMonitoringJobCallable() *

*
PauseModelDeploymentMonitoringJob

PauseModelDeploymentMonitoringJob

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • pauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request) + *
  • pauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • pauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • pauseModelDeploymentMonitoringJob(String name) + *
  • pauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • pauseModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • pauseModelDeploymentMonitoringJobCallable() + *
  • pauseModelDeploymentMonitoringJobCallable() *

*
ResumeModelDeploymentMonitoringJob

ResumeModelDeploymentMonitoringJob

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • resumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request) + *
  • resumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • resumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) - *
  • resumeModelDeploymentMonitoringJob(String name) + *
  • resumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name) + *

  • resumeModelDeploymentMonitoringJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • resumeModelDeploymentMonitoringJobCallable() + *
  • resumeModelDeploymentMonitoringJobCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClient.java index 64675d3b6b5c..35c233fd28c3 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClient.java @@ -69,122 +69,123 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CountTokens

CountTokens

Perform a token counting.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • countTokens(CountTokensRequest request) + *
  • countTokens(CountTokensRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • countTokens(EndpointName endpoint, List instances) - *
  • countTokens(String endpoint, List instances) + *
  • countTokens(EndpointName endpoint, List<Value> instances) + *

  • countTokens(String endpoint, List<Value> instances) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • countTokensCallable() + *
  • countTokensCallable() *

*
ComputeTokens

ComputeTokens

Return a list of tokens based on the input text.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • computeTokens(ComputeTokensRequest request) + *
  • computeTokens(ComputeTokensRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • computeTokens(EndpointName endpoint, List instances) - *
  • computeTokens(String endpoint, List instances) + *
  • computeTokens(EndpointName endpoint, List<Value> instances) + *

  • computeTokens(String endpoint, List<Value> instances) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • computeTokensCallable() + *
  • computeTokensCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MatchServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MatchServiceClient.java index 209071a4c26b..c14e4fb1c413 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MatchServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MatchServiceClient.java @@ -73,112 +73,113 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
FindNeighbors

FindNeighbors

Finds the nearest neighbors of each vector within the request.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • findNeighbors(FindNeighborsRequest request) + *
  • findNeighbors(FindNeighborsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • findNeighborsCallable() + *
  • findNeighborsCallable() *

*
ReadIndexDatapoints

ReadIndexDatapoints

Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readIndexDatapoints(ReadIndexDatapointsRequest request) + *
  • readIndexDatapoints(ReadIndexDatapointsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readIndexDatapointsCallable() + *
  • readIndexDatapointsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java index 1dbdec1260b4..b01040f877cc 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java @@ -72,702 +72,703 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateMetadataStore

CreateMetadataStore

Initializes a MetadataStore, including allocation of resources.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMetadataStoreAsync(CreateMetadataStoreRequest request) + *
  • createMetadataStoreAsync(CreateMetadataStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createMetadataStoreAsync(LocationName parent, MetadataStore metadataStore, String metadataStoreId) - *
  • createMetadataStoreAsync(String parent, MetadataStore metadataStore, String metadataStoreId) + *
  • createMetadataStoreAsync(LocationName parent, MetadataStore metadataStore, String metadataStoreId) + *

  • createMetadataStoreAsync(String parent, MetadataStore metadataStore, String metadataStoreId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMetadataStoreOperationCallable() - *
  • createMetadataStoreCallable() + *
  • createMetadataStoreOperationCallable() + *

  • createMetadataStoreCallable() *

*
GetMetadataStore

GetMetadataStore

Retrieves a specific MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMetadataStore(GetMetadataStoreRequest request) + *
  • getMetadataStore(GetMetadataStoreRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMetadataStore(MetadataStoreName name) - *
  • getMetadataStore(String name) + *
  • getMetadataStore(MetadataStoreName name) + *

  • getMetadataStore(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMetadataStoreCallable() + *
  • getMetadataStoreCallable() *

*
ListMetadataStores

ListMetadataStores

Lists MetadataStores for a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMetadataStores(ListMetadataStoresRequest request) + *
  • listMetadataStores(ListMetadataStoresRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMetadataStores(LocationName parent) - *
  • listMetadataStores(String parent) + *
  • listMetadataStores(LocationName parent) + *

  • listMetadataStores(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMetadataStoresPagedCallable() - *
  • listMetadataStoresCallable() + *
  • listMetadataStoresPagedCallable() + *

  • listMetadataStoresCallable() *

*
DeleteMetadataStore

DeleteMetadataStore

Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteMetadataStoreAsync(DeleteMetadataStoreRequest request) + *
  • deleteMetadataStoreAsync(DeleteMetadataStoreRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteMetadataStoreAsync(MetadataStoreName name) - *
  • deleteMetadataStoreAsync(String name) + *
  • deleteMetadataStoreAsync(MetadataStoreName name) + *

  • deleteMetadataStoreAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteMetadataStoreOperationCallable() - *
  • deleteMetadataStoreCallable() + *
  • deleteMetadataStoreOperationCallable() + *

  • deleteMetadataStoreCallable() *

*
CreateArtifact

CreateArtifact

Creates an Artifact associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createArtifact(CreateArtifactRequest request) + *
  • createArtifact(CreateArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createArtifact(MetadataStoreName parent, Artifact artifact, String artifactId) - *
  • createArtifact(String parent, Artifact artifact, String artifactId) + *
  • createArtifact(MetadataStoreName parent, Artifact artifact, String artifactId) + *

  • createArtifact(String parent, Artifact artifact, String artifactId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createArtifactCallable() + *
  • createArtifactCallable() *

*
GetArtifact

GetArtifact

Retrieves a specific Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getArtifact(GetArtifactRequest request) + *
  • getArtifact(GetArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getArtifact(ArtifactName name) - *
  • getArtifact(String name) + *
  • getArtifact(ArtifactName name) + *

  • getArtifact(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getArtifactCallable() + *
  • getArtifactCallable() *

*
ListArtifacts

ListArtifacts

Lists Artifacts in the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listArtifacts(ListArtifactsRequest request) + *
  • listArtifacts(ListArtifactsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listArtifacts(MetadataStoreName parent) - *
  • listArtifacts(String parent) + *
  • listArtifacts(MetadataStoreName parent) + *

  • listArtifacts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listArtifactsPagedCallable() - *
  • listArtifactsCallable() + *
  • listArtifactsPagedCallable() + *

  • listArtifactsCallable() *

*
UpdateArtifact

UpdateArtifact

Updates a stored Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateArtifact(UpdateArtifactRequest request) + *
  • updateArtifact(UpdateArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateArtifact(Artifact artifact, FieldMask updateMask) + *
  • updateArtifact(Artifact artifact, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateArtifactCallable() + *
  • updateArtifactCallable() *

*
DeleteArtifact

DeleteArtifact

Deletes an Artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteArtifactAsync(DeleteArtifactRequest request) + *
  • deleteArtifactAsync(DeleteArtifactRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteArtifactAsync(ArtifactName name) - *
  • deleteArtifactAsync(String name) + *
  • deleteArtifactAsync(ArtifactName name) + *

  • deleteArtifactAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteArtifactOperationCallable() - *
  • deleteArtifactCallable() + *
  • deleteArtifactOperationCallable() + *

  • deleteArtifactCallable() *

*
PurgeArtifacts

PurgeArtifacts

Purges Artifacts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeArtifactsAsync(PurgeArtifactsRequest request) + *
  • purgeArtifactsAsync(PurgeArtifactsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeArtifactsAsync(MetadataStoreName parent) - *
  • purgeArtifactsAsync(String parent) + *
  • purgeArtifactsAsync(MetadataStoreName parent) + *

  • purgeArtifactsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeArtifactsOperationCallable() - *
  • purgeArtifactsCallable() + *
  • purgeArtifactsOperationCallable() + *

  • purgeArtifactsCallable() *

*
CreateContext

CreateContext

Creates a Context associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createContext(CreateContextRequest request) + *
  • createContext(CreateContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createContext(MetadataStoreName parent, Context context, String contextId) - *
  • createContext(String parent, Context context, String contextId) + *
  • createContext(MetadataStoreName parent, Context context, String contextId) + *

  • createContext(String parent, Context context, String contextId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createContextCallable() + *
  • createContextCallable() *

*
GetContext

GetContext

Retrieves a specific Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getContext(GetContextRequest request) + *
  • getContext(GetContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getContext(ContextName name) - *
  • getContext(String name) + *
  • getContext(ContextName name) + *

  • getContext(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getContextCallable() + *
  • getContextCallable() *

*
ListContexts

ListContexts

Lists Contexts on the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listContexts(ListContextsRequest request) + *
  • listContexts(ListContextsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listContexts(MetadataStoreName parent) - *
  • listContexts(String parent) + *
  • listContexts(MetadataStoreName parent) + *

  • listContexts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listContextsPagedCallable() - *
  • listContextsCallable() + *
  • listContextsPagedCallable() + *

  • listContextsCallable() *

*
UpdateContext

UpdateContext

Updates a stored Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateContext(UpdateContextRequest request) + *
  • updateContext(UpdateContextRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateContext(Context context, FieldMask updateMask) + *
  • updateContext(Context context, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateContextCallable() + *
  • updateContextCallable() *

*
DeleteContext

DeleteContext

Deletes a stored Context.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteContextAsync(DeleteContextRequest request) + *
  • deleteContextAsync(DeleteContextRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteContextAsync(ContextName name) - *
  • deleteContextAsync(String name) + *
  • deleteContextAsync(ContextName name) + *

  • deleteContextAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteContextOperationCallable() - *
  • deleteContextCallable() + *
  • deleteContextOperationCallable() + *

  • deleteContextCallable() *

*
PurgeContexts

PurgeContexts

Purges Contexts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeContextsAsync(PurgeContextsRequest request) + *
  • purgeContextsAsync(PurgeContextsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeContextsAsync(MetadataStoreName parent) - *
  • purgeContextsAsync(String parent) + *
  • purgeContextsAsync(MetadataStoreName parent) + *

  • purgeContextsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeContextsOperationCallable() - *
  • purgeContextsCallable() + *
  • purgeContextsOperationCallable() + *

  • purgeContextsCallable() *

*
AddContextArtifactsAndExecutions

AddContextArtifactsAndExecutions

Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request) + *
  • addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addContextArtifactsAndExecutions(ContextName context, List artifacts, List executions) - *
  • addContextArtifactsAndExecutions(String context, List artifacts, List executions) + *
  • addContextArtifactsAndExecutions(ContextName context, List<String> artifacts, List<String> executions) + *

  • addContextArtifactsAndExecutions(String context, List<String> artifacts, List<String> executions) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addContextArtifactsAndExecutionsCallable() + *
  • addContextArtifactsAndExecutionsCallable() *

*
AddContextChildren

AddContextChildren

Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addContextChildren(AddContextChildrenRequest request) + *
  • addContextChildren(AddContextChildrenRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addContextChildren(ContextName context, List childContexts) - *
  • addContextChildren(String context, List childContexts) + *
  • addContextChildren(ContextName context, List<String> childContexts) + *

  • addContextChildren(String context, List<String> childContexts) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addContextChildrenCallable() + *
  • addContextChildrenCallable() *

*
RemoveContextChildren

RemoveContextChildren

Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • removeContextChildren(RemoveContextChildrenRequest request) + *
  • removeContextChildren(RemoveContextChildrenRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • removeContextChildren(ContextName context, List childContexts) - *
  • removeContextChildren(String context, List childContexts) + *
  • removeContextChildren(ContextName context, List<String> childContexts) + *

  • removeContextChildren(String context, List<String> childContexts) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • removeContextChildrenCallable() + *
  • removeContextChildrenCallable() *

*
QueryContextLineageSubgraph

QueryContextLineageSubgraph

Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request) + *
  • queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryContextLineageSubgraph(ContextName context) - *
  • queryContextLineageSubgraph(String context) + *
  • queryContextLineageSubgraph(ContextName context) + *

  • queryContextLineageSubgraph(String context) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryContextLineageSubgraphCallable() + *
  • queryContextLineageSubgraphCallable() *

*
CreateExecution

CreateExecution

Creates an Execution associated with a MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createExecution(CreateExecutionRequest request) + *
  • createExecution(CreateExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createExecution(MetadataStoreName parent, Execution execution, String executionId) - *
  • createExecution(String parent, Execution execution, String executionId) + *
  • createExecution(MetadataStoreName parent, Execution execution, String executionId) + *

  • createExecution(String parent, Execution execution, String executionId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createExecutionCallable() + *
  • createExecutionCallable() *

*
GetExecution

GetExecution

Retrieves a specific Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getExecution(GetExecutionRequest request) + *
  • getExecution(GetExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getExecution(ExecutionName name) - *
  • getExecution(String name) + *
  • getExecution(ExecutionName name) + *

  • getExecution(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getExecutionCallable() + *
  • getExecutionCallable() *

*
ListExecutions

ListExecutions

Lists Executions in the MetadataStore.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listExecutions(ListExecutionsRequest request) + *
  • listExecutions(ListExecutionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listExecutions(MetadataStoreName parent) - *
  • listExecutions(String parent) + *
  • listExecutions(MetadataStoreName parent) + *

  • listExecutions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listExecutionsPagedCallable() - *
  • listExecutionsCallable() + *
  • listExecutionsPagedCallable() + *

  • listExecutionsCallable() *

*
UpdateExecution

UpdateExecution

Updates a stored Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateExecution(UpdateExecutionRequest request) + *
  • updateExecution(UpdateExecutionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateExecution(Execution execution, FieldMask updateMask) + *
  • updateExecution(Execution execution, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateExecutionCallable() + *
  • updateExecutionCallable() *

*
DeleteExecution

DeleteExecution

Deletes an Execution.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteExecutionAsync(DeleteExecutionRequest request) + *
  • deleteExecutionAsync(DeleteExecutionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteExecutionAsync(ExecutionName name) - *
  • deleteExecutionAsync(String name) + *
  • deleteExecutionAsync(ExecutionName name) + *

  • deleteExecutionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteExecutionOperationCallable() - *
  • deleteExecutionCallable() + *
  • deleteExecutionOperationCallable() + *

  • deleteExecutionCallable() *

*
PurgeExecutions

PurgeExecutions

Purges Executions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • purgeExecutionsAsync(PurgeExecutionsRequest request) + *
  • purgeExecutionsAsync(PurgeExecutionsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • purgeExecutionsAsync(MetadataStoreName parent) - *
  • purgeExecutionsAsync(String parent) + *
  • purgeExecutionsAsync(MetadataStoreName parent) + *

  • purgeExecutionsAsync(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • purgeExecutionsOperationCallable() - *
  • purgeExecutionsCallable() + *
  • purgeExecutionsOperationCallable() + *

  • purgeExecutionsCallable() *

*
AddExecutionEvents

AddExecutionEvents

Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addExecutionEvents(AddExecutionEventsRequest request) + *
  • addExecutionEvents(AddExecutionEventsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • addExecutionEvents(ExecutionName execution, List events) - *
  • addExecutionEvents(String execution, List events) + *
  • addExecutionEvents(ExecutionName execution, List<Event> events) + *

  • addExecutionEvents(String execution, List<Event> events) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addExecutionEventsCallable() + *
  • addExecutionEventsCallable() *

*
QueryExecutionInputsAndOutputs

QueryExecutionInputsAndOutputs

Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request) + *
  • queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryExecutionInputsAndOutputs(ExecutionName execution) - *
  • queryExecutionInputsAndOutputs(String execution) + *
  • queryExecutionInputsAndOutputs(ExecutionName execution) + *

  • queryExecutionInputsAndOutputs(String execution) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryExecutionInputsAndOutputsCallable() + *
  • queryExecutionInputsAndOutputsCallable() *

*
CreateMetadataSchema

CreateMetadataSchema

Creates a MetadataSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMetadataSchema(CreateMetadataSchemaRequest request) + *
  • createMetadataSchema(CreateMetadataSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createMetadataSchema(MetadataStoreName parent, MetadataSchema metadataSchema, String metadataSchemaId) - *
  • createMetadataSchema(String parent, MetadataSchema metadataSchema, String metadataSchemaId) + *
  • createMetadataSchema(MetadataStoreName parent, MetadataSchema metadataSchema, String metadataSchemaId) + *

  • createMetadataSchema(String parent, MetadataSchema metadataSchema, String metadataSchemaId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMetadataSchemaCallable() + *
  • createMetadataSchemaCallable() *

*
GetMetadataSchema

GetMetadataSchema

Retrieves a specific MetadataSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMetadataSchema(GetMetadataSchemaRequest request) + *
  • getMetadataSchema(GetMetadataSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMetadataSchema(MetadataSchemaName name) - *
  • getMetadataSchema(String name) + *
  • getMetadataSchema(MetadataSchemaName name) + *

  • getMetadataSchema(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMetadataSchemaCallable() + *
  • getMetadataSchemaCallable() *

*
ListMetadataSchemas

ListMetadataSchemas

Lists MetadataSchemas.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMetadataSchemas(ListMetadataSchemasRequest request) + *
  • listMetadataSchemas(ListMetadataSchemasRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMetadataSchemas(MetadataStoreName parent) - *
  • listMetadataSchemas(String parent) + *
  • listMetadataSchemas(MetadataStoreName parent) + *

  • listMetadataSchemas(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMetadataSchemasPagedCallable() - *
  • listMetadataSchemasCallable() + *
  • listMetadataSchemasPagedCallable() + *

  • listMetadataSchemasCallable() *

*
QueryArtifactLineageSubgraph

QueryArtifactLineageSubgraph

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request) + *
  • queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryArtifactLineageSubgraph(ArtifactName artifact) - *
  • queryArtifactLineageSubgraph(String artifact) + *
  • queryArtifactLineageSubgraph(ArtifactName artifact) + *

  • queryArtifactLineageSubgraph(String artifact) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryArtifactLineageSubgraphCallable() + *
  • queryArtifactLineageSubgraphCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java index 4a3db34fa4ca..271f7f16a4ee 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java @@ -71,124 +71,125 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
SearchMigratableResources

SearchMigratableResources

Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchMigratableResources(SearchMigratableResourcesRequest request) + *
  • searchMigratableResources(SearchMigratableResourcesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchMigratableResources(LocationName parent) - *
  • searchMigratableResources(String parent) + *
  • searchMigratableResources(LocationName parent) + *

  • searchMigratableResources(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchMigratableResourcesPagedCallable() - *
  • searchMigratableResourcesCallable() + *
  • searchMigratableResourcesPagedCallable() + *

  • searchMigratableResourcesCallable() *

*
BatchMigrateResources

BatchMigrateResources

Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchMigrateResourcesAsync(BatchMigrateResourcesRequest request) + *
  • batchMigrateResourcesAsync(BatchMigrateResourcesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchMigrateResourcesAsync(LocationName parent, List migrateResourceRequests) - *
  • batchMigrateResourcesAsync(String parent, List migrateResourceRequests) + *
  • batchMigrateResourcesAsync(LocationName parent, List<MigrateResourceRequest> migrateResourceRequests) + *

  • batchMigrateResourcesAsync(String parent, List<MigrateResourceRequest> migrateResourceRequests) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchMigrateResourcesOperationCallable() - *
  • batchMigrateResourcesCallable() + *
  • batchMigrateResourcesOperationCallable() + *

  • batchMigrateResourcesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelGardenServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelGardenServiceClient.java index df6f08847c18..bd248e0baf2c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelGardenServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelGardenServiceClient.java @@ -66,122 +66,123 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetPublisherModel

GetPublisherModel

Gets a Model Garden publisher model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPublisherModel(GetPublisherModelRequest request) + *
  • getPublisherModel(GetPublisherModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPublisherModel(PublisherModelName name) - *
  • getPublisherModel(String name) + *
  • getPublisherModel(PublisherModelName name) + *

  • getPublisherModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPublisherModelCallable() + *
  • getPublisherModelCallable() *

*
ListPublisherModels

ListPublisherModels

Lists publisher models in Model Garden.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPublisherModels(ListPublisherModelsRequest request) + *
  • listPublisherModels(ListPublisherModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPublisherModels(String parent) + *
  • listPublisherModels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPublisherModelsPagedCallable() - *
  • listPublisherModelsCallable() + *
  • listPublisherModelsPagedCallable() + *

  • listPublisherModelsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java index 5d372eef7304..2e20924425eb 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java @@ -71,439 +71,440 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
UploadModel

UploadModel

Uploads a Model artifact into Vertex AI.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • uploadModelAsync(UploadModelRequest request) + *
  • uploadModelAsync(UploadModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • uploadModelAsync(LocationName parent, Model model) - *
  • uploadModelAsync(String parent, Model model) + *
  • uploadModelAsync(LocationName parent, Model model) + *

  • uploadModelAsync(String parent, Model model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • uploadModelOperationCallable() - *
  • uploadModelCallable() + *
  • uploadModelOperationCallable() + *

  • uploadModelCallable() *

*
GetModel

GetModel

Gets a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModel(GetModelRequest request) + *
  • getModel(GetModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModel(ModelName name) - *
  • getModel(String name) + *
  • getModel(ModelName name) + *

  • getModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelCallable() + *
  • getModelCallable() *

*
ListModels

ListModels

Lists Models in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModels(ListModelsRequest request) + *
  • listModels(ListModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModels(LocationName parent) - *
  • listModels(String parent) + *
  • listModels(LocationName parent) + *

  • listModels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelsPagedCallable() - *
  • listModelsCallable() + *
  • listModelsPagedCallable() + *

  • listModelsCallable() *

*
ListModelVersions

ListModelVersions

Lists versions of the specified model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelVersions(ListModelVersionsRequest request) + *
  • listModelVersions(ListModelVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelVersions(ModelName name) - *
  • listModelVersions(String name) + *
  • listModelVersions(ModelName name) + *

  • listModelVersions(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelVersionsPagedCallable() - *
  • listModelVersionsCallable() + *
  • listModelVersionsPagedCallable() + *

  • listModelVersionsCallable() *

*
UpdateModel

UpdateModel

Updates a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateModel(UpdateModelRequest request) + *
  • updateModel(UpdateModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateModel(Model model, FieldMask updateMask) + *
  • updateModel(Model model, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateModelCallable() + *
  • updateModelCallable() *

*
UpdateExplanationDataset

UpdateExplanationDataset

Incrementally update the dataset used for an examples model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateExplanationDatasetAsync(UpdateExplanationDatasetRequest request) + *
  • updateExplanationDatasetAsync(UpdateExplanationDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateExplanationDatasetAsync(ModelName model) - *
  • updateExplanationDatasetAsync(String model) + *
  • updateExplanationDatasetAsync(ModelName model) + *

  • updateExplanationDatasetAsync(String model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateExplanationDatasetOperationCallable() - *
  • updateExplanationDatasetCallable() + *
  • updateExplanationDatasetOperationCallable() + *

  • updateExplanationDatasetCallable() *

*
DeleteModel

DeleteModel

Deletes a Model. *

A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelAsync(DeleteModelRequest request) + *
  • deleteModelAsync(DeleteModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelAsync(ModelName name) - *
  • deleteModelAsync(String name) + *
  • deleteModelAsync(ModelName name) + *

  • deleteModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelOperationCallable() - *
  • deleteModelCallable() + *
  • deleteModelOperationCallable() + *

  • deleteModelCallable() *

*
DeleteModelVersion

DeleteModelVersion

Deletes a Model version. *

Model version can only be deleted if there are no [DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel] for deleting the Model instead.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelVersionAsync(DeleteModelVersionRequest request) + *
  • deleteModelVersionAsync(DeleteModelVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelVersionAsync(ModelName name) - *
  • deleteModelVersionAsync(String name) + *
  • deleteModelVersionAsync(ModelName name) + *

  • deleteModelVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelVersionOperationCallable() - *
  • deleteModelVersionCallable() + *
  • deleteModelVersionOperationCallable() + *

  • deleteModelVersionCallable() *

*
MergeVersionAliases

MergeVersionAliases

Merges a set of aliases for a Model version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • mergeVersionAliases(MergeVersionAliasesRequest request) + *
  • mergeVersionAliases(MergeVersionAliasesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • mergeVersionAliases(ModelName name, List versionAliases) - *
  • mergeVersionAliases(String name, List versionAliases) + *
  • mergeVersionAliases(ModelName name, List<String> versionAliases) + *

  • mergeVersionAliases(String name, List<String> versionAliases) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • mergeVersionAliasesCallable() + *
  • mergeVersionAliasesCallable() *

*
ExportModel

ExportModel

Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1beta1.Model.supported_export_formats].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportModelAsync(ExportModelRequest request) + *
  • exportModelAsync(ExportModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportModelAsync(ModelName name, ExportModelRequest.OutputConfig outputConfig) - *
  • exportModelAsync(String name, ExportModelRequest.OutputConfig outputConfig) + *
  • exportModelAsync(ModelName name, ExportModelRequest.OutputConfig outputConfig) + *

  • exportModelAsync(String name, ExportModelRequest.OutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportModelOperationCallable() - *
  • exportModelCallable() + *
  • exportModelOperationCallable() + *

  • exportModelCallable() *

*
CopyModel

CopyModel

Copies an already existing Vertex AI Model into the specified Location. The source Model must exist in the same Project. When copying custom Models, the users themselves are responsible for [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, as well as making sure that any resources (e.g. files) it depends on remain accessible.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • copyModelAsync(CopyModelRequest request) + *
  • copyModelAsync(CopyModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • copyModelAsync(LocationName parent, ModelName sourceModel) - *
  • copyModelAsync(LocationName parent, String sourceModel) - *
  • copyModelAsync(String parent, ModelName sourceModel) - *
  • copyModelAsync(String parent, String sourceModel) + *
  • copyModelAsync(LocationName parent, ModelName sourceModel) + *

  • copyModelAsync(LocationName parent, String sourceModel) + *

  • copyModelAsync(String parent, ModelName sourceModel) + *

  • copyModelAsync(String parent, String sourceModel) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • copyModelOperationCallable() - *
  • copyModelCallable() + *
  • copyModelOperationCallable() + *

  • copyModelCallable() *

*
ImportModelEvaluation

ImportModelEvaluation

Imports an externally generated ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importModelEvaluation(ImportModelEvaluationRequest request) + *
  • importModelEvaluation(ImportModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • importModelEvaluation(ModelName parent, ModelEvaluation modelEvaluation) - *
  • importModelEvaluation(String parent, ModelEvaluation modelEvaluation) + *
  • importModelEvaluation(ModelName parent, ModelEvaluation modelEvaluation) + *

  • importModelEvaluation(String parent, ModelEvaluation modelEvaluation) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importModelEvaluationCallable() + *
  • importModelEvaluationCallable() *

*
BatchImportModelEvaluationSlices

BatchImportModelEvaluationSlices

Imports a list of externally generated ModelEvaluationSlice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request) + *
  • batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchImportModelEvaluationSlices(ModelEvaluationName parent, List modelEvaluationSlices) - *
  • batchImportModelEvaluationSlices(String parent, List modelEvaluationSlices) + *
  • batchImportModelEvaluationSlices(ModelEvaluationName parent, List<ModelEvaluationSlice> modelEvaluationSlices) + *

  • batchImportModelEvaluationSlices(String parent, List<ModelEvaluationSlice> modelEvaluationSlices) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchImportModelEvaluationSlicesCallable() + *
  • batchImportModelEvaluationSlicesCallable() *

*
BatchImportEvaluatedAnnotations

BatchImportEvaluatedAnnotations

Imports a list of externally generated EvaluatedAnnotations.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request) + *
  • batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchImportEvaluatedAnnotations(ModelEvaluationSliceName parent, List evaluatedAnnotations) - *
  • batchImportEvaluatedAnnotations(String parent, List evaluatedAnnotations) + *
  • batchImportEvaluatedAnnotations(ModelEvaluationSliceName parent, List<EvaluatedAnnotation> evaluatedAnnotations) + *

  • batchImportEvaluatedAnnotations(String parent, List<EvaluatedAnnotation> evaluatedAnnotations) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchImportEvaluatedAnnotationsCallable() + *
  • batchImportEvaluatedAnnotationsCallable() *

*
GetModelEvaluation

GetModelEvaluation

Gets a ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluation(GetModelEvaluationRequest request) + *
  • getModelEvaluation(GetModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluation(ModelEvaluationName name) - *
  • getModelEvaluation(String name) + *
  • getModelEvaluation(ModelEvaluationName name) + *

  • getModelEvaluation(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationCallable() + *
  • getModelEvaluationCallable() *

*
ListModelEvaluations

ListModelEvaluations

Lists ModelEvaluations in a Model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluations(ListModelEvaluationsRequest request) + *
  • listModelEvaluations(ListModelEvaluationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluations(ModelName parent) - *
  • listModelEvaluations(String parent) + *
  • listModelEvaluations(ModelName parent) + *

  • listModelEvaluations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationsPagedCallable() - *
  • listModelEvaluationsCallable() + *
  • listModelEvaluationsPagedCallable() + *

  • listModelEvaluationsCallable() *

*
GetModelEvaluationSlice

GetModelEvaluationSlice

Gets a ModelEvaluationSlice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluationSlice(GetModelEvaluationSliceRequest request) + *
  • getModelEvaluationSlice(GetModelEvaluationSliceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluationSlice(ModelEvaluationSliceName name) - *
  • getModelEvaluationSlice(String name) + *
  • getModelEvaluationSlice(ModelEvaluationSliceName name) + *

  • getModelEvaluationSlice(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationSliceCallable() + *
  • getModelEvaluationSliceCallable() *

*
ListModelEvaluationSlices

ListModelEvaluationSlices

Lists ModelEvaluationSlices in a ModelEvaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluationSlices(ListModelEvaluationSlicesRequest request) + *
  • listModelEvaluationSlices(ListModelEvaluationSlicesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluationSlices(ModelEvaluationName parent) - *
  • listModelEvaluationSlices(String parent) + *
  • listModelEvaluationSlices(ModelEvaluationName parent) + *

  • listModelEvaluationSlices(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationSlicesPagedCallable() - *
  • listModelEvaluationSlicesCallable() + *
  • listModelEvaluationSlicesPagedCallable() + *

  • listModelEvaluationSlicesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceClient.java index ddb6de7e9cda..e2022402053f 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceClient.java @@ -74,182 +74,183 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreatePersistentResource

CreatePersistentResource

Creates a PersistentResource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createPersistentResourceAsync(CreatePersistentResourceRequest request) + *
  • createPersistentResourceAsync(CreatePersistentResourceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createPersistentResourceAsync(LocationName parent, PersistentResource persistentResource, String persistentResourceId) - *
  • createPersistentResourceAsync(String parent, PersistentResource persistentResource, String persistentResourceId) + *
  • createPersistentResourceAsync(LocationName parent, PersistentResource persistentResource, String persistentResourceId) + *

  • createPersistentResourceAsync(String parent, PersistentResource persistentResource, String persistentResourceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createPersistentResourceOperationCallable() - *
  • createPersistentResourceCallable() + *
  • createPersistentResourceOperationCallable() + *

  • createPersistentResourceCallable() *

*
GetPersistentResource

GetPersistentResource

Gets a PersistentResource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPersistentResource(GetPersistentResourceRequest request) + *
  • getPersistentResource(GetPersistentResourceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPersistentResource(PersistentResourceName name) - *
  • getPersistentResource(String name) + *
  • getPersistentResource(PersistentResourceName name) + *

  • getPersistentResource(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPersistentResourceCallable() + *
  • getPersistentResourceCallable() *

*
ListPersistentResources

ListPersistentResources

Lists PersistentResources in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPersistentResources(ListPersistentResourcesRequest request) + *
  • listPersistentResources(ListPersistentResourcesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPersistentResources(LocationName parent) - *
  • listPersistentResources(String parent) + *
  • listPersistentResources(LocationName parent) + *

  • listPersistentResources(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPersistentResourcesPagedCallable() - *
  • listPersistentResourcesCallable() + *
  • listPersistentResourcesPagedCallable() + *

  • listPersistentResourcesCallable() *

*
DeletePersistentResource

DeletePersistentResource

Deletes a PersistentResource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deletePersistentResourceAsync(DeletePersistentResourceRequest request) + *
  • deletePersistentResourceAsync(DeletePersistentResourceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deletePersistentResourceAsync(PersistentResourceName name) - *
  • deletePersistentResourceAsync(String name) + *
  • deletePersistentResourceAsync(PersistentResourceName name) + *

  • deletePersistentResourceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePersistentResourceOperationCallable() - *
  • deletePersistentResourceCallable() + *
  • deletePersistentResourceOperationCallable() + *

  • deletePersistentResourceCallable() *

*
UpdatePersistentResource

UpdatePersistentResource

Updates a PersistentResource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updatePersistentResourceAsync(UpdatePersistentResourceRequest request) + *
  • updatePersistentResourceAsync(UpdatePersistentResourceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updatePersistentResourceAsync(PersistentResource persistentResource, FieldMask updateMask) + *
  • updatePersistentResourceAsync(PersistentResource persistentResource, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updatePersistentResourceOperationCallable() - *
  • updatePersistentResourceCallable() + *
  • updatePersistentResourceOperationCallable() + *

  • updatePersistentResourceCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java index 40c8336d8a47..caa150600d1d 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java @@ -75,298 +75,299 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateTrainingPipeline

CreateTrainingPipeline

Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTrainingPipeline(CreateTrainingPipelineRequest request) + *
  • createTrainingPipeline(CreateTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTrainingPipeline(LocationName parent, TrainingPipeline trainingPipeline) - *
  • createTrainingPipeline(String parent, TrainingPipeline trainingPipeline) + *
  • createTrainingPipeline(LocationName parent, TrainingPipeline trainingPipeline) + *

  • createTrainingPipeline(String parent, TrainingPipeline trainingPipeline) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTrainingPipelineCallable() + *
  • createTrainingPipelineCallable() *

*
GetTrainingPipeline

GetTrainingPipeline

Gets a TrainingPipeline.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTrainingPipeline(GetTrainingPipelineRequest request) + *
  • getTrainingPipeline(GetTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTrainingPipeline(TrainingPipelineName name) - *
  • getTrainingPipeline(String name) + *
  • getTrainingPipeline(TrainingPipelineName name) + *

  • getTrainingPipeline(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTrainingPipelineCallable() + *
  • getTrainingPipelineCallable() *

*
ListTrainingPipelines

ListTrainingPipelines

Lists TrainingPipelines in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTrainingPipelines(ListTrainingPipelinesRequest request) + *
  • listTrainingPipelines(ListTrainingPipelinesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTrainingPipelines(LocationName parent) - *
  • listTrainingPipelines(String parent) + *
  • listTrainingPipelines(LocationName parent) + *

  • listTrainingPipelines(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTrainingPipelinesPagedCallable() - *
  • listTrainingPipelinesCallable() + *
  • listTrainingPipelinesPagedCallable() + *

  • listTrainingPipelinesCallable() *

*
DeleteTrainingPipeline

DeleteTrainingPipeline

Deletes a TrainingPipeline.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTrainingPipelineAsync(DeleteTrainingPipelineRequest request) + *
  • deleteTrainingPipelineAsync(DeleteTrainingPipelineRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTrainingPipelineAsync(TrainingPipelineName name) - *
  • deleteTrainingPipelineAsync(String name) + *
  • deleteTrainingPipelineAsync(TrainingPipelineName name) + *

  • deleteTrainingPipelineAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTrainingPipelineOperationCallable() - *
  • deleteTrainingPipelineCallable() + *
  • deleteTrainingPipelineOperationCallable() + *

  • deleteTrainingPipelineCallable() *

*
CancelTrainingPipeline

CancelTrainingPipeline

Cancels a TrainingPipeline. Starts asynchronous cancellation on the TrainingPipeline. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline] or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the TrainingPipeline is not deleted; instead it becomes a pipeline with a [TrainingPipeline.error][google.cloud.aiplatform.v1beta1.TrainingPipeline.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [TrainingPipeline.state][google.cloud.aiplatform.v1beta1.TrainingPipeline.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelTrainingPipeline(CancelTrainingPipelineRequest request) + *
  • cancelTrainingPipeline(CancelTrainingPipelineRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelTrainingPipeline(TrainingPipelineName name) - *
  • cancelTrainingPipeline(String name) + *
  • cancelTrainingPipeline(TrainingPipelineName name) + *

  • cancelTrainingPipeline(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelTrainingPipelineCallable() + *
  • cancelTrainingPipelineCallable() *

*
CreatePipelineJob

CreatePipelineJob

Creates a PipelineJob. A PipelineJob will run immediately when created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createPipelineJob(CreatePipelineJobRequest request) + *
  • createPipelineJob(CreatePipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createPipelineJob(LocationName parent, PipelineJob pipelineJob, String pipelineJobId) - *
  • createPipelineJob(String parent, PipelineJob pipelineJob, String pipelineJobId) + *
  • createPipelineJob(LocationName parent, PipelineJob pipelineJob, String pipelineJobId) + *

  • createPipelineJob(String parent, PipelineJob pipelineJob, String pipelineJobId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createPipelineJobCallable() + *
  • createPipelineJobCallable() *

*
GetPipelineJob

GetPipelineJob

Gets a PipelineJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPipelineJob(GetPipelineJobRequest request) + *
  • getPipelineJob(GetPipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPipelineJob(PipelineJobName name) - *
  • getPipelineJob(String name) + *
  • getPipelineJob(PipelineJobName name) + *

  • getPipelineJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPipelineJobCallable() + *
  • getPipelineJobCallable() *

*
ListPipelineJobs

ListPipelineJobs

Lists PipelineJobs in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPipelineJobs(ListPipelineJobsRequest request) + *
  • listPipelineJobs(ListPipelineJobsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPipelineJobs(LocationName parent) - *
  • listPipelineJobs(String parent) + *
  • listPipelineJobs(LocationName parent) + *

  • listPipelineJobs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPipelineJobsPagedCallable() - *
  • listPipelineJobsCallable() + *
  • listPipelineJobsPagedCallable() + *

  • listPipelineJobsCallable() *

*
DeletePipelineJob

DeletePipelineJob

Deletes a PipelineJob.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deletePipelineJobAsync(DeletePipelineJobRequest request) + *
  • deletePipelineJobAsync(DeletePipelineJobRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deletePipelineJobAsync(PipelineJobName name) - *
  • deletePipelineJobAsync(String name) + *
  • deletePipelineJobAsync(PipelineJobName name) + *

  • deletePipelineJobAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePipelineJobOperationCallable() - *
  • deletePipelineJobCallable() + *
  • deletePipelineJobOperationCallable() + *

  • deletePipelineJobCallable() *

*
BatchDeletePipelineJobs

BatchDeletePipelineJobs

Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchDeletePipelineJobsAsync(BatchDeletePipelineJobsRequest request) + *
  • batchDeletePipelineJobsAsync(BatchDeletePipelineJobsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchDeletePipelineJobsAsync(LocationName parent, List names) - *
  • batchDeletePipelineJobsAsync(String parent, List names) + *
  • batchDeletePipelineJobsAsync(LocationName parent, List<String> names) + *

  • batchDeletePipelineJobsAsync(String parent, List<String> names) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchDeletePipelineJobsOperationCallable() - *
  • batchDeletePipelineJobsCallable() + *
  • batchDeletePipelineJobsOperationCallable() + *

  • batchDeletePipelineJobsCallable() *

*
CancelPipelineJob

CancelPipelineJob

Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob] or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a [PipelineJob.error][google.cloud.aiplatform.v1beta1.PipelineJob.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and [PipelineJob.state][google.cloud.aiplatform.v1beta1.PipelineJob.state] is set to `CANCELLED`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelPipelineJob(CancelPipelineJobRequest request) + *
  • cancelPipelineJob(CancelPipelineJobRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • cancelPipelineJob(PipelineJobName name) - *
  • cancelPipelineJob(String name) + *
  • cancelPipelineJob(PipelineJobName name) + *

  • cancelPipelineJob(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelPipelineJobCallable() + *
  • cancelPipelineJobCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java index f34b4fb7323d..4d4ea6c535d0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java @@ -73,31 +73,33 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
Predict

Predict

Perform an online prediction.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • predict(PredictRequest request) + *
  • predict(PredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • predict(EndpointName endpoint, List instances, Value parameters) - *
  • predict(String endpoint, List instances, Value parameters) + *
  • predict(EndpointName endpoint, List<Value> instances, Value parameters) + *

  • predict(String endpoint, List<Value> instances, Value parameters) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • predictCallable() + *
  • predictCallable() *

*
RawPredict

RawPredict

Perform an online prediction with an arbitrary HTTP payload. *

The response includes the following HTTP headers: *

    @@ -109,200 +111,199 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • rawPredict(RawPredictRequest request) + *
  • rawPredict(RawPredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • rawPredict(EndpointName endpoint, HttpBody httpBody) - *
  • rawPredict(String endpoint, HttpBody httpBody) + *
  • rawPredict(EndpointName endpoint, HttpBody httpBody) + *

  • rawPredict(String endpoint, HttpBody httpBody) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • rawPredictCallable() + *
  • rawPredictCallable() *

*
DirectPredict

DirectPredict

Perform an unary online prediction request for Vertex first-party products and frameworks.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • directPredict(DirectPredictRequest request) + *
  • directPredict(DirectPredictRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • directPredictCallable() + *
  • directPredictCallable() *

*
DirectRawPredict

DirectRawPredict

Perform an online prediction request through gRPC.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • directRawPredict(DirectRawPredictRequest request) + *
  • directRawPredict(DirectRawPredictRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • directRawPredictCallable() + *
  • directRawPredictCallable() *

*
StreamingPredict

StreamingPredict

Perform a streaming online prediction request for Vertex first-party products and frameworks.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingPredictCallable() + *
  • streamingPredictCallable() *

*
ServerStreamingPredict

ServerStreamingPredict

Perform a server-side streaming online prediction request for Vertex LLM streaming.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • serverStreamingPredictCallable() + *
  • serverStreamingPredictCallable() *

*
StreamingRawPredict

StreamingRawPredict

Perform a streaming online prediction request through gRPC.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamingRawPredictCallable() + *
  • streamingRawPredictCallable() *

*
Explain

Explain

Perform an online explanation. *

If [deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id] is specified, the corresponding DeployModel must have [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] populated. If [deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id] is not specified, all DeployedModels must have [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] populated.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • explain(ExplainRequest request) + *
  • explain(ExplainRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • explain(EndpointName endpoint, List instances, Value parameters, String deployedModelId) - *
  • explain(String endpoint, List instances, Value parameters, String deployedModelId) + *
  • explain(EndpointName endpoint, List<Value> instances, Value parameters, String deployedModelId) + *

  • explain(String endpoint, List<Value> instances, Value parameters, String deployedModelId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • explainCallable() + *
  • explainCallable() *

*
CountTokens

CountTokens

Perform a token counting.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • countTokens(CountTokensRequest request) + *
  • countTokens(CountTokensRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • countTokens(EndpointName endpoint, List instances) - *
  • countTokens(String endpoint, List instances) + *
  • countTokens(EndpointName endpoint, List<Value> instances) + *

  • countTokens(String endpoint, List<Value> instances) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • countTokensCallable() + *
  • countTokensCallable() *

*
StreamGenerateContent

StreamGenerateContent

Generate content with multimodal inputs with streaming support.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • streamGenerateContentCallable() + *
  • streamGenerateContentCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleServiceClient.java index b5df0ed7e79d..c9fc724ace5a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleServiceClient.java @@ -74,222 +74,223 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateSchedule

CreateSchedule

Creates a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSchedule(CreateScheduleRequest request) + *
  • createSchedule(CreateScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSchedule(LocationName parent, Schedule schedule) - *
  • createSchedule(String parent, Schedule schedule) + *
  • createSchedule(LocationName parent, Schedule schedule) + *

  • createSchedule(String parent, Schedule schedule) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createScheduleCallable() + *
  • createScheduleCallable() *

*
DeleteSchedule

DeleteSchedule

Deletes a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteScheduleAsync(DeleteScheduleRequest request) + *
  • deleteScheduleAsync(DeleteScheduleRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteScheduleAsync(ScheduleName name) - *
  • deleteScheduleAsync(String name) + *
  • deleteScheduleAsync(ScheduleName name) + *

  • deleteScheduleAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteScheduleOperationCallable() - *
  • deleteScheduleCallable() + *
  • deleteScheduleOperationCallable() + *

  • deleteScheduleCallable() *

*
GetSchedule

GetSchedule

Gets a Schedule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSchedule(GetScheduleRequest request) + *
  • getSchedule(GetScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSchedule(ScheduleName name) - *
  • getSchedule(String name) + *
  • getSchedule(ScheduleName name) + *

  • getSchedule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getScheduleCallable() + *
  • getScheduleCallable() *

*
ListSchedules

ListSchedules

Lists Schedules in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSchedules(ListSchedulesRequest request) + *
  • listSchedules(ListSchedulesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSchedules(LocationName parent) - *
  • listSchedules(String parent) + *
  • listSchedules(LocationName parent) + *

  • listSchedules(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSchedulesPagedCallable() - *
  • listSchedulesCallable() + *
  • listSchedulesPagedCallable() + *

  • listSchedulesCallable() *

*
PauseSchedule

PauseSchedule

Pauses a Schedule. Will mark [Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • pauseSchedule(PauseScheduleRequest request) + *
  • pauseSchedule(PauseScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • pauseSchedule(ScheduleName name) - *
  • pauseSchedule(String name) + *
  • pauseSchedule(ScheduleName name) + *

  • pauseSchedule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • pauseScheduleCallable() + *
  • pauseScheduleCallable() *

*
ResumeSchedule

ResumeSchedule

Resumes a paused Schedule to start scheduling new runs. Will mark [Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to 'ACTIVE'. Only paused Schedule can be resumed. *

When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If [Schedule.catchUp][] is set up true, all missed runs will be scheduled for backfill first.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • resumeSchedule(ResumeScheduleRequest request) + *
  • resumeSchedule(ResumeScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • resumeSchedule(ScheduleName name) - *
  • resumeSchedule(String name) - *
  • resumeSchedule(ScheduleName name, boolean catchUp) - *
  • resumeSchedule(String name, boolean catchUp) + *
  • resumeSchedule(ScheduleName name) + *

  • resumeSchedule(String name) + *

  • resumeSchedule(ScheduleName name, boolean catchUp) + *

  • resumeSchedule(String name, boolean catchUp) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • resumeScheduleCallable() + *
  • resumeScheduleCallable() *

*
UpdateSchedule

UpdateSchedule

Updates an active or paused Schedule. *

When the Schedule is updated, new runs will be scheduled starting from the updated next execution time after the update time based on the time_specification in the updated Schedule. All unstarted runs before the update time will be skipped while already created runs will NOT be paused or canceled.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSchedule(UpdateScheduleRequest request) + *
  • updateSchedule(UpdateScheduleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSchedule(Schedule schedule, FieldMask updateMask) + *
  • updateSchedule(Schedule schedule, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateScheduleCallable() + *
  • updateScheduleCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java index ada966441064..bbb8215aa568 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java @@ -78,182 +78,183 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateSpecialistPool

CreateSpecialistPool

Creates a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSpecialistPoolAsync(CreateSpecialistPoolRequest request) + *
  • createSpecialistPoolAsync(CreateSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSpecialistPoolAsync(LocationName parent, SpecialistPool specialistPool) - *
  • createSpecialistPoolAsync(String parent, SpecialistPool specialistPool) + *
  • createSpecialistPoolAsync(LocationName parent, SpecialistPool specialistPool) + *

  • createSpecialistPoolAsync(String parent, SpecialistPool specialistPool) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSpecialistPoolOperationCallable() - *
  • createSpecialistPoolCallable() + *
  • createSpecialistPoolOperationCallable() + *

  • createSpecialistPoolCallable() *

*
GetSpecialistPool

GetSpecialistPool

Gets a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSpecialistPool(GetSpecialistPoolRequest request) + *
  • getSpecialistPool(GetSpecialistPoolRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSpecialistPool(SpecialistPoolName name) - *
  • getSpecialistPool(String name) + *
  • getSpecialistPool(SpecialistPoolName name) + *

  • getSpecialistPool(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSpecialistPoolCallable() + *
  • getSpecialistPoolCallable() *

*
ListSpecialistPools

ListSpecialistPools

Lists SpecialistPools in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSpecialistPools(ListSpecialistPoolsRequest request) + *
  • listSpecialistPools(ListSpecialistPoolsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSpecialistPools(LocationName parent) - *
  • listSpecialistPools(String parent) + *
  • listSpecialistPools(LocationName parent) + *

  • listSpecialistPools(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSpecialistPoolsPagedCallable() - *
  • listSpecialistPoolsCallable() + *
  • listSpecialistPoolsPagedCallable() + *

  • listSpecialistPoolsCallable() *

*
DeleteSpecialistPool

DeleteSpecialistPool

Deletes a SpecialistPool as well as all Specialists in the pool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request) + *
  • deleteSpecialistPoolAsync(DeleteSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteSpecialistPoolAsync(SpecialistPoolName name) - *
  • deleteSpecialistPoolAsync(String name) + *
  • deleteSpecialistPoolAsync(SpecialistPoolName name) + *

  • deleteSpecialistPoolAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSpecialistPoolOperationCallable() - *
  • deleteSpecialistPoolCallable() + *
  • deleteSpecialistPoolOperationCallable() + *

  • deleteSpecialistPoolCallable() *

*
UpdateSpecialistPool

UpdateSpecialistPool

Updates a SpecialistPool.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSpecialistPoolAsync(UpdateSpecialistPoolRequest request) + *
  • updateSpecialistPoolAsync(UpdateSpecialistPoolRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateSpecialistPoolAsync(SpecialistPool specialistPool, FieldMask updateMask) + *
  • updateSpecialistPoolAsync(SpecialistPool specialistPool, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSpecialistPoolOperationCallable() - *
  • updateSpecialistPoolCallable() + *
  • updateSpecialistPoolOperationCallable() + *

  • updateSpecialistPoolCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java index cfd2b996f600..56721f3c6a05 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java @@ -73,646 +73,647 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateTensorboard

CreateTensorboard

Creates a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardAsync(CreateTensorboardRequest request) + *
  • createTensorboardAsync(CreateTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createTensorboardAsync(TensorboardName parent, Tensorboard tensorboard) - *
  • createTensorboardAsync(String parent, Tensorboard tensorboard) + *
  • createTensorboardAsync(TensorboardName parent, Tensorboard tensorboard) + *

  • createTensorboardAsync(String parent, Tensorboard tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardOperationCallable() - *
  • createTensorboardCallable() + *
  • createTensorboardOperationCallable() + *

  • createTensorboardCallable() *

*
GetTensorboard

GetTensorboard

Gets a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboard(GetTensorboardRequest request) + *
  • getTensorboard(GetTensorboardRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboard(TensorboardName name) - *
  • getTensorboard(String name) + *
  • getTensorboard(TensorboardName name) + *

  • getTensorboard(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardCallable() + *
  • getTensorboardCallable() *

*
UpdateTensorboard

UpdateTensorboard

Updates a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardAsync(UpdateTensorboardRequest request) + *
  • updateTensorboardAsync(UpdateTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateTensorboardAsync(Tensorboard tensorboard, FieldMask updateMask) + *
  • updateTensorboardAsync(Tensorboard tensorboard, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardOperationCallable() - *
  • updateTensorboardCallable() + *
  • updateTensorboardOperationCallable() + *

  • updateTensorboardCallable() *

*
ListTensorboards

ListTensorboards

Lists Tensorboards in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboards(ListTensorboardsRequest request) + *
  • listTensorboards(ListTensorboardsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboards(LocationName parent) - *
  • listTensorboards(String parent) + *
  • listTensorboards(LocationName parent) + *

  • listTensorboards(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardsPagedCallable() - *
  • listTensorboardsCallable() + *
  • listTensorboardsPagedCallable() + *

  • listTensorboardsCallable() *

*
DeleteTensorboard

DeleteTensorboard

Deletes a Tensorboard.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardAsync(DeleteTensorboardRequest request) + *
  • deleteTensorboardAsync(DeleteTensorboardRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardAsync(TensorboardName name) - *
  • deleteTensorboardAsync(String name) + *
  • deleteTensorboardAsync(TensorboardName name) + *

  • deleteTensorboardAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardOperationCallable() - *
  • deleteTensorboardCallable() + *
  • deleteTensorboardOperationCallable() + *

  • deleteTensorboardCallable() *

*
ReadTensorboardUsage

ReadTensorboardUsage

Returns a list of monthly active users for a given TensorBoard instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardUsage(ReadTensorboardUsageRequest request) + *
  • readTensorboardUsage(ReadTensorboardUsageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardUsage(TensorboardName tensorboard) - *
  • readTensorboardUsage(String tensorboard) + *
  • readTensorboardUsage(TensorboardName tensorboard) + *

  • readTensorboardUsage(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardUsageCallable() + *
  • readTensorboardUsageCallable() *

*
ReadTensorboardSize

ReadTensorboardSize

Returns the storage size for a given TensorBoard instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardSize(ReadTensorboardSizeRequest request) + *
  • readTensorboardSize(ReadTensorboardSizeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardSize(TensorboardName tensorboard) - *
  • readTensorboardSize(String tensorboard) + *
  • readTensorboardSize(TensorboardName tensorboard) + *

  • readTensorboardSize(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardSizeCallable() + *
  • readTensorboardSizeCallable() *

*
CreateTensorboardExperiment

CreateTensorboardExperiment

Creates a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardExperiment(CreateTensorboardExperimentRequest request) + *
  • createTensorboardExperiment(CreateTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardExperiment(TensorboardExperimentName parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) - *
  • createTensorboardExperiment(String parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) + *
  • createTensorboardExperiment(TensorboardExperimentName parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) + *

  • createTensorboardExperiment(String parent, TensorboardExperiment tensorboardExperiment, String tensorboardExperimentId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardExperimentCallable() + *
  • createTensorboardExperimentCallable() *

*
GetTensorboardExperiment

GetTensorboardExperiment

Gets a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardExperiment(GetTensorboardExperimentRequest request) + *
  • getTensorboardExperiment(GetTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardExperiment(TensorboardExperimentName name) - *
  • getTensorboardExperiment(String name) + *
  • getTensorboardExperiment(TensorboardExperimentName name) + *

  • getTensorboardExperiment(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardExperimentCallable() + *
  • getTensorboardExperimentCallable() *

*
UpdateTensorboardExperiment

UpdateTensorboardExperiment

Updates a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardExperiment(UpdateTensorboardExperimentRequest request) + *
  • updateTensorboardExperiment(UpdateTensorboardExperimentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardExperiment(TensorboardExperiment tensorboardExperiment, FieldMask updateMask) + *
  • updateTensorboardExperiment(TensorboardExperiment tensorboardExperiment, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardExperimentCallable() + *
  • updateTensorboardExperimentCallable() *

*
ListTensorboardExperiments

ListTensorboardExperiments

Lists TensorboardExperiments in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardExperiments(ListTensorboardExperimentsRequest request) + *
  • listTensorboardExperiments(ListTensorboardExperimentsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardExperiments(TensorboardName parent) - *
  • listTensorboardExperiments(String parent) + *
  • listTensorboardExperiments(TensorboardName parent) + *

  • listTensorboardExperiments(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardExperimentsPagedCallable() - *
  • listTensorboardExperimentsCallable() + *
  • listTensorboardExperimentsPagedCallable() + *

  • listTensorboardExperimentsCallable() *

*
DeleteTensorboardExperiment

DeleteTensorboardExperiment

Deletes a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardExperimentAsync(DeleteTensorboardExperimentRequest request) + *
  • deleteTensorboardExperimentAsync(DeleteTensorboardExperimentRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardExperimentAsync(TensorboardExperimentName name) - *
  • deleteTensorboardExperimentAsync(String name) + *
  • deleteTensorboardExperimentAsync(TensorboardExperimentName name) + *

  • deleteTensorboardExperimentAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardExperimentOperationCallable() - *
  • deleteTensorboardExperimentCallable() + *
  • deleteTensorboardExperimentOperationCallable() + *

  • deleteTensorboardExperimentCallable() *

*
CreateTensorboardRun

CreateTensorboardRun

Creates a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardRun(CreateTensorboardRunRequest request) + *
  • createTensorboardRun(CreateTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardRun(TensorboardRunName parent, TensorboardRun tensorboardRun, String tensorboardRunId) - *
  • createTensorboardRun(String parent, TensorboardRun tensorboardRun, String tensorboardRunId) + *
  • createTensorboardRun(TensorboardRunName parent, TensorboardRun tensorboardRun, String tensorboardRunId) + *

  • createTensorboardRun(String parent, TensorboardRun tensorboardRun, String tensorboardRunId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardRunCallable() + *
  • createTensorboardRunCallable() *

*
BatchCreateTensorboardRuns

BatchCreateTensorboardRuns

Batch create TensorboardRuns.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateTensorboardRuns(TensorboardExperimentName parent, List requests) - *
  • batchCreateTensorboardRuns(String parent, List requests) - *
  • batchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest request) + *
  • batchCreateTensorboardRuns(TensorboardExperimentName parent, List<CreateTensorboardRunRequest> requests) + *

  • batchCreateTensorboardRuns(String parent, List<CreateTensorboardRunRequest> requests) + *

  • batchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateTensorboardRunsCallable() + *
  • batchCreateTensorboardRunsCallable() *

*
GetTensorboardRun

GetTensorboardRun

Gets a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardRun(GetTensorboardRunRequest request) + *
  • getTensorboardRun(GetTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardRun(TensorboardRunName name) - *
  • getTensorboardRun(String name) + *
  • getTensorboardRun(TensorboardRunName name) + *

  • getTensorboardRun(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardRunCallable() + *
  • getTensorboardRunCallable() *

*
UpdateTensorboardRun

UpdateTensorboardRun

Updates a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardRun(UpdateTensorboardRunRequest request) + *
  • updateTensorboardRun(UpdateTensorboardRunRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardRun(TensorboardRun tensorboardRun, FieldMask updateMask) + *
  • updateTensorboardRun(TensorboardRun tensorboardRun, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardRunCallable() + *
  • updateTensorboardRunCallable() *

*
ListTensorboardRuns

ListTensorboardRuns

Lists TensorboardRuns in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardRuns(ListTensorboardRunsRequest request) + *
  • listTensorboardRuns(ListTensorboardRunsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardRuns(TensorboardExperimentName parent) - *
  • listTensorboardRuns(String parent) + *
  • listTensorboardRuns(TensorboardExperimentName parent) + *

  • listTensorboardRuns(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardRunsPagedCallable() - *
  • listTensorboardRunsCallable() + *
  • listTensorboardRunsPagedCallable() + *

  • listTensorboardRunsCallable() *

*
DeleteTensorboardRun

DeleteTensorboardRun

Deletes a TensorboardRun.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardRunAsync(DeleteTensorboardRunRequest request) + *
  • deleteTensorboardRunAsync(DeleteTensorboardRunRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardRunAsync(TensorboardRunName name) - *
  • deleteTensorboardRunAsync(String name) + *
  • deleteTensorboardRunAsync(TensorboardRunName name) + *

  • deleteTensorboardRunAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardRunOperationCallable() - *
  • deleteTensorboardRunCallable() + *
  • deleteTensorboardRunOperationCallable() + *

  • deleteTensorboardRunCallable() *

*
BatchCreateTensorboardTimeSeries

BatchCreateTensorboardTimeSeries

Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateTensorboardTimeSeries(TensorboardExperimentName parent, List requests) - *
  • batchCreateTensorboardTimeSeries(String parent, List requests) - *
  • batchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest request) + *
  • batchCreateTensorboardTimeSeries(TensorboardExperimentName parent, List<CreateTensorboardTimeSeriesRequest> requests) + *

  • batchCreateTensorboardTimeSeries(String parent, List<CreateTensorboardTimeSeriesRequest> requests) + *

  • batchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateTensorboardTimeSeriesCallable() + *
  • batchCreateTensorboardTimeSeriesCallable() *

*
CreateTensorboardTimeSeries

CreateTensorboardTimeSeries

Creates a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest request) + *
  • createTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTensorboardTimeSeries(TensorboardTimeSeriesName parent, TensorboardTimeSeries tensorboardTimeSeries) - *
  • createTensorboardTimeSeries(String parent, TensorboardTimeSeries tensorboardTimeSeries) + *
  • createTensorboardTimeSeries(TensorboardTimeSeriesName parent, TensorboardTimeSeries tensorboardTimeSeries) + *

  • createTensorboardTimeSeries(String parent, TensorboardTimeSeries tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTensorboardTimeSeriesCallable() + *
  • createTensorboardTimeSeriesCallable() *

*
GetTensorboardTimeSeries

GetTensorboardTimeSeries

Gets a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTensorboardTimeSeries(GetTensorboardTimeSeriesRequest request) + *
  • getTensorboardTimeSeries(GetTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTensorboardTimeSeries(TensorboardTimeSeriesName name) - *
  • getTensorboardTimeSeries(String name) + *
  • getTensorboardTimeSeries(TensorboardTimeSeriesName name) + *

  • getTensorboardTimeSeries(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTensorboardTimeSeriesCallable() + *
  • getTensorboardTimeSeriesCallable() *

*
UpdateTensorboardTimeSeries

UpdateTensorboardTimeSeries

Updates a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest request) + *
  • updateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTensorboardTimeSeries(TensorboardTimeSeries tensorboardTimeSeries, FieldMask updateMask) + *
  • updateTensorboardTimeSeries(TensorboardTimeSeries tensorboardTimeSeries, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTensorboardTimeSeriesCallable() + *
  • updateTensorboardTimeSeriesCallable() *

*
ListTensorboardTimeSeries

ListTensorboardTimeSeries

Lists TensorboardTimeSeries in a Location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTensorboardTimeSeries(ListTensorboardTimeSeriesRequest request) + *
  • listTensorboardTimeSeries(ListTensorboardTimeSeriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTensorboardTimeSeries(TensorboardRunName parent) - *
  • listTensorboardTimeSeries(String parent) + *
  • listTensorboardTimeSeries(TensorboardRunName parent) + *

  • listTensorboardTimeSeries(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTensorboardTimeSeriesPagedCallable() - *
  • listTensorboardTimeSeriesCallable() + *
  • listTensorboardTimeSeriesPagedCallable() + *

  • listTensorboardTimeSeriesCallable() *

*
DeleteTensorboardTimeSeries

DeleteTensorboardTimeSeries

Deletes a TensorboardTimeSeries.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTensorboardTimeSeriesAsync(DeleteTensorboardTimeSeriesRequest request) + *
  • deleteTensorboardTimeSeriesAsync(DeleteTensorboardTimeSeriesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteTensorboardTimeSeriesAsync(TensorboardTimeSeriesName name) - *
  • deleteTensorboardTimeSeriesAsync(String name) + *
  • deleteTensorboardTimeSeriesAsync(TensorboardTimeSeriesName name) + *

  • deleteTensorboardTimeSeriesAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTensorboardTimeSeriesOperationCallable() - *
  • deleteTensorboardTimeSeriesCallable() + *
  • deleteTensorboardTimeSeriesOperationCallable() + *

  • deleteTensorboardTimeSeriesCallable() *

*
BatchReadTensorboardTimeSeriesData

BatchReadTensorboardTimeSeriesData

Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest request) + *
  • batchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • batchReadTensorboardTimeSeriesData(TensorboardName tensorboard) - *
  • batchReadTensorboardTimeSeriesData(String tensorboard) + *
  • batchReadTensorboardTimeSeriesData(TensorboardName tensorboard) + *

  • batchReadTensorboardTimeSeriesData(String tensorboard) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchReadTensorboardTimeSeriesDataCallable() + *
  • batchReadTensorboardTimeSeriesDataCallable() *

*
ReadTensorboardTimeSeriesData

ReadTensorboardTimeSeriesData

Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can't be greater than 10k.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • readTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest request) + *
  • readTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • readTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) - *
  • readTensorboardTimeSeriesData(String tensorboardTimeSeries) + *
  • readTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) + *

  • readTensorboardTimeSeriesData(String tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardTimeSeriesDataCallable() + *
  • readTensorboardTimeSeriesDataCallable() *

*
ReadTensorboardBlobData

ReadTensorboardBlobData

Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • readTensorboardBlobDataCallable() + *
  • readTensorboardBlobDataCallable() *

*
WriteTensorboardExperimentData

WriteTensorboardExperimentData

Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's. If any data fail to be ingested, an error is returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeTensorboardExperimentData(WriteTensorboardExperimentDataRequest request) + *
  • writeTensorboardExperimentData(WriteTensorboardExperimentDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeTensorboardExperimentData(TensorboardExperimentName tensorboardExperiment, List writeRunDataRequests) - *
  • writeTensorboardExperimentData(String tensorboardExperiment, List writeRunDataRequests) + *
  • writeTensorboardExperimentData(TensorboardExperimentName tensorboardExperiment, List<WriteTensorboardRunDataRequest> writeRunDataRequests) + *

  • writeTensorboardExperimentData(String tensorboardExperiment, List<WriteTensorboardRunDataRequest> writeRunDataRequests) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeTensorboardExperimentDataCallable() + *
  • writeTensorboardExperimentDataCallable() *

*
WriteTensorboardRunData

WriteTensorboardRunData

Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If any data fail to be ingested, an error is returned.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • writeTensorboardRunData(WriteTensorboardRunDataRequest request) + *
  • writeTensorboardRunData(WriteTensorboardRunDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • writeTensorboardRunData(TensorboardRunName tensorboardRun, List timeSeriesData) - *
  • writeTensorboardRunData(String tensorboardRun, List timeSeriesData) + *
  • writeTensorboardRunData(TensorboardRunName tensorboardRun, List<TimeSeriesData> timeSeriesData) + *

  • writeTensorboardRunData(String tensorboardRun, List<TimeSeriesData> timeSeriesData) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • writeTensorboardRunDataCallable() + *
  • writeTensorboardRunDataCallable() *

*
ExportTensorboardTimeSeriesData

ExportTensorboardTimeSeriesData

Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest request) + *
  • exportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • exportTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) - *
  • exportTensorboardTimeSeriesData(String tensorboardTimeSeries) + *
  • exportTensorboardTimeSeriesData(TensorboardTimeSeriesName tensorboardTimeSeries) + *

  • exportTensorboardTimeSeriesData(String tensorboardTimeSeries) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportTensorboardTimeSeriesDataPagedCallable() - *
  • exportTensorboardTimeSeriesDataCallable() + *
  • exportTensorboardTimeSeriesDataPagedCallable() + *

  • exportTensorboardTimeSeriesDataCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java index 1a46335a8ee0..7a866c353821 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java @@ -74,348 +74,349 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateStudy

CreateStudy

Creates a Study. A resource name will be generated after creation of the Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createStudy(CreateStudyRequest request) + *
  • createStudy(CreateStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createStudy(LocationName parent, Study study) - *
  • createStudy(String parent, Study study) + *
  • createStudy(LocationName parent, Study study) + *

  • createStudy(String parent, Study study) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createStudyCallable() + *
  • createStudyCallable() *

*
GetStudy

GetStudy

Gets a Study by name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getStudy(GetStudyRequest request) + *
  • getStudy(GetStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getStudy(StudyName name) - *
  • getStudy(String name) + *
  • getStudy(StudyName name) + *

  • getStudy(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getStudyCallable() + *
  • getStudyCallable() *

*
ListStudies

ListStudies

Lists all the studies in a region for an associated project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listStudies(ListStudiesRequest request) + *
  • listStudies(ListStudiesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listStudies(LocationName parent) - *
  • listStudies(String parent) + *
  • listStudies(LocationName parent) + *

  • listStudies(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listStudiesPagedCallable() - *
  • listStudiesCallable() + *
  • listStudiesPagedCallable() + *

  • listStudiesCallable() *

*
DeleteStudy

DeleteStudy

Deletes a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteStudy(DeleteStudyRequest request) + *
  • deleteStudy(DeleteStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteStudy(StudyName name) - *
  • deleteStudy(String name) + *
  • deleteStudy(StudyName name) + *

  • deleteStudy(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteStudyCallable() + *
  • deleteStudyCallable() *

*
LookupStudy

LookupStudy

Looks a study up using the user-defined display_name field instead of the fully qualified resource name.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • lookupStudy(LookupStudyRequest request) + *
  • lookupStudy(LookupStudyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • lookupStudy(LocationName parent) - *
  • lookupStudy(String parent) + *
  • lookupStudy(LocationName parent) + *

  • lookupStudy(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • lookupStudyCallable() + *
  • lookupStudyCallable() *

*
SuggestTrials

SuggestTrials

Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a [SuggestTrialsResponse][google.cloud.aiplatform.v1beta1.SuggestTrialsResponse].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • suggestTrialsAsync(SuggestTrialsRequest request) + *
  • suggestTrialsAsync(SuggestTrialsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • suggestTrialsOperationCallable() - *
  • suggestTrialsCallable() + *
  • suggestTrialsOperationCallable() + *

  • suggestTrialsCallable() *

*
CreateTrial

CreateTrial

Adds a user provided Trial to a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTrial(CreateTrialRequest request) + *
  • createTrial(CreateTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTrial(StudyName parent, Trial trial) - *
  • createTrial(String parent, Trial trial) + *
  • createTrial(StudyName parent, Trial trial) + *

  • createTrial(String parent, Trial trial) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTrialCallable() + *
  • createTrialCallable() *

*
GetTrial

GetTrial

Gets a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTrial(GetTrialRequest request) + *
  • getTrial(GetTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTrial(TrialName name) - *
  • getTrial(String name) + *
  • getTrial(TrialName name) + *

  • getTrial(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTrialCallable() + *
  • getTrialCallable() *

*
ListTrials

ListTrials

Lists the Trials associated with a Study.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTrials(ListTrialsRequest request) + *
  • listTrials(ListTrialsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTrials(StudyName parent) - *
  • listTrials(String parent) + *
  • listTrials(StudyName parent) + *

  • listTrials(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTrialsPagedCallable() - *
  • listTrialsCallable() + *
  • listTrialsPagedCallable() + *

  • listTrialsCallable() *

*
AddTrialMeasurement

AddTrialMeasurement

Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • addTrialMeasurement(AddTrialMeasurementRequest request) + *
  • addTrialMeasurement(AddTrialMeasurementRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • addTrialMeasurementCallable() + *
  • addTrialMeasurementCallable() *

*
CompleteTrial

CompleteTrial

Marks a Trial as complete.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • completeTrial(CompleteTrialRequest request) + *
  • completeTrial(CompleteTrialRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • completeTrialCallable() + *
  • completeTrialCallable() *

*
DeleteTrial

DeleteTrial

Deletes a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTrial(DeleteTrialRequest request) + *
  • deleteTrial(DeleteTrialRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteTrial(TrialName name) - *
  • deleteTrial(String name) + *
  • deleteTrial(TrialName name) + *

  • deleteTrial(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTrialCallable() + *
  • deleteTrialCallable() *

*
CheckTrialEarlyStoppingState

CheckTrialEarlyStoppingState

Checks whether a Trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a [CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1beta1.CheckTrialEarlyStoppingStateResponse].

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • checkTrialEarlyStoppingStateAsync(CheckTrialEarlyStoppingStateRequest request) + *
  • checkTrialEarlyStoppingStateAsync(CheckTrialEarlyStoppingStateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • checkTrialEarlyStoppingStateOperationCallable() - *
  • checkTrialEarlyStoppingStateCallable() + *
  • checkTrialEarlyStoppingStateOperationCallable() + *

  • checkTrialEarlyStoppingStateCallable() *

*
StopTrial

StopTrial

Stops a Trial.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • stopTrial(StopTrialRequest request) + *
  • stopTrial(StopTrialRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • stopTrialCallable() + *
  • stopTrialCallable() *

*
ListOptimalTrials

ListOptimalTrials

Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listOptimalTrials(ListOptimalTrialsRequest request) + *
  • listOptimalTrials(ListOptimalTrialsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listOptimalTrials(StudyName parent) - *
  • listOptimalTrials(String parent) + *
  • listOptimalTrials(StudyName parent) + *

  • listOptimalTrials(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listOptimalTrialsCallable() + *
  • listOptimalTrialsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java index 0a0aad93fee8..9b563ac58fbb 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java @@ -798,6 +798,15 @@ public DatasetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1146,7 +1155,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1690,6 +1698,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public DatasetServiceStubSettings build() throws IOException { return new DatasetServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java index 6e7b7ab27df1..32c88ef13b7f 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java @@ -433,6 +433,15 @@ public DeploymentResourcePoolServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -658,7 +667,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -869,6 +877,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public DeploymentResourcePoolServiceStubSettings build() throws IOException { return new DeploymentResourcePoolServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java index 1e0fce738a19..b27c43c46bea 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java @@ -383,6 +383,15 @@ public EndpointServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -635,7 +644,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -967,6 +975,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public EndpointServiceStubSettings build() throws IOException { return new EndpointServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreAdminServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreAdminServiceStubSettings.java index ec0c693c392b..bd6c5e2bffbf 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreAdminServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreAdminServiceStubSettings.java @@ -610,6 +610,15 @@ public FeatureOnlineStoreAdminServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -926,7 +935,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1359,6 +1367,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureOnlineStoreAdminServiceStubSettings build() throws IOException { return new FeatureOnlineStoreAdminServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreServiceStubSettings.java index 217b28ee4327..6ca828f52150 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureOnlineStoreServiceStubSettings.java @@ -223,6 +223,15 @@ public FeatureOnlineStoreServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -394,7 +403,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -495,6 +503,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureOnlineStoreServiceStubSettings build() throws IOException { return new FeatureOnlineStoreServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureRegistryServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureRegistryServiceStubSettings.java index a0d2a0d93c8f..aaab1c66b2be 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureRegistryServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeatureRegistryServiceStubSettings.java @@ -464,6 +464,15 @@ public FeatureRegistryServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -730,7 +739,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1117,6 +1125,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeatureRegistryServiceStubSettings build() throws IOException { return new FeatureRegistryServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java index 796ae88c0007..f9d03dffb5f7 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java @@ -236,6 +236,15 @@ public FeaturestoreOnlineServingServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -425,7 +434,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -538,6 +546,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeaturestoreOnlineServingServiceStubSettings build() throws IOException { return new FeaturestoreOnlineServingServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java index 51fbfc47214a..419ae4e307c4 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java @@ -759,6 +759,15 @@ public FeaturestoreServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1169,7 +1178,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1895,6 +1903,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FeaturestoreServiceStubSettings build() throws IOException { return new FeaturestoreServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java index 31412d959c60..1313ffacfe45 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java @@ -399,6 +399,15 @@ public IndexEndpointServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -658,7 +667,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -994,6 +1002,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public IndexEndpointServiceStubSettings build() throws IOException { return new IndexEndpointServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java index 4ddf08d9ca00..4c68796d7eaa 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java @@ -348,6 +348,15 @@ public IndexServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -576,7 +585,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -824,6 +832,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public IndexServiceStubSettings build() throws IOException { return new IndexServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java index f96cf2eec245..3d897732ae99 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java @@ -1192,6 +1192,15 @@ public JobServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1715,7 +1724,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2444,6 +2452,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public JobServiceStubSettings build() throws IOException { return new JobServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStubSettings.java index ca2f1557af8e..92561d3e2ac4 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStubSettings.java @@ -219,6 +219,15 @@ public LlmUtilityServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -388,7 +397,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -489,6 +497,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public LlmUtilityServiceStubSettings build() throws IOException { return new LlmUtilityServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MatchServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MatchServiceStubSettings.java index 51f2cdd0d398..4d28529be3a0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MatchServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MatchServiceStubSettings.java @@ -220,6 +220,15 @@ public MatchServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -389,7 +398,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -490,6 +498,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MatchServiceStubSettings build() throws IOException { return new MatchServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java index afcaaca85284..7200056663b7 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java @@ -855,6 +855,15 @@ public MetadataServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1305,7 +1314,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1992,6 +2000,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MetadataServiceStubSettings build() throws IOException { return new MetadataServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java index 58cabc068f09..50b67eecf414 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java @@ -325,6 +325,15 @@ public MigrationServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -508,7 +517,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -649,6 +657,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MigrationServiceStubSettings build() throws IOException { return new MigrationServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelGardenServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelGardenServiceStubSettings.java index f2706a57d43c..39b4634613c4 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelGardenServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelGardenServiceStubSettings.java @@ -285,6 +285,15 @@ public ModelGardenServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -459,7 +468,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -563,6 +571,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ModelGardenServiceStubSettings build() throws IOException { return new ModelGardenServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java index 6493a4c1e618..7a8158870144 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java @@ -704,6 +704,15 @@ public ModelServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1046,7 +1055,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1525,6 +1533,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ModelServiceStubSettings build() throws IOException { return new ModelServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PersistentResourceServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PersistentResourceServiceStubSettings.java index 68ed6be672cb..7578871b1ca8 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PersistentResourceServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PersistentResourceServiceStubSettings.java @@ -376,6 +376,15 @@ public PersistentResourceServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -599,7 +608,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -841,6 +849,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PersistentResourceServiceStubSettings build() throws IOException { return new PersistentResourceServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java index f3bf36a563af..4a85050c8f48 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java @@ -464,6 +464,15 @@ public PipelineServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -736,7 +745,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1039,6 +1047,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PipelineServiceStubSettings build() throws IOException { return new PipelineServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java index 3834d6796222..f707b85c34dd 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java @@ -294,6 +294,15 @@ public PredictionServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -521,7 +530,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -697,6 +705,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PredictionServiceStubSettings build() throws IOException { return new PredictionServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ScheduleServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ScheduleServiceStubSettings.java index 4e3066b13c43..d411c76c404e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ScheduleServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ScheduleServiceStubSettings.java @@ -325,6 +325,15 @@ public ScheduleServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -531,7 +540,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -714,6 +722,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ScheduleServiceStubSettings build() throws IOException { return new ScheduleServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java index c20e341236e0..901272dff9bc 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java @@ -348,6 +348,15 @@ public SpecialistPoolServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -577,7 +586,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -815,6 +823,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public SpecialistPoolServiceStubSettings build() throws IOException { return new SpecialistPoolServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java index 72d3f7057570..bc30fc8cff4c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java @@ -940,6 +940,15 @@ public TensorboardServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1402,7 +1411,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2033,6 +2041,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public TensorboardServiceStubSettings build() throws IOException { return new TensorboardServiceStubSettings(this); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java index 84cf1f2f288e..af38b88adddd 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java @@ -461,6 +461,15 @@ public VizierServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -741,7 +750,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1047,6 +1055,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public VizierServiceStubSettings build() throws IOException { return new VizierServiceStubSettings(this); diff --git a/java-alloydb/README.md b/java-alloydb/README.md index 6e792cff3ee3..cbec0f2ba7c7 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-alloydb/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.22.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java index 58b0dedd3e6d..81b531b11375 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java @@ -66,637 +66,638 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListClusters

ListClusters

Lists Clusters in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listClusters(ListClustersRequest request) + *
  • listClusters(ListClustersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listClusters(LocationName parent) - *
  • listClusters(String parent) + *
  • listClusters(LocationName parent) + *

  • listClusters(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listClustersPagedCallable() - *
  • listClustersCallable() + *
  • listClustersPagedCallable() + *

  • listClustersCallable() *

*
GetCluster

GetCluster

Gets details of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCluster(GetClusterRequest request) + *
  • getCluster(GetClusterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCluster(ClusterName name) - *
  • getCluster(String name) + *
  • getCluster(ClusterName name) + *

  • getCluster(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getClusterCallable() + *
  • getClusterCallable() *

*
CreateCluster

CreateCluster

Creates a new Cluster in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createClusterAsync(CreateClusterRequest request) + *
  • createClusterAsync(CreateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createClusterOperationCallable() - *
  • createClusterCallable() + *
  • createClusterOperationCallable() + *

  • createClusterCallable() *

*
UpdateCluster

UpdateCluster

Updates the parameters of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateClusterAsync(UpdateClusterRequest request) + *
  • updateClusterAsync(UpdateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) + *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateClusterOperationCallable() - *
  • updateClusterCallable() + *
  • updateClusterOperationCallable() + *

  • updateClusterCallable() *

*
DeleteCluster

DeleteCluster

Deletes a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteClusterAsync(DeleteClusterRequest request) + *
  • deleteClusterAsync(DeleteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteClusterAsync(ClusterName name) - *
  • deleteClusterAsync(String name) + *
  • deleteClusterAsync(ClusterName name) + *

  • deleteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteClusterOperationCallable() - *
  • deleteClusterCallable() + *
  • deleteClusterOperationCallable() + *

  • deleteClusterCallable() *

*
PromoteCluster

PromoteCluster

Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • promoteClusterAsync(PromoteClusterRequest request) + *
  • promoteClusterAsync(PromoteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • promoteClusterAsync(ClusterName name) - *
  • promoteClusterAsync(String name) + *
  • promoteClusterAsync(ClusterName name) + *

  • promoteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • promoteClusterOperationCallable() - *
  • promoteClusterCallable() + *
  • promoteClusterOperationCallable() + *

  • promoteClusterCallable() *

*
RestoreCluster

RestoreCluster

Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restoreClusterAsync(RestoreClusterRequest request) + *
  • restoreClusterAsync(RestoreClusterRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restoreClusterOperationCallable() - *
  • restoreClusterCallable() + *
  • restoreClusterOperationCallable() + *

  • restoreClusterCallable() *

*
CreateSecondaryCluster

CreateSecondaryCluster

Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) + *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryClusterOperationCallable() - *
  • createSecondaryClusterCallable() + *
  • createSecondaryClusterOperationCallable() + *

  • createSecondaryClusterCallable() *

*
ListInstances

ListInstances

Lists Instances in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listInstances(ListInstancesRequest request) + *
  • listInstances(ListInstancesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listInstances(ClusterName parent) - *
  • listInstances(String parent) + *
  • listInstances(ClusterName parent) + *

  • listInstances(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listInstancesPagedCallable() - *
  • listInstancesCallable() + *
  • listInstancesPagedCallable() + *

  • listInstancesCallable() *

*
GetInstance

GetInstance

Gets details of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getInstance(GetInstanceRequest request) + *
  • getInstance(GetInstanceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getInstance(InstanceName name) - *
  • getInstance(String name) + *
  • getInstance(InstanceName name) + *

  • getInstance(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getInstanceCallable() + *
  • getInstanceCallable() *

*
CreateInstance

CreateInstance

Creates a new Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createInstanceAsync(CreateInstanceRequest request) + *
  • createInstanceAsync(CreateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createInstanceOperationCallable() - *
  • createInstanceCallable() + *
  • createInstanceOperationCallable() + *

  • createInstanceCallable() *

*
CreateSecondaryInstance

CreateSecondaryInstance

Creates a new SECONDARY Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) + *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryInstanceOperationCallable() - *
  • createSecondaryInstanceCallable() + *
  • createSecondaryInstanceOperationCallable() + *

  • createSecondaryInstanceCallable() *

*
BatchCreateInstances

BatchCreateInstances

Creates new instances under the given project, location and cluster. There can be only one primary instance in a cluster. If the primary instance exists in the cluster as well as this request, then API will throw an error. The primary instance should exist before any read pool instance is created. If the primary instance is a part of the request payload, then the API will take care of creating instances in the correct order. This method is here to support Google-internal use cases, and is not meant for external customers to consume. Please do not start relying on it; its behavior is subject to change without notice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) + *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateInstancesOperationCallable() - *
  • batchCreateInstancesCallable() + *
  • batchCreateInstancesOperationCallable() + *

  • batchCreateInstancesCallable() *

*
UpdateInstance

UpdateInstance

Updates the parameters of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateInstanceAsync(UpdateInstanceRequest request) + *
  • updateInstanceAsync(UpdateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) + *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateInstanceOperationCallable() - *
  • updateInstanceCallable() + *
  • updateInstanceOperationCallable() + *

  • updateInstanceCallable() *

*
DeleteInstance

DeleteInstance

Deletes a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteInstanceAsync(DeleteInstanceRequest request) + *
  • deleteInstanceAsync(DeleteInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteInstanceAsync(InstanceName name) - *
  • deleteInstanceAsync(String name) + *
  • deleteInstanceAsync(InstanceName name) + *

  • deleteInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteInstanceOperationCallable() - *
  • deleteInstanceCallable() + *
  • deleteInstanceOperationCallable() + *

  • deleteInstanceCallable() *

*
FailoverInstance

FailoverInstance

Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • failoverInstanceAsync(FailoverInstanceRequest request) + *
  • failoverInstanceAsync(FailoverInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • failoverInstanceAsync(InstanceName name) - *
  • failoverInstanceAsync(String name) + *
  • failoverInstanceAsync(InstanceName name) + *

  • failoverInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • failoverInstanceOperationCallable() - *
  • failoverInstanceCallable() + *
  • failoverInstanceOperationCallable() + *

  • failoverInstanceCallable() *

*
InjectFault

InjectFault

Injects fault in an instance. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • injectFaultAsync(InjectFaultRequest request) + *
  • injectFaultAsync(InjectFaultRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) + *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) + *

  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • injectFaultOperationCallable() - *
  • injectFaultCallable() + *
  • injectFaultOperationCallable() + *

  • injectFaultCallable() *

*
RestartInstance

RestartInstance

Restart an Instance in a cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restartInstanceAsync(RestartInstanceRequest request) + *
  • restartInstanceAsync(RestartInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • restartInstanceAsync(InstanceName name) - *
  • restartInstanceAsync(String name) + *
  • restartInstanceAsync(InstanceName name) + *

  • restartInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restartInstanceOperationCallable() - *
  • restartInstanceCallable() + *
  • restartInstanceOperationCallable() + *

  • restartInstanceCallable() *

*
ListBackups

ListBackups

Lists Backups in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBackups(ListBackupsRequest request) + *
  • listBackups(ListBackupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBackups(LocationName parent) - *
  • listBackups(String parent) + *
  • listBackups(LocationName parent) + *

  • listBackups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBackupsPagedCallable() - *
  • listBackupsCallable() + *
  • listBackupsPagedCallable() + *

  • listBackupsCallable() *

*
GetBackup

GetBackup

Gets details of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBackup(GetBackupRequest request) + *
  • getBackup(GetBackupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBackup(BackupName name) - *
  • getBackup(String name) + *
  • getBackup(BackupName name) + *

  • getBackup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBackupCallable() + *
  • getBackupCallable() *

*
CreateBackup

CreateBackup

Creates a new Backup in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createBackupAsync(CreateBackupRequest request) + *
  • createBackupAsync(CreateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) - *
  • createBackupAsync(String parent, Backup backup, String backupId) + *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) + *

  • createBackupAsync(String parent, Backup backup, String backupId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createBackupOperationCallable() - *
  • createBackupCallable() + *
  • createBackupOperationCallable() + *

  • createBackupCallable() *

*
UpdateBackup

UpdateBackup

Updates the parameters of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateBackupAsync(UpdateBackupRequest request) + *
  • updateBackupAsync(UpdateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateBackupAsync(Backup backup, FieldMask updateMask) + *
  • updateBackupAsync(Backup backup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateBackupOperationCallable() - *
  • updateBackupCallable() + *
  • updateBackupOperationCallable() + *

  • updateBackupCallable() *

*
DeleteBackup

DeleteBackup

Deletes a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteBackupAsync(DeleteBackupRequest request) + *
  • deleteBackupAsync(DeleteBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteBackupAsync(BackupName name) - *
  • deleteBackupAsync(String name) + *
  • deleteBackupAsync(BackupName name) + *

  • deleteBackupAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteBackupOperationCallable() - *
  • deleteBackupCallable() + *
  • deleteBackupOperationCallable() + *

  • deleteBackupCallable() *

*
ListSupportedDatabaseFlags

ListSupportedDatabaseFlags

Lists SupportedDatabaseFlags for a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) + *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSupportedDatabaseFlags(LocationName parent) - *
  • listSupportedDatabaseFlags(String parent) + *
  • listSupportedDatabaseFlags(LocationName parent) + *

  • listSupportedDatabaseFlags(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSupportedDatabaseFlagsPagedCallable() - *
  • listSupportedDatabaseFlagsCallable() + *
  • listSupportedDatabaseFlagsPagedCallable() + *

  • listSupportedDatabaseFlagsCallable() *

*
GenerateClientCertificate

GenerateClientCertificate

Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • generateClientCertificate(GenerateClientCertificateRequest request) + *
  • generateClientCertificate(GenerateClientCertificateRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • generateClientCertificate(ClusterName parent) - *
  • generateClientCertificate(String parent) + *
  • generateClientCertificate(ClusterName parent) + *

  • generateClientCertificate(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • generateClientCertificateCallable() + *
  • generateClientCertificateCallable() *

*
GetConnectionInfo

GetConnectionInfo

Get instance metadata used for a connection.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getConnectionInfo(GetConnectionInfoRequest request) + *
  • getConnectionInfo(GetConnectionInfoRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getConnectionInfo(InstanceName parent) - *
  • getConnectionInfo(String parent) + *
  • getConnectionInfo(InstanceName parent) + *

  • getConnectionInfo(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getConnectionInfoCallable() + *
  • getConnectionInfoCallable() *

*
ListUsers

ListUsers

Lists Users in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listUsers(ListUsersRequest request) + *
  • listUsers(ListUsersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listUsers(ClusterName parent) - *
  • listUsers(String parent) + *
  • listUsers(ClusterName parent) + *

  • listUsers(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listUsersPagedCallable() - *
  • listUsersCallable() + *
  • listUsersPagedCallable() + *

  • listUsersCallable() *

*
GetUser

GetUser

Gets details of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getUser(GetUserRequest request) + *
  • getUser(GetUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getUser(UserName name) - *
  • getUser(String name) + *
  • getUser(UserName name) + *

  • getUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getUserCallable() + *
  • getUserCallable() *

*
CreateUser

CreateUser

Creates a new User in a given project, location, and cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createUser(CreateUserRequest request) + *
  • createUser(CreateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createUser(ClusterName parent, User user, String userId) - *
  • createUser(String parent, User user, String userId) + *
  • createUser(ClusterName parent, User user, String userId) + *

  • createUser(String parent, User user, String userId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createUserCallable() + *
  • createUserCallable() *

*
UpdateUser

UpdateUser

Updates the parameters of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateUser(UpdateUserRequest request) + *
  • updateUser(UpdateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateUser(User user, FieldMask updateMask) + *
  • updateUser(User user, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateUserCallable() + *
  • updateUserCallable() *

*
DeleteUser

DeleteUser

Deletes a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteUser(DeleteUserRequest request) + *
  • deleteUser(DeleteUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteUser(UserName name) - *
  • deleteUser(String name) + *
  • deleteUser(UserName name) + *

  • deleteUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteUserCallable() + *
  • deleteUserCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java index d82a63fa2653..bed1597e1c5d 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java @@ -880,6 +880,15 @@ public AlloyDBAdminStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1371,7 +1380,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1384,7 +1392,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2306,6 +2313,15 @@ public UnaryCallSettings.Builder getLocationSettin return getLocationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AlloyDBAdminStubSettings build() throws IOException { return new AlloyDBAdminStubSettings(this); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java index 025f6e01af1a..0a6dde52c938 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java @@ -66,657 +66,658 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListClusters

ListClusters

Lists Clusters in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listClusters(ListClustersRequest request) + *
  • listClusters(ListClustersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listClusters(LocationName parent) - *
  • listClusters(String parent) + *
  • listClusters(LocationName parent) + *

  • listClusters(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listClustersPagedCallable() - *
  • listClustersCallable() + *
  • listClustersPagedCallable() + *

  • listClustersCallable() *

*
GetCluster

GetCluster

Gets details of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCluster(GetClusterRequest request) + *
  • getCluster(GetClusterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCluster(ClusterName name) - *
  • getCluster(String name) + *
  • getCluster(ClusterName name) + *

  • getCluster(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getClusterCallable() + *
  • getClusterCallable() *

*
CreateCluster

CreateCluster

Creates a new Cluster in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createClusterAsync(CreateClusterRequest request) + *
  • createClusterAsync(CreateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createClusterOperationCallable() - *
  • createClusterCallable() + *
  • createClusterOperationCallable() + *

  • createClusterCallable() *

*
UpdateCluster

UpdateCluster

Updates the parameters of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateClusterAsync(UpdateClusterRequest request) + *
  • updateClusterAsync(UpdateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) + *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateClusterOperationCallable() - *
  • updateClusterCallable() + *
  • updateClusterOperationCallable() + *

  • updateClusterCallable() *

*
DeleteCluster

DeleteCluster

Deletes a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteClusterAsync(DeleteClusterRequest request) + *
  • deleteClusterAsync(DeleteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteClusterAsync(ClusterName name) - *
  • deleteClusterAsync(String name) + *
  • deleteClusterAsync(ClusterName name) + *

  • deleteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteClusterOperationCallable() - *
  • deleteClusterCallable() + *
  • deleteClusterOperationCallable() + *

  • deleteClusterCallable() *

*
PromoteCluster

PromoteCluster

Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • promoteClusterAsync(PromoteClusterRequest request) + *
  • promoteClusterAsync(PromoteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • promoteClusterAsync(ClusterName name) - *
  • promoteClusterAsync(String name) + *
  • promoteClusterAsync(ClusterName name) + *

  • promoteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • promoteClusterOperationCallable() - *
  • promoteClusterCallable() + *
  • promoteClusterOperationCallable() + *

  • promoteClusterCallable() *

*
RestoreCluster

RestoreCluster

Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restoreClusterAsync(RestoreClusterRequest request) + *
  • restoreClusterAsync(RestoreClusterRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restoreClusterOperationCallable() - *
  • restoreClusterCallable() + *
  • restoreClusterOperationCallable() + *

  • restoreClusterCallable() *

*
CreateSecondaryCluster

CreateSecondaryCluster

Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) + *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryClusterOperationCallable() - *
  • createSecondaryClusterCallable() + *
  • createSecondaryClusterOperationCallable() + *

  • createSecondaryClusterCallable() *

*
ListInstances

ListInstances

Lists Instances in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listInstances(ListInstancesRequest request) + *
  • listInstances(ListInstancesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listInstances(ClusterName parent) - *
  • listInstances(String parent) + *
  • listInstances(ClusterName parent) + *

  • listInstances(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listInstancesPagedCallable() - *
  • listInstancesCallable() + *
  • listInstancesPagedCallable() + *

  • listInstancesCallable() *

*
GetInstance

GetInstance

Gets details of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getInstance(GetInstanceRequest request) + *
  • getInstance(GetInstanceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getInstance(InstanceName name) - *
  • getInstance(String name) + *
  • getInstance(InstanceName name) + *

  • getInstance(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getInstanceCallable() + *
  • getInstanceCallable() *

*
CreateInstance

CreateInstance

Creates a new Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createInstanceAsync(CreateInstanceRequest request) + *
  • createInstanceAsync(CreateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createInstanceOperationCallable() - *
  • createInstanceCallable() + *
  • createInstanceOperationCallable() + *

  • createInstanceCallable() *

*
CreateSecondaryInstance

CreateSecondaryInstance

Creates a new SECONDARY Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) + *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryInstanceOperationCallable() - *
  • createSecondaryInstanceCallable() + *
  • createSecondaryInstanceOperationCallable() + *

  • createSecondaryInstanceCallable() *

*
BatchCreateInstances

BatchCreateInstances

Creates new instances under the given project, location and cluster. There can be only one primary instance in a cluster. If the primary instance exists in the cluster as well as this request, then API will throw an error. The primary instance should exist before any read pool instance is created. If the primary instance is a part of the request payload, then the API will take care of creating instances in the correct order. This method is here to support Google-internal use cases, and is not meant for external customers to consume. Please do not start relying on it; its behavior is subject to change without notice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) + *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateInstancesOperationCallable() - *
  • batchCreateInstancesCallable() + *
  • batchCreateInstancesOperationCallable() + *

  • batchCreateInstancesCallable() *

*
UpdateInstance

UpdateInstance

Updates the parameters of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateInstanceAsync(UpdateInstanceRequest request) + *
  • updateInstanceAsync(UpdateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) + *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateInstanceOperationCallable() - *
  • updateInstanceCallable() + *
  • updateInstanceOperationCallable() + *

  • updateInstanceCallable() *

*
DeleteInstance

DeleteInstance

Deletes a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteInstanceAsync(DeleteInstanceRequest request) + *
  • deleteInstanceAsync(DeleteInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteInstanceAsync(InstanceName name) - *
  • deleteInstanceAsync(String name) + *
  • deleteInstanceAsync(InstanceName name) + *

  • deleteInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteInstanceOperationCallable() - *
  • deleteInstanceCallable() + *
  • deleteInstanceOperationCallable() + *

  • deleteInstanceCallable() *

*
FailoverInstance

FailoverInstance

Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • failoverInstanceAsync(FailoverInstanceRequest request) + *
  • failoverInstanceAsync(FailoverInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • failoverInstanceAsync(InstanceName name) - *
  • failoverInstanceAsync(String name) + *
  • failoverInstanceAsync(InstanceName name) + *

  • failoverInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • failoverInstanceOperationCallable() - *
  • failoverInstanceCallable() + *
  • failoverInstanceOperationCallable() + *

  • failoverInstanceCallable() *

*
InjectFault

InjectFault

Injects fault in an instance. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • injectFaultAsync(InjectFaultRequest request) + *
  • injectFaultAsync(InjectFaultRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) + *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) + *

  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • injectFaultOperationCallable() - *
  • injectFaultCallable() + *
  • injectFaultOperationCallable() + *

  • injectFaultCallable() *

*
RestartInstance

RestartInstance

Restart an Instance in a cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restartInstanceAsync(RestartInstanceRequest request) + *
  • restartInstanceAsync(RestartInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • restartInstanceAsync(InstanceName name) - *
  • restartInstanceAsync(String name) + *
  • restartInstanceAsync(InstanceName name) + *

  • restartInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restartInstanceOperationCallable() - *
  • restartInstanceCallable() + *
  • restartInstanceOperationCallable() + *

  • restartInstanceCallable() *

*
ListBackups

ListBackups

Lists Backups in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBackups(ListBackupsRequest request) + *
  • listBackups(ListBackupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBackups(LocationName parent) - *
  • listBackups(String parent) + *
  • listBackups(LocationName parent) + *

  • listBackups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBackupsPagedCallable() - *
  • listBackupsCallable() + *
  • listBackupsPagedCallable() + *

  • listBackupsCallable() *

*
GetBackup

GetBackup

Gets details of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBackup(GetBackupRequest request) + *
  • getBackup(GetBackupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBackup(BackupName name) - *
  • getBackup(String name) + *
  • getBackup(BackupName name) + *

  • getBackup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBackupCallable() + *
  • getBackupCallable() *

*
CreateBackup

CreateBackup

Creates a new Backup in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createBackupAsync(CreateBackupRequest request) + *
  • createBackupAsync(CreateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) - *
  • createBackupAsync(String parent, Backup backup, String backupId) + *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) + *

  • createBackupAsync(String parent, Backup backup, String backupId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createBackupOperationCallable() - *
  • createBackupCallable() + *
  • createBackupOperationCallable() + *

  • createBackupCallable() *

*
UpdateBackup

UpdateBackup

Updates the parameters of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateBackupAsync(UpdateBackupRequest request) + *
  • updateBackupAsync(UpdateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateBackupAsync(Backup backup, FieldMask updateMask) + *
  • updateBackupAsync(Backup backup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateBackupOperationCallable() - *
  • updateBackupCallable() + *
  • updateBackupOperationCallable() + *

  • updateBackupCallable() *

*
DeleteBackup

DeleteBackup

Deletes a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteBackupAsync(DeleteBackupRequest request) + *
  • deleteBackupAsync(DeleteBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteBackupAsync(BackupName name) - *
  • deleteBackupAsync(String name) + *
  • deleteBackupAsync(BackupName name) + *

  • deleteBackupAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteBackupOperationCallable() - *
  • deleteBackupCallable() + *
  • deleteBackupOperationCallable() + *

  • deleteBackupCallable() *

*
ListSupportedDatabaseFlags

ListSupportedDatabaseFlags

Lists SupportedDatabaseFlags for a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) + *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSupportedDatabaseFlags(LocationName parent) - *
  • listSupportedDatabaseFlags(String parent) + *
  • listSupportedDatabaseFlags(LocationName parent) + *

  • listSupportedDatabaseFlags(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSupportedDatabaseFlagsPagedCallable() - *
  • listSupportedDatabaseFlagsCallable() + *
  • listSupportedDatabaseFlagsPagedCallable() + *

  • listSupportedDatabaseFlagsCallable() *

*
GenerateClientCertificate

GenerateClientCertificate

Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • generateClientCertificate(GenerateClientCertificateRequest request) + *
  • generateClientCertificate(GenerateClientCertificateRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • generateClientCertificate(ClusterName parent) - *
  • generateClientCertificate(String parent) + *
  • generateClientCertificate(ClusterName parent) + *

  • generateClientCertificate(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • generateClientCertificateCallable() + *
  • generateClientCertificateCallable() *

*
GetConnectionInfo

GetConnectionInfo

Get instance metadata used for a connection.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getConnectionInfo(GetConnectionInfoRequest request) + *
  • getConnectionInfo(GetConnectionInfoRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getConnectionInfo(InstanceName parent) - *
  • getConnectionInfo(String parent) + *
  • getConnectionInfo(InstanceName parent) + *

  • getConnectionInfo(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getConnectionInfoCallable() + *
  • getConnectionInfoCallable() *

*
ListUsers

ListUsers

Lists Users in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listUsers(ListUsersRequest request) + *
  • listUsers(ListUsersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listUsers(ClusterName parent) - *
  • listUsers(String parent) + *
  • listUsers(ClusterName parent) + *

  • listUsers(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listUsersPagedCallable() - *
  • listUsersCallable() + *
  • listUsersPagedCallable() + *

  • listUsersCallable() *

*
GetUser

GetUser

Gets details of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getUser(GetUserRequest request) + *
  • getUser(GetUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getUser(UserName name) - *
  • getUser(String name) + *
  • getUser(UserName name) + *

  • getUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getUserCallable() + *
  • getUserCallable() *

*
CreateUser

CreateUser

Creates a new User in a given project, location, and cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createUser(CreateUserRequest request) + *
  • createUser(CreateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createUser(ClusterName parent, User user, String userId) - *
  • createUser(String parent, User user, String userId) + *
  • createUser(ClusterName parent, User user, String userId) + *

  • createUser(String parent, User user, String userId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createUserCallable() + *
  • createUserCallable() *

*
UpdateUser

UpdateUser

Updates the parameters of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateUser(UpdateUserRequest request) + *
  • updateUser(UpdateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateUser(User user, FieldMask updateMask) + *
  • updateUser(User user, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateUserCallable() + *
  • updateUserCallable() *

*
DeleteUser

DeleteUser

Deletes a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteUser(DeleteUserRequest request) + *
  • deleteUser(DeleteUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteUser(UserName name) - *
  • deleteUser(String name) + *
  • deleteUser(UserName name) + *

  • deleteUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteUserCallable() + *
  • deleteUserCallable() *

*
ListDatabases

ListDatabases

Lists Databases in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatabases(ListDatabasesRequest request) + *
  • listDatabases(ListDatabasesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatabases(ClusterName parent) - *
  • listDatabases(String parent) + *
  • listDatabases(ClusterName parent) + *

  • listDatabases(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatabasesPagedCallable() - *
  • listDatabasesCallable() + *
  • listDatabasesPagedCallable() + *

  • listDatabasesCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java index 85db229d3bb0..0e43990399a5 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java @@ -947,6 +947,15 @@ public AlloyDBAdminStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1446,7 +1455,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1459,7 +1467,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2393,6 +2400,15 @@ public UnaryCallSettings.Builder getLocationSettin return getLocationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AlloyDBAdminStubSettings build() throws IOException { return new AlloyDBAdminStubSettings(this); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java index 585681116a40..7779d982d4ff 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java @@ -66,637 +66,638 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListClusters

ListClusters

Lists Clusters in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listClusters(ListClustersRequest request) + *
  • listClusters(ListClustersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listClusters(LocationName parent) - *
  • listClusters(String parent) + *
  • listClusters(LocationName parent) + *

  • listClusters(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listClustersPagedCallable() - *
  • listClustersCallable() + *
  • listClustersPagedCallable() + *

  • listClustersCallable() *

*
GetCluster

GetCluster

Gets details of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCluster(GetClusterRequest request) + *
  • getCluster(GetClusterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCluster(ClusterName name) - *
  • getCluster(String name) + *
  • getCluster(ClusterName name) + *

  • getCluster(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getClusterCallable() + *
  • getClusterCallable() *

*
CreateCluster

CreateCluster

Creates a new Cluster in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createClusterAsync(CreateClusterRequest request) + *
  • createClusterAsync(CreateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createClusterOperationCallable() - *
  • createClusterCallable() + *
  • createClusterOperationCallable() + *

  • createClusterCallable() *

*
UpdateCluster

UpdateCluster

Updates the parameters of a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateClusterAsync(UpdateClusterRequest request) + *
  • updateClusterAsync(UpdateClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) + *
  • updateClusterAsync(Cluster cluster, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateClusterOperationCallable() - *
  • updateClusterCallable() + *
  • updateClusterOperationCallable() + *

  • updateClusterCallable() *

*
DeleteCluster

DeleteCluster

Deletes a single Cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteClusterAsync(DeleteClusterRequest request) + *
  • deleteClusterAsync(DeleteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteClusterAsync(ClusterName name) - *
  • deleteClusterAsync(String name) + *
  • deleteClusterAsync(ClusterName name) + *

  • deleteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteClusterOperationCallable() - *
  • deleteClusterCallable() + *
  • deleteClusterOperationCallable() + *

  • deleteClusterCallable() *

*
PromoteCluster

PromoteCluster

Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • promoteClusterAsync(PromoteClusterRequest request) + *
  • promoteClusterAsync(PromoteClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • promoteClusterAsync(ClusterName name) - *
  • promoteClusterAsync(String name) + *
  • promoteClusterAsync(ClusterName name) + *

  • promoteClusterAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • promoteClusterOperationCallable() - *
  • promoteClusterCallable() + *
  • promoteClusterOperationCallable() + *

  • promoteClusterCallable() *

*
RestoreCluster

RestoreCluster

Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restoreClusterAsync(RestoreClusterRequest request) + *
  • restoreClusterAsync(RestoreClusterRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restoreClusterOperationCallable() - *
  • restoreClusterCallable() + *
  • restoreClusterOperationCallable() + *

  • restoreClusterCallable() *

*
CreateSecondaryCluster

CreateSecondaryCluster

Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) + *
  • createSecondaryClusterAsync(CreateSecondaryClusterRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) - *
  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) + *
  • createSecondaryClusterAsync(LocationName parent, Cluster cluster, String clusterId) + *

  • createSecondaryClusterAsync(String parent, Cluster cluster, String clusterId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryClusterOperationCallable() - *
  • createSecondaryClusterCallable() + *
  • createSecondaryClusterOperationCallable() + *

  • createSecondaryClusterCallable() *

*
ListInstances

ListInstances

Lists Instances in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listInstances(ListInstancesRequest request) + *
  • listInstances(ListInstancesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listInstances(ClusterName parent) - *
  • listInstances(String parent) + *
  • listInstances(ClusterName parent) + *

  • listInstances(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listInstancesPagedCallable() - *
  • listInstancesCallable() + *
  • listInstancesPagedCallable() + *

  • listInstancesCallable() *

*
GetInstance

GetInstance

Gets details of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getInstance(GetInstanceRequest request) + *
  • getInstance(GetInstanceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getInstance(InstanceName name) - *
  • getInstance(String name) + *
  • getInstance(InstanceName name) + *

  • getInstance(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getInstanceCallable() + *
  • getInstanceCallable() *

*
CreateInstance

CreateInstance

Creates a new Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createInstanceAsync(CreateInstanceRequest request) + *
  • createInstanceAsync(CreateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createInstanceOperationCallable() - *
  • createInstanceCallable() + *
  • createInstanceOperationCallable() + *

  • createInstanceCallable() *

*
CreateSecondaryInstance

CreateSecondaryInstance

Creates a new SECONDARY Instance in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) + *
  • createSecondaryInstanceAsync(CreateSecondaryInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) - *
  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createSecondaryInstanceAsync(ClusterName parent, Instance instance, String instanceId) + *

  • createSecondaryInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSecondaryInstanceOperationCallable() - *
  • createSecondaryInstanceCallable() + *
  • createSecondaryInstanceOperationCallable() + *

  • createSecondaryInstanceCallable() *

*
BatchCreateInstances

BatchCreateInstances

Creates new instances under the given project, location and cluster. There can be only one primary instance in a cluster. If the primary instance exists in the cluster as well as this request, then API will throw an error. The primary instance should exist before any read pool instance is created. If the primary instance is a part of the request payload, then the API will take care of creating instances in the correct order. This method is here to support Google-internal use cases, and is not meant for external customers to consume. Please do not start relying on it; its behavior is subject to change without notice.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) + *
  • batchCreateInstancesAsync(BatchCreateInstancesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateInstancesOperationCallable() - *
  • batchCreateInstancesCallable() + *
  • batchCreateInstancesOperationCallable() + *

  • batchCreateInstancesCallable() *

*
UpdateInstance

UpdateInstance

Updates the parameters of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateInstanceAsync(UpdateInstanceRequest request) + *
  • updateInstanceAsync(UpdateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) + *
  • updateInstanceAsync(Instance instance, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateInstanceOperationCallable() - *
  • updateInstanceCallable() + *
  • updateInstanceOperationCallable() + *

  • updateInstanceCallable() *

*
DeleteInstance

DeleteInstance

Deletes a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteInstanceAsync(DeleteInstanceRequest request) + *
  • deleteInstanceAsync(DeleteInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteInstanceAsync(InstanceName name) - *
  • deleteInstanceAsync(String name) + *
  • deleteInstanceAsync(InstanceName name) + *

  • deleteInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteInstanceOperationCallable() - *
  • deleteInstanceCallable() + *
  • deleteInstanceOperationCallable() + *

  • deleteInstanceCallable() *

*
FailoverInstance

FailoverInstance

Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • failoverInstanceAsync(FailoverInstanceRequest request) + *
  • failoverInstanceAsync(FailoverInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • failoverInstanceAsync(InstanceName name) - *
  • failoverInstanceAsync(String name) + *
  • failoverInstanceAsync(InstanceName name) + *

  • failoverInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • failoverInstanceOperationCallable() - *
  • failoverInstanceCallable() + *
  • failoverInstanceOperationCallable() + *

  • failoverInstanceCallable() *

*
InjectFault

InjectFault

Injects fault in an instance. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • injectFaultAsync(InjectFaultRequest request) + *
  • injectFaultAsync(InjectFaultRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) - *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) + *
  • injectFaultAsync(InjectFaultRequest.FaultType faultType, InstanceName name) + *

  • injectFaultAsync(InjectFaultRequest.FaultType faultType, String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • injectFaultOperationCallable() - *
  • injectFaultCallable() + *
  • injectFaultOperationCallable() + *

  • injectFaultCallable() *

*
RestartInstance

RestartInstance

Restart an Instance in a cluster. Imperative only.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restartInstanceAsync(RestartInstanceRequest request) + *
  • restartInstanceAsync(RestartInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • restartInstanceAsync(InstanceName name) - *
  • restartInstanceAsync(String name) + *
  • restartInstanceAsync(InstanceName name) + *

  • restartInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restartInstanceOperationCallable() - *
  • restartInstanceCallable() + *
  • restartInstanceOperationCallable() + *

  • restartInstanceCallable() *

*
ListBackups

ListBackups

Lists Backups in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBackups(ListBackupsRequest request) + *
  • listBackups(ListBackupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBackups(LocationName parent) - *
  • listBackups(String parent) + *
  • listBackups(LocationName parent) + *

  • listBackups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBackupsPagedCallable() - *
  • listBackupsCallable() + *
  • listBackupsPagedCallable() + *

  • listBackupsCallable() *

*
GetBackup

GetBackup

Gets details of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBackup(GetBackupRequest request) + *
  • getBackup(GetBackupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBackup(BackupName name) - *
  • getBackup(String name) + *
  • getBackup(BackupName name) + *

  • getBackup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBackupCallable() + *
  • getBackupCallable() *

*
CreateBackup

CreateBackup

Creates a new Backup in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createBackupAsync(CreateBackupRequest request) + *
  • createBackupAsync(CreateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) - *
  • createBackupAsync(String parent, Backup backup, String backupId) + *
  • createBackupAsync(LocationName parent, Backup backup, String backupId) + *

  • createBackupAsync(String parent, Backup backup, String backupId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createBackupOperationCallable() - *
  • createBackupCallable() + *
  • createBackupOperationCallable() + *

  • createBackupCallable() *

*
UpdateBackup

UpdateBackup

Updates the parameters of a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateBackupAsync(UpdateBackupRequest request) + *
  • updateBackupAsync(UpdateBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateBackupAsync(Backup backup, FieldMask updateMask) + *
  • updateBackupAsync(Backup backup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateBackupOperationCallable() - *
  • updateBackupCallable() + *
  • updateBackupOperationCallable() + *

  • updateBackupCallable() *

*
DeleteBackup

DeleteBackup

Deletes a single Backup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteBackupAsync(DeleteBackupRequest request) + *
  • deleteBackupAsync(DeleteBackupRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteBackupAsync(BackupName name) - *
  • deleteBackupAsync(String name) + *
  • deleteBackupAsync(BackupName name) + *

  • deleteBackupAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteBackupOperationCallable() - *
  • deleteBackupCallable() + *
  • deleteBackupOperationCallable() + *

  • deleteBackupCallable() *

*
ListSupportedDatabaseFlags

ListSupportedDatabaseFlags

Lists SupportedDatabaseFlags for a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) + *
  • listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSupportedDatabaseFlags(LocationName parent) - *
  • listSupportedDatabaseFlags(String parent) + *
  • listSupportedDatabaseFlags(LocationName parent) + *

  • listSupportedDatabaseFlags(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSupportedDatabaseFlagsPagedCallable() - *
  • listSupportedDatabaseFlagsCallable() + *
  • listSupportedDatabaseFlagsPagedCallable() + *

  • listSupportedDatabaseFlagsCallable() *

*
GenerateClientCertificate

GenerateClientCertificate

Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • generateClientCertificate(GenerateClientCertificateRequest request) + *
  • generateClientCertificate(GenerateClientCertificateRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • generateClientCertificate(ClusterName parent) - *
  • generateClientCertificate(String parent) + *
  • generateClientCertificate(ClusterName parent) + *

  • generateClientCertificate(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • generateClientCertificateCallable() + *
  • generateClientCertificateCallable() *

*
GetConnectionInfo

GetConnectionInfo

Get instance metadata used for a connection.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getConnectionInfo(GetConnectionInfoRequest request) + *
  • getConnectionInfo(GetConnectionInfoRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getConnectionInfo(InstanceName parent) - *
  • getConnectionInfo(String parent) + *
  • getConnectionInfo(InstanceName parent) + *

  • getConnectionInfo(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getConnectionInfoCallable() + *
  • getConnectionInfoCallable() *

*
ListUsers

ListUsers

Lists Users in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listUsers(ListUsersRequest request) + *
  • listUsers(ListUsersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listUsers(ClusterName parent) - *
  • listUsers(String parent) + *
  • listUsers(ClusterName parent) + *

  • listUsers(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listUsersPagedCallable() - *
  • listUsersCallable() + *
  • listUsersPagedCallable() + *

  • listUsersCallable() *

*
GetUser

GetUser

Gets details of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getUser(GetUserRequest request) + *
  • getUser(GetUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getUser(UserName name) - *
  • getUser(String name) + *
  • getUser(UserName name) + *

  • getUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getUserCallable() + *
  • getUserCallable() *

*
CreateUser

CreateUser

Creates a new User in a given project, location, and cluster.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createUser(CreateUserRequest request) + *
  • createUser(CreateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createUser(ClusterName parent, User user, String userId) - *
  • createUser(String parent, User user, String userId) + *
  • createUser(ClusterName parent, User user, String userId) + *

  • createUser(String parent, User user, String userId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createUserCallable() + *
  • createUserCallable() *

*
UpdateUser

UpdateUser

Updates the parameters of a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateUser(UpdateUserRequest request) + *
  • updateUser(UpdateUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateUser(User user, FieldMask updateMask) + *
  • updateUser(User user, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateUserCallable() + *
  • updateUserCallable() *

*
DeleteUser

DeleteUser

Deletes a single User.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteUser(DeleteUserRequest request) + *
  • deleteUser(DeleteUserRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteUser(UserName name) - *
  • deleteUser(String name) + *
  • deleteUser(UserName name) + *

  • deleteUser(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteUserCallable() + *
  • deleteUserCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java index b93cecc06490..d8e313532daa 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java @@ -881,6 +881,15 @@ public AlloyDBAdminStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1372,7 +1381,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1385,7 +1393,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2307,6 +2314,15 @@ public UnaryCallSettings.Builder getLocationSettin return getLocationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AlloyDBAdminStubSettings build() throws IOException { return new AlloyDBAdminStubSettings(this); diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index 8a19917b8dd7..d6d39bc733c3 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index d1d0937e0ae1..644eb3dc7d2f 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -60,47 +60,49 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetAccount

GetAccount

Lookup for a single Account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccount(GetAccountRequest request) + *
  • getAccount(GetAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccount(AccountName name) - *
  • getAccount(String name) + *
  • getAccount(AccountName name) + *

  • getAccount(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccountCallable() + *
  • getAccountCallable() *

*
ListAccounts

ListAccounts

Returns all accounts accessible by the caller. *

Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccounts(ListAccountsRequest request) + *
  • listAccounts(ListAccountsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccountsPagedCallable() - *
  • listAccountsCallable() + *
  • listAccountsPagedCallable() + *

  • listAccountsCallable() *

*
DeleteAccount

DeleteAccount

Marks target Account as soft-deleted (ie: "trashed") and returns it. *

This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. *

If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 @@ -108,121 +110,121 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccount(DeleteAccountRequest request) + *
  • deleteAccount(DeleteAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteAccount(AccountName name) - *
  • deleteAccount(String name) + *
  • deleteAccount(AccountName name) + *

  • deleteAccount(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccountCallable() + *
  • deleteAccountCallable() *

*
UpdateAccount

UpdateAccount

Updates an account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccount(UpdateAccountRequest request) + *
  • updateAccount(UpdateAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAccount(Account account, FieldMask updateMask) + *
  • updateAccount(Account account, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccountCallable() + *
  • updateAccountCallable() *

*
ProvisionAccountTicket

ProvisionAccountTicket

Requests a ticket for creating an account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • provisionAccountTicket(ProvisionAccountTicketRequest request) + *
  • provisionAccountTicket(ProvisionAccountTicketRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • provisionAccountTicketCallable() + *
  • provisionAccountTicketCallable() *

*
ListAccountSummaries

ListAccountSummaries

Returns summaries of all accounts accessible by the caller.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccountSummaries(ListAccountSummariesRequest request) + *
  • listAccountSummaries(ListAccountSummariesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccountSummariesPagedCallable() - *
  • listAccountSummariesCallable() + *
  • listAccountSummariesPagedCallable() + *

  • listAccountSummariesCallable() *

*
GetProperty

GetProperty

Lookup for a single "GA4" Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getProperty(GetPropertyRequest request) + *
  • getProperty(GetPropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getProperty(PropertyName name) - *
  • getProperty(String name) + *
  • getProperty(PropertyName name) + *

  • getProperty(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPropertyCallable() + *
  • getPropertyCallable() *

*
ListProperties

ListProperties

Returns child Properties under the specified parent Account. *

Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listProperties(ListPropertiesRequest request) + *
  • listProperties(ListPropertiesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPropertiesPagedCallable() - *
  • listPropertiesCallable() + *
  • listPropertiesPagedCallable() + *

  • listPropertiesCallable() *

*
CreateProperty

CreateProperty

Creates an "GA4" property with the specified location and attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createProperty(CreatePropertyRequest request) + *
  • createProperty(CreatePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createProperty(Property property) + *
  • createProperty(Property property) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createPropertyCallable() + *
  • createPropertyCallable() *

*
DeleteProperty

DeleteProperty

Marks target Property as soft-deleted (ie: "trashed") and returns it. *

This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. *

If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 @@ -230,2237 +232,2236 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteProperty(DeletePropertyRequest request) + *
  • deleteProperty(DeletePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteProperty(PropertyName name) - *
  • deleteProperty(String name) + *
  • deleteProperty(PropertyName name) + *

  • deleteProperty(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePropertyCallable() + *
  • deletePropertyCallable() *

*
UpdateProperty

UpdateProperty

Updates a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateProperty(UpdatePropertyRequest request) + *
  • updateProperty(UpdatePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateProperty(Property property, FieldMask updateMask) + *
  • updateProperty(Property property, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updatePropertyCallable() + *
  • updatePropertyCallable() *

*
CreateFirebaseLink

CreateFirebaseLink

Creates a FirebaseLink. *

Properties can have at most one FirebaseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFirebaseLink(CreateFirebaseLinkRequest request) + *
  • createFirebaseLink(CreateFirebaseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createFirebaseLink(PropertyName parent, FirebaseLink firebaseLink) - *
  • createFirebaseLink(String parent, FirebaseLink firebaseLink) + *
  • createFirebaseLink(PropertyName parent, FirebaseLink firebaseLink) + *

  • createFirebaseLink(String parent, FirebaseLink firebaseLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFirebaseLinkCallable() + *
  • createFirebaseLinkCallable() *

*
DeleteFirebaseLink

DeleteFirebaseLink

Deletes a FirebaseLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFirebaseLink(DeleteFirebaseLinkRequest request) + *
  • deleteFirebaseLink(DeleteFirebaseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteFirebaseLink(FirebaseLinkName name) - *
  • deleteFirebaseLink(String name) + *
  • deleteFirebaseLink(FirebaseLinkName name) + *

  • deleteFirebaseLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFirebaseLinkCallable() + *
  • deleteFirebaseLinkCallable() *

*
ListFirebaseLinks

ListFirebaseLinks

Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFirebaseLinks(ListFirebaseLinksRequest request) + *
  • listFirebaseLinks(ListFirebaseLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFirebaseLinks(PropertyName parent) - *
  • listFirebaseLinks(String parent) + *
  • listFirebaseLinks(PropertyName parent) + *

  • listFirebaseLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFirebaseLinksPagedCallable() - *
  • listFirebaseLinksCallable() + *
  • listFirebaseLinksPagedCallable() + *

  • listFirebaseLinksCallable() *

*
GetGlobalSiteTag

GetGlobalSiteTag

Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getGlobalSiteTag(GetGlobalSiteTagRequest request) + *
  • getGlobalSiteTag(GetGlobalSiteTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getGlobalSiteTag(GlobalSiteTagName name) - *
  • getGlobalSiteTag(String name) + *
  • getGlobalSiteTag(GlobalSiteTagName name) + *

  • getGlobalSiteTag(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getGlobalSiteTagCallable() + *
  • getGlobalSiteTagCallable() *

*
CreateGoogleAdsLink

CreateGoogleAdsLink

Creates a GoogleAdsLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createGoogleAdsLink(CreateGoogleAdsLinkRequest request) + *
  • createGoogleAdsLink(CreateGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createGoogleAdsLink(PropertyName parent, GoogleAdsLink googleAdsLink) - *
  • createGoogleAdsLink(String parent, GoogleAdsLink googleAdsLink) + *
  • createGoogleAdsLink(PropertyName parent, GoogleAdsLink googleAdsLink) + *

  • createGoogleAdsLink(String parent, GoogleAdsLink googleAdsLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createGoogleAdsLinkCallable() + *
  • createGoogleAdsLinkCallable() *

*
UpdateGoogleAdsLink

UpdateGoogleAdsLink

Updates a GoogleAdsLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request) + *
  • updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateGoogleAdsLink(GoogleAdsLink googleAdsLink, FieldMask updateMask) + *
  • updateGoogleAdsLink(GoogleAdsLink googleAdsLink, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateGoogleAdsLinkCallable() + *
  • updateGoogleAdsLinkCallable() *

*
DeleteGoogleAdsLink

DeleteGoogleAdsLink

Deletes a GoogleAdsLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request) + *
  • deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteGoogleAdsLink(GoogleAdsLinkName name) - *
  • deleteGoogleAdsLink(String name) + *
  • deleteGoogleAdsLink(GoogleAdsLinkName name) + *

  • deleteGoogleAdsLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteGoogleAdsLinkCallable() + *
  • deleteGoogleAdsLinkCallable() *

*
ListGoogleAdsLinks

ListGoogleAdsLinks

Lists GoogleAdsLinks on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listGoogleAdsLinks(ListGoogleAdsLinksRequest request) + *
  • listGoogleAdsLinks(ListGoogleAdsLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listGoogleAdsLinks(PropertyName parent) - *
  • listGoogleAdsLinks(String parent) + *
  • listGoogleAdsLinks(PropertyName parent) + *

  • listGoogleAdsLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listGoogleAdsLinksPagedCallable() - *
  • listGoogleAdsLinksCallable() + *
  • listGoogleAdsLinksPagedCallable() + *

  • listGoogleAdsLinksCallable() *

*
GetDataSharingSettings

GetDataSharingSettings

Get data sharing settings on an account. Data sharing settings are singletons.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataSharingSettings(GetDataSharingSettingsRequest request) + *
  • getDataSharingSettings(GetDataSharingSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataSharingSettings(DataSharingSettingsName name) - *
  • getDataSharingSettings(String name) + *
  • getDataSharingSettings(DataSharingSettingsName name) + *

  • getDataSharingSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataSharingSettingsCallable() + *
  • getDataSharingSettingsCallable() *

*
GetMeasurementProtocolSecret

GetMeasurementProtocolSecret

Lookup for a single "GA4" MeasurementProtocolSecret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) + *
  • getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMeasurementProtocolSecret(MeasurementProtocolSecretName name) - *
  • getMeasurementProtocolSecret(String name) + *
  • getMeasurementProtocolSecret(MeasurementProtocolSecretName name) + *

  • getMeasurementProtocolSecret(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMeasurementProtocolSecretCallable() + *
  • getMeasurementProtocolSecretCallable() *

*
ListMeasurementProtocolSecrets

ListMeasurementProtocolSecrets

Returns child MeasurementProtocolSecrets under the specified parent Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) + *
  • listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMeasurementProtocolSecrets(DataStreamName parent) - *
  • listMeasurementProtocolSecrets(String parent) + *
  • listMeasurementProtocolSecrets(DataStreamName parent) + *

  • listMeasurementProtocolSecrets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMeasurementProtocolSecretsPagedCallable() - *
  • listMeasurementProtocolSecretsCallable() + *
  • listMeasurementProtocolSecretsPagedCallable() + *

  • listMeasurementProtocolSecretsCallable() *

*
CreateMeasurementProtocolSecret

CreateMeasurementProtocolSecret

Creates a measurement protocol secret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) + *
  • createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createMeasurementProtocolSecret(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret) - *
  • createMeasurementProtocolSecret(String parent, MeasurementProtocolSecret measurementProtocolSecret) + *
  • createMeasurementProtocolSecret(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret) + *

  • createMeasurementProtocolSecret(String parent, MeasurementProtocolSecret measurementProtocolSecret) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMeasurementProtocolSecretCallable() + *
  • createMeasurementProtocolSecretCallable() *

*
DeleteMeasurementProtocolSecret

DeleteMeasurementProtocolSecret

Deletes target MeasurementProtocolSecret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) + *
  • deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteMeasurementProtocolSecret(MeasurementProtocolSecretName name) - *
  • deleteMeasurementProtocolSecret(String name) + *
  • deleteMeasurementProtocolSecret(MeasurementProtocolSecretName name) + *

  • deleteMeasurementProtocolSecret(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteMeasurementProtocolSecretCallable() + *
  • deleteMeasurementProtocolSecretCallable() *

*
UpdateMeasurementProtocolSecret

UpdateMeasurementProtocolSecret

Updates a measurement protocol secret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) + *
  • updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateMeasurementProtocolSecret(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask) + *
  • updateMeasurementProtocolSecret(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateMeasurementProtocolSecretCallable() + *
  • updateMeasurementProtocolSecretCallable() *

*
AcknowledgeUserDataCollection

AcknowledgeUserDataCollection

Acknowledges the terms of user data collection for the specified property. *

This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) + *
  • acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • acknowledgeUserDataCollectionCallable() + *
  • acknowledgeUserDataCollectionCallable() *

*
GetSKAdNetworkConversionValueSchema

GetSKAdNetworkConversionValueSchema

Looks up a single SKAdNetworkConversionValueSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request) + *
  • getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name) - *
  • getSKAdNetworkConversionValueSchema(String name) + *
  • getSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name) + *

  • getSKAdNetworkConversionValueSchema(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSKAdNetworkConversionValueSchemaCallable() + *
  • getSKAdNetworkConversionValueSchemaCallable() *

*
CreateSKAdNetworkConversionValueSchema

CreateSKAdNetworkConversionValueSchema

Creates a SKAdNetworkConversionValueSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request) + *
  • createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSKAdNetworkConversionValueSchema(DataStreamName parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema) - *
  • createSKAdNetworkConversionValueSchema(String parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema) + *
  • createSKAdNetworkConversionValueSchema(DataStreamName parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema) + *

  • createSKAdNetworkConversionValueSchema(String parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSKAdNetworkConversionValueSchemaCallable() + *
  • createSKAdNetworkConversionValueSchemaCallable() *

*
DeleteSKAdNetworkConversionValueSchema

DeleteSKAdNetworkConversionValueSchema

Deletes target SKAdNetworkConversionValueSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request) + *
  • deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name) - *
  • deleteSKAdNetworkConversionValueSchema(String name) + *
  • deleteSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name) + *

  • deleteSKAdNetworkConversionValueSchema(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSKAdNetworkConversionValueSchemaCallable() + *
  • deleteSKAdNetworkConversionValueSchemaCallable() *

*
UpdateSKAdNetworkConversionValueSchema

UpdateSKAdNetworkConversionValueSchema

Updates a SKAdNetworkConversionValueSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request) + *
  • updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, FieldMask updateMask) + *
  • updateSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSKAdNetworkConversionValueSchemaCallable() + *
  • updateSKAdNetworkConversionValueSchemaCallable() *

*
ListSKAdNetworkConversionValueSchemas

ListSKAdNetworkConversionValueSchemas

Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request) + *
  • listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSKAdNetworkConversionValueSchemas(DataStreamName parent) - *
  • listSKAdNetworkConversionValueSchemas(String parent) + *
  • listSKAdNetworkConversionValueSchemas(DataStreamName parent) + *

  • listSKAdNetworkConversionValueSchemas(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSKAdNetworkConversionValueSchemasPagedCallable() - *
  • listSKAdNetworkConversionValueSchemasCallable() + *
  • listSKAdNetworkConversionValueSchemasPagedCallable() + *

  • listSKAdNetworkConversionValueSchemasCallable() *

*
SearchChangeHistoryEvents

SearchChangeHistoryEvents

Searches through all changes to an account or its children given the specified set of filters.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) + *
  • searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchChangeHistoryEventsPagedCallable() - *
  • searchChangeHistoryEventsCallable() + *
  • searchChangeHistoryEventsPagedCallable() + *

  • searchChangeHistoryEventsCallable() *

*
GetGoogleSignalsSettings

GetGoogleSignalsSettings

Lookup for Google Signals settings for a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request) + *
  • getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getGoogleSignalsSettings(GoogleSignalsSettingsName name) - *
  • getGoogleSignalsSettings(String name) + *
  • getGoogleSignalsSettings(GoogleSignalsSettingsName name) + *

  • getGoogleSignalsSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getGoogleSignalsSettingsCallable() + *
  • getGoogleSignalsSettingsCallable() *

*
UpdateGoogleSignalsSettings

UpdateGoogleSignalsSettings

Updates Google Signals settings for a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request) + *
  • updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateGoogleSignalsSettings(GoogleSignalsSettings googleSignalsSettings, FieldMask updateMask) + *
  • updateGoogleSignalsSettings(GoogleSignalsSettings googleSignalsSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateGoogleSignalsSettingsCallable() + *
  • updateGoogleSignalsSettingsCallable() *

*
CreateConversionEvent

CreateConversionEvent

Creates a conversion event with the specified attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createConversionEvent(CreateConversionEventRequest request) + *
  • createConversionEvent(CreateConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createConversionEvent(PropertyName parent, ConversionEvent conversionEvent) - *
  • createConversionEvent(String parent, ConversionEvent conversionEvent) + *
  • createConversionEvent(PropertyName parent, ConversionEvent conversionEvent) + *

  • createConversionEvent(String parent, ConversionEvent conversionEvent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createConversionEventCallable() + *
  • createConversionEventCallable() *

*
UpdateConversionEvent

UpdateConversionEvent

Updates a conversion event with the specified attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateConversionEvent(UpdateConversionEventRequest request) + *
  • updateConversionEvent(UpdateConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateConversionEvent(ConversionEvent conversionEvent, FieldMask updateMask) + *
  • updateConversionEvent(ConversionEvent conversionEvent, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateConversionEventCallable() + *
  • updateConversionEventCallable() *

*
GetConversionEvent

GetConversionEvent

Retrieve a single conversion event.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getConversionEvent(GetConversionEventRequest request) + *
  • getConversionEvent(GetConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getConversionEvent(ConversionEventName name) - *
  • getConversionEvent(String name) + *
  • getConversionEvent(ConversionEventName name) + *

  • getConversionEvent(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getConversionEventCallable() + *
  • getConversionEventCallable() *

*
DeleteConversionEvent

DeleteConversionEvent

Deletes a conversion event in a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteConversionEvent(DeleteConversionEventRequest request) + *
  • deleteConversionEvent(DeleteConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteConversionEvent(ConversionEventName name) - *
  • deleteConversionEvent(String name) + *
  • deleteConversionEvent(ConversionEventName name) + *

  • deleteConversionEvent(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteConversionEventCallable() + *
  • deleteConversionEventCallable() *

*
ListConversionEvents

ListConversionEvents

Returns a list of conversion events in the specified parent property. *

Returns an empty list if no conversion events are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listConversionEvents(ListConversionEventsRequest request) + *
  • listConversionEvents(ListConversionEventsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listConversionEvents(PropertyName parent) - *
  • listConversionEvents(String parent) + *
  • listConversionEvents(PropertyName parent) + *

  • listConversionEvents(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listConversionEventsPagedCallable() - *
  • listConversionEventsCallable() + *
  • listConversionEventsPagedCallable() + *

  • listConversionEventsCallable() *

*
GetDisplayVideo360AdvertiserLink

GetDisplayVideo360AdvertiserLink

Look up a single DisplayVideo360AdvertiserLink

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest request) + *
  • getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name) - *
  • getDisplayVideo360AdvertiserLink(String name) + *
  • getDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name) + *

  • getDisplayVideo360AdvertiserLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDisplayVideo360AdvertiserLinkCallable() + *
  • getDisplayVideo360AdvertiserLinkCallable() *

*
ListDisplayVideo360AdvertiserLinks

ListDisplayVideo360AdvertiserLinks

Lists all DisplayVideo360AdvertiserLinks on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest request) + *
  • listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDisplayVideo360AdvertiserLinks(PropertyName parent) - *
  • listDisplayVideo360AdvertiserLinks(String parent) + *
  • listDisplayVideo360AdvertiserLinks(PropertyName parent) + *

  • listDisplayVideo360AdvertiserLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDisplayVideo360AdvertiserLinksPagedCallable() - *
  • listDisplayVideo360AdvertiserLinksCallable() + *
  • listDisplayVideo360AdvertiserLinksPagedCallable() + *

  • listDisplayVideo360AdvertiserLinksCallable() *

*
CreateDisplayVideo360AdvertiserLink

CreateDisplayVideo360AdvertiserLink

Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest request) + *
  • createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDisplayVideo360AdvertiserLink(PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) - *
  • createDisplayVideo360AdvertiserLink(String parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) + *
  • createDisplayVideo360AdvertiserLink(PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) + *

  • createDisplayVideo360AdvertiserLink(String parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDisplayVideo360AdvertiserLinkCallable() + *
  • createDisplayVideo360AdvertiserLinkCallable() *

*
DeleteDisplayVideo360AdvertiserLink

DeleteDisplayVideo360AdvertiserLink

Deletes a DisplayVideo360AdvertiserLink on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest request) + *
  • deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name) - *
  • deleteDisplayVideo360AdvertiserLink(String name) + *
  • deleteDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name) + *

  • deleteDisplayVideo360AdvertiserLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDisplayVideo360AdvertiserLinkCallable() + *
  • deleteDisplayVideo360AdvertiserLinkCallable() *

*
UpdateDisplayVideo360AdvertiserLink

UpdateDisplayVideo360AdvertiserLink

Updates a DisplayVideo360AdvertiserLink on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest request) + *
  • updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask) + *
  • updateDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDisplayVideo360AdvertiserLinkCallable() + *
  • updateDisplayVideo360AdvertiserLinkCallable() *

*
GetDisplayVideo360AdvertiserLinkProposal

GetDisplayVideo360AdvertiserLinkProposal

Lookup for a single DisplayVideo360AdvertiserLinkProposal.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request) + *
  • getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name) - *
  • getDisplayVideo360AdvertiserLinkProposal(String name) + *
  • getDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name) + *

  • getDisplayVideo360AdvertiserLinkProposal(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDisplayVideo360AdvertiserLinkProposalCallable() + *
  • getDisplayVideo360AdvertiserLinkProposalCallable() *

*
ListDisplayVideo360AdvertiserLinkProposals

ListDisplayVideo360AdvertiserLinkProposals

Lists DisplayVideo360AdvertiserLinkProposals on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request) + *
  • listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDisplayVideo360AdvertiserLinkProposals(PropertyName parent) - *
  • listDisplayVideo360AdvertiserLinkProposals(String parent) + *
  • listDisplayVideo360AdvertiserLinkProposals(PropertyName parent) + *

  • listDisplayVideo360AdvertiserLinkProposals(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDisplayVideo360AdvertiserLinkProposalsPagedCallable() - *
  • listDisplayVideo360AdvertiserLinkProposalsCallable() + *
  • listDisplayVideo360AdvertiserLinkProposalsPagedCallable() + *

  • listDisplayVideo360AdvertiserLinkProposalsCallable() *

*
CreateDisplayVideo360AdvertiserLinkProposal

CreateDisplayVideo360AdvertiserLinkProposal

Creates a DisplayVideo360AdvertiserLinkProposal.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request) + *
  • createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDisplayVideo360AdvertiserLinkProposal(PropertyName parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) - *
  • createDisplayVideo360AdvertiserLinkProposal(String parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) + *
  • createDisplayVideo360AdvertiserLinkProposal(PropertyName parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) + *

  • createDisplayVideo360AdvertiserLinkProposal(String parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDisplayVideo360AdvertiserLinkProposalCallable() + *
  • createDisplayVideo360AdvertiserLinkProposalCallable() *

*
DeleteDisplayVideo360AdvertiserLinkProposal

DeleteDisplayVideo360AdvertiserLinkProposal

Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request) + *
  • deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name) - *
  • deleteDisplayVideo360AdvertiserLinkProposal(String name) + *
  • deleteDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name) + *

  • deleteDisplayVideo360AdvertiserLinkProposal(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDisplayVideo360AdvertiserLinkProposalCallable() + *
  • deleteDisplayVideo360AdvertiserLinkProposalCallable() *

*
ApproveDisplayVideo360AdvertiserLinkProposal

ApproveDisplayVideo360AdvertiserLinkProposal

Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request) + *
  • approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • approveDisplayVideo360AdvertiserLinkProposalCallable() + *
  • approveDisplayVideo360AdvertiserLinkProposalCallable() *

*
CancelDisplayVideo360AdvertiserLinkProposal

CancelDisplayVideo360AdvertiserLinkProposal

Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request) + *
  • cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • cancelDisplayVideo360AdvertiserLinkProposalCallable() + *
  • cancelDisplayVideo360AdvertiserLinkProposalCallable() *

*
CreateCustomDimension

CreateCustomDimension

Creates a CustomDimension.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomDimension(CreateCustomDimensionRequest request) + *
  • createCustomDimension(CreateCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomDimension(PropertyName parent, CustomDimension customDimension) - *
  • createCustomDimension(String parent, CustomDimension customDimension) + *
  • createCustomDimension(PropertyName parent, CustomDimension customDimension) + *

  • createCustomDimension(String parent, CustomDimension customDimension) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomDimensionCallable() + *
  • createCustomDimensionCallable() *

*
UpdateCustomDimension

UpdateCustomDimension

Updates a CustomDimension on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateCustomDimension(UpdateCustomDimensionRequest request) + *
  • updateCustomDimension(UpdateCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateCustomDimension(CustomDimension customDimension, FieldMask updateMask) + *
  • updateCustomDimension(CustomDimension customDimension, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateCustomDimensionCallable() + *
  • updateCustomDimensionCallable() *

*
ListCustomDimensions

ListCustomDimensions

Lists CustomDimensions on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomDimensions(ListCustomDimensionsRequest request) + *
  • listCustomDimensions(ListCustomDimensionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomDimensions(PropertyName parent) - *
  • listCustomDimensions(String parent) + *
  • listCustomDimensions(PropertyName parent) + *

  • listCustomDimensions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomDimensionsPagedCallable() - *
  • listCustomDimensionsCallable() + *
  • listCustomDimensionsPagedCallable() + *

  • listCustomDimensionsCallable() *

*
ArchiveCustomDimension

ArchiveCustomDimension

Archives a CustomDimension on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • archiveCustomDimension(ArchiveCustomDimensionRequest request) + *
  • archiveCustomDimension(ArchiveCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • archiveCustomDimension(CustomDimensionName name) - *
  • archiveCustomDimension(String name) + *
  • archiveCustomDimension(CustomDimensionName name) + *

  • archiveCustomDimension(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • archiveCustomDimensionCallable() + *
  • archiveCustomDimensionCallable() *

*
GetCustomDimension

GetCustomDimension

Lookup for a single CustomDimension.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomDimension(GetCustomDimensionRequest request) + *
  • getCustomDimension(GetCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomDimension(CustomDimensionName name) - *
  • getCustomDimension(String name) + *
  • getCustomDimension(CustomDimensionName name) + *

  • getCustomDimension(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomDimensionCallable() + *
  • getCustomDimensionCallable() *

*
CreateCustomMetric

CreateCustomMetric

Creates a CustomMetric.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomMetric(CreateCustomMetricRequest request) + *
  • createCustomMetric(CreateCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomMetric(PropertyName parent, CustomMetric customMetric) - *
  • createCustomMetric(String parent, CustomMetric customMetric) + *
  • createCustomMetric(PropertyName parent, CustomMetric customMetric) + *

  • createCustomMetric(String parent, CustomMetric customMetric) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomMetricCallable() + *
  • createCustomMetricCallable() *

*
UpdateCustomMetric

UpdateCustomMetric

Updates a CustomMetric on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateCustomMetric(UpdateCustomMetricRequest request) + *
  • updateCustomMetric(UpdateCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateCustomMetric(CustomMetric customMetric, FieldMask updateMask) + *
  • updateCustomMetric(CustomMetric customMetric, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateCustomMetricCallable() + *
  • updateCustomMetricCallable() *

*
ListCustomMetrics

ListCustomMetrics

Lists CustomMetrics on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomMetrics(ListCustomMetricsRequest request) + *
  • listCustomMetrics(ListCustomMetricsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomMetrics(PropertyName parent) - *
  • listCustomMetrics(String parent) + *
  • listCustomMetrics(PropertyName parent) + *

  • listCustomMetrics(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomMetricsPagedCallable() - *
  • listCustomMetricsCallable() + *
  • listCustomMetricsPagedCallable() + *

  • listCustomMetricsCallable() *

*
ArchiveCustomMetric

ArchiveCustomMetric

Archives a CustomMetric on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • archiveCustomMetric(ArchiveCustomMetricRequest request) + *
  • archiveCustomMetric(ArchiveCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • archiveCustomMetric(CustomMetricName name) - *
  • archiveCustomMetric(String name) + *
  • archiveCustomMetric(CustomMetricName name) + *

  • archiveCustomMetric(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • archiveCustomMetricCallable() + *
  • archiveCustomMetricCallable() *

*
GetCustomMetric

GetCustomMetric

Lookup for a single CustomMetric.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomMetric(GetCustomMetricRequest request) + *
  • getCustomMetric(GetCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomMetric(CustomMetricName name) - *
  • getCustomMetric(String name) + *
  • getCustomMetric(CustomMetricName name) + *

  • getCustomMetric(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomMetricCallable() + *
  • getCustomMetricCallable() *

*
GetDataRetentionSettings

GetDataRetentionSettings

Returns the singleton data retention settings for this property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataRetentionSettings(GetDataRetentionSettingsRequest request) + *
  • getDataRetentionSettings(GetDataRetentionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataRetentionSettings(DataRetentionSettingsName name) - *
  • getDataRetentionSettings(String name) + *
  • getDataRetentionSettings(DataRetentionSettingsName name) + *

  • getDataRetentionSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataRetentionSettingsCallable() + *
  • getDataRetentionSettingsCallable() *

*
UpdateDataRetentionSettings

UpdateDataRetentionSettings

Updates the singleton data retention settings for this property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) + *
  • updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataRetentionSettings(DataRetentionSettings dataRetentionSettings, FieldMask updateMask) + *
  • updateDataRetentionSettings(DataRetentionSettings dataRetentionSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataRetentionSettingsCallable() + *
  • updateDataRetentionSettingsCallable() *

*
CreateDataStream

CreateDataStream

Creates a DataStream.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataStream(CreateDataStreamRequest request) + *
  • createDataStream(CreateDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataStream(PropertyName parent, DataStream dataStream) - *
  • createDataStream(String parent, DataStream dataStream) + *
  • createDataStream(PropertyName parent, DataStream dataStream) + *

  • createDataStream(String parent, DataStream dataStream) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDataStreamCallable() + *
  • createDataStreamCallable() *

*
DeleteDataStream

DeleteDataStream

Deletes a DataStream on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataStream(DeleteDataStreamRequest request) + *
  • deleteDataStream(DeleteDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDataStream(DataStreamName name) - *
  • deleteDataStream(String name) + *
  • deleteDataStream(DataStreamName name) + *

  • deleteDataStream(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDataStreamCallable() + *
  • deleteDataStreamCallable() *

*
UpdateDataStream

UpdateDataStream

Updates a DataStream on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataStream(UpdateDataStreamRequest request) + *
  • updateDataStream(UpdateDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataStream(DataStream dataStream, FieldMask updateMask) + *
  • updateDataStream(DataStream dataStream, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataStreamCallable() + *
  • updateDataStreamCallable() *

*
ListDataStreams

ListDataStreams

Lists DataStreams on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataStreams(ListDataStreamsRequest request) + *
  • listDataStreams(ListDataStreamsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataStreams(PropertyName parent) - *
  • listDataStreams(String parent) + *
  • listDataStreams(PropertyName parent) + *

  • listDataStreams(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataStreamsPagedCallable() - *
  • listDataStreamsCallable() + *
  • listDataStreamsPagedCallable() + *

  • listDataStreamsCallable() *

*
GetDataStream

GetDataStream

Lookup for a single DataStream.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataStream(GetDataStreamRequest request) + *
  • getDataStream(GetDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataStream(DataStreamName name) - *
  • getDataStream(String name) + *
  • getDataStream(DataStreamName name) + *

  • getDataStream(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataStreamCallable() + *
  • getDataStreamCallable() *

*
GetAudience

GetAudience

Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAudience(GetAudienceRequest request) + *
  • getAudience(GetAudienceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAudience(AudienceName name) - *
  • getAudience(String name) + *
  • getAudience(AudienceName name) + *

  • getAudience(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAudienceCallable() + *
  • getAudienceCallable() *

*
ListAudiences

ListAudiences

Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAudiences(ListAudiencesRequest request) + *
  • listAudiences(ListAudiencesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAudiences(PropertyName parent) - *
  • listAudiences(String parent) + *
  • listAudiences(PropertyName parent) + *

  • listAudiences(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAudiencesPagedCallable() - *
  • listAudiencesCallable() + *
  • listAudiencesPagedCallable() + *

  • listAudiencesCallable() *

*
CreateAudience

CreateAudience

Creates an Audience.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAudience(CreateAudienceRequest request) + *
  • createAudience(CreateAudienceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createAudience(PropertyName parent, Audience audience) - *
  • createAudience(String parent, Audience audience) + *
  • createAudience(PropertyName parent, Audience audience) + *

  • createAudience(String parent, Audience audience) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAudienceCallable() + *
  • createAudienceCallable() *

*
UpdateAudience

UpdateAudience

Updates an Audience on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAudience(UpdateAudienceRequest request) + *
  • updateAudience(UpdateAudienceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAudience(Audience audience, FieldMask updateMask) + *
  • updateAudience(Audience audience, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAudienceCallable() + *
  • updateAudienceCallable() *

*
ArchiveAudience

ArchiveAudience

Archives an Audience on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • archiveAudience(ArchiveAudienceRequest request) + *
  • archiveAudience(ArchiveAudienceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • archiveAudienceCallable() + *
  • archiveAudienceCallable() *

*
GetSearchAds360Link

GetSearchAds360Link

Look up a single SearchAds360Link

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSearchAds360Link(GetSearchAds360LinkRequest request) + *
  • getSearchAds360Link(GetSearchAds360LinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSearchAds360Link(SearchAds360LinkName name) - *
  • getSearchAds360Link(String name) + *
  • getSearchAds360Link(SearchAds360LinkName name) + *

  • getSearchAds360Link(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSearchAds360LinkCallable() + *
  • getSearchAds360LinkCallable() *

*
ListSearchAds360Links

ListSearchAds360Links

Lists all SearchAds360Links on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSearchAds360Links(ListSearchAds360LinksRequest request) + *
  • listSearchAds360Links(ListSearchAds360LinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSearchAds360Links(PropertyName parent) - *
  • listSearchAds360Links(String parent) + *
  • listSearchAds360Links(PropertyName parent) + *

  • listSearchAds360Links(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSearchAds360LinksPagedCallable() - *
  • listSearchAds360LinksCallable() + *
  • listSearchAds360LinksPagedCallable() + *

  • listSearchAds360LinksCallable() *

*
CreateSearchAds360Link

CreateSearchAds360Link

Creates a SearchAds360Link.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSearchAds360Link(CreateSearchAds360LinkRequest request) + *
  • createSearchAds360Link(CreateSearchAds360LinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSearchAds360Link(PropertyName parent, SearchAds360Link searchAds360Link) - *
  • createSearchAds360Link(String parent, SearchAds360Link searchAds360Link) + *
  • createSearchAds360Link(PropertyName parent, SearchAds360Link searchAds360Link) + *

  • createSearchAds360Link(String parent, SearchAds360Link searchAds360Link) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSearchAds360LinkCallable() + *
  • createSearchAds360LinkCallable() *

*
DeleteSearchAds360Link

DeleteSearchAds360Link

Deletes a SearchAds360Link on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSearchAds360Link(DeleteSearchAds360LinkRequest request) + *
  • deleteSearchAds360Link(DeleteSearchAds360LinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteSearchAds360Link(SearchAds360LinkName name) - *
  • deleteSearchAds360Link(String name) + *
  • deleteSearchAds360Link(SearchAds360LinkName name) + *

  • deleteSearchAds360Link(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSearchAds360LinkCallable() + *
  • deleteSearchAds360LinkCallable() *

*
UpdateSearchAds360Link

UpdateSearchAds360Link

Updates a SearchAds360Link on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSearchAds360Link(UpdateSearchAds360LinkRequest request) + *
  • updateSearchAds360Link(UpdateSearchAds360LinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSearchAds360Link(SearchAds360Link searchAds360Link, FieldMask updateMask) + *
  • updateSearchAds360Link(SearchAds360Link searchAds360Link, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSearchAds360LinkCallable() + *
  • updateSearchAds360LinkCallable() *

*
GetAttributionSettings

GetAttributionSettings

Lookup for a AttributionSettings singleton.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAttributionSettings(GetAttributionSettingsRequest request) + *
  • getAttributionSettings(GetAttributionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAttributionSettings(AttributionSettingsName name) - *
  • getAttributionSettings(String name) + *
  • getAttributionSettings(AttributionSettingsName name) + *

  • getAttributionSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAttributionSettingsCallable() + *
  • getAttributionSettingsCallable() *

*
UpdateAttributionSettings

UpdateAttributionSettings

Updates attribution settings on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAttributionSettings(UpdateAttributionSettingsRequest request) + *
  • updateAttributionSettings(UpdateAttributionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAttributionSettings(AttributionSettings attributionSettings, FieldMask updateMask) + *
  • updateAttributionSettings(AttributionSettings attributionSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAttributionSettingsCallable() + *
  • updateAttributionSettingsCallable() *

*
RunAccessReport

RunAccessReport

Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. *

Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. *

These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runAccessReport(RunAccessReportRequest request) + *
  • runAccessReport(RunAccessReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runAccessReportCallable() + *
  • runAccessReportCallable() *

*
CreateAccessBinding

CreateAccessBinding

Creates an access binding on an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAccessBinding(CreateAccessBindingRequest request) + *
  • createAccessBinding(CreateAccessBindingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createAccessBinding(AccountName parent, AccessBinding accessBinding) - *
  • createAccessBinding(PropertyName parent, AccessBinding accessBinding) - *
  • createAccessBinding(String parent, AccessBinding accessBinding) + *
  • createAccessBinding(AccountName parent, AccessBinding accessBinding) + *

  • createAccessBinding(PropertyName parent, AccessBinding accessBinding) + *

  • createAccessBinding(String parent, AccessBinding accessBinding) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAccessBindingCallable() + *
  • createAccessBindingCallable() *

*
GetAccessBinding

GetAccessBinding

Gets information about an access binding.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccessBinding(GetAccessBindingRequest request) + *
  • getAccessBinding(GetAccessBindingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccessBinding(AccessBindingName name) - *
  • getAccessBinding(String name) + *
  • getAccessBinding(AccessBindingName name) + *

  • getAccessBinding(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccessBindingCallable() + *
  • getAccessBindingCallable() *

*
UpdateAccessBinding

UpdateAccessBinding

Updates an access binding on an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccessBinding(UpdateAccessBindingRequest request) + *
  • updateAccessBinding(UpdateAccessBindingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAccessBinding(AccessBinding accessBinding) + *
  • updateAccessBinding(AccessBinding accessBinding) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccessBindingCallable() + *
  • updateAccessBindingCallable() *

*
DeleteAccessBinding

DeleteAccessBinding

Deletes an access binding on an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccessBinding(DeleteAccessBindingRequest request) + *
  • deleteAccessBinding(DeleteAccessBindingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteAccessBinding(AccessBindingName name) - *
  • deleteAccessBinding(String name) + *
  • deleteAccessBinding(AccessBindingName name) + *

  • deleteAccessBinding(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccessBindingCallable() + *
  • deleteAccessBindingCallable() *

*
ListAccessBindings

ListAccessBindings

Lists all access bindings on an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccessBindings(ListAccessBindingsRequest request) + *
  • listAccessBindings(ListAccessBindingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAccessBindings(AccountName parent) - *
  • listAccessBindings(PropertyName parent) - *
  • listAccessBindings(String parent) + *
  • listAccessBindings(AccountName parent) + *

  • listAccessBindings(PropertyName parent) + *

  • listAccessBindings(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccessBindingsPagedCallable() - *
  • listAccessBindingsCallable() + *
  • listAccessBindingsPagedCallable() + *

  • listAccessBindingsCallable() *

*
BatchCreateAccessBindings

BatchCreateAccessBindings

Creates information about multiple access bindings to an account or property. *

This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateAccessBindings(BatchCreateAccessBindingsRequest request) + *
  • batchCreateAccessBindings(BatchCreateAccessBindingsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateAccessBindingsCallable() + *
  • batchCreateAccessBindingsCallable() *

*
BatchGetAccessBindings

BatchGetAccessBindings

Gets information about multiple access bindings to an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchGetAccessBindings(BatchGetAccessBindingsRequest request) + *
  • batchGetAccessBindings(BatchGetAccessBindingsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchGetAccessBindingsCallable() + *
  • batchGetAccessBindingsCallable() *

*
BatchUpdateAccessBindings

BatchUpdateAccessBindings

Updates information about multiple access bindings to an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request) + *
  • batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchUpdateAccessBindingsCallable() + *
  • batchUpdateAccessBindingsCallable() *

*
BatchDeleteAccessBindings

BatchDeleteAccessBindings

Deletes information about multiple users' links to an account or property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request) + *
  • batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchDeleteAccessBindingsCallable() + *
  • batchDeleteAccessBindingsCallable() *

*
GetExpandedDataSet

GetExpandedDataSet

Lookup for a single ExpandedDataSet.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getExpandedDataSet(GetExpandedDataSetRequest request) + *
  • getExpandedDataSet(GetExpandedDataSetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getExpandedDataSet(ExpandedDataSetName name) - *
  • getExpandedDataSet(String name) + *
  • getExpandedDataSet(ExpandedDataSetName name) + *

  • getExpandedDataSet(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getExpandedDataSetCallable() + *
  • getExpandedDataSetCallable() *

*
ListExpandedDataSets

ListExpandedDataSets

Lists ExpandedDataSets on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listExpandedDataSets(ListExpandedDataSetsRequest request) + *
  • listExpandedDataSets(ListExpandedDataSetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listExpandedDataSets(PropertyName parent) - *
  • listExpandedDataSets(String parent) + *
  • listExpandedDataSets(PropertyName parent) + *

  • listExpandedDataSets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listExpandedDataSetsPagedCallable() - *
  • listExpandedDataSetsCallable() + *
  • listExpandedDataSetsPagedCallable() + *

  • listExpandedDataSetsCallable() *

*
CreateExpandedDataSet

CreateExpandedDataSet

Creates a ExpandedDataSet.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createExpandedDataSet(CreateExpandedDataSetRequest request) + *
  • createExpandedDataSet(CreateExpandedDataSetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createExpandedDataSet(PropertyName parent, ExpandedDataSet expandedDataSet) - *
  • createExpandedDataSet(String parent, ExpandedDataSet expandedDataSet) + *
  • createExpandedDataSet(PropertyName parent, ExpandedDataSet expandedDataSet) + *

  • createExpandedDataSet(String parent, ExpandedDataSet expandedDataSet) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createExpandedDataSetCallable() + *
  • createExpandedDataSetCallable() *

*
UpdateExpandedDataSet

UpdateExpandedDataSet

Updates a ExpandedDataSet on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateExpandedDataSet(UpdateExpandedDataSetRequest request) + *
  • updateExpandedDataSet(UpdateExpandedDataSetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateExpandedDataSet(ExpandedDataSet expandedDataSet, FieldMask updateMask) + *
  • updateExpandedDataSet(ExpandedDataSet expandedDataSet, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateExpandedDataSetCallable() + *
  • updateExpandedDataSetCallable() *

*
DeleteExpandedDataSet

DeleteExpandedDataSet

Deletes a ExpandedDataSet on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteExpandedDataSet(DeleteExpandedDataSetRequest request) + *
  • deleteExpandedDataSet(DeleteExpandedDataSetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteExpandedDataSet(ExpandedDataSetName name) - *
  • deleteExpandedDataSet(String name) + *
  • deleteExpandedDataSet(ExpandedDataSetName name) + *

  • deleteExpandedDataSet(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteExpandedDataSetCallable() + *
  • deleteExpandedDataSetCallable() *

*
GetChannelGroup

GetChannelGroup

Lookup for a single ChannelGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getChannelGroup(GetChannelGroupRequest request) + *
  • getChannelGroup(GetChannelGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getChannelGroup(ChannelGroupName name) - *
  • getChannelGroup(String name) + *
  • getChannelGroup(ChannelGroupName name) + *

  • getChannelGroup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getChannelGroupCallable() + *
  • getChannelGroupCallable() *

*
ListChannelGroups

ListChannelGroups

Lists ChannelGroups on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listChannelGroups(ListChannelGroupsRequest request) + *
  • listChannelGroups(ListChannelGroupsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listChannelGroups(PropertyName parent) - *
  • listChannelGroups(String parent) + *
  • listChannelGroups(PropertyName parent) + *

  • listChannelGroups(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listChannelGroupsPagedCallable() - *
  • listChannelGroupsCallable() + *
  • listChannelGroupsPagedCallable() + *

  • listChannelGroupsCallable() *

*
CreateChannelGroup

CreateChannelGroup

Creates a ChannelGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createChannelGroup(CreateChannelGroupRequest request) + *
  • createChannelGroup(CreateChannelGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createChannelGroup(PropertyName parent, ChannelGroup channelGroup) - *
  • createChannelGroup(String parent, ChannelGroup channelGroup) + *
  • createChannelGroup(PropertyName parent, ChannelGroup channelGroup) + *

  • createChannelGroup(String parent, ChannelGroup channelGroup) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createChannelGroupCallable() + *
  • createChannelGroupCallable() *

*
UpdateChannelGroup

UpdateChannelGroup

Updates a ChannelGroup.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateChannelGroup(UpdateChannelGroupRequest request) + *
  • updateChannelGroup(UpdateChannelGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateChannelGroup(ChannelGroup channelGroup, FieldMask updateMask) + *
  • updateChannelGroup(ChannelGroup channelGroup, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateChannelGroupCallable() + *
  • updateChannelGroupCallable() *

*
DeleteChannelGroup

DeleteChannelGroup

Deletes a ChannelGroup on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteChannelGroup(DeleteChannelGroupRequest request) + *
  • deleteChannelGroup(DeleteChannelGroupRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteChannelGroup(ChannelGroupName name) - *
  • deleteChannelGroup(String name) + *
  • deleteChannelGroup(ChannelGroupName name) + *

  • deleteChannelGroup(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteChannelGroupCallable() + *
  • deleteChannelGroupCallable() *

*
SetAutomatedGa4ConfigurationOptOut

SetAutomatedGa4ConfigurationOptOut

Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest request) + *
  • setAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setAutomatedGa4ConfigurationOptOutCallable() + *
  • setAutomatedGa4ConfigurationOptOutCallable() *

*
FetchAutomatedGa4ConfigurationOptOut

FetchAutomatedGa4ConfigurationOptOut

Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • fetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest request) + *
  • fetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • fetchAutomatedGa4ConfigurationOptOutCallable() + *
  • fetchAutomatedGa4ConfigurationOptOutCallable() *

*
GetBigQueryLink

GetBigQueryLink

Lookup for a single BigQuery Link.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getBigQueryLink(GetBigQueryLinkRequest request) + *
  • getBigQueryLink(GetBigQueryLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getBigQueryLink(BigQueryLinkName name) - *
  • getBigQueryLink(String name) + *
  • getBigQueryLink(BigQueryLinkName name) + *

  • getBigQueryLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getBigQueryLinkCallable() + *
  • getBigQueryLinkCallable() *

*
ListBigQueryLinks

ListBigQueryLinks

Lists BigQuery Links on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listBigQueryLinks(ListBigQueryLinksRequest request) + *
  • listBigQueryLinks(ListBigQueryLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listBigQueryLinks(PropertyName parent) - *
  • listBigQueryLinks(String parent) + *
  • listBigQueryLinks(PropertyName parent) + *

  • listBigQueryLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listBigQueryLinksPagedCallable() - *
  • listBigQueryLinksCallable() + *
  • listBigQueryLinksPagedCallable() + *

  • listBigQueryLinksCallable() *

*
GetEnhancedMeasurementSettings

GetEnhancedMeasurementSettings

Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request) + *
  • getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEnhancedMeasurementSettings(EnhancedMeasurementSettingsName name) - *
  • getEnhancedMeasurementSettings(String name) + *
  • getEnhancedMeasurementSettings(EnhancedMeasurementSettingsName name) + *

  • getEnhancedMeasurementSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEnhancedMeasurementSettingsCallable() + *
  • getEnhancedMeasurementSettingsCallable() *

*
UpdateEnhancedMeasurementSettings

UpdateEnhancedMeasurementSettings

Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request) + *
  • updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEnhancedMeasurementSettings(EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask) + *
  • updateEnhancedMeasurementSettings(EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEnhancedMeasurementSettingsCallable() + *
  • updateEnhancedMeasurementSettingsCallable() *

*
CreateConnectedSiteTag

CreateConnectedSiteTag

Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createConnectedSiteTag(CreateConnectedSiteTagRequest request) + *
  • createConnectedSiteTag(CreateConnectedSiteTagRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createConnectedSiteTagCallable() + *
  • createConnectedSiteTagCallable() *

*
DeleteConnectedSiteTag

DeleteConnectedSiteTag

Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteConnectedSiteTag(DeleteConnectedSiteTagRequest request) + *
  • deleteConnectedSiteTag(DeleteConnectedSiteTagRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteConnectedSiteTagCallable() + *
  • deleteConnectedSiteTagCallable() *

*
ListConnectedSiteTags

ListConnectedSiteTags

Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listConnectedSiteTags(ListConnectedSiteTagsRequest request) + *
  • listConnectedSiteTags(ListConnectedSiteTagsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listConnectedSiteTagsCallable() + *
  • listConnectedSiteTagsCallable() *

*
FetchConnectedGa4Property

FetchConnectedGa4Property

Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • fetchConnectedGa4Property(FetchConnectedGa4PropertyRequest request) + *
  • fetchConnectedGa4Property(FetchConnectedGa4PropertyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • fetchConnectedGa4PropertyCallable() + *
  • fetchConnectedGa4PropertyCallable() *

*
GetAdSenseLink

GetAdSenseLink

Looks up a single AdSenseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAdSenseLink(GetAdSenseLinkRequest request) + *
  • getAdSenseLink(GetAdSenseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAdSenseLink(AdSenseLinkName name) - *
  • getAdSenseLink(String name) + *
  • getAdSenseLink(AdSenseLinkName name) + *

  • getAdSenseLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAdSenseLinkCallable() + *
  • getAdSenseLinkCallable() *

*
CreateAdSenseLink

CreateAdSenseLink

Creates an AdSenseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAdSenseLink(CreateAdSenseLinkRequest request) + *
  • createAdSenseLink(CreateAdSenseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createAdSenseLink(PropertyName parent, AdSenseLink adsenseLink) - *
  • createAdSenseLink(String parent, AdSenseLink adsenseLink) + *
  • createAdSenseLink(PropertyName parent, AdSenseLink adsenseLink) + *

  • createAdSenseLink(String parent, AdSenseLink adsenseLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAdSenseLinkCallable() + *
  • createAdSenseLinkCallable() *

*
DeleteAdSenseLink

DeleteAdSenseLink

Deletes an AdSenseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAdSenseLink(DeleteAdSenseLinkRequest request) + *
  • deleteAdSenseLink(DeleteAdSenseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteAdSenseLink(AdSenseLinkName name) - *
  • deleteAdSenseLink(String name) + *
  • deleteAdSenseLink(AdSenseLinkName name) + *

  • deleteAdSenseLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAdSenseLinkCallable() + *
  • deleteAdSenseLinkCallable() *

*
ListAdSenseLinks

ListAdSenseLinks

Lists AdSenseLinks on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAdSenseLinks(ListAdSenseLinksRequest request) + *
  • listAdSenseLinks(ListAdSenseLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAdSenseLinks(PropertyName parent) - *
  • listAdSenseLinks(String parent) + *
  • listAdSenseLinks(PropertyName parent) + *

  • listAdSenseLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAdSenseLinksPagedCallable() - *
  • listAdSenseLinksCallable() + *
  • listAdSenseLinksPagedCallable() + *

  • listAdSenseLinksCallable() *

*
GetEventCreateRule

GetEventCreateRule

Lookup for a single EventCreateRule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getEventCreateRule(GetEventCreateRuleRequest request) + *
  • getEventCreateRule(GetEventCreateRuleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getEventCreateRule(EventCreateRuleName name) - *
  • getEventCreateRule(String name) + *
  • getEventCreateRule(EventCreateRuleName name) + *

  • getEventCreateRule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getEventCreateRuleCallable() + *
  • getEventCreateRuleCallable() *

*
ListEventCreateRules

ListEventCreateRules

Lists EventCreateRules on a web data stream.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listEventCreateRules(ListEventCreateRulesRequest request) + *
  • listEventCreateRules(ListEventCreateRulesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listEventCreateRules(DataStreamName parent) - *
  • listEventCreateRules(String parent) + *
  • listEventCreateRules(DataStreamName parent) + *

  • listEventCreateRules(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listEventCreateRulesPagedCallable() - *
  • listEventCreateRulesCallable() + *
  • listEventCreateRulesPagedCallable() + *

  • listEventCreateRulesCallable() *

*
CreateEventCreateRule

CreateEventCreateRule

Creates an EventCreateRule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createEventCreateRule(CreateEventCreateRuleRequest request) + *
  • createEventCreateRule(CreateEventCreateRuleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createEventCreateRule(DataStreamName parent, EventCreateRule eventCreateRule) - *
  • createEventCreateRule(String parent, EventCreateRule eventCreateRule) + *
  • createEventCreateRule(DataStreamName parent, EventCreateRule eventCreateRule) + *

  • createEventCreateRule(String parent, EventCreateRule eventCreateRule) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createEventCreateRuleCallable() + *
  • createEventCreateRuleCallable() *

*
UpdateEventCreateRule

UpdateEventCreateRule

Updates an EventCreateRule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateEventCreateRule(UpdateEventCreateRuleRequest request) + *
  • updateEventCreateRule(UpdateEventCreateRuleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateEventCreateRule(EventCreateRule eventCreateRule, FieldMask updateMask) + *
  • updateEventCreateRule(EventCreateRule eventCreateRule, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateEventCreateRuleCallable() + *
  • updateEventCreateRuleCallable() *

*
DeleteEventCreateRule

DeleteEventCreateRule

Deletes an EventCreateRule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteEventCreateRule(DeleteEventCreateRuleRequest request) + *
  • deleteEventCreateRule(DeleteEventCreateRuleRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteEventCreateRule(EventCreateRuleName name) - *
  • deleteEventCreateRule(String name) + *
  • deleteEventCreateRule(EventCreateRuleName name) + *

  • deleteEventCreateRule(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteEventCreateRuleCallable() + *
  • deleteEventCreateRuleCallable() *

*
UpdateDataRedactionSettings

UpdateDataRedactionSettings

Updates a DataRedactionSettings on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataRedactionSettings(UpdateDataRedactionSettingsRequest request) + *
  • updateDataRedactionSettings(UpdateDataRedactionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataRedactionSettings(DataRedactionSettings dataRedactionSettings, FieldMask updateMask) + *
  • updateDataRedactionSettings(DataRedactionSettings dataRedactionSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataRedactionSettingsCallable() + *
  • updateDataRedactionSettingsCallable() *

*
GetDataRedactionSettings

GetDataRedactionSettings

Lookup for a single DataRedactionSettings.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataRedactionSettings(GetDataRedactionSettingsRequest request) + *
  • getDataRedactionSettings(GetDataRedactionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataRedactionSettings(DataRedactionSettingsName name) - *
  • getDataRedactionSettings(String name) + *
  • getDataRedactionSettings(DataRedactionSettingsName name) + *

  • getDataRedactionSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataRedactionSettingsCallable() + *
  • getDataRedactionSettingsCallable() *

*
CreateRollupProperty

CreateRollupProperty

Create a roll-up property and all roll-up property source links.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRollupProperty(CreateRollupPropertyRequest request) + *
  • createRollupProperty(CreateRollupPropertyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRollupPropertyCallable() + *
  • createRollupPropertyCallable() *

*
GetRollupPropertySourceLink

GetRollupPropertySourceLink

Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest request) + *
  • getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getRollupPropertySourceLink(RollupPropertySourceLinkName name) - *
  • getRollupPropertySourceLink(String name) + *
  • getRollupPropertySourceLink(RollupPropertySourceLinkName name) + *

  • getRollupPropertySourceLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getRollupPropertySourceLinkCallable() + *
  • getRollupPropertySourceLinkCallable() *

*
ListRollupPropertySourceLinks

ListRollupPropertySourceLinks

Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest request) + *
  • listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listRollupPropertySourceLinks(PropertyName parent) - *
  • listRollupPropertySourceLinks(String parent) + *
  • listRollupPropertySourceLinks(PropertyName parent) + *

  • listRollupPropertySourceLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listRollupPropertySourceLinksPagedCallable() - *
  • listRollupPropertySourceLinksCallable() + *
  • listRollupPropertySourceLinksPagedCallable() + *

  • listRollupPropertySourceLinksCallable() *

*
CreateRollupPropertySourceLink

CreateRollupPropertySourceLink

Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest request) + *
  • createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createRollupPropertySourceLink(PropertyName parent, RollupPropertySourceLink rollupPropertySourceLink) - *
  • createRollupPropertySourceLink(String parent, RollupPropertySourceLink rollupPropertySourceLink) + *
  • createRollupPropertySourceLink(PropertyName parent, RollupPropertySourceLink rollupPropertySourceLink) + *

  • createRollupPropertySourceLink(String parent, RollupPropertySourceLink rollupPropertySourceLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRollupPropertySourceLinkCallable() + *
  • createRollupPropertySourceLinkCallable() *

*
DeleteRollupPropertySourceLink

DeleteRollupPropertySourceLink

Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest request) + *
  • deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteRollupPropertySourceLink(RollupPropertySourceLinkName name) - *
  • deleteRollupPropertySourceLink(String name) + *
  • deleteRollupPropertySourceLink(RollupPropertySourceLinkName name) + *

  • deleteRollupPropertySourceLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteRollupPropertySourceLinkCallable() + *
  • deleteRollupPropertySourceLinkCallable() *

*
CreateSubproperty

CreateSubproperty

Create a subproperty and a subproperty event filter that applies to the created subproperty.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSubproperty(CreateSubpropertyRequest request) + *
  • createSubproperty(CreateSubpropertyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSubpropertyCallable() + *
  • createSubpropertyCallable() *

*
CreateSubpropertyEventFilter

CreateSubpropertyEventFilter

Creates a subproperty Event Filter.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request) + *
  • createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSubpropertyEventFilter(PropertyName parent, SubpropertyEventFilter subpropertyEventFilter) - *
  • createSubpropertyEventFilter(String parent, SubpropertyEventFilter subpropertyEventFilter) + *
  • createSubpropertyEventFilter(PropertyName parent, SubpropertyEventFilter subpropertyEventFilter) + *

  • createSubpropertyEventFilter(String parent, SubpropertyEventFilter subpropertyEventFilter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSubpropertyEventFilterCallable() + *
  • createSubpropertyEventFilterCallable() *

*
GetSubpropertyEventFilter

GetSubpropertyEventFilter

Lookup for a single subproperty Event Filter.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSubpropertyEventFilter(GetSubpropertyEventFilterRequest request) + *
  • getSubpropertyEventFilter(GetSubpropertyEventFilterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSubpropertyEventFilter(SubpropertyEventFilterName name) - *
  • getSubpropertyEventFilter(String name) + *
  • getSubpropertyEventFilter(SubpropertyEventFilterName name) + *

  • getSubpropertyEventFilter(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSubpropertyEventFilterCallable() + *
  • getSubpropertyEventFilterCallable() *

*
ListSubpropertyEventFilters

ListSubpropertyEventFilters

List all subproperty Event Filters on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request) + *
  • listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSubpropertyEventFilters(PropertyName parent) - *
  • listSubpropertyEventFilters(String parent) + *
  • listSubpropertyEventFilters(PropertyName parent) + *

  • listSubpropertyEventFilters(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSubpropertyEventFiltersPagedCallable() - *
  • listSubpropertyEventFiltersCallable() + *
  • listSubpropertyEventFiltersPagedCallable() + *

  • listSubpropertyEventFiltersCallable() *

*
UpdateSubpropertyEventFilter

UpdateSubpropertyEventFilter

Updates a subproperty Event Filter.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request) + *
  • updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSubpropertyEventFilter(SubpropertyEventFilter subpropertyEventFilter, FieldMask updateMask) + *
  • updateSubpropertyEventFilter(SubpropertyEventFilter subpropertyEventFilter, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSubpropertyEventFilterCallable() + *
  • updateSubpropertyEventFilterCallable() *

*
DeleteSubpropertyEventFilter

DeleteSubpropertyEventFilter

Deletes a subproperty event filter.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request) + *
  • deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteSubpropertyEventFilter(SubpropertyEventFilterName name) - *
  • deleteSubpropertyEventFilter(String name) + *
  • deleteSubpropertyEventFilter(SubpropertyEventFilterName name) + *

  • deleteSubpropertyEventFilter(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSubpropertyEventFilterCallable() + *
  • deleteSubpropertyEventFilterCallable() *

*
* *

See the individual methods for example code. diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java index 9cb68c5a73bd..e61b9938272a 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java @@ -3080,6 +3080,15 @@ public AnalyticsAdminServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -4344,7 +4353,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -4357,7 +4365,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -5927,6 +5934,15 @@ public UnaryCallSettings.Builder deleteAdSenseL return deleteSubpropertyEventFilterSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AnalyticsAdminServiceStubSettings build() throws IOException { return new AnalyticsAdminServiceStubSettings(this); diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java index a851681dff7f..29cad4f7f9cc 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java @@ -60,47 +60,49 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetAccount

GetAccount

Lookup for a single Account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAccount(GetAccountRequest request) + *
  • getAccount(GetAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAccount(AccountName name) - *
  • getAccount(String name) + *
  • getAccount(AccountName name) + *

  • getAccount(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAccountCallable() + *
  • getAccountCallable() *

*
ListAccounts

ListAccounts

Returns all accounts accessible by the caller. *

Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccounts(ListAccountsRequest request) + *
  • listAccounts(ListAccountsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccountsPagedCallable() - *
  • listAccountsCallable() + *
  • listAccountsPagedCallable() + *

  • listAccountsCallable() *

*
DeleteAccount

DeleteAccount

Marks target Account as soft-deleted (ie: "trashed") and returns it. *

This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. *

If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 @@ -108,121 +110,121 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAccount(DeleteAccountRequest request) + *
  • deleteAccount(DeleteAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteAccount(AccountName name) - *
  • deleteAccount(String name) + *
  • deleteAccount(AccountName name) + *

  • deleteAccount(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAccountCallable() + *
  • deleteAccountCallable() *

*
UpdateAccount

UpdateAccount

Updates an account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAccount(UpdateAccountRequest request) + *
  • updateAccount(UpdateAccountRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateAccount(Account account, FieldMask updateMask) + *
  • updateAccount(Account account, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAccountCallable() + *
  • updateAccountCallable() *

*
ProvisionAccountTicket

ProvisionAccountTicket

Requests a ticket for creating an account.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • provisionAccountTicket(ProvisionAccountTicketRequest request) + *
  • provisionAccountTicket(ProvisionAccountTicketRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • provisionAccountTicketCallable() + *
  • provisionAccountTicketCallable() *

*
ListAccountSummaries

ListAccountSummaries

Returns summaries of all accounts accessible by the caller.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAccountSummaries(ListAccountSummariesRequest request) + *
  • listAccountSummaries(ListAccountSummariesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAccountSummariesPagedCallable() - *
  • listAccountSummariesCallable() + *
  • listAccountSummariesPagedCallable() + *

  • listAccountSummariesCallable() *

*
GetProperty

GetProperty

Lookup for a single "GA4" Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getProperty(GetPropertyRequest request) + *
  • getProperty(GetPropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getProperty(PropertyName name) - *
  • getProperty(String name) + *
  • getProperty(PropertyName name) + *

  • getProperty(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPropertyCallable() + *
  • getPropertyCallable() *

*
ListProperties

ListProperties

Returns child Properties under the specified parent Account. *

Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listProperties(ListPropertiesRequest request) + *
  • listProperties(ListPropertiesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPropertiesPagedCallable() - *
  • listPropertiesCallable() + *
  • listPropertiesPagedCallable() + *

  • listPropertiesCallable() *

*
CreateProperty

CreateProperty

Creates an "GA4" property with the specified location and attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createProperty(CreatePropertyRequest request) + *
  • createProperty(CreatePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createProperty(Property property) + *
  • createProperty(Property property) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createPropertyCallable() + *
  • createPropertyCallable() *

*
DeleteProperty

DeleteProperty

Marks target Property as soft-deleted (ie: "trashed") and returns it. *

This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. *

If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 @@ -230,751 +232,750 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteProperty(DeletePropertyRequest request) + *
  • deleteProperty(DeletePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteProperty(PropertyName name) - *
  • deleteProperty(String name) + *
  • deleteProperty(PropertyName name) + *

  • deleteProperty(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePropertyCallable() + *
  • deletePropertyCallable() *

*
UpdateProperty

UpdateProperty

Updates a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateProperty(UpdatePropertyRequest request) + *
  • updateProperty(UpdatePropertyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateProperty(Property property, FieldMask updateMask) + *
  • updateProperty(Property property, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updatePropertyCallable() + *
  • updatePropertyCallable() *

*
CreateFirebaseLink

CreateFirebaseLink

Creates a FirebaseLink. *

Properties can have at most one FirebaseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFirebaseLink(CreateFirebaseLinkRequest request) + *
  • createFirebaseLink(CreateFirebaseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createFirebaseLink(PropertyName parent, FirebaseLink firebaseLink) - *
  • createFirebaseLink(String parent, FirebaseLink firebaseLink) + *
  • createFirebaseLink(PropertyName parent, FirebaseLink firebaseLink) + *

  • createFirebaseLink(String parent, FirebaseLink firebaseLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFirebaseLinkCallable() + *
  • createFirebaseLinkCallable() *

*
DeleteFirebaseLink

DeleteFirebaseLink

Deletes a FirebaseLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFirebaseLink(DeleteFirebaseLinkRequest request) + *
  • deleteFirebaseLink(DeleteFirebaseLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteFirebaseLink(FirebaseLinkName name) - *
  • deleteFirebaseLink(String name) + *
  • deleteFirebaseLink(FirebaseLinkName name) + *

  • deleteFirebaseLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFirebaseLinkCallable() + *
  • deleteFirebaseLinkCallable() *

*
ListFirebaseLinks

ListFirebaseLinks

Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFirebaseLinks(ListFirebaseLinksRequest request) + *
  • listFirebaseLinks(ListFirebaseLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFirebaseLinks(PropertyName parent) - *
  • listFirebaseLinks(String parent) + *
  • listFirebaseLinks(PropertyName parent) + *

  • listFirebaseLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFirebaseLinksPagedCallable() - *
  • listFirebaseLinksCallable() + *
  • listFirebaseLinksPagedCallable() + *

  • listFirebaseLinksCallable() *

*
CreateGoogleAdsLink

CreateGoogleAdsLink

Creates a GoogleAdsLink.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createGoogleAdsLink(CreateGoogleAdsLinkRequest request) + *
  • createGoogleAdsLink(CreateGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createGoogleAdsLink(PropertyName parent, GoogleAdsLink googleAdsLink) - *
  • createGoogleAdsLink(String parent, GoogleAdsLink googleAdsLink) + *
  • createGoogleAdsLink(PropertyName parent, GoogleAdsLink googleAdsLink) + *

  • createGoogleAdsLink(String parent, GoogleAdsLink googleAdsLink) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createGoogleAdsLinkCallable() + *
  • createGoogleAdsLinkCallable() *

*
UpdateGoogleAdsLink

UpdateGoogleAdsLink

Updates a GoogleAdsLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request) + *
  • updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateGoogleAdsLink(GoogleAdsLink googleAdsLink, FieldMask updateMask) + *
  • updateGoogleAdsLink(GoogleAdsLink googleAdsLink, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateGoogleAdsLinkCallable() + *
  • updateGoogleAdsLinkCallable() *

*
DeleteGoogleAdsLink

DeleteGoogleAdsLink

Deletes a GoogleAdsLink on a property

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request) + *
  • deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteGoogleAdsLink(GoogleAdsLinkName name) - *
  • deleteGoogleAdsLink(String name) + *
  • deleteGoogleAdsLink(GoogleAdsLinkName name) + *

  • deleteGoogleAdsLink(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteGoogleAdsLinkCallable() + *
  • deleteGoogleAdsLinkCallable() *

*
ListGoogleAdsLinks

ListGoogleAdsLinks

Lists GoogleAdsLinks on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listGoogleAdsLinks(ListGoogleAdsLinksRequest request) + *
  • listGoogleAdsLinks(ListGoogleAdsLinksRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listGoogleAdsLinks(PropertyName parent) - *
  • listGoogleAdsLinks(String parent) + *
  • listGoogleAdsLinks(PropertyName parent) + *

  • listGoogleAdsLinks(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listGoogleAdsLinksPagedCallable() - *
  • listGoogleAdsLinksCallable() + *
  • listGoogleAdsLinksPagedCallable() + *

  • listGoogleAdsLinksCallable() *

*
GetDataSharingSettings

GetDataSharingSettings

Get data sharing settings on an account. Data sharing settings are singletons.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataSharingSettings(GetDataSharingSettingsRequest request) + *
  • getDataSharingSettings(GetDataSharingSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataSharingSettings(DataSharingSettingsName name) - *
  • getDataSharingSettings(String name) + *
  • getDataSharingSettings(DataSharingSettingsName name) + *

  • getDataSharingSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataSharingSettingsCallable() + *
  • getDataSharingSettingsCallable() *

*
GetMeasurementProtocolSecret

GetMeasurementProtocolSecret

Lookup for a single "GA4" MeasurementProtocolSecret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) + *
  • getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMeasurementProtocolSecret(MeasurementProtocolSecretName name) - *
  • getMeasurementProtocolSecret(String name) + *
  • getMeasurementProtocolSecret(MeasurementProtocolSecretName name) + *

  • getMeasurementProtocolSecret(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMeasurementProtocolSecretCallable() + *
  • getMeasurementProtocolSecretCallable() *

*
ListMeasurementProtocolSecrets

ListMeasurementProtocolSecrets

Returns child MeasurementProtocolSecrets under the specified parent Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) + *
  • listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMeasurementProtocolSecrets(DataStreamName parent) - *
  • listMeasurementProtocolSecrets(String parent) + *
  • listMeasurementProtocolSecrets(DataStreamName parent) + *

  • listMeasurementProtocolSecrets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMeasurementProtocolSecretsPagedCallable() - *
  • listMeasurementProtocolSecretsCallable() + *
  • listMeasurementProtocolSecretsPagedCallable() + *

  • listMeasurementProtocolSecretsCallable() *

*
CreateMeasurementProtocolSecret

CreateMeasurementProtocolSecret

Creates a measurement protocol secret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) + *
  • createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createMeasurementProtocolSecret(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret) - *
  • createMeasurementProtocolSecret(String parent, MeasurementProtocolSecret measurementProtocolSecret) + *
  • createMeasurementProtocolSecret(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret) + *

  • createMeasurementProtocolSecret(String parent, MeasurementProtocolSecret measurementProtocolSecret) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createMeasurementProtocolSecretCallable() + *
  • createMeasurementProtocolSecretCallable() *

*
DeleteMeasurementProtocolSecret

DeleteMeasurementProtocolSecret

Deletes target MeasurementProtocolSecret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) + *
  • deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteMeasurementProtocolSecret(MeasurementProtocolSecretName name) - *
  • deleteMeasurementProtocolSecret(String name) + *
  • deleteMeasurementProtocolSecret(MeasurementProtocolSecretName name) + *

  • deleteMeasurementProtocolSecret(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteMeasurementProtocolSecretCallable() + *
  • deleteMeasurementProtocolSecretCallable() *

*
UpdateMeasurementProtocolSecret

UpdateMeasurementProtocolSecret

Updates a measurement protocol secret.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) + *
  • updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateMeasurementProtocolSecret(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask) + *
  • updateMeasurementProtocolSecret(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateMeasurementProtocolSecretCallable() + *
  • updateMeasurementProtocolSecretCallable() *

*
AcknowledgeUserDataCollection

AcknowledgeUserDataCollection

Acknowledges the terms of user data collection for the specified property. *

This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) + *
  • acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • acknowledgeUserDataCollectionCallable() + *
  • acknowledgeUserDataCollectionCallable() *

*
SearchChangeHistoryEvents

SearchChangeHistoryEvents

Searches through all changes to an account or its children given the specified set of filters.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) + *
  • searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchChangeHistoryEventsPagedCallable() - *
  • searchChangeHistoryEventsCallable() + *
  • searchChangeHistoryEventsPagedCallable() + *

  • searchChangeHistoryEventsCallable() *

*
CreateConversionEvent

CreateConversionEvent

Creates a conversion event with the specified attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createConversionEvent(CreateConversionEventRequest request) + *
  • createConversionEvent(CreateConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createConversionEvent(PropertyName parent, ConversionEvent conversionEvent) - *
  • createConversionEvent(String parent, ConversionEvent conversionEvent) + *
  • createConversionEvent(PropertyName parent, ConversionEvent conversionEvent) + *

  • createConversionEvent(String parent, ConversionEvent conversionEvent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createConversionEventCallable() + *
  • createConversionEventCallable() *

*
UpdateConversionEvent

UpdateConversionEvent

Updates a conversion event with the specified attributes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateConversionEvent(UpdateConversionEventRequest request) + *
  • updateConversionEvent(UpdateConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateConversionEvent(ConversionEvent conversionEvent, FieldMask updateMask) + *
  • updateConversionEvent(ConversionEvent conversionEvent, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateConversionEventCallable() + *
  • updateConversionEventCallable() *

*
GetConversionEvent

GetConversionEvent

Retrieve a single conversion event.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getConversionEvent(GetConversionEventRequest request) + *
  • getConversionEvent(GetConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getConversionEvent(ConversionEventName name) - *
  • getConversionEvent(String name) + *
  • getConversionEvent(ConversionEventName name) + *

  • getConversionEvent(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getConversionEventCallable() + *
  • getConversionEventCallable() *

*
DeleteConversionEvent

DeleteConversionEvent

Deletes a conversion event in a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteConversionEvent(DeleteConversionEventRequest request) + *
  • deleteConversionEvent(DeleteConversionEventRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteConversionEvent(ConversionEventName name) - *
  • deleteConversionEvent(String name) + *
  • deleteConversionEvent(ConversionEventName name) + *

  • deleteConversionEvent(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteConversionEventCallable() + *
  • deleteConversionEventCallable() *

*
ListConversionEvents

ListConversionEvents

Returns a list of conversion events in the specified parent property. *

Returns an empty list if no conversion events are found.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listConversionEvents(ListConversionEventsRequest request) + *
  • listConversionEvents(ListConversionEventsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listConversionEvents(PropertyName parent) - *
  • listConversionEvents(String parent) + *
  • listConversionEvents(PropertyName parent) + *

  • listConversionEvents(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listConversionEventsPagedCallable() - *
  • listConversionEventsCallable() + *
  • listConversionEventsPagedCallable() + *

  • listConversionEventsCallable() *

*
CreateCustomDimension

CreateCustomDimension

Creates a CustomDimension.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomDimension(CreateCustomDimensionRequest request) + *
  • createCustomDimension(CreateCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomDimension(PropertyName parent, CustomDimension customDimension) - *
  • createCustomDimension(String parent, CustomDimension customDimension) + *
  • createCustomDimension(PropertyName parent, CustomDimension customDimension) + *

  • createCustomDimension(String parent, CustomDimension customDimension) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomDimensionCallable() + *
  • createCustomDimensionCallable() *

*
UpdateCustomDimension

UpdateCustomDimension

Updates a CustomDimension on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateCustomDimension(UpdateCustomDimensionRequest request) + *
  • updateCustomDimension(UpdateCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateCustomDimension(CustomDimension customDimension, FieldMask updateMask) + *
  • updateCustomDimension(CustomDimension customDimension, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateCustomDimensionCallable() + *
  • updateCustomDimensionCallable() *

*
ListCustomDimensions

ListCustomDimensions

Lists CustomDimensions on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomDimensions(ListCustomDimensionsRequest request) + *
  • listCustomDimensions(ListCustomDimensionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomDimensions(PropertyName parent) - *
  • listCustomDimensions(String parent) + *
  • listCustomDimensions(PropertyName parent) + *

  • listCustomDimensions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomDimensionsPagedCallable() - *
  • listCustomDimensionsCallable() + *
  • listCustomDimensionsPagedCallable() + *

  • listCustomDimensionsCallable() *

*
ArchiveCustomDimension

ArchiveCustomDimension

Archives a CustomDimension on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • archiveCustomDimension(ArchiveCustomDimensionRequest request) + *
  • archiveCustomDimension(ArchiveCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • archiveCustomDimension(CustomDimensionName name) - *
  • archiveCustomDimension(String name) + *
  • archiveCustomDimension(CustomDimensionName name) + *

  • archiveCustomDimension(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • archiveCustomDimensionCallable() + *
  • archiveCustomDimensionCallable() *

*
GetCustomDimension

GetCustomDimension

Lookup for a single CustomDimension.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomDimension(GetCustomDimensionRequest request) + *
  • getCustomDimension(GetCustomDimensionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomDimension(CustomDimensionName name) - *
  • getCustomDimension(String name) + *
  • getCustomDimension(CustomDimensionName name) + *

  • getCustomDimension(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomDimensionCallable() + *
  • getCustomDimensionCallable() *

*
CreateCustomMetric

CreateCustomMetric

Creates a CustomMetric.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createCustomMetric(CreateCustomMetricRequest request) + *
  • createCustomMetric(CreateCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createCustomMetric(PropertyName parent, CustomMetric customMetric) - *
  • createCustomMetric(String parent, CustomMetric customMetric) + *
  • createCustomMetric(PropertyName parent, CustomMetric customMetric) + *

  • createCustomMetric(String parent, CustomMetric customMetric) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createCustomMetricCallable() + *
  • createCustomMetricCallable() *

*
UpdateCustomMetric

UpdateCustomMetric

Updates a CustomMetric on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateCustomMetric(UpdateCustomMetricRequest request) + *
  • updateCustomMetric(UpdateCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateCustomMetric(CustomMetric customMetric, FieldMask updateMask) + *
  • updateCustomMetric(CustomMetric customMetric, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateCustomMetricCallable() + *
  • updateCustomMetricCallable() *

*
ListCustomMetrics

ListCustomMetrics

Lists CustomMetrics on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listCustomMetrics(ListCustomMetricsRequest request) + *
  • listCustomMetrics(ListCustomMetricsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listCustomMetrics(PropertyName parent) - *
  • listCustomMetrics(String parent) + *
  • listCustomMetrics(PropertyName parent) + *

  • listCustomMetrics(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listCustomMetricsPagedCallable() - *
  • listCustomMetricsCallable() + *
  • listCustomMetricsPagedCallable() + *

  • listCustomMetricsCallable() *

*
ArchiveCustomMetric

ArchiveCustomMetric

Archives a CustomMetric on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • archiveCustomMetric(ArchiveCustomMetricRequest request) + *
  • archiveCustomMetric(ArchiveCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • archiveCustomMetric(CustomMetricName name) - *
  • archiveCustomMetric(String name) + *
  • archiveCustomMetric(CustomMetricName name) + *

  • archiveCustomMetric(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • archiveCustomMetricCallable() + *
  • archiveCustomMetricCallable() *

*
GetCustomMetric

GetCustomMetric

Lookup for a single CustomMetric.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getCustomMetric(GetCustomMetricRequest request) + *
  • getCustomMetric(GetCustomMetricRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getCustomMetric(CustomMetricName name) - *
  • getCustomMetric(String name) + *
  • getCustomMetric(CustomMetricName name) + *

  • getCustomMetric(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getCustomMetricCallable() + *
  • getCustomMetricCallable() *

*
GetDataRetentionSettings

GetDataRetentionSettings

Returns the singleton data retention settings for this property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataRetentionSettings(GetDataRetentionSettingsRequest request) + *
  • getDataRetentionSettings(GetDataRetentionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataRetentionSettings(DataRetentionSettingsName name) - *
  • getDataRetentionSettings(String name) + *
  • getDataRetentionSettings(DataRetentionSettingsName name) + *

  • getDataRetentionSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataRetentionSettingsCallable() + *
  • getDataRetentionSettingsCallable() *

*
UpdateDataRetentionSettings

UpdateDataRetentionSettings

Updates the singleton data retention settings for this property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) + *
  • updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataRetentionSettings(DataRetentionSettings dataRetentionSettings, FieldMask updateMask) + *
  • updateDataRetentionSettings(DataRetentionSettings dataRetentionSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataRetentionSettingsCallable() + *
  • updateDataRetentionSettingsCallable() *

*
CreateDataStream

CreateDataStream

Creates a DataStream.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataStream(CreateDataStreamRequest request) + *
  • createDataStream(CreateDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataStream(PropertyName parent, DataStream dataStream) - *
  • createDataStream(String parent, DataStream dataStream) + *
  • createDataStream(PropertyName parent, DataStream dataStream) + *

  • createDataStream(String parent, DataStream dataStream) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDataStreamCallable() + *
  • createDataStreamCallable() *

*
DeleteDataStream

DeleteDataStream

Deletes a DataStream on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataStream(DeleteDataStreamRequest request) + *
  • deleteDataStream(DeleteDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDataStream(DataStreamName name) - *
  • deleteDataStream(String name) + *
  • deleteDataStream(DataStreamName name) + *

  • deleteDataStream(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDataStreamCallable() + *
  • deleteDataStreamCallable() *

*
UpdateDataStream

UpdateDataStream

Updates a DataStream on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataStream(UpdateDataStreamRequest request) + *
  • updateDataStream(UpdateDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataStream(DataStream dataStream, FieldMask updateMask) + *
  • updateDataStream(DataStream dataStream, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataStreamCallable() + *
  • updateDataStreamCallable() *

*
ListDataStreams

ListDataStreams

Lists DataStreams on a property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataStreams(ListDataStreamsRequest request) + *
  • listDataStreams(ListDataStreamsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataStreams(PropertyName parent) - *
  • listDataStreams(String parent) + *
  • listDataStreams(PropertyName parent) + *

  • listDataStreams(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataStreamsPagedCallable() - *
  • listDataStreamsCallable() + *
  • listDataStreamsPagedCallable() + *

  • listDataStreamsCallable() *

*
GetDataStream

GetDataStream

Lookup for a single DataStream.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataStream(GetDataStreamRequest request) + *
  • getDataStream(GetDataStreamRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataStream(DataStreamName name) - *
  • getDataStream(String name) + *
  • getDataStream(DataStreamName name) + *

  • getDataStream(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataStreamCallable() + *
  • getDataStreamCallable() *

*
RunAccessReport

RunAccessReport

Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. *

Data Access Reports can be requested for a property. The property must be in Google Analytics 360. This method is only available to Administrators. *

These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runAccessReport(RunAccessReportRequest request) + *
  • runAccessReport(RunAccessReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runAccessReportCallable() + *
  • runAccessReportCallable() *

*
* *

See the individual methods for example code. diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java index 3b263a1b769e..22e763a634ca 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java @@ -1302,6 +1302,15 @@ public AnalyticsAdminServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1846,7 +1855,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1859,7 +1867,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2439,6 +2446,15 @@ public UnaryCallSettings.Builder getDataStream return runAccessReportSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AnalyticsAdminServiceStubSettings build() throws IOException { return new AnalyticsAdminServiceStubSettings(this); diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md index 170f8f6a3db6..6c9954d9d69d 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java index f5aba552c9b8..609dc7ec9b7a 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java @@ -72,28 +72,30 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
RunFunnelReport

RunFunnelReport

Returns a customized funnel report of your Google Analytics event data. The data returned from the API is as a table with columns for the requested dimensions and metrics. *

Funnel exploration lets you visualize the steps your users take to complete a task and quickly see how well they are succeeding or failing at each step. For example, how do prospects become shoppers and then become buyers? How do one time buyers become repeat buyers? With this information, you can improve inefficient or abandoned customer journeys. To learn more, see [GA4 Funnel Explorations](https://support.google.com/analytics/answer/9327974). *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Data API Funnel Reporting Feedback](https://docs.google.com/forms/d/e/1FAIpQLSdwOlQDJAUoBiIgUZZ3S_Lwi8gr7Bb0k1jhvc-DEg7Rol3UjA/viewform).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runFunnelReport(RunFunnelReportRequest request) + *
  • runFunnelReport(RunFunnelReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runFunnelReportCallable() + *
  • runFunnelReportCallable() *

*
CreateAudienceList

CreateAudienceList

Creates an audience list for later retrieval. This method quickly returns the audience list's resource name and initiates a long running asynchronous request to form an audience list. To list the users in an audience list, first create the audience list through this method and then send the audience resource name to the `QueryAudienceList` method. *

See [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples. *

An audience list is a snapshot of the users currently in the audience at the time of audience list creation. Creating audience lists for one audience on different days will return different results as users enter and exit the audience. @@ -102,22 +104,22 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAudienceListAsync(CreateAudienceListRequest request) + *
  • createAudienceListAsync(CreateAudienceListRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createAudienceListAsync(PropertyName parent, AudienceList audienceList) - *
  • createAudienceListAsync(String parent, AudienceList audienceList) + *
  • createAudienceListAsync(PropertyName parent, AudienceList audienceList) + *

  • createAudienceListAsync(String parent, AudienceList audienceList) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAudienceListOperationCallable() - *
  • createAudienceListCallable() + *
  • createAudienceListOperationCallable() + *

  • createAudienceListCallable() *

*
QueryAudienceList

QueryAudienceList

Retrieves an audience list of users. After creating an audience, the users are not immediately available for listing. First, a request to `CreateAudienceList` is necessary to create an audience list of users, and then second, this method is used to retrieve the users in the audience list. *

See [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples. *

Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. @@ -125,20 +127,20 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryAudienceList(QueryAudienceListRequest request) + *
  • queryAudienceList(QueryAudienceListRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryAudienceList(String name) + *
  • queryAudienceList(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryAudienceListCallable() + *
  • queryAudienceListCallable() *

*
SheetExportAudienceList

SheetExportAudienceList

Exports an audience list of users to a Google Sheet. After creating an audience, the users are not immediately available for listing. First, a request to `CreateAudienceList` is necessary to create an audience list of users, and then second, this method is used to export those users in the audience list to a Google Sheet. *

See [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples. *

Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. @@ -146,125 +148,124 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • sheetExportAudienceList(SheetExportAudienceListRequest request) + *
  • sheetExportAudienceList(SheetExportAudienceListRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • sheetExportAudienceList(AudienceListName name) - *
  • sheetExportAudienceList(String name) + *
  • sheetExportAudienceList(AudienceListName name) + *

  • sheetExportAudienceList(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • sheetExportAudienceListCallable() + *
  • sheetExportAudienceListCallable() *

*
GetAudienceList

GetAudienceList

Gets configuration metadata about a specific audience list. This method can be used to understand an audience list after it has been created. *

See [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples. *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAudienceList(GetAudienceListRequest request) + *
  • getAudienceList(GetAudienceListRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAudienceList(AudienceListName name) - *
  • getAudienceList(String name) + *
  • getAudienceList(AudienceListName name) + *

  • getAudienceList(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAudienceListCallable() + *
  • getAudienceListCallable() *

*
ListAudienceLists

ListAudienceLists

Lists all audience lists for a property. This method can be used for you to find and reuse existing audience lists rather than creating unnecessary new audience lists. The same audience can have multiple audience lists that represent the list of users that were in an audience on different days. *

See [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples. *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAudienceLists(ListAudienceListsRequest request) + *
  • listAudienceLists(ListAudienceListsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAudienceLists(PropertyName parent) - *
  • listAudienceLists(String parent) + *
  • listAudienceLists(PropertyName parent) + *

  • listAudienceLists(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAudienceListsPagedCallable() - *
  • listAudienceListsCallable() + *
  • listAudienceListsPagedCallable() + *

  • listAudienceListsCallable() *

*
CreateRecurringAudienceList

CreateRecurringAudienceList

Creates a recurring audience list. Recurring audience lists produces new audience lists each day. Audience lists are users in an audience at the time of the list's creation. *

A recurring audience list ensures that you have audience list based on the most recent data available for use each day. If you manually create audience list, you don't know when an audience list based on an additional day's data is available. This recurring audience list automates the creation of an audience list when an additional day's data is available. You will consume fewer quota tokens by using recurring audience list versus manually creating audience list at various times of day trying to guess when an additional day's data is ready. *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRecurringAudienceList(CreateRecurringAudienceListRequest request) + *
  • createRecurringAudienceList(CreateRecurringAudienceListRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createRecurringAudienceList(PropertyName parent, RecurringAudienceList recurringAudienceList) - *
  • createRecurringAudienceList(String parent, RecurringAudienceList recurringAudienceList) + *
  • createRecurringAudienceList(PropertyName parent, RecurringAudienceList recurringAudienceList) + *

  • createRecurringAudienceList(String parent, RecurringAudienceList recurringAudienceList) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRecurringAudienceListCallable() + *
  • createRecurringAudienceListCallable() *

*
GetRecurringAudienceList

GetRecurringAudienceList

Gets configuration metadata about a specific recurring audience list. This method can be used to understand a recurring audience list's state after it has been created. For example, a recurring audience list resource will generate audience list instances for each day, and this method can be used to get the resource name of the most recent audience list instance. *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getRecurringAudienceList(GetRecurringAudienceListRequest request) + *
  • getRecurringAudienceList(GetRecurringAudienceListRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getRecurringAudienceList(RecurringAudienceListName name) - *
  • getRecurringAudienceList(String name) + *
  • getRecurringAudienceList(RecurringAudienceListName name) + *

  • getRecurringAudienceList(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getRecurringAudienceListCallable() + *
  • getRecurringAudienceListCallable() *

*
ListRecurringAudienceLists

ListRecurringAudienceLists

Lists all recurring audience lists for a property. This method can be used for you to find and reuse existing recurring audience lists rather than creating unnecessary new recurring audience lists. The same audience can have multiple recurring audience lists that represent different dimension combinations; for example, just the dimension `deviceId` or both the dimensions `deviceId` and `userId`. *

This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listRecurringAudienceLists(ListRecurringAudienceListsRequest request) + *
  • listRecurringAudienceLists(ListRecurringAudienceListsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listRecurringAudienceLists(PropertyName parent) - *
  • listRecurringAudienceLists(String parent) + *
  • listRecurringAudienceLists(PropertyName parent) + *

  • listRecurringAudienceLists(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listRecurringAudienceListsPagedCallable() - *
  • listRecurringAudienceListsCallable() + *
  • listRecurringAudienceListsPagedCallable() + *

  • listRecurringAudienceListsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java index a82c2cfad54d..1c4e199641c6 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java @@ -365,6 +365,15 @@ public AlphaAnalyticsDataStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -616,7 +625,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -629,7 +637,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -792,6 +799,15 @@ public Builder applyToAllUnaryMethods( return listRecurringAudienceListsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AlphaAnalyticsDataStubSettings build() throws IOException { return new AlphaAnalyticsDataStubSettings(this); diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java index 544938a27230..cec2fcaf030c 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java @@ -77,120 +77,122 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
RunReport

RunReport

Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name. *

For a guide to constructing requests & understanding responses, see [Creating a Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runReport(RunReportRequest request) + *
  • runReport(RunReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runReportCallable() + *
  • runReportCallable() *

*
RunPivotReport

RunPivotReport

Returns a customized pivot report of your Google Analytics event data. Pivot reports are more advanced and expressive formats than regular reports. In a pivot report, dimensions are only visible if they are included in a pivot. Multiple pivots can be specified to further dissect your data.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runPivotReport(RunPivotReportRequest request) + *
  • runPivotReport(RunPivotReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runPivotReportCallable() + *
  • runPivotReportCallable() *

*
BatchRunReports

BatchRunReports

Returns multiple reports in a batch. All reports must be for the same GA4 Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchRunReports(BatchRunReportsRequest request) + *
  • batchRunReports(BatchRunReportsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchRunReportsCallable() + *
  • batchRunReportsCallable() *

*
BatchRunPivotReports

BatchRunPivotReports

Returns multiple pivot reports in a batch. All reports must be for the same GA4 Property.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchRunPivotReports(BatchRunPivotReportsRequest request) + *
  • batchRunPivotReports(BatchRunPivotReportsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchRunPivotReportsCallable() + *
  • batchRunPivotReportsCallable() *

*
GetMetadata

GetMetadata

Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified in the request, and the metadata response includes Custom dimensions and metrics as well as Universal metadata. *

For example if a custom metric with parameter name `levels_unlocked` is registered to a property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata are dimensions and metrics applicable to any property such as `country` and `totalUsers`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMetadata(GetMetadataRequest request) + *
  • getMetadata(GetMetadataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMetadata(MetadataName name) - *
  • getMetadata(String name) + *
  • getMetadata(MetadataName name) + *

  • getMetadata(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMetadataCallable() + *
  • getMetadataCallable() *

*
RunRealtimeReport

RunRealtimeReport

Returns a customized report of realtime event data for your property. Events appear in realtime reports seconds after they have been sent to the Google Analytics. Realtime reports show events and usage data for the periods of time ranging from the present moment to 30 minutes ago (up to 60 minutes for Google Analytics 360 properties). *

For a guide to constructing realtime requests & understanding responses, see [Creating a Realtime Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • runRealtimeReport(RunRealtimeReportRequest request) + *
  • runRealtimeReport(RunRealtimeReportRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • runRealtimeReportCallable() + *
  • runRealtimeReportCallable() *

*
CheckCompatibility

CheckCompatibility

This compatibility method lists dimensions and metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. *

In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. *

The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • checkCompatibility(CheckCompatibilityRequest request) + *
  • checkCompatibility(CheckCompatibilityRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • checkCompatibilityCallable() + *
  • checkCompatibilityCallable() *

*
CreateAudienceExport

CreateAudienceExport

Creates an audience export for later retrieval. This method quickly returns the audience export's resource name and initiates a long running asynchronous request to form an audience export. To export the users in an audience export, first create the audience export through this method and then send the audience resource name to the `QueryAudienceExport` method. *

See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. *

An audience export is a snapshot of the users currently in the audience at the time of audience export creation. Creating audience exports for one audience on different days will return different results as users enter and exit the audience. @@ -199,22 +201,22 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAudienceExportAsync(CreateAudienceExportRequest request) + *
  • createAudienceExportAsync(CreateAudienceExportRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createAudienceExportAsync(PropertyName parent, AudienceExport audienceExport) - *
  • createAudienceExportAsync(String parent, AudienceExport audienceExport) + *
  • createAudienceExportAsync(PropertyName parent, AudienceExport audienceExport) + *

  • createAudienceExportAsync(String parent, AudienceExport audienceExport) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAudienceExportOperationCallable() - *
  • createAudienceExportCallable() + *
  • createAudienceExportOperationCallable() + *

  • createAudienceExportCallable() *

*
QueryAudienceExport

QueryAudienceExport

Retrieves an audience export of users. After creating an audience, the users are not immediately available for exporting. First, a request to `CreateAudienceExport` is necessary to create an audience export of users, and then second, this method is used to retrieve the users in the audience export. *

See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. *

Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. @@ -222,62 +224,61 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryAudienceExport(QueryAudienceExportRequest request) + *
  • queryAudienceExport(QueryAudienceExportRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • queryAudienceExport(String name) + *
  • queryAudienceExport(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryAudienceExportCallable() + *
  • queryAudienceExportCallable() *

*
GetAudienceExport

GetAudienceExport

Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. *

See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. *

Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAudienceExport(GetAudienceExportRequest request) + *
  • getAudienceExport(GetAudienceExportRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAudienceExport(AudienceExportName name) - *
  • getAudienceExport(String name) + *
  • getAudienceExport(AudienceExportName name) + *

  • getAudienceExport(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAudienceExportCallable() + *
  • getAudienceExportCallable() *

*
ListAudienceExports

ListAudienceExports

Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. *

See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. *

Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAudienceExports(ListAudienceExportsRequest request) + *
  • listAudienceExports(ListAudienceExportsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAudienceExports(PropertyName parent) - *
  • listAudienceExports(String parent) + *
  • listAudienceExports(PropertyName parent) + *

  • listAudienceExports(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAudienceExportsPagedCallable() - *
  • listAudienceExportsCallable() + *
  • listAudienceExportsPagedCallable() + *

  • listAudienceExportsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java index 92379a272467..86eb5f542d30 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java @@ -297,6 +297,15 @@ public BetaAnalyticsDataStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -554,7 +563,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -567,7 +575,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -748,6 +755,15 @@ public UnaryCallSettings.Builder getMetadataSettin return listAudienceExportsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public BetaAnalyticsDataStubSettings build() throws IOException { return new BetaAnalyticsDataStubSettings(this); diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index 52adef90b1c9..6cbb90a1bf78 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubServiceClient.java b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubServiceClient.java index c7c598863d5a..e87cc61eeb3b 100644 --- a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubServiceClient.java +++ b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubServiceClient.java @@ -73,420 +73,421 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListDataExchanges

ListDataExchanges

Lists all data exchanges in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDataExchanges(ListDataExchangesRequest request) + *
  • listDataExchanges(ListDataExchangesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDataExchanges(LocationName parent) - *
  • listDataExchanges(String parent) + *
  • listDataExchanges(LocationName parent) + *

  • listDataExchanges(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDataExchangesPagedCallable() - *
  • listDataExchangesCallable() + *
  • listDataExchangesPagedCallable() + *

  • listDataExchangesCallable() *

*
ListOrgDataExchanges

ListOrgDataExchanges

Lists all data exchanges from projects in a given organization and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listOrgDataExchanges(ListOrgDataExchangesRequest request) + *
  • listOrgDataExchanges(ListOrgDataExchangesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listOrgDataExchanges(String organization) + *
  • listOrgDataExchanges(String organization) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listOrgDataExchangesPagedCallable() - *
  • listOrgDataExchangesCallable() + *
  • listOrgDataExchangesPagedCallable() + *

  • listOrgDataExchangesCallable() *

*
GetDataExchange

GetDataExchange

Gets the details of a data exchange.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataExchange(GetDataExchangeRequest request) + *
  • getDataExchange(GetDataExchangeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataExchange(DataExchangeName name) - *
  • getDataExchange(String name) + *
  • getDataExchange(DataExchangeName name) + *

  • getDataExchange(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDataExchangeCallable() + *
  • getDataExchangeCallable() *

*
CreateDataExchange

CreateDataExchange

Creates a new data exchange.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataExchange(CreateDataExchangeRequest request) + *
  • createDataExchange(CreateDataExchangeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataExchange(LocationName parent, DataExchange dataExchange) - *
  • createDataExchange(String parent, DataExchange dataExchange) + *
  • createDataExchange(LocationName parent, DataExchange dataExchange) + *

  • createDataExchange(String parent, DataExchange dataExchange) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDataExchangeCallable() + *
  • createDataExchangeCallable() *

*
UpdateDataExchange

UpdateDataExchange

Updates an existing data exchange.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataExchange(UpdateDataExchangeRequest request) + *
  • updateDataExchange(UpdateDataExchangeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataExchange(DataExchange dataExchange, FieldMask updateMask) + *
  • updateDataExchange(DataExchange dataExchange, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDataExchangeCallable() + *
  • updateDataExchangeCallable() *

*
DeleteDataExchange

DeleteDataExchange

Deletes an existing data exchange.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataExchange(DeleteDataExchangeRequest request) + *
  • deleteDataExchange(DeleteDataExchangeRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDataExchange(DataExchangeName name) - *
  • deleteDataExchange(String name) + *
  • deleteDataExchange(DataExchangeName name) + *

  • deleteDataExchange(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDataExchangeCallable() + *
  • deleteDataExchangeCallable() *

*
ListListings

ListListings

Lists all listings in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listListings(ListListingsRequest request) + *
  • listListings(ListListingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listListings(DataExchangeName parent) - *
  • listListings(String parent) + *
  • listListings(DataExchangeName parent) + *

  • listListings(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listListingsPagedCallable() - *
  • listListingsCallable() + *
  • listListingsPagedCallable() + *

  • listListingsCallable() *

*
GetListing

GetListing

Gets the details of a listing.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getListing(GetListingRequest request) + *
  • getListing(GetListingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getListing(ListingName name) - *
  • getListing(String name) + *
  • getListing(ListingName name) + *

  • getListing(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getListingCallable() + *
  • getListingCallable() *

*
CreateListing

CreateListing

Creates a new listing.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createListing(CreateListingRequest request) + *
  • createListing(CreateListingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createListing(DataExchangeName parent, Listing listing) - *
  • createListing(String parent, Listing listing) + *
  • createListing(DataExchangeName parent, Listing listing) + *

  • createListing(String parent, Listing listing) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createListingCallable() + *
  • createListingCallable() *

*
UpdateListing

UpdateListing

Updates an existing listing.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateListing(UpdateListingRequest request) + *
  • updateListing(UpdateListingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateListing(Listing listing, FieldMask updateMask) + *
  • updateListing(Listing listing, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateListingCallable() + *
  • updateListingCallable() *

*
DeleteListing

DeleteListing

Deletes a listing.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteListing(DeleteListingRequest request) + *
  • deleteListing(DeleteListingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteListing(ListingName name) - *
  • deleteListing(String name) + *
  • deleteListing(ListingName name) + *

  • deleteListing(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteListingCallable() + *
  • deleteListingCallable() *

*
SubscribeListing

SubscribeListing

Subscribes to a listing. *

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • subscribeListing(SubscribeListingRequest request) + *
  • subscribeListing(SubscribeListingRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • subscribeListing(ListingName name) - *
  • subscribeListing(String name) + *
  • subscribeListing(ListingName name) + *

  • subscribeListing(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • subscribeListingCallable() + *
  • subscribeListingCallable() *

*
SubscribeDataExchange

SubscribeDataExchange

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • subscribeDataExchangeAsync(SubscribeDataExchangeRequest request) + *
  • subscribeDataExchangeAsync(SubscribeDataExchangeRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • subscribeDataExchangeAsync(DataExchangeName name) - *
  • subscribeDataExchangeAsync(String name) + *
  • subscribeDataExchangeAsync(DataExchangeName name) + *

  • subscribeDataExchangeAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • subscribeDataExchangeOperationCallable() - *
  • subscribeDataExchangeCallable() + *
  • subscribeDataExchangeOperationCallable() + *

  • subscribeDataExchangeCallable() *

*
RefreshSubscription

RefreshSubscription

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • refreshSubscriptionAsync(RefreshSubscriptionRequest request) + *
  • refreshSubscriptionAsync(RefreshSubscriptionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • refreshSubscriptionAsync(SubscriptionName name) - *
  • refreshSubscriptionAsync(String name) + *
  • refreshSubscriptionAsync(SubscriptionName name) + *

  • refreshSubscriptionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • refreshSubscriptionOperationCallable() - *
  • refreshSubscriptionCallable() + *
  • refreshSubscriptionOperationCallable() + *

  • refreshSubscriptionCallable() *

*
GetSubscription

GetSubscription

Gets the details of a Subscription.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSubscription(GetSubscriptionRequest request) + *
  • getSubscription(GetSubscriptionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSubscription(SubscriptionName name) - *
  • getSubscription(String name) + *
  • getSubscription(SubscriptionName name) + *

  • getSubscription(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSubscriptionCallable() + *
  • getSubscriptionCallable() *

*
ListSubscriptions

ListSubscriptions

Lists all subscriptions in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSubscriptions(ListSubscriptionsRequest request) + *
  • listSubscriptions(ListSubscriptionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSubscriptions(LocationName parent) - *
  • listSubscriptions(String parent) + *
  • listSubscriptions(LocationName parent) + *

  • listSubscriptions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSubscriptionsPagedCallable() - *
  • listSubscriptionsCallable() + *
  • listSubscriptionsPagedCallable() + *

  • listSubscriptionsCallable() *

*
ListSharedResourceSubscriptions

ListSharedResourceSubscriptions

Lists all subscriptions on a given Data Exchange or Listing.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request) + *
  • listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSharedResourceSubscriptions(ResourceName resource) - *
  • listSharedResourceSubscriptions(String resource) + *
  • listSharedResourceSubscriptions(ResourceName resource) + *

  • listSharedResourceSubscriptions(String resource) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSharedResourceSubscriptionsPagedCallable() - *
  • listSharedResourceSubscriptionsCallable() + *
  • listSharedResourceSubscriptionsPagedCallable() + *

  • listSharedResourceSubscriptionsCallable() *

*
RevokeSubscription

RevokeSubscription

Revokes a given subscription.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • revokeSubscription(RevokeSubscriptionRequest request) + *
  • revokeSubscription(RevokeSubscriptionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • revokeSubscription(SubscriptionName name) - *
  • revokeSubscription(String name) + *
  • revokeSubscription(SubscriptionName name) + *

  • revokeSubscription(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • revokeSubscriptionCallable() + *
  • revokeSubscriptionCallable() *

*
DeleteSubscription

DeleteSubscription

Deletes a subscription.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSubscriptionAsync(DeleteSubscriptionRequest request) + *
  • deleteSubscriptionAsync(DeleteSubscriptionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteSubscriptionAsync(SubscriptionName name) - *
  • deleteSubscriptionAsync(String name) + *
  • deleteSubscriptionAsync(SubscriptionName name) + *

  • deleteSubscriptionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSubscriptionOperationCallable() - *
  • deleteSubscriptionCallable() + *
  • deleteSubscriptionOperationCallable() + *

  • deleteSubscriptionCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the IAM policy.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the IAM policy.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns the permissions that a caller has.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/AnalyticsHubServiceStubSettings.java b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/AnalyticsHubServiceStubSettings.java index df8b3549bf55..08ec7d3c7450 100644 --- a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/AnalyticsHubServiceStubSettings.java +++ b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/AnalyticsHubServiceStubSettings.java @@ -681,6 +681,15 @@ public AnalyticsHubServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1027,7 +1036,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1040,7 +1048,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1411,6 +1418,15 @@ public UnaryCallSettings.Builder setIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AnalyticsHubServiceStubSettings build() throws IOException { return new AnalyticsHubServiceStubSettings(this); diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index 68452b140bb4..5ca3543d5a99 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java index fbde6ecec020..7d5f9f66a2e6 100644 --- a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java +++ b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java @@ -63,305 +63,306 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListGateways

ListGateways

Lists Gateways in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listGateways(ListGatewaysRequest request) + *
  • listGateways(ListGatewaysRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listGateways(LocationName parent) - *
  • listGateways(String parent) + *
  • listGateways(LocationName parent) + *

  • listGateways(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listGatewaysPagedCallable() - *
  • listGatewaysCallable() + *
  • listGatewaysPagedCallable() + *

  • listGatewaysCallable() *

*
GetGateway

GetGateway

Gets details of a single Gateway.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getGateway(GetGatewayRequest request) + *
  • getGateway(GetGatewayRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getGateway(GatewayName name) - *
  • getGateway(String name) + *
  • getGateway(GatewayName name) + *

  • getGateway(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getGatewayCallable() + *
  • getGatewayCallable() *

*
CreateGateway

CreateGateway

Creates a new Gateway in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createGatewayAsync(CreateGatewayRequest request) + *
  • createGatewayAsync(CreateGatewayRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createGatewayAsync(LocationName parent, Gateway gateway, String gatewayId) - *
  • createGatewayAsync(String parent, Gateway gateway, String gatewayId) + *
  • createGatewayAsync(LocationName parent, Gateway gateway, String gatewayId) + *

  • createGatewayAsync(String parent, Gateway gateway, String gatewayId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createGatewayOperationCallable() - *
  • createGatewayCallable() + *
  • createGatewayOperationCallable() + *

  • createGatewayCallable() *

*
UpdateGateway

UpdateGateway

Updates the parameters of a single Gateway.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateGatewayAsync(UpdateGatewayRequest request) + *
  • updateGatewayAsync(UpdateGatewayRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateGatewayAsync(Gateway gateway, FieldMask updateMask) + *
  • updateGatewayAsync(Gateway gateway, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateGatewayOperationCallable() - *
  • updateGatewayCallable() + *
  • updateGatewayOperationCallable() + *

  • updateGatewayCallable() *

*
DeleteGateway

DeleteGateway

Deletes a single Gateway.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteGatewayAsync(DeleteGatewayRequest request) + *
  • deleteGatewayAsync(DeleteGatewayRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteGatewayAsync(GatewayName name) - *
  • deleteGatewayAsync(String name) + *
  • deleteGatewayAsync(GatewayName name) + *

  • deleteGatewayAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteGatewayOperationCallable() - *
  • deleteGatewayCallable() + *
  • deleteGatewayOperationCallable() + *

  • deleteGatewayCallable() *

*
ListApis

ListApis

Lists Apis in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApis(ListApisRequest request) + *
  • listApis(ListApisRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApis(LocationName parent) - *
  • listApis(String parent) + *
  • listApis(LocationName parent) + *

  • listApis(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApisPagedCallable() - *
  • listApisCallable() + *
  • listApisPagedCallable() + *

  • listApisCallable() *

*
GetApi

GetApi

Gets details of a single Api.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApi(GetApiRequest request) + *
  • getApi(GetApiRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApi(ApiName name) - *
  • getApi(String name) + *
  • getApi(ApiName name) + *

  • getApi(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiCallable() + *
  • getApiCallable() *

*
CreateApi

CreateApi

Creates a new Api in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApiAsync(CreateApiRequest request) + *
  • createApiAsync(CreateApiRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createApiAsync(LocationName parent, Api api, String apiId) - *
  • createApiAsync(String parent, Api api, String apiId) + *
  • createApiAsync(LocationName parent, Api api, String apiId) + *

  • createApiAsync(String parent, Api api, String apiId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiOperationCallable() - *
  • createApiCallable() + *
  • createApiOperationCallable() + *

  • createApiCallable() *

*
UpdateApi

UpdateApi

Updates the parameters of a single Api.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApiAsync(UpdateApiRequest request) + *
  • updateApiAsync(UpdateApiRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateApiAsync(Api api, FieldMask updateMask) + *
  • updateApiAsync(Api api, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiOperationCallable() - *
  • updateApiCallable() + *
  • updateApiOperationCallable() + *

  • updateApiCallable() *

*
DeleteApi

DeleteApi

Deletes a single Api.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiAsync(DeleteApiRequest request) + *
  • deleteApiAsync(DeleteApiRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteApiAsync(ApiName name) - *
  • deleteApiAsync(String name) + *
  • deleteApiAsync(ApiName name) + *

  • deleteApiAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiOperationCallable() - *
  • deleteApiCallable() + *
  • deleteApiOperationCallable() + *

  • deleteApiCallable() *

*
ListApiConfigs

ListApiConfigs

Lists ApiConfigs in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiConfigs(ListApiConfigsRequest request) + *
  • listApiConfigs(ListApiConfigsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApiConfigs(ApiName parent) - *
  • listApiConfigs(String parent) + *
  • listApiConfigs(ApiName parent) + *

  • listApiConfigs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiConfigsPagedCallable() - *
  • listApiConfigsCallable() + *
  • listApiConfigsPagedCallable() + *

  • listApiConfigsCallable() *

*
GetApiConfig

GetApiConfig

Gets details of a single ApiConfig.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApiConfig(GetApiConfigRequest request) + *
  • getApiConfig(GetApiConfigRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApiConfig(ApiConfigName name) - *
  • getApiConfig(String name) + *
  • getApiConfig(ApiConfigName name) + *

  • getApiConfig(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiConfigCallable() + *
  • getApiConfigCallable() *

*
CreateApiConfig

CreateApiConfig

Creates a new ApiConfig in a given project and location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApiConfigAsync(CreateApiConfigRequest request) + *
  • createApiConfigAsync(CreateApiConfigRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createApiConfigAsync(ApiName parent, ApiConfig apiConfig, String apiConfigId) - *
  • createApiConfigAsync(String parent, ApiConfig apiConfig, String apiConfigId) + *
  • createApiConfigAsync(ApiName parent, ApiConfig apiConfig, String apiConfigId) + *

  • createApiConfigAsync(String parent, ApiConfig apiConfig, String apiConfigId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiConfigOperationCallable() - *
  • createApiConfigCallable() + *
  • createApiConfigOperationCallable() + *

  • createApiConfigCallable() *

*
UpdateApiConfig

UpdateApiConfig

Updates the parameters of a single ApiConfig.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApiConfigAsync(UpdateApiConfigRequest request) + *
  • updateApiConfigAsync(UpdateApiConfigRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateApiConfigAsync(ApiConfig apiConfig, FieldMask updateMask) + *
  • updateApiConfigAsync(ApiConfig apiConfig, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiConfigOperationCallable() - *
  • updateApiConfigCallable() + *
  • updateApiConfigOperationCallable() + *

  • updateApiConfigCallable() *

*
DeleteApiConfig

DeleteApiConfig

Deletes a single ApiConfig.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiConfigAsync(DeleteApiConfigRequest request) + *
  • deleteApiConfigAsync(DeleteApiConfigRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteApiConfigAsync(ApiConfigName name) - *
  • deleteApiConfigAsync(String name) + *
  • deleteApiConfigAsync(ApiConfigName name) + *

  • deleteApiConfigAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiConfigOperationCallable() - *
  • deleteApiConfigCallable() + *
  • deleteApiConfigOperationCallable() + *

  • deleteApiConfigCallable() *

*
* *

See the individual methods for example code. diff --git a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java index af0be9408c93..d570ce339e9a 100644 --- a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java +++ b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java @@ -473,6 +473,15 @@ public ApiGatewayServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -783,7 +792,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -796,7 +804,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1260,6 +1267,15 @@ public UnaryCallSettings.Builder deleteApiCon return deleteApiConfigOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ApiGatewayServiceStubSettings build() throws IOException { return new ApiGatewayServiceStubSettings(this); diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index ca11d9b195d1..38c2c5f45679 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java index 691af68c6920..c1be2a6a0b1d 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java @@ -58,31 +58,32 @@ * close(). * * + * * * * * + * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListConnections

ListConnections

Lists connections that are currently active for the given Apigee Connect endpoint.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listConnections(ListConnectionsRequest request) + *
  • listConnections(ListConnectionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listConnections(EndpointName parent) - *
  • listConnections(String parent) + *
  • listConnections(EndpointName parent) + *

  • listConnections(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listConnectionsPagedCallable() - *
  • listConnectionsCallable() + *
  • listConnectionsPagedCallable() + *

  • listConnectionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java index 587dff88f084..5e7dc7150deb 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java @@ -62,21 +62,22 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
Egress

Egress

Egress streams egress requests and responses. Logically, this is not actually a streaming request, but uses streaming as a mechanism to flip the client-server relationship of gRPC so that the server can act as a client. The listener, the RPC server, accepts connections from the dialer, the RPC client. The listener streams http requests and the dialer streams http responses.

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • egressCallable() + *
  • egressCallable() *

*
* *

See the individual methods for example code. diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java index 4b300a889808..df9e8abec0fc 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/ConnectionServiceStubSettings.java @@ -182,6 +182,15 @@ public ConnectionServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -349,7 +358,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -362,7 +370,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -400,6 +407,15 @@ public Builder applyToAllUnaryMethods( return listConnectionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ConnectionServiceStubSettings build() throws IOException { return new ConnectionServiceStubSettings(this); diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java index 2198f7ed4489..e4b77f56812b 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java @@ -102,6 +102,15 @@ public TetherStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -229,7 +238,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -260,6 +268,15 @@ public StreamingCallSettings.Builder egressSettin return egressSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public TetherStubSettings build() throws IOException { return new TetherStubSettings(this); diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index 141f5cfe1ff0..c45d1ae2b6e4 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java index 040208c3c8da..44487b1cd519 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java +++ b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java @@ -71,143 +71,144 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateInstance

CreateInstance

Provisions instance resources for the Registry.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createInstanceAsync(CreateInstanceRequest request) + *
  • createInstanceAsync(CreateInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createInstanceAsync(LocationName parent, Instance instance, String instanceId) - *
  • createInstanceAsync(String parent, Instance instance, String instanceId) + *
  • createInstanceAsync(LocationName parent, Instance instance, String instanceId) + *

  • createInstanceAsync(String parent, Instance instance, String instanceId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createInstanceOperationCallable() - *
  • createInstanceCallable() + *
  • createInstanceOperationCallable() + *

  • createInstanceCallable() *

*
DeleteInstance

DeleteInstance

Deletes the Registry instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteInstanceAsync(DeleteInstanceRequest request) + *
  • deleteInstanceAsync(DeleteInstanceRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteInstanceAsync(InstanceName name) - *
  • deleteInstanceAsync(String name) + *
  • deleteInstanceAsync(InstanceName name) + *

  • deleteInstanceAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteInstanceOperationCallable() - *
  • deleteInstanceCallable() + *
  • deleteInstanceOperationCallable() + *

  • deleteInstanceCallable() *

*
GetInstance

GetInstance

Gets details of a single Instance.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getInstance(GetInstanceRequest request) + *
  • getInstance(GetInstanceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getInstance(InstanceName name) - *
  • getInstance(String name) + *
  • getInstance(InstanceName name) + *

  • getInstance(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getInstanceCallable() + *
  • getInstanceCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java index 67c91164d5bf..f785d75ef2ae 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java +++ b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java @@ -67,729 +67,730 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListApis

ListApis

Returns matching APIs.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApis(ListApisRequest request) + *
  • listApis(ListApisRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApis(LocationName parent) - *
  • listApis(String parent) + *
  • listApis(LocationName parent) + *

  • listApis(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApisPagedCallable() - *
  • listApisCallable() + *
  • listApisPagedCallable() + *

  • listApisCallable() *

*
GetApi

GetApi

Returns a specified API.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApi(GetApiRequest request) + *
  • getApi(GetApiRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApi(ApiName name) - *
  • getApi(String name) + *
  • getApi(ApiName name) + *

  • getApi(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiCallable() + *
  • getApiCallable() *

*
CreateApi

CreateApi

Creates a specified API.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApi(CreateApiRequest request) + *
  • createApi(CreateApiRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createApi(LocationName parent, Api api, String apiId) - *
  • createApi(String parent, Api api, String apiId) + *
  • createApi(LocationName parent, Api api, String apiId) + *

  • createApi(String parent, Api api, String apiId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiCallable() + *
  • createApiCallable() *

*
UpdateApi

UpdateApi

Used to modify a specified API.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApi(UpdateApiRequest request) + *
  • updateApi(UpdateApiRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateApi(Api api, FieldMask updateMask) + *
  • updateApi(Api api, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiCallable() + *
  • updateApiCallable() *

*
DeleteApi

DeleteApi

Removes a specified API and all of the resources that it owns.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApi(DeleteApiRequest request) + *
  • deleteApi(DeleteApiRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApi(ApiName name) - *
  • deleteApi(String name) + *
  • deleteApi(ApiName name) + *

  • deleteApi(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiCallable() + *
  • deleteApiCallable() *

*
ListApiVersions

ListApiVersions

Returns matching versions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiVersions(ListApiVersionsRequest request) + *
  • listApiVersions(ListApiVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApiVersions(ApiName parent) - *
  • listApiVersions(String parent) + *
  • listApiVersions(ApiName parent) + *

  • listApiVersions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiVersionsPagedCallable() - *
  • listApiVersionsCallable() + *
  • listApiVersionsPagedCallable() + *

  • listApiVersionsCallable() *

*
GetApiVersion

GetApiVersion

Returns a specified version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApiVersion(GetApiVersionRequest request) + *
  • getApiVersion(GetApiVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApiVersion(ApiVersionName name) - *
  • getApiVersion(String name) + *
  • getApiVersion(ApiVersionName name) + *

  • getApiVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiVersionCallable() + *
  • getApiVersionCallable() *

*
CreateApiVersion

CreateApiVersion

Creates a specified version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApiVersion(CreateApiVersionRequest request) + *
  • createApiVersion(CreateApiVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createApiVersion(ApiName parent, ApiVersion apiVersion, String apiVersionId) - *
  • createApiVersion(String parent, ApiVersion apiVersion, String apiVersionId) + *
  • createApiVersion(ApiName parent, ApiVersion apiVersion, String apiVersionId) + *

  • createApiVersion(String parent, ApiVersion apiVersion, String apiVersionId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiVersionCallable() + *
  • createApiVersionCallable() *

*
UpdateApiVersion

UpdateApiVersion

Used to modify a specified version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApiVersion(UpdateApiVersionRequest request) + *
  • updateApiVersion(UpdateApiVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateApiVersion(ApiVersion apiVersion, FieldMask updateMask) + *
  • updateApiVersion(ApiVersion apiVersion, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiVersionCallable() + *
  • updateApiVersionCallable() *

*
DeleteApiVersion

DeleteApiVersion

Removes a specified version and all of the resources that it owns.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiVersion(DeleteApiVersionRequest request) + *
  • deleteApiVersion(DeleteApiVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApiVersion(ApiVersionName name) - *
  • deleteApiVersion(String name) + *
  • deleteApiVersion(ApiVersionName name) + *

  • deleteApiVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiVersionCallable() + *
  • deleteApiVersionCallable() *

*
ListApiSpecs

ListApiSpecs

Returns matching specs.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiSpecs(ListApiSpecsRequest request) + *
  • listApiSpecs(ListApiSpecsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApiSpecs(ApiVersionName parent) - *
  • listApiSpecs(String parent) + *
  • listApiSpecs(ApiVersionName parent) + *

  • listApiSpecs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiSpecsPagedCallable() - *
  • listApiSpecsCallable() + *
  • listApiSpecsPagedCallable() + *

  • listApiSpecsCallable() *

*
GetApiSpec

GetApiSpec

Returns a specified spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApiSpec(GetApiSpecRequest request) + *
  • getApiSpec(GetApiSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApiSpec(ApiSpecName name) - *
  • getApiSpec(String name) + *
  • getApiSpec(ApiSpecName name) + *

  • getApiSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiSpecCallable() + *
  • getApiSpecCallable() *

*
GetApiSpecContents

GetApiSpecContents

Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApiSpecContents(GetApiSpecContentsRequest request) + *
  • getApiSpecContents(GetApiSpecContentsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApiSpecContents(ApiSpecName name) - *
  • getApiSpecContents(String name) + *
  • getApiSpecContents(ApiSpecName name) + *

  • getApiSpecContents(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiSpecContentsCallable() + *
  • getApiSpecContentsCallable() *

*
CreateApiSpec

CreateApiSpec

Creates a specified spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApiSpec(CreateApiSpecRequest request) + *
  • createApiSpec(CreateApiSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createApiSpec(ApiVersionName parent, ApiSpec apiSpec, String apiSpecId) - *
  • createApiSpec(String parent, ApiSpec apiSpec, String apiSpecId) + *
  • createApiSpec(ApiVersionName parent, ApiSpec apiSpec, String apiSpecId) + *

  • createApiSpec(String parent, ApiSpec apiSpec, String apiSpecId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiSpecCallable() + *
  • createApiSpecCallable() *

*
UpdateApiSpec

UpdateApiSpec

Used to modify a specified spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApiSpec(UpdateApiSpecRequest request) + *
  • updateApiSpec(UpdateApiSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateApiSpec(ApiSpec apiSpec, FieldMask updateMask) + *
  • updateApiSpec(ApiSpec apiSpec, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiSpecCallable() + *
  • updateApiSpecCallable() *

*
DeleteApiSpec

DeleteApiSpec

Removes a specified spec, all revisions, and all child resources (e.g., artifacts).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiSpec(DeleteApiSpecRequest request) + *
  • deleteApiSpec(DeleteApiSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApiSpec(ApiSpecName name) - *
  • deleteApiSpec(String name) + *
  • deleteApiSpec(ApiSpecName name) + *

  • deleteApiSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiSpecCallable() + *
  • deleteApiSpecCallable() *

*
TagApiSpecRevision

TagApiSpecRevision

Adds a tag to a specified revision of a spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • tagApiSpecRevision(TagApiSpecRevisionRequest request) + *
  • tagApiSpecRevision(TagApiSpecRevisionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • tagApiSpecRevisionCallable() + *
  • tagApiSpecRevisionCallable() *

*
ListApiSpecRevisions

ListApiSpecRevisions

Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiSpecRevisions(ListApiSpecRevisionsRequest request) + *
  • listApiSpecRevisions(ListApiSpecRevisionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiSpecRevisionsPagedCallable() - *
  • listApiSpecRevisionsCallable() + *
  • listApiSpecRevisionsPagedCallable() + *

  • listApiSpecRevisionsCallable() *

*
RollbackApiSpec

RollbackApiSpec

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • rollbackApiSpec(RollbackApiSpecRequest request) + *
  • rollbackApiSpec(RollbackApiSpecRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • rollbackApiSpecCallable() + *
  • rollbackApiSpecCallable() *

*
DeleteApiSpecRevision

DeleteApiSpecRevision

Deletes a revision of a spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) + *
  • deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApiSpecRevision(ApiSpecName name) - *
  • deleteApiSpecRevision(String name) + *
  • deleteApiSpecRevision(ApiSpecName name) + *

  • deleteApiSpecRevision(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiSpecRevisionCallable() + *
  • deleteApiSpecRevisionCallable() *

*
ListApiDeployments

ListApiDeployments

Returns matching deployments.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiDeployments(ListApiDeploymentsRequest request) + *
  • listApiDeployments(ListApiDeploymentsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listApiDeployments(ApiName parent) - *
  • listApiDeployments(String parent) + *
  • listApiDeployments(ApiName parent) + *

  • listApiDeployments(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiDeploymentsPagedCallable() - *
  • listApiDeploymentsCallable() + *
  • listApiDeploymentsPagedCallable() + *

  • listApiDeploymentsCallable() *

*
GetApiDeployment

GetApiDeployment

Returns a specified deployment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApiDeployment(GetApiDeploymentRequest request) + *
  • getApiDeployment(GetApiDeploymentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApiDeployment(ApiDeploymentName name) - *
  • getApiDeployment(String name) + *
  • getApiDeployment(ApiDeploymentName name) + *

  • getApiDeployment(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApiDeploymentCallable() + *
  • getApiDeploymentCallable() *

*
CreateApiDeployment

CreateApiDeployment

Creates a specified deployment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApiDeployment(CreateApiDeploymentRequest request) + *
  • createApiDeployment(CreateApiDeploymentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createApiDeployment(ApiName parent, ApiDeployment apiDeployment, String apiDeploymentId) - *
  • createApiDeployment(String parent, ApiDeployment apiDeployment, String apiDeploymentId) + *
  • createApiDeployment(ApiName parent, ApiDeployment apiDeployment, String apiDeploymentId) + *

  • createApiDeployment(String parent, ApiDeployment apiDeployment, String apiDeploymentId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApiDeploymentCallable() + *
  • createApiDeploymentCallable() *

*
UpdateApiDeployment

UpdateApiDeployment

Used to modify a specified deployment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApiDeployment(UpdateApiDeploymentRequest request) + *
  • updateApiDeployment(UpdateApiDeploymentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateApiDeployment(ApiDeployment apiDeployment, FieldMask updateMask) + *
  • updateApiDeployment(ApiDeployment apiDeployment, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApiDeploymentCallable() + *
  • updateApiDeploymentCallable() *

*
DeleteApiDeployment

DeleteApiDeployment

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiDeployment(DeleteApiDeploymentRequest request) + *
  • deleteApiDeployment(DeleteApiDeploymentRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApiDeployment(ApiDeploymentName name) - *
  • deleteApiDeployment(String name) + *
  • deleteApiDeployment(ApiDeploymentName name) + *

  • deleteApiDeployment(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiDeploymentCallable() + *
  • deleteApiDeploymentCallable() *

*
TagApiDeploymentRevision

TagApiDeploymentRevision

Adds a tag to a specified revision of a deployment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request) + *
  • tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • tagApiDeploymentRevisionCallable() + *
  • tagApiDeploymentRevisionCallable() *

*
ListApiDeploymentRevisions

ListApiDeploymentRevisions

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request) + *
  • listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listApiDeploymentRevisionsPagedCallable() - *
  • listApiDeploymentRevisionsCallable() + *
  • listApiDeploymentRevisionsPagedCallable() + *

  • listApiDeploymentRevisionsCallable() *

*
RollbackApiDeployment

RollbackApiDeployment

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • rollbackApiDeployment(RollbackApiDeploymentRequest request) + *
  • rollbackApiDeployment(RollbackApiDeploymentRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • rollbackApiDeploymentCallable() + *
  • rollbackApiDeploymentCallable() *

*
DeleteApiDeploymentRevision

DeleteApiDeploymentRevision

Deletes a revision of a deployment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request) + *
  • deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteApiDeploymentRevision(ApiDeploymentName name) - *
  • deleteApiDeploymentRevision(String name) + *
  • deleteApiDeploymentRevision(ApiDeploymentName name) + *

  • deleteApiDeploymentRevision(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteApiDeploymentRevisionCallable() + *
  • deleteApiDeploymentRevisionCallable() *

*
ListArtifacts

ListArtifacts

Returns matching artifacts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listArtifacts(ListArtifactsRequest request) + *
  • listArtifacts(ListArtifactsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listArtifacts(ApiDeploymentName parent) - *
  • listArtifacts(ApiName parent) - *
  • listArtifacts(ApiSpecName parent) - *
  • listArtifacts(ApiVersionName parent) - *
  • listArtifacts(LocationName parent) - *
  • listArtifacts(String parent) + *
  • listArtifacts(ApiDeploymentName parent) + *

  • listArtifacts(ApiName parent) + *

  • listArtifacts(ApiSpecName parent) + *

  • listArtifacts(ApiVersionName parent) + *

  • listArtifacts(LocationName parent) + *

  • listArtifacts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listArtifactsPagedCallable() - *
  • listArtifactsCallable() + *
  • listArtifactsPagedCallable() + *

  • listArtifactsCallable() *

*
GetArtifact

GetArtifact

Returns a specified artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getArtifact(GetArtifactRequest request) + *
  • getArtifact(GetArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getArtifact(ArtifactName name) - *
  • getArtifact(String name) + *
  • getArtifact(ArtifactName name) + *

  • getArtifact(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getArtifactCallable() + *
  • getArtifactCallable() *

*
GetArtifactContents

GetArtifactContents

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getArtifactContents(GetArtifactContentsRequest request) + *
  • getArtifactContents(GetArtifactContentsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getArtifactContents(ArtifactName name) - *
  • getArtifactContents(String name) + *
  • getArtifactContents(ArtifactName name) + *

  • getArtifactContents(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getArtifactContentsCallable() + *
  • getArtifactContentsCallable() *

*
CreateArtifact

CreateArtifact

Creates a specified artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createArtifact(CreateArtifactRequest request) + *
  • createArtifact(CreateArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createArtifact(ApiDeploymentName parent, Artifact artifact, String artifactId) - *
  • createArtifact(ApiName parent, Artifact artifact, String artifactId) - *
  • createArtifact(ApiSpecName parent, Artifact artifact, String artifactId) - *
  • createArtifact(ApiVersionName parent, Artifact artifact, String artifactId) - *
  • createArtifact(LocationName parent, Artifact artifact, String artifactId) - *
  • createArtifact(String parent, Artifact artifact, String artifactId) + *
  • createArtifact(ApiDeploymentName parent, Artifact artifact, String artifactId) + *

  • createArtifact(ApiName parent, Artifact artifact, String artifactId) + *

  • createArtifact(ApiSpecName parent, Artifact artifact, String artifactId) + *

  • createArtifact(ApiVersionName parent, Artifact artifact, String artifactId) + *

  • createArtifact(LocationName parent, Artifact artifact, String artifactId) + *

  • createArtifact(String parent, Artifact artifact, String artifactId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createArtifactCallable() + *
  • createArtifactCallable() *

*
ReplaceArtifact

ReplaceArtifact

Used to replace a specified artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • replaceArtifact(ReplaceArtifactRequest request) + *
  • replaceArtifact(ReplaceArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • replaceArtifact(Artifact artifact) + *
  • replaceArtifact(Artifact artifact) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • replaceArtifactCallable() + *
  • replaceArtifactCallable() *

*
DeleteArtifact

DeleteArtifact

Removes a specified artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteArtifact(DeleteArtifactRequest request) + *
  • deleteArtifact(DeleteArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteArtifact(ArtifactName name) - *
  • deleteArtifact(String name) + *
  • deleteArtifact(ArtifactName name) + *

  • deleteArtifact(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteArtifactCallable() + *
  • deleteArtifactCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
SetIamPolicy

SetIamPolicy

Sets the access control policy on the specified resource. Replacesany existing policy. *

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the access control policy for a resource. Returns an empty policyif the resource exists and does not have a policy set.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Returns permissions that a caller has on the specified resource. If theresource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. *

Note: This operation is designed to be used for buildingpermission-aware UIs and command-line tools, not for authorizationchecking. This operation may "fail open" without warning.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java index 4e5b1da8f686..5a1b1be62560 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java +++ b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java @@ -255,6 +255,15 @@ public ProvisioningStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -466,7 +475,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -479,7 +487,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -652,6 +659,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ProvisioningStubSettings build() throws IOException { return new ProvisioningStubSettings(this); diff --git a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java index ec8c2a9af59d..0768f8265a87 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java +++ b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java @@ -931,6 +931,15 @@ public RegistryStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1388,7 +1397,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1401,7 +1409,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1860,6 +1867,15 @@ public UnaryCallSettings.Builder getIamPolicySettin return testIamPermissionsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public RegistryStubSettings build() throws IOException { return new RegistryStubSettings(this); diff --git a/java-apikeys/README.md b/java-apikeys/README.md index 8ea9f82caafb..9c9d015290a2 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java index 98974a9e900b..6e21c9031412 100644 --- a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java +++ b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/ApiKeysClient.java @@ -62,164 +62,165 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateKey

CreateKey

Creates a new API key. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createKeyAsync(CreateKeyRequest request) + *
  • createKeyAsync(CreateKeyRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createKeyAsync(LocationName parent, Key key, String keyId) - *
  • createKeyAsync(String parent, Key key, String keyId) + *
  • createKeyAsync(LocationName parent, Key key, String keyId) + *

  • createKeyAsync(String parent, Key key, String keyId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createKeyOperationCallable() - *
  • createKeyCallable() + *
  • createKeyOperationCallable() + *

  • createKeyCallable() *

*
ListKeys

ListKeys

Lists the API keys owned by a project. The key string of the API key isn't included in the response. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listKeys(ListKeysRequest request) + *
  • listKeys(ListKeysRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listKeys(LocationName parent) - *
  • listKeys(String parent) + *
  • listKeys(LocationName parent) + *

  • listKeys(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listKeysPagedCallable() - *
  • listKeysCallable() + *
  • listKeysPagedCallable() + *

  • listKeysCallable() *

*
GetKey

GetKey

Gets the metadata for an API key. The key string of the API key isn't included in the response. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getKey(GetKeyRequest request) + *
  • getKey(GetKeyRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getKey(KeyName name) - *
  • getKey(String name) + *
  • getKey(KeyName name) + *

  • getKey(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getKeyCallable() + *
  • getKeyCallable() *

*
GetKeyString

GetKeyString

Get the key string for an API key. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getKeyString(GetKeyStringRequest request) + *
  • getKeyString(GetKeyStringRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getKeyString(KeyName name) - *
  • getKeyString(String name) + *
  • getKeyString(KeyName name) + *

  • getKeyString(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getKeyStringCallable() + *
  • getKeyStringCallable() *

*
UpdateKey

UpdateKey

Patches the modifiable fields of an API key. The key string of the API key isn't included in the response. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateKeyAsync(UpdateKeyRequest request) + *
  • updateKeyAsync(UpdateKeyRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • updateKeyAsync(Key key, FieldMask updateMask) + *
  • updateKeyAsync(Key key, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateKeyOperationCallable() - *
  • updateKeyCallable() + *
  • updateKeyOperationCallable() + *

  • updateKeyCallable() *

*
DeleteKey

DeleteKey

Deletes an API key. Deleted key can be retrieved within 30 days of deletion. Afterward, key will be purged from the project. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteKeyAsync(DeleteKeyRequest request) + *
  • deleteKeyAsync(DeleteKeyRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteKeyAsync(KeyName name) - *
  • deleteKeyAsync(String name) + *
  • deleteKeyAsync(KeyName name) + *

  • deleteKeyAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteKeyOperationCallable() - *
  • deleteKeyCallable() + *
  • deleteKeyOperationCallable() + *

  • deleteKeyCallable() *

*
UndeleteKey

UndeleteKey

Undeletes an API key which was deleted within 30 days. *

NOTE: Key is a global resource; hence the only supported value for location is `global`.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeleteKeyAsync(UndeleteKeyRequest request) + *
  • undeleteKeyAsync(UndeleteKeyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeleteKeyOperationCallable() - *
  • undeleteKeyCallable() + *
  • undeleteKeyOperationCallable() + *

  • undeleteKeyCallable() *

*
LookupKey

LookupKey

Find the parent project and resource name of the API key that matches the key string in the request. If the API key has been purged, resource name will not be set. The service account must have the `apikeys.keys.lookup` permission on the parent project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • lookupKey(LookupKeyRequest request) + *
  • lookupKey(LookupKeyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • lookupKeyCallable() + *
  • lookupKeyCallable() *

*
* *

See the individual methods for example code. diff --git a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java index c725ecad939c..e949446d4a7c 100644 --- a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java +++ b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/ApiKeysStubSettings.java @@ -258,6 +258,15 @@ public ApiKeysStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -482,7 +491,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -495,7 +503,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -723,6 +730,15 @@ public UnaryCallSettings.Builder lookupKeyS return lookupKeySettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ApiKeysStubSettings build() throws IOException { return new ApiKeysStubSettings(this); diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md index 8bb2f6728308..523255e77025 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java index 0b3af0ff961c..718f2b1fff0e 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java @@ -52,30 +52,32 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * - * + * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetApplication

GetApplication

Gets information about an application.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getApplication(GetApplicationRequest request) + *
  • getApplication(GetApplicationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getApplication(String name) + *
  • getApplication(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getApplicationCallable() + *
  • getApplicationCallable() *

*
CreateApplication

CreateApplication

Creates an App Engine application for a Google Cloud Platform project. Required fields: *

    *
  • `id` - The ID of the target Cloud Platform project. @@ -85,17 +87,17 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createApplicationAsync(CreateApplicationRequest request) + *
  • createApplicationAsync(CreateApplicationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createApplicationOperationCallable() - *
  • createApplicationCallable() + *
  • createApplicationOperationCallable() + *

  • createApplicationCallable() *

*
UpdateApplication

UpdateApplication

Updates the specified Application resource. You can update the following fields: *

    *
  • `auth_domain` - Google authentication domain for controlling user access to the application. @@ -105,31 +107,30 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateApplicationAsync(UpdateApplicationRequest request) + *
  • updateApplicationAsync(UpdateApplicationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateApplicationOperationCallable() - *
  • updateApplicationCallable() + *
  • updateApplicationOperationCallable() + *

  • updateApplicationCallable() *

*
RepairApplication

RepairApplication

Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, *Error retrieving the App Engine service account*. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • repairApplicationAsync(RepairApplicationRequest request) + *
  • repairApplicationAsync(RepairApplicationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • repairApplicationOperationCallable() - *
  • repairApplicationCallable() + *
  • repairApplicationOperationCallable() + *

  • repairApplicationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java index d7b9af759164..0de1879e6c3e 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java @@ -64,82 +64,83 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListAuthorizedCertificates

ListAuthorizedCertificates

Lists all SSL certificates the user is authorized to administer.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAuthorizedCertificates(ListAuthorizedCertificatesRequest request) + *
  • listAuthorizedCertificates(ListAuthorizedCertificatesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAuthorizedCertificatesPagedCallable() - *
  • listAuthorizedCertificatesCallable() + *
  • listAuthorizedCertificatesPagedCallable() + *

  • listAuthorizedCertificatesCallable() *

*
GetAuthorizedCertificate

GetAuthorizedCertificate

Gets the specified SSL certificate.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAuthorizedCertificate(GetAuthorizedCertificateRequest request) + *
  • getAuthorizedCertificate(GetAuthorizedCertificateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAuthorizedCertificateCallable() + *
  • getAuthorizedCertificateCallable() *

*
CreateAuthorizedCertificate

CreateAuthorizedCertificate

Uploads the specified SSL certificate.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createAuthorizedCertificate(CreateAuthorizedCertificateRequest request) + *
  • createAuthorizedCertificate(CreateAuthorizedCertificateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createAuthorizedCertificateCallable() + *
  • createAuthorizedCertificateCallable() *

*
UpdateAuthorizedCertificate

UpdateAuthorizedCertificate

Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update `certificate_data` with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate `display_name` may also be updated.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateAuthorizedCertificate(UpdateAuthorizedCertificateRequest request) + *
  • updateAuthorizedCertificate(UpdateAuthorizedCertificateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateAuthorizedCertificateCallable() + *
  • updateAuthorizedCertificateCallable() *

*
DeleteAuthorizedCertificate

DeleteAuthorizedCertificate

Deletes the specified SSL certificate.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest request) + *
  • deleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteAuthorizedCertificateCallable() + *
  • deleteAuthorizedCertificateCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java index 7f9effc30ddd..df3292ebf61a 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java @@ -66,26 +66,27 @@ * close(). * * + * * * * * + * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListAuthorizedDomains

ListAuthorizedDomains

Lists all domains the user is authorized to administer.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAuthorizedDomains(ListAuthorizedDomainsRequest request) + *
  • listAuthorizedDomains(ListAuthorizedDomainsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAuthorizedDomainsPagedCallable() - *
  • listAuthorizedDomainsCallable() + *
  • listAuthorizedDomainsPagedCallable() + *

  • listAuthorizedDomainsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java index 1791b70febf5..e0bcbf6bb47f 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java @@ -62,85 +62,86 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListDomainMappings

ListDomainMappings

Lists the domain mappings on an application.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDomainMappings(ListDomainMappingsRequest request) + *
  • listDomainMappings(ListDomainMappingsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDomainMappingsPagedCallable() - *
  • listDomainMappingsCallable() + *
  • listDomainMappingsPagedCallable() + *

  • listDomainMappingsCallable() *

*
GetDomainMapping

GetDomainMapping

Gets the specified domain mapping.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDomainMapping(GetDomainMappingRequest request) + *
  • getDomainMapping(GetDomainMappingRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDomainMappingCallable() + *
  • getDomainMappingCallable() *

*
CreateDomainMapping

CreateDomainMapping

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDomainMappingAsync(CreateDomainMappingRequest request) + *
  • createDomainMappingAsync(CreateDomainMappingRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDomainMappingOperationCallable() - *
  • createDomainMappingCallable() + *
  • createDomainMappingOperationCallable() + *

  • createDomainMappingCallable() *

*
UpdateDomainMapping

UpdateDomainMapping

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update `certificate_id` to point to an `AuthorizedCertificate` resource. A user must be authorized to administer the associated domain in order to update a `DomainMapping` resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDomainMappingAsync(UpdateDomainMappingRequest request) + *
  • updateDomainMappingAsync(UpdateDomainMappingRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDomainMappingOperationCallable() - *
  • updateDomainMappingCallable() + *
  • updateDomainMappingOperationCallable() + *

  • updateDomainMappingCallable() *

*
DeleteDomainMapping

DeleteDomainMapping

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a `DomainMapping` resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDomainMappingAsync(DeleteDomainMappingRequest request) + *
  • deleteDomainMappingAsync(DeleteDomainMappingRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDomainMappingOperationCallable() - *
  • deleteDomainMappingCallable() + *
  • deleteDomainMappingOperationCallable() + *

  • deleteDomainMappingCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java index 27a469d69c36..5f5f6c47510f 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java @@ -69,97 +69,98 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListIngressRules

ListIngressRules

Lists the firewall rules of an application.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listIngressRules(ListIngressRulesRequest request) + *
  • listIngressRules(ListIngressRulesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listIngressRulesPagedCallable() - *
  • listIngressRulesCallable() + *
  • listIngressRulesPagedCallable() + *

  • listIngressRulesCallable() *

*
BatchUpdateIngressRules

BatchUpdateIngressRules

Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules. *

If the final rule does not match traffic with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchUpdateIngressRules(BatchUpdateIngressRulesRequest request) + *
  • batchUpdateIngressRules(BatchUpdateIngressRulesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchUpdateIngressRulesCallable() + *
  • batchUpdateIngressRulesCallable() *

*
CreateIngressRule

CreateIngressRule

Creates a firewall rule for the application.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createIngressRule(CreateIngressRuleRequest request) + *
  • createIngressRule(CreateIngressRuleRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createIngressRuleCallable() + *
  • createIngressRuleCallable() *

*
GetIngressRule

GetIngressRule

Gets the specified firewall rule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIngressRule(GetIngressRuleRequest request) + *
  • getIngressRule(GetIngressRuleRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIngressRuleCallable() + *
  • getIngressRuleCallable() *

*
UpdateIngressRule

UpdateIngressRule

Updates the specified firewall rule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateIngressRule(UpdateIngressRuleRequest request) + *
  • updateIngressRule(UpdateIngressRuleRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateIngressRuleCallable() + *
  • updateIngressRuleCallable() *

*
DeleteIngressRule

DeleteIngressRule

Deletes the specified firewall rule.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteIngressRule(DeleteIngressRuleRequest request) + *
  • deleteIngressRule(DeleteIngressRuleRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteIngressRuleCallable() + *
  • deleteIngressRuleCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java index 8ab64c12e3c9..bedbc62dd1ae 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java @@ -61,74 +61,75 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListInstances

ListInstances

Lists the instances of a version. *

Tip: To aggregate details about instances over time, see the [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listInstances(ListInstancesRequest request) + *
  • listInstances(ListInstancesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listInstancesPagedCallable() - *
  • listInstancesCallable() + *
  • listInstancesPagedCallable() + *

  • listInstancesCallable() *

*
GetInstance

GetInstance

Gets instance information.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getInstance(GetInstanceRequest request) + *
  • getInstance(GetInstanceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getInstanceCallable() + *
  • getInstanceCallable() *

*
DeleteInstance

DeleteInstance

Stops a running instance. *

The instance might be automatically recreated based on the scaling settings of the version. For more information, see "How Instances are Managed" ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)). *

To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to `STOPPED` with the [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteInstanceAsync(DeleteInstanceRequest request) + *
  • deleteInstanceAsync(DeleteInstanceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteInstanceOperationCallable() - *
  • deleteInstanceCallable() + *
  • deleteInstanceOperationCallable() + *

  • deleteInstanceCallable() *

*
DebugInstance

DebugInstance

Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started. *

Only applicable for instances in App Engine flexible environment.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • debugInstanceAsync(DebugInstanceRequest request) + *
  • debugInstanceAsync(DebugInstanceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • debugInstanceOperationCallable() - *
  • debugInstanceCallable() + *
  • debugInstanceOperationCallable() + *

  • debugInstanceCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java index 6bce79b97403..922653a9f9cc 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java @@ -61,70 +61,71 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListServices

ListServices

Lists all the services in the application.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listServices(ListServicesRequest request) + *
  • listServices(ListServicesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listServicesPagedCallable() - *
  • listServicesCallable() + *
  • listServicesPagedCallable() + *

  • listServicesCallable() *

*
GetService

GetService

Gets the current configuration of the specified service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getService(GetServiceRequest request) + *
  • getService(GetServiceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getServiceCallable() + *
  • getServiceCallable() *

*
UpdateService

UpdateService

Updates the configuration of the specified service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateServiceAsync(UpdateServiceRequest request) + *
  • updateServiceAsync(UpdateServiceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateServiceOperationCallable() - *
  • updateServiceCallable() + *
  • updateServiceOperationCallable() + *

  • updateServiceCallable() *

*
DeleteService

DeleteService

Deletes the specified service and all enclosed versions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteServiceAsync(DeleteServiceRequest request) + *
  • deleteServiceAsync(DeleteServiceRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteServiceOperationCallable() - *
  • deleteServiceCallable() + *
  • deleteServiceOperationCallable() + *

  • deleteServiceCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java index 8def37a47ee1..5e90a0d1e383 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java @@ -65,56 +65,58 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListVersions

ListVersions

Lists the versions of a service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listVersions(ListVersionsRequest request) + *
  • listVersions(ListVersionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listVersionsPagedCallable() - *
  • listVersionsCallable() + *
  • listVersionsPagedCallable() + *

  • listVersionsCallable() *

*
GetVersion

GetVersion

Gets the specified Version resource. By default, only a `BASIC_VIEW` will be returned. Specify the `FULL_VIEW` parameter to get the full resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getVersion(GetVersionRequest request) + *
  • getVersion(GetVersionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getVersionCallable() + *
  • getVersionCallable() *

*
CreateVersion

CreateVersion

Deploys code and resource files to a new version.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createVersionAsync(CreateVersionRequest request) + *
  • createVersionAsync(CreateVersionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createVersionOperationCallable() - *
  • createVersionCallable() + *
  • createVersionOperationCallable() + *

  • createVersionCallable() *

*
UpdateVersion

UpdateVersion

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses: *

**Standard environment** *

    @@ -152,31 +154,30 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateVersionAsync(UpdateVersionRequest request) + *
  • updateVersionAsync(UpdateVersionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateVersionOperationCallable() - *
  • updateVersionCallable() + *
  • updateVersionOperationCallable() + *

  • updateVersionCallable() *

*
DeleteVersion

DeleteVersion

Deletes an existing Version resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteVersionAsync(DeleteVersionRequest request) + *
  • deleteVersionAsync(DeleteVersionRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteVersionOperationCallable() - *
  • deleteVersionCallable() + *
  • deleteVersionOperationCallable() + *

  • deleteVersionCallable() *

*
* *

See the individual methods for example code. diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java index effe794993e6..6b9cf2c1904c 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java @@ -166,6 +166,15 @@ public ApplicationsStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -370,7 +379,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -383,7 +391,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -548,6 +555,15 @@ public UnaryCallSettings.Builder getApplicat return repairApplicationOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ApplicationsStubSettings build() throws IOException { return new ApplicationsStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java index a610950a9ca8..080867c0a3d9 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java @@ -249,6 +249,15 @@ public AuthorizedCertificatesStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -453,7 +462,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -466,7 +474,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -550,6 +557,15 @@ public Builder applyToAllUnaryMethods( return deleteAuthorizedCertificateSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AuthorizedCertificatesStubSettings build() throws IOException { return new AuthorizedCertificatesStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java index 99a56c105e67..fe77132af9c0 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java @@ -199,6 +199,15 @@ public AuthorizedDomainsStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -363,7 +372,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -376,7 +384,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -416,6 +423,15 @@ public Builder applyToAllUnaryMethods( return listAuthorizedDomainsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AuthorizedDomainsStubSettings build() throws IOException { return new AuthorizedDomainsStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java index 2eec0247c389..34bde145bb4a 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java @@ -254,6 +254,15 @@ public DomainMappingsStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -469,7 +478,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -482,7 +490,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -662,6 +669,15 @@ public Builder applyToAllUnaryMethods( return deleteDomainMappingOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public DomainMappingsStubSettings build() throws IOException { return new DomainMappingsStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java index 08b149689ce0..8f4e58667729 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java @@ -226,6 +226,15 @@ public FirewallStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -423,7 +432,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -436,7 +444,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -528,6 +535,15 @@ public UnaryCallSettings.Builder deleteIngressR return deleteIngressRuleSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public FirewallStubSettings build() throws IOException { return new FirewallStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java index 18d960e845b3..25b3c6206a9c 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java @@ -224,6 +224,15 @@ public InstancesStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -414,7 +423,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -427,7 +435,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -559,6 +566,15 @@ public UnaryCallSettings.Builder debugInstanceS return debugInstanceOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public InstancesStubSettings build() throws IOException { return new InstancesStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java index d00e176d8f8d..aeecd862efa5 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java @@ -224,6 +224,15 @@ public ServicesStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -413,7 +422,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -426,7 +434,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -558,6 +565,15 @@ public UnaryCallSettings.Builder deleteServiceS return deleteServiceOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ServicesStubSettings build() throws IOException { return new ServicesStubSettings(this); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java index d0ed0333c99a..d014be670ea3 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java @@ -240,6 +240,15 @@ public VersionsStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -441,7 +450,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -454,7 +462,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -628,6 +635,15 @@ public UnaryCallSettings.Builder deleteVersionS return deleteVersionOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public VersionsStubSettings build() throws IOException { return new VersionsStubSettings(this); diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md index fb5fc65bcf05..9a60929e70de 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.37.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java index 8274168f6f04..371c2ef8b98e 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/TablesServiceClient.java @@ -91,214 +91,215 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
GetTable

GetTable

Gets a table. Returns NOT_FOUND if the table does not exist.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTable(GetTableRequest request) + *
  • getTable(GetTableRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTable(TableName name) - *
  • getTable(String name) + *
  • getTable(TableName name) + *

  • getTable(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTableCallable() + *
  • getTableCallable() *

*
ListTables

ListTables

Lists tables for the user.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTables(ListTablesRequest request) + *
  • listTables(ListTablesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTablesPagedCallable() - *
  • listTablesCallable() + *
  • listTablesPagedCallable() + *

  • listTablesCallable() *

*
GetWorkspace

GetWorkspace

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getWorkspace(GetWorkspaceRequest request) + *
  • getWorkspace(GetWorkspaceRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getWorkspace(WorkspaceName name) - *
  • getWorkspace(String name) + *
  • getWorkspace(WorkspaceName name) + *

  • getWorkspace(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getWorkspaceCallable() + *
  • getWorkspaceCallable() *

*
ListWorkspaces

ListWorkspaces

Lists workspaces for the user.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listWorkspaces(ListWorkspacesRequest request) + *
  • listWorkspaces(ListWorkspacesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listWorkspacesPagedCallable() - *
  • listWorkspacesCallable() + *
  • listWorkspacesPagedCallable() + *

  • listWorkspacesCallable() *

*
GetRow

GetRow

Gets a row. Returns NOT_FOUND if the row does not exist in the table.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getRow(GetRowRequest request) + *
  • getRow(GetRowRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getRow(RowName name) - *
  • getRow(String name) + *
  • getRow(RowName name) + *

  • getRow(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getRowCallable() + *
  • getRowCallable() *

*
ListRows

ListRows

Lists rows in a table. Returns NOT_FOUND if the table does not exist.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listRows(ListRowsRequest request) + *
  • listRows(ListRowsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listRows(String parent) + *
  • listRows(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listRowsPagedCallable() - *
  • listRowsCallable() + *
  • listRowsPagedCallable() + *

  • listRowsCallable() *

*
CreateRow

CreateRow

Creates a row.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRow(CreateRowRequest request) + *
  • createRow(CreateRowRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createRow(String parent, Row row) + *
  • createRow(String parent, Row row) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRowCallable() + *
  • createRowCallable() *

*
BatchCreateRows

BatchCreateRows

Creates multiple rows.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchCreateRows(BatchCreateRowsRequest request) + *
  • batchCreateRows(BatchCreateRowsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchCreateRowsCallable() + *
  • batchCreateRowsCallable() *

*
UpdateRow

UpdateRow

Updates a row.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateRow(UpdateRowRequest request) + *
  • updateRow(UpdateRowRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateRow(Row row, FieldMask updateMask) + *
  • updateRow(Row row, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateRowCallable() + *
  • updateRowCallable() *

*
BatchUpdateRows

BatchUpdateRows

Updates multiple rows.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchUpdateRows(BatchUpdateRowsRequest request) + *
  • batchUpdateRows(BatchUpdateRowsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchUpdateRowsCallable() + *
  • batchUpdateRowsCallable() *

*
DeleteRow

DeleteRow

Deletes a row.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteRow(DeleteRowRequest request) + *
  • deleteRow(DeleteRowRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteRow(RowName name) - *
  • deleteRow(String name) + *
  • deleteRow(RowName name) + *

  • deleteRow(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteRowCallable() + *
  • deleteRowCallable() *

*
BatchDeleteRows

BatchDeleteRows

Deletes multiple rows.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchDeleteRows(BatchDeleteRowsRequest request) + *
  • batchDeleteRows(BatchDeleteRowsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchDeleteRowsCallable() + *
  • batchDeleteRowsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java index 0672c07dd0d4..2ee26bd1169e 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/TablesServiceStubSettings.java @@ -386,6 +386,15 @@ public TablesServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -621,7 +630,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -634,7 +642,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -786,6 +793,15 @@ public UnaryCallSettings.Builder batchDeleteRowsS return batchDeleteRowsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public TablesServiceStubSettings build() throws IOException { return new TablesServiceStubSettings(this); diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md index 3688327eaf39..a97275357e1a 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.31.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.32.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index fe533816f49a..9f8a68cb9bdb 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -86,703 +86,704 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListDockerImages

ListDockerImages

Lists docker images.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDockerImages(ListDockerImagesRequest request) + *
  • listDockerImages(ListDockerImagesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDockerImages(String parent) + *
  • listDockerImages(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDockerImagesPagedCallable() - *
  • listDockerImagesCallable() + *
  • listDockerImagesPagedCallable() + *

  • listDockerImagesCallable() *

*
GetDockerImage

GetDockerImage

Gets a docker image.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDockerImage(GetDockerImageRequest request) + *
  • getDockerImage(GetDockerImageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDockerImage(DockerImageName name) - *
  • getDockerImage(String name) + *
  • getDockerImage(DockerImageName name) + *

  • getDockerImage(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDockerImageCallable() + *
  • getDockerImageCallable() *

*
ListMavenArtifacts

ListMavenArtifacts

Lists maven artifacts.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listMavenArtifacts(ListMavenArtifactsRequest request) + *
  • listMavenArtifacts(ListMavenArtifactsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listMavenArtifacts(RepositoryName parent) - *
  • listMavenArtifacts(String parent) + *
  • listMavenArtifacts(RepositoryName parent) + *

  • listMavenArtifacts(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listMavenArtifactsPagedCallable() - *
  • listMavenArtifactsCallable() + *
  • listMavenArtifactsPagedCallable() + *

  • listMavenArtifactsCallable() *

*
GetMavenArtifact

GetMavenArtifact

Gets a maven artifact.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getMavenArtifact(GetMavenArtifactRequest request) + *
  • getMavenArtifact(GetMavenArtifactRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getMavenArtifact(MavenArtifactName name) - *
  • getMavenArtifact(String name) + *
  • getMavenArtifact(MavenArtifactName name) + *

  • getMavenArtifact(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getMavenArtifactCallable() + *
  • getMavenArtifactCallable() *

*
ListNpmPackages

ListNpmPackages

Lists npm packages.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listNpmPackages(ListNpmPackagesRequest request) + *
  • listNpmPackages(ListNpmPackagesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listNpmPackages(RepositoryName parent) - *
  • listNpmPackages(String parent) + *
  • listNpmPackages(RepositoryName parent) + *

  • listNpmPackages(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listNpmPackagesPagedCallable() - *
  • listNpmPackagesCallable() + *
  • listNpmPackagesPagedCallable() + *

  • listNpmPackagesCallable() *

*
GetNpmPackage

GetNpmPackage

Gets a npm package.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getNpmPackage(GetNpmPackageRequest request) + *
  • getNpmPackage(GetNpmPackageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getNpmPackage(NpmPackageName name) - *
  • getNpmPackage(String name) + *
  • getNpmPackage(NpmPackageName name) + *

  • getNpmPackage(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getNpmPackageCallable() + *
  • getNpmPackageCallable() *

*
ListPythonPackages

ListPythonPackages

Lists python packages.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPythonPackages(ListPythonPackagesRequest request) + *
  • listPythonPackages(ListPythonPackagesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPythonPackages(RepositoryName parent) - *
  • listPythonPackages(String parent) + *
  • listPythonPackages(RepositoryName parent) + *

  • listPythonPackages(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPythonPackagesPagedCallable() - *
  • listPythonPackagesCallable() + *
  • listPythonPackagesPagedCallable() + *

  • listPythonPackagesCallable() *

*
GetPythonPackage

GetPythonPackage

Gets a python package.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPythonPackage(GetPythonPackageRequest request) + *
  • getPythonPackage(GetPythonPackageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPythonPackage(PythonPackageName name) - *
  • getPythonPackage(String name) + *
  • getPythonPackage(PythonPackageName name) + *

  • getPythonPackage(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPythonPackageCallable() + *
  • getPythonPackageCallable() *

*
ImportAptArtifacts

ImportAptArtifacts

Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importAptArtifactsAsync(ImportAptArtifactsRequest request) + *
  • importAptArtifactsAsync(ImportAptArtifactsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importAptArtifactsOperationCallable() - *
  • importAptArtifactsCallable() + *
  • importAptArtifactsOperationCallable() + *

  • importAptArtifactsCallable() *

*
ImportYumArtifacts

ImportYumArtifacts

Imports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importYumArtifactsAsync(ImportYumArtifactsRequest request) + *
  • importYumArtifactsAsync(ImportYumArtifactsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importYumArtifactsOperationCallable() - *
  • importYumArtifactsCallable() + *
  • importYumArtifactsOperationCallable() + *

  • importYumArtifactsCallable() *

*
ListRepositories

ListRepositories

Lists repositories.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listRepositories(ListRepositoriesRequest request) + *
  • listRepositories(ListRepositoriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listRepositories(LocationName parent) - *
  • listRepositories(String parent) + *
  • listRepositories(LocationName parent) + *

  • listRepositories(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listRepositoriesPagedCallable() - *
  • listRepositoriesCallable() + *
  • listRepositoriesPagedCallable() + *

  • listRepositoriesCallable() *

*
GetRepository

GetRepository

Gets a repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getRepository(GetRepositoryRequest request) + *
  • getRepository(GetRepositoryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getRepository(RepositoryName name) - *
  • getRepository(String name) + *
  • getRepository(RepositoryName name) + *

  • getRepository(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getRepositoryCallable() + *
  • getRepositoryCallable() *

*
CreateRepository

CreateRepository

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRepositoryAsync(CreateRepositoryRequest request) + *
  • createRepositoryAsync(CreateRepositoryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createRepositoryAsync(LocationName parent, Repository repository, String repositoryId) - *
  • createRepositoryAsync(String parent, Repository repository, String repositoryId) + *
  • createRepositoryAsync(LocationName parent, Repository repository, String repositoryId) + *

  • createRepositoryAsync(String parent, Repository repository, String repositoryId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRepositoryOperationCallable() - *
  • createRepositoryCallable() + *
  • createRepositoryOperationCallable() + *

  • createRepositoryCallable() *

*
UpdateRepository

UpdateRepository

Updates a repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateRepository(UpdateRepositoryRequest request) + *
  • updateRepository(UpdateRepositoryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateRepository(Repository repository, FieldMask updateMask) + *
  • updateRepository(Repository repository, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateRepositoryCallable() + *
  • updateRepositoryCallable() *

*
DeleteRepository

DeleteRepository

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteRepositoryAsync(DeleteRepositoryRequest request) + *
  • deleteRepositoryAsync(DeleteRepositoryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteRepositoryAsync(RepositoryName name) - *
  • deleteRepositoryAsync(String name) + *
  • deleteRepositoryAsync(RepositoryName name) + *

  • deleteRepositoryAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteRepositoryOperationCallable() - *
  • deleteRepositoryCallable() + *
  • deleteRepositoryOperationCallable() + *

  • deleteRepositoryCallable() *

*
ListPackages

ListPackages

Lists packages.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPackages(ListPackagesRequest request) + *
  • listPackages(ListPackagesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPackages(RepositoryName parent) - *
  • listPackages(String parent) + *
  • listPackages(RepositoryName parent) + *

  • listPackages(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPackagesPagedCallable() - *
  • listPackagesCallable() + *
  • listPackagesPagedCallable() + *

  • listPackagesCallable() *

*
GetPackage

GetPackage

Gets a package.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPackage(GetPackageRequest request) + *
  • getPackage(GetPackageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPackage(PackageName name) - *
  • getPackage(String name) + *
  • getPackage(PackageName name) + *

  • getPackage(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPackageCallable() + *
  • getPackageCallable() *

*
DeletePackage

DeletePackage

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deletePackageAsync(DeletePackageRequest request) + *
  • deletePackageAsync(DeletePackageRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deletePackageAsync(PackageName name) - *
  • deletePackageAsync(String name) + *
  • deletePackageAsync(PackageName name) + *

  • deletePackageAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePackageOperationCallable() - *
  • deletePackageCallable() + *
  • deletePackageOperationCallable() + *

  • deletePackageCallable() *

*
ListVersions

ListVersions

Lists versions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listVersions(ListVersionsRequest request) + *
  • listVersions(ListVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listVersions(String parent) + *
  • listVersions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listVersionsPagedCallable() - *
  • listVersionsCallable() + *
  • listVersionsPagedCallable() + *

  • listVersionsCallable() *

*
GetVersion

GetVersion

Gets a version

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getVersion(GetVersionRequest request) + *
  • getVersion(GetVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getVersion(String name) + *
  • getVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getVersionCallable() + *
  • getVersionCallable() *

*
DeleteVersion

DeleteVersion

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteVersionAsync(DeleteVersionRequest request) + *
  • deleteVersionAsync(DeleteVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteVersionAsync(String name) + *
  • deleteVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteVersionOperationCallable() - *
  • deleteVersionCallable() + *
  • deleteVersionOperationCallable() + *

  • deleteVersionCallable() *

*
BatchDeleteVersions

BatchDeleteVersions

Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchDeleteVersionsAsync(BatchDeleteVersionsRequest request) + *
  • batchDeleteVersionsAsync(BatchDeleteVersionsRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchDeleteVersionsAsync(PackageName parent, List names) - *
  • batchDeleteVersionsAsync(String parent, List names) + *
  • batchDeleteVersionsAsync(PackageName parent, List<String> names) + *

  • batchDeleteVersionsAsync(String parent, List<String> names) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchDeleteVersionsOperationCallable() - *
  • batchDeleteVersionsCallable() + *
  • batchDeleteVersionsOperationCallable() + *

  • batchDeleteVersionsCallable() *

*
ListFiles

ListFiles

Lists files.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFiles(ListFilesRequest request) + *
  • listFiles(ListFilesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFiles(RepositoryName parent) - *
  • listFiles(String parent) + *
  • listFiles(RepositoryName parent) + *

  • listFiles(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFilesPagedCallable() - *
  • listFilesCallable() + *
  • listFilesPagedCallable() + *

  • listFilesCallable() *

*
GetFile

GetFile

Gets a file.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFile(GetFileRequest request) + *
  • getFile(GetFileRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFile(FileName name) - *
  • getFile(String name) + *
  • getFile(FileName name) + *

  • getFile(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFileCallable() + *
  • getFileCallable() *

*
ListTags

ListTags

Lists tags.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTags(ListTagsRequest request) + *
  • listTags(ListTagsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTags(String parent) + *
  • listTags(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTagsPagedCallable() - *
  • listTagsCallable() + *
  • listTagsPagedCallable() + *

  • listTagsCallable() *

*
GetTag

GetTag

Gets a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTag(GetTagRequest request) + *
  • getTag(GetTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTag(String name) + *
  • getTag(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTagCallable() + *
  • getTagCallable() *

*
CreateTag

CreateTag

Creates a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTag(CreateTagRequest request) + *
  • createTag(CreateTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTag(String parent, Tag tag, String tagId) + *
  • createTag(String parent, Tag tag, String tagId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTagCallable() + *
  • createTagCallable() *

*
UpdateTag

UpdateTag

Updates a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTag(UpdateTagRequest request) + *
  • updateTag(UpdateTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTag(Tag tag, FieldMask updateMask) + *
  • updateTag(Tag tag, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTagCallable() + *
  • updateTagCallable() *

*
DeleteTag

DeleteTag

Deletes a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTag(DeleteTagRequest request) + *
  • deleteTag(DeleteTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteTag(String name) + *
  • deleteTag(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTagCallable() + *
  • deleteTagCallable() *

*
SetIamPolicy

SetIamPolicy

Updates the IAM policy for a given resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the IAM policy for a given resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Tests if the caller has a list of permissions on a resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
GetProjectSettings

GetProjectSettings

Retrieves the Settings for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getProjectSettings(GetProjectSettingsRequest request) + *
  • getProjectSettings(GetProjectSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getProjectSettings(ProjectSettingsName name) - *
  • getProjectSettings(String name) + *
  • getProjectSettings(ProjectSettingsName name) + *

  • getProjectSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getProjectSettingsCallable() + *
  • getProjectSettingsCallable() *

*
UpdateProjectSettings

UpdateProjectSettings

Updates the Settings for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateProjectSettings(UpdateProjectSettingsRequest request) + *
  • updateProjectSettings(UpdateProjectSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateProjectSettings(ProjectSettings projectSettings, FieldMask updateMask) + *
  • updateProjectSettings(ProjectSettings projectSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateProjectSettingsCallable() + *
  • updateProjectSettingsCallable() *

*
GetVPCSCConfig

GetVPCSCConfig

Retrieves the VPCSC Config for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getVPCSCConfig(GetVPCSCConfigRequest request) + *
  • getVPCSCConfig(GetVPCSCConfigRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getVPCSCConfig(VpcscConfigName name) - *
  • getVPCSCConfig(String name) + *
  • getVPCSCConfig(VpcscConfigName name) + *

  • getVPCSCConfig(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getVPCSCConfigCallable() + *
  • getVPCSCConfigCallable() *

*
UpdateVPCSCConfig

UpdateVPCSCConfig

Updates the VPCSC Config for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateVPCSCConfig(UpdateVPCSCConfigRequest request) + *
  • updateVPCSCConfig(UpdateVPCSCConfigRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateVPCSCConfig(VPCSCConfig vpcscConfig, FieldMask updateMask) + *
  • updateVPCSCConfig(VPCSCConfig vpcscConfig, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateVPCSCConfigCallable() + *
  • updateVPCSCConfigCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 12150ee882fb..18203f4c6817 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -1087,6 +1087,15 @@ public ArtifactRegistryStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1549,7 +1558,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1562,7 +1570,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -2230,6 +2237,15 @@ public UnaryCallSettings.Builder getLocationSettin return getLocationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ArtifactRegistryStubSettings build() throws IOException { return new ArtifactRegistryStubSettings(this); diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 0c8e863fad6e..cb12efbc62ec 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -85,486 +85,487 @@ * close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ImportAptArtifacts

ImportAptArtifacts

Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importAptArtifactsAsync(ImportAptArtifactsRequest request) + *
  • importAptArtifactsAsync(ImportAptArtifactsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importAptArtifactsOperationCallable() - *
  • importAptArtifactsCallable() + *
  • importAptArtifactsOperationCallable() + *

  • importAptArtifactsCallable() *

*
ImportYumArtifacts

ImportYumArtifacts

Imports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importYumArtifactsAsync(ImportYumArtifactsRequest request) + *
  • importYumArtifactsAsync(ImportYumArtifactsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importYumArtifactsOperationCallable() - *
  • importYumArtifactsCallable() + *
  • importYumArtifactsOperationCallable() + *

  • importYumArtifactsCallable() *

*
ListRepositories

ListRepositories

Lists repositories.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listRepositories(ListRepositoriesRequest request) + *
  • listRepositories(ListRepositoriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listRepositories(LocationName parent) - *
  • listRepositories(String parent) + *
  • listRepositories(LocationName parent) + *

  • listRepositories(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listRepositoriesPagedCallable() - *
  • listRepositoriesCallable() + *
  • listRepositoriesPagedCallable() + *

  • listRepositoriesCallable() *

*
GetRepository

GetRepository

Gets a repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getRepository(GetRepositoryRequest request) + *
  • getRepository(GetRepositoryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getRepository(RepositoryName name) - *
  • getRepository(String name) + *
  • getRepository(RepositoryName name) + *

  • getRepository(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getRepositoryCallable() + *
  • getRepositoryCallable() *

*
CreateRepository

CreateRepository

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createRepositoryAsync(CreateRepositoryRequest request) + *
  • createRepositoryAsync(CreateRepositoryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createRepositoryAsync(LocationName parent, Repository repository, String repositoryId) - *
  • createRepositoryAsync(String parent, Repository repository, String repositoryId) + *
  • createRepositoryAsync(LocationName parent, Repository repository, String repositoryId) + *

  • createRepositoryAsync(String parent, Repository repository, String repositoryId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createRepositoryOperationCallable() - *
  • createRepositoryCallable() + *
  • createRepositoryOperationCallable() + *

  • createRepositoryCallable() *

*
UpdateRepository

UpdateRepository

Updates a repository.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateRepository(UpdateRepositoryRequest request) + *
  • updateRepository(UpdateRepositoryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateRepository(Repository repository, FieldMask updateMask) + *
  • updateRepository(Repository repository, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateRepositoryCallable() + *
  • updateRepositoryCallable() *

*
DeleteRepository

DeleteRepository

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteRepositoryAsync(DeleteRepositoryRequest request) + *
  • deleteRepositoryAsync(DeleteRepositoryRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteRepositoryAsync(RepositoryName name) - *
  • deleteRepositoryAsync(String name) + *
  • deleteRepositoryAsync(RepositoryName name) + *

  • deleteRepositoryAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteRepositoryOperationCallable() - *
  • deleteRepositoryCallable() + *
  • deleteRepositoryOperationCallable() + *

  • deleteRepositoryCallable() *

*
ListPackages

ListPackages

Lists packages.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listPackages(ListPackagesRequest request) + *
  • listPackages(ListPackagesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listPackages(String parent) + *
  • listPackages(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listPackagesPagedCallable() - *
  • listPackagesCallable() + *
  • listPackagesPagedCallable() + *

  • listPackagesCallable() *

*
GetPackage

GetPackage

Gets a package.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getPackage(GetPackageRequest request) + *
  • getPackage(GetPackageRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getPackage(String name) + *
  • getPackage(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getPackageCallable() + *
  • getPackageCallable() *

*
DeletePackage

DeletePackage

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deletePackageAsync(DeletePackageRequest request) + *
  • deletePackageAsync(DeletePackageRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deletePackageAsync(String name) + *
  • deletePackageAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deletePackageOperationCallable() - *
  • deletePackageCallable() + *
  • deletePackageOperationCallable() + *

  • deletePackageCallable() *

*
ListVersions

ListVersions

Lists versions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listVersions(ListVersionsRequest request) + *
  • listVersions(ListVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listVersions(String parent) + *
  • listVersions(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listVersionsPagedCallable() - *
  • listVersionsCallable() + *
  • listVersionsPagedCallable() + *

  • listVersionsCallable() *

*
GetVersion

GetVersion

Gets a version

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getVersion(GetVersionRequest request) + *
  • getVersion(GetVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getVersion(String name) + *
  • getVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getVersionCallable() + *
  • getVersionCallable() *

*
DeleteVersion

DeleteVersion

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteVersionAsync(DeleteVersionRequest request) + *
  • deleteVersionAsync(DeleteVersionRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteVersionAsync(String name) + *
  • deleteVersionAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteVersionOperationCallable() - *
  • deleteVersionCallable() + *
  • deleteVersionOperationCallable() + *

  • deleteVersionCallable() *

*
ListFiles

ListFiles

Lists files.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFiles(ListFilesRequest request) + *
  • listFiles(ListFilesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFiles(String parent) + *
  • listFiles(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFilesPagedCallable() - *
  • listFilesCallable() + *
  • listFilesPagedCallable() + *

  • listFilesCallable() *

*
GetFile

GetFile

Gets a file.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFile(GetFileRequest request) + *
  • getFile(GetFileRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFile(String name) + *
  • getFile(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFileCallable() + *
  • getFileCallable() *

*
ListTags

ListTags

Lists tags.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTags(ListTagsRequest request) + *
  • listTags(ListTagsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTags(String parent) + *
  • listTags(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTagsPagedCallable() - *
  • listTagsCallable() + *
  • listTagsPagedCallable() + *

  • listTagsCallable() *

*
GetTag

GetTag

Gets a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTag(GetTagRequest request) + *
  • getTag(GetTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTag(String name) + *
  • getTag(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTagCallable() + *
  • getTagCallable() *

*
CreateTag

CreateTag

Creates a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createTag(CreateTagRequest request) + *
  • createTag(CreateTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createTag(String parent, Tag tag, String tagId) + *
  • createTag(String parent, Tag tag, String tagId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createTagCallable() + *
  • createTagCallable() *

*
UpdateTag

UpdateTag

Updates a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTag(UpdateTagRequest request) + *
  • updateTag(UpdateTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTag(Tag tag, FieldMask updateMask) + *
  • updateTag(Tag tag, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTagCallable() + *
  • updateTagCallable() *

*
DeleteTag

DeleteTag

Deletes a tag.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteTag(DeleteTagRequest request) + *
  • deleteTag(DeleteTagRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteTag(String name) + *
  • deleteTag(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteTagCallable() + *
  • deleteTagCallable() *

*
SetIamPolicy

SetIamPolicy

Updates the IAM policy for a given resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • setIamPolicy(SetIamPolicyRequest request) + *
  • setIamPolicy(SetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • setIamPolicyCallable() + *
  • setIamPolicyCallable() *

*
GetIamPolicy

GetIamPolicy

Gets the IAM policy for a given resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getIamPolicy(GetIamPolicyRequest request) + *
  • getIamPolicy(GetIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getIamPolicyCallable() + *
  • getIamPolicyCallable() *

*
TestIamPermissions

TestIamPermissions

Tests if the caller has a list of permissions on a resource.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • testIamPermissions(TestIamPermissionsRequest request) + *
  • testIamPermissions(TestIamPermissionsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • testIamPermissionsCallable() + *
  • testIamPermissionsCallable() *

*
GetProjectSettings

GetProjectSettings

Retrieves the Settings for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getProjectSettings(GetProjectSettingsRequest request) + *
  • getProjectSettings(GetProjectSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getProjectSettings(ProjectSettingsName name) - *
  • getProjectSettings(String name) + *
  • getProjectSettings(ProjectSettingsName name) + *

  • getProjectSettings(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getProjectSettingsCallable() + *
  • getProjectSettingsCallable() *

*
UpdateProjectSettings

UpdateProjectSettings

Updates the Settings for the Project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateProjectSettings(UpdateProjectSettingsRequest request) + *
  • updateProjectSettings(UpdateProjectSettingsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateProjectSettings(ProjectSettings projectSettings, FieldMask updateMask) + *
  • updateProjectSettings(ProjectSettings projectSettings, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateProjectSettingsCallable() + *
  • updateProjectSettingsCallable() *

*
ListLocations

ListLocations

Lists information about the supported locations for this service.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listLocations(ListLocationsRequest request) + *
  • listLocations(ListLocationsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listLocationsPagedCallable() - *
  • listLocationsCallable() + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() *

*
GetLocation

GetLocation

Gets information about a location.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getLocation(GetLocationRequest request) + *
  • getLocation(GetLocationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getLocationCallable() + *
  • getLocationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index 687f48826703..d5f395427423 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -734,6 +734,15 @@ public ArtifactRegistryStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1125,7 +1134,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1138,7 +1146,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1650,6 +1657,15 @@ public UnaryCallSettings.Builder getLocationSettin return getLocationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public ArtifactRegistryStubSettings build() throws IOException { return new ArtifactRegistryStubSettings(this); diff --git a/java-asset/README.md b/java-asset/README.md index caf0e08458ef..de98c24a38c9 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.37.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java index 617fc8b1fd40..01d9701e9409 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java @@ -70,234 +70,236 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * - * *
Methods
MethodDescriptionMethod Variants
ExportAssets

ExportAssets

Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset Protobuf as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportAssetsAsync(ExportAssetsRequest request) + *
  • exportAssetsAsync(ExportAssetsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportAssetsOperationCallable() - *
  • exportAssetsCallable() + *
  • exportAssetsOperationCallable() + *

  • exportAssetsCallable() *

*
ListAssets

ListAssets

Lists assets with time and resource types and returns paged results in response.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAssets(ListAssetsRequest request) + *
  • listAssets(ListAssetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAssets(ResourceName parent) - *
  • listAssets(String parent) + *
  • listAssets(ResourceName parent) + *

  • listAssets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAssetsPagedCallable() - *
  • listAssetsCallable() + *
  • listAssetsPagedCallable() + *

  • listAssetsCallable() *

*
BatchGetAssetsHistory

BatchGetAssetsHistory

Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchGetAssetsHistory(BatchGetAssetsHistoryRequest request) + *
  • batchGetAssetsHistory(BatchGetAssetsHistoryRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchGetAssetsHistoryCallable() + *
  • batchGetAssetsHistoryCallable() *

*
CreateFeed

CreateFeed

Creates a feed in a parent project/folder/organization to listen to its asset updates.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeed(CreateFeedRequest request) + *
  • createFeed(CreateFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createFeed(String parent) + *
  • createFeed(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeedCallable() + *
  • createFeedCallable() *

*
GetFeed

GetFeed

Gets details about an asset feed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeed(GetFeedRequest request) + *
  • getFeed(GetFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeed(FeedName name) - *
  • getFeed(String name) + *
  • getFeed(FeedName name) + *

  • getFeed(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeedCallable() + *
  • getFeedCallable() *

*
ListFeeds

ListFeeds

Lists all asset feeds in a parent project/folder/organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeeds(ListFeedsRequest request) + *
  • listFeeds(ListFeedsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeeds(String parent) + *
  • listFeeds(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeedsCallable() + *
  • listFeedsCallable() *

*
UpdateFeed

UpdateFeed

Updates an asset feed configuration.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeed(UpdateFeedRequest request) + *
  • updateFeed(UpdateFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateFeed(Feed feed) + *
  • updateFeed(Feed feed) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeedCallable() + *
  • updateFeedCallable() *

*
DeleteFeed

DeleteFeed

Deletes an asset feed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeed(DeleteFeedRequest request) + *
  • deleteFeed(DeleteFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteFeed(FeedName name) - *
  • deleteFeed(String name) + *
  • deleteFeed(FeedName name) + *

  • deleteFeed(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeedCallable() + *
  • deleteFeedCallable() *

*
SearchAllResources

SearchAllResources

Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchAllResources(SearchAllResourcesRequest request) + *
  • searchAllResources(SearchAllResourcesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchAllResources(String scope, String query, List assetTypes) + *
  • searchAllResources(String scope, String query, List<String> assetTypes) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchAllResourcesPagedCallable() - *
  • searchAllResourcesCallable() + *
  • searchAllResourcesPagedCallable() + *

  • searchAllResourcesCallable() *

*
SearchAllIamPolicies

SearchAllIamPolicies

Searches all IAM policies within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllIamPolicies` permission on the desired scope, otherwise the request will be rejected.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchAllIamPolicies(SearchAllIamPoliciesRequest request) + *
  • searchAllIamPolicies(SearchAllIamPoliciesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchAllIamPolicies(String scope, String query) + *
  • searchAllIamPolicies(String scope, String query) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchAllIamPoliciesPagedCallable() - *
  • searchAllIamPoliciesCallable() + *
  • searchAllIamPoliciesPagedCallable() + *

  • searchAllIamPoliciesCallable() *

*
AnalyzeIamPolicy

AnalyzeIamPolicy

Analyzes IAM policies to answer which identities have what accesses on which resources.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeIamPolicy(AnalyzeIamPolicyRequest request) + *
  • analyzeIamPolicy(AnalyzeIamPolicyRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeIamPolicyCallable() + *
  • analyzeIamPolicyCallable() *

*
AnalyzeIamPolicyLongrunning

AnalyzeIamPolicyLongrunning

Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest request) + *
  • analyzeIamPolicyLongrunningAsync(AnalyzeIamPolicyLongrunningRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeIamPolicyLongrunningOperationCallable() - *
  • analyzeIamPolicyLongrunningCallable() + *
  • analyzeIamPolicyLongrunningOperationCallable() + *

  • analyzeIamPolicyLongrunningCallable() *

*
AnalyzeMove

AnalyzeMove

Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeMove(AnalyzeMoveRequest request) + *
  • analyzeMove(AnalyzeMoveRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeMoveCallable() + *
  • analyzeMoveCallable() *

*
QueryAssets

QueryAssets

Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). *

If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. *

Otherwise, full query results can be obtained by issuing extra requests with the `job_reference` from the a previous `QueryAssets` call. @@ -305,167 +307,167 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • queryAssets(QueryAssetsRequest request) + *
  • queryAssets(QueryAssetsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • queryAssetsCallable() + *
  • queryAssetsCallable() *

*
CreateSavedQuery

CreateSavedQuery

Creates a saved query in a parent project/folder/organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createSavedQuery(CreateSavedQueryRequest request) + *
  • createSavedQuery(CreateSavedQueryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createSavedQuery(FolderName parent, SavedQuery savedQuery, String savedQueryId) - *
  • createSavedQuery(OrganizationName parent, SavedQuery savedQuery, String savedQueryId) - *
  • createSavedQuery(ProjectName parent, SavedQuery savedQuery, String savedQueryId) - *
  • createSavedQuery(String parent, SavedQuery savedQuery, String savedQueryId) + *
  • createSavedQuery(FolderName parent, SavedQuery savedQuery, String savedQueryId) + *

  • createSavedQuery(OrganizationName parent, SavedQuery savedQuery, String savedQueryId) + *

  • createSavedQuery(ProjectName parent, SavedQuery savedQuery, String savedQueryId) + *

  • createSavedQuery(String parent, SavedQuery savedQuery, String savedQueryId) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createSavedQueryCallable() + *
  • createSavedQueryCallable() *

*
GetSavedQuery

GetSavedQuery

Gets details about a saved query.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getSavedQuery(GetSavedQueryRequest request) + *
  • getSavedQuery(GetSavedQueryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getSavedQuery(SavedQueryName name) - *
  • getSavedQuery(String name) + *
  • getSavedQuery(SavedQueryName name) + *

  • getSavedQuery(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getSavedQueryCallable() + *
  • getSavedQueryCallable() *

*
ListSavedQueries

ListSavedQueries

Lists all saved queries in a parent project/folder/organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listSavedQueries(ListSavedQueriesRequest request) + *
  • listSavedQueries(ListSavedQueriesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listSavedQueries(FolderName parent) - *
  • listSavedQueries(OrganizationName parent) - *
  • listSavedQueries(ProjectName parent) - *
  • listSavedQueries(String parent) + *
  • listSavedQueries(FolderName parent) + *

  • listSavedQueries(OrganizationName parent) + *

  • listSavedQueries(ProjectName parent) + *

  • listSavedQueries(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listSavedQueriesPagedCallable() - *
  • listSavedQueriesCallable() + *
  • listSavedQueriesPagedCallable() + *

  • listSavedQueriesCallable() *

*
UpdateSavedQuery

UpdateSavedQuery

Updates a saved query.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateSavedQuery(UpdateSavedQueryRequest request) + *
  • updateSavedQuery(UpdateSavedQueryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateSavedQuery(SavedQuery savedQuery, FieldMask updateMask) + *
  • updateSavedQuery(SavedQuery savedQuery, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateSavedQueryCallable() + *
  • updateSavedQueryCallable() *

*
DeleteSavedQuery

DeleteSavedQuery

Deletes a saved query.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteSavedQuery(DeleteSavedQueryRequest request) + *
  • deleteSavedQuery(DeleteSavedQueryRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteSavedQuery(SavedQueryName name) - *
  • deleteSavedQuery(String name) + *
  • deleteSavedQuery(SavedQueryName name) + *

  • deleteSavedQuery(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteSavedQueryCallable() + *
  • deleteSavedQueryCallable() *

*
BatchGetEffectiveIamPolicies

BatchGetEffectiveIamPolicies

Gets effective IAM policies for a batch of resources.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest request) + *
  • batchGetEffectiveIamPolicies(BatchGetEffectiveIamPoliciesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchGetEffectiveIamPoliciesCallable() + *
  • batchGetEffectiveIamPoliciesCallable() *

*
AnalyzeOrgPolicies

AnalyzeOrgPolicies

Analyzes organization policies under a scope.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeOrgPolicies(AnalyzeOrgPoliciesRequest request) + *
  • analyzeOrgPolicies(AnalyzeOrgPoliciesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • analyzeOrgPolicies(String scope, String constraint, String filter) + *
  • analyzeOrgPolicies(String scope, String constraint, String filter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeOrgPoliciesPagedCallable() - *
  • analyzeOrgPoliciesCallable() + *
  • analyzeOrgPoliciesPagedCallable() + *

  • analyzeOrgPoliciesCallable() *

*
AnalyzeOrgPolicyGovernedContainers

AnalyzeOrgPolicyGovernedContainers

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest request) + *
  • analyzeOrgPolicyGovernedContainers(AnalyzeOrgPolicyGovernedContainersRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • analyzeOrgPolicyGovernedContainers(String scope, String constraint, String filter) + *
  • analyzeOrgPolicyGovernedContainers(String scope, String constraint, String filter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeOrgPolicyGovernedContainersPagedCallable() - *
  • analyzeOrgPolicyGovernedContainersCallable() + *
  • analyzeOrgPolicyGovernedContainersPagedCallable() + *

  • analyzeOrgPolicyGovernedContainersCallable() *

*
AnalyzeOrgPolicyGovernedAssets

AnalyzeOrgPolicyGovernedAssets

Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: *

    *
  • storage.uniformBucketLevelAccess @@ -483,20 +485,19 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest request) + *
  • analyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • analyzeOrgPolicyGovernedAssets(String scope, String constraint, String filter) + *
  • analyzeOrgPolicyGovernedAssets(String scope, String constraint, String filter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeOrgPolicyGovernedAssetsPagedCallable() - *
  • analyzeOrgPolicyGovernedAssetsCallable() + *
  • analyzeOrgPolicyGovernedAssetsPagedCallable() + *

  • analyzeOrgPolicyGovernedAssetsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java index c864cbde4156..1c532e830059 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java @@ -852,6 +852,15 @@ public AssetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1278,7 +1287,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1291,7 +1299,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1648,6 +1655,15 @@ public UnaryCallSettings.Builder deleteSavedQuer return analyzeOrgPolicyGovernedAssetsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssetServiceStubSettings build() throws IOException { return new AssetServiceStubSettings(this); diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java index 3a2d83290c2e..a1f33804c0b5 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java @@ -61,49 +61,50 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
SearchAllResources

SearchAllResources

Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have `.get` permission of all the resources. Callers should have `cloud.assets.SearchAllResources` permission on the requested scope, otherwise the request will be rejected.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchAllResources(SearchAllResourcesRequest request) + *
  • searchAllResources(SearchAllResourcesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchAllResources(String scope, String query, List assetTypes) + *
  • searchAllResources(String scope, String query, List<String> assetTypes) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchAllResourcesPagedCallable() - *
  • searchAllResourcesCallable() + *
  • searchAllResourcesPagedCallable() + *

  • searchAllResourcesCallable() *

*
SearchAllIamPolicies

SearchAllIamPolicies

Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have `.getIamPolicy` permission of all the IAM policies. Callers should have `cloud.assets.SearchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • searchAllIamPolicies(SearchAllIamPoliciesRequest request) + *
  • searchAllIamPolicies(SearchAllIamPoliciesRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • searchAllIamPolicies(String scope, String query) + *
  • searchAllIamPolicies(String scope, String query) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • searchAllIamPoliciesPagedCallable() - *
  • searchAllIamPoliciesCallable() + *
  • searchAllIamPoliciesPagedCallable() + *

  • searchAllIamPoliciesCallable() *

*
* *

See the individual methods for example code. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java index d5c058590778..6098a026e278 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java @@ -276,6 +276,15 @@ public AssetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -454,7 +463,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -467,7 +475,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -519,6 +526,15 @@ public Builder applyToAllUnaryMethods( return searchAllIamPoliciesSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssetServiceStubSettings build() throws IOException { return new AssetServiceStubSettings(this); diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java index 2f86767b58bc..22dafb44ecda 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java @@ -49,103 +49,104 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateFeed

CreateFeed

Creates a feed in a parent project/folder/organization to listen to its asset updates.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createFeed(CreateFeedRequest request) + *
  • createFeed(CreateFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createFeed(String parent) + *
  • createFeed(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createFeedCallable() + *
  • createFeedCallable() *

*
GetFeed

GetFeed

Gets details about an asset feed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getFeed(GetFeedRequest request) + *
  • getFeed(GetFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getFeed(FeedName name) - *
  • getFeed(String name) + *
  • getFeed(FeedName name) + *

  • getFeed(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getFeedCallable() + *
  • getFeedCallable() *

*
ListFeeds

ListFeeds

Lists all asset feeds in a parent project/folder/organization.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listFeeds(ListFeedsRequest request) + *
  • listFeeds(ListFeedsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listFeeds(String parent) + *
  • listFeeds(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listFeedsCallable() + *
  • listFeedsCallable() *

*
UpdateFeed

UpdateFeed

Updates an asset feed configuration.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateFeed(UpdateFeedRequest request) + *
  • updateFeed(UpdateFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateFeed(Feed feed) + *
  • updateFeed(Feed feed) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateFeedCallable() + *
  • updateFeedCallable() *

*
DeleteFeed

DeleteFeed

Deletes an asset feed.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteFeed(DeleteFeedRequest request) + *
  • deleteFeed(DeleteFeedRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteFeed(FeedName name) - *
  • deleteFeed(String name) + *
  • deleteFeed(FeedName name) + *

  • deleteFeed(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteFeedCallable() + *
  • deleteFeedCallable() *

*
* *

See the individual methods for example code. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java index d32603fb338b..4e50d761e7f8 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java @@ -142,6 +142,15 @@ public AssetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -343,7 +352,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -356,7 +364,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -432,6 +439,15 @@ public UnaryCallSettings.Builder deleteFeedSettings() return deleteFeedSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssetServiceStubSettings build() throws IOException { return new AssetServiceStubSettings(this); diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java index ca13edf4ff51..ae88c27befdd 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java @@ -77,31 +77,32 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ListAssets

ListAssets

Lists assets with time and resource types and returns paged results in response.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listAssets(ListAssetsRequest request) + *
  • listAssets(ListAssetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listAssets(ResourceName parent) - *
  • listAssets(String parent) + *
  • listAssets(ResourceName parent) + *

  • listAssets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listAssetsPagedCallable() - *
  • listAssetsCallable() + *
  • listAssetsPagedCallable() + *

  • listAssetsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java index 1c4d7852018b..d5838723d385 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java @@ -177,6 +177,15 @@ public AssetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -344,7 +353,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -357,7 +365,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -394,6 +401,15 @@ public Builder applyToAllUnaryMethods( return listAssetsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssetServiceStubSettings build() throws IOException { return new AssetServiceStubSettings(this); diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java index 8aa5d64adb93..432be669e935 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java @@ -60,26 +60,27 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
ExportAssets

ExportAssets

Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportAssetsAsync(ExportAssetsRequest request) + *
  • exportAssetsAsync(ExportAssetsRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportAssetsOperationCallable() - *
  • exportAssetsCallable() + *
  • exportAssetsOperationCallable() + *

  • exportAssetsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java index a445a0655dba..50aac808aae8 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java @@ -118,6 +118,15 @@ public AssetServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -263,7 +272,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -332,6 +340,15 @@ public UnaryCallSettings.Builder exportAssetsSet return exportAssetsOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssetServiceStubSettings build() throws IOException { return new AssetServiceStubSettings(this); diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index 8c293c86caf3..a95e7ad02252 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredWorkloadsServiceClient.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredWorkloadsServiceClient.java index d7d89768c1d6..44f2e5bc4866 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredWorkloadsServiceClient.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredWorkloadsServiceClient.java @@ -65,174 +65,175 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateWorkload

CreateWorkload

Creates Assured Workload.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createWorkloadAsync(CreateWorkloadRequest request) + *
  • createWorkloadAsync(CreateWorkloadRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createWorkloadAsync(LocationName parent, Workload workload) - *
  • createWorkloadAsync(String parent, Workload workload) + *
  • createWorkloadAsync(LocationName parent, Workload workload) + *

  • createWorkloadAsync(String parent, Workload workload) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createWorkloadOperationCallable() - *
  • createWorkloadCallable() + *
  • createWorkloadOperationCallable() + *

  • createWorkloadCallable() *

*
UpdateWorkload

UpdateWorkload

Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateWorkload(UpdateWorkloadRequest request) + *
  • updateWorkload(UpdateWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateWorkload(Workload workload, FieldMask updateMask) + *
  • updateWorkload(Workload workload, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateWorkloadCallable() + *
  • updateWorkloadCallable() *

*
RestrictAllowedResources

RestrictAllowedResources

Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restrictAllowedResources(RestrictAllowedResourcesRequest request) + *
  • restrictAllowedResources(RestrictAllowedResourcesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restrictAllowedResourcesCallable() + *
  • restrictAllowedResourcesCallable() *

*
DeleteWorkload

DeleteWorkload

Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteWorkload(DeleteWorkloadRequest request) + *
  • deleteWorkload(DeleteWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteWorkload(WorkloadName name) - *
  • deleteWorkload(String name) + *
  • deleteWorkload(WorkloadName name) + *

  • deleteWorkload(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteWorkloadCallable() + *
  • deleteWorkloadCallable() *

*
GetWorkload

GetWorkload

Gets Assured Workload associated with a CRM Node

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getWorkload(GetWorkloadRequest request) + *
  • getWorkload(GetWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getWorkload(WorkloadName name) - *
  • getWorkload(String name) + *
  • getWorkload(WorkloadName name) + *

  • getWorkload(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getWorkloadCallable() + *
  • getWorkloadCallable() *

*
ListWorkloads

ListWorkloads

Lists Assured Workloads under a CRM Node.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listWorkloads(ListWorkloadsRequest request) + *
  • listWorkloads(ListWorkloadsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listWorkloads(LocationName parent) - *
  • listWorkloads(String parent) + *
  • listWorkloads(LocationName parent) + *

  • listWorkloads(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listWorkloadsPagedCallable() - *
  • listWorkloadsCallable() + *
  • listWorkloadsPagedCallable() + *

  • listWorkloadsCallable() *

*
ListViolations

ListViolations

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listViolations(ListViolationsRequest request) + *
  • listViolations(ListViolationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listViolations(WorkloadName parent) - *
  • listViolations(String parent) + *
  • listViolations(WorkloadName parent) + *

  • listViolations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listViolationsPagedCallable() - *
  • listViolationsCallable() + *
  • listViolationsPagedCallable() + *

  • listViolationsCallable() *

*
GetViolation

GetViolation

Retrieves Assured Workload Violation based on ID.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getViolation(GetViolationRequest request) + *
  • getViolation(GetViolationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getViolation(ViolationName name) - *
  • getViolation(String name) + *
  • getViolation(ViolationName name) + *

  • getViolation(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getViolationCallable() + *
  • getViolationCallable() *

*
AcknowledgeViolation

AcknowledgeViolation

Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • acknowledgeViolation(AcknowledgeViolationRequest request) + *
  • acknowledgeViolation(AcknowledgeViolationRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • acknowledgeViolationCallable() + *
  • acknowledgeViolationCallable() *

*
* *

See the individual methods for example code. diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/AssuredWorkloadsServiceStubSettings.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/AssuredWorkloadsServiceStubSettings.java index 1f4743552158..e2626b9628e7 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/AssuredWorkloadsServiceStubSettings.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/AssuredWorkloadsServiceStubSettings.java @@ -319,6 +319,15 @@ public AssuredWorkloadsServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -544,7 +553,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -557,7 +565,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -714,6 +721,15 @@ public UnaryCallSettings.Builder getViolationSet return acknowledgeViolationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssuredWorkloadsServiceStubSettings build() throws IOException { return new AssuredWorkloadsServiceStubSettings(this); diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredWorkloadsServiceClient.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredWorkloadsServiceClient.java index 1fd6fba98491..eaff792edcfb 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredWorkloadsServiceClient.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredWorkloadsServiceClient.java @@ -65,139 +65,140 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateWorkload

CreateWorkload

Creates Assured Workload.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createWorkloadAsync(CreateWorkloadRequest request) + *
  • createWorkloadAsync(CreateWorkloadRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createWorkloadAsync(LocationName parent, Workload workload) - *
  • createWorkloadAsync(String parent, Workload workload) + *
  • createWorkloadAsync(LocationName parent, Workload workload) + *

  • createWorkloadAsync(String parent, Workload workload) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createWorkloadOperationCallable() - *
  • createWorkloadCallable() + *
  • createWorkloadOperationCallable() + *

  • createWorkloadCallable() *

*
UpdateWorkload

UpdateWorkload

Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateWorkload(UpdateWorkloadRequest request) + *
  • updateWorkload(UpdateWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateWorkload(Workload workload, FieldMask updateMask) + *
  • updateWorkload(Workload workload, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateWorkloadCallable() + *
  • updateWorkloadCallable() *

*
RestrictAllowedResources

RestrictAllowedResources

Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • restrictAllowedResources(RestrictAllowedResourcesRequest request) + *
  • restrictAllowedResources(RestrictAllowedResourcesRequest request) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • restrictAllowedResourcesCallable() + *
  • restrictAllowedResourcesCallable() *

*
DeleteWorkload

DeleteWorkload

Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteWorkload(DeleteWorkloadRequest request) + *
  • deleteWorkload(DeleteWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteWorkload(WorkloadName name) - *
  • deleteWorkload(String name) + *
  • deleteWorkload(WorkloadName name) + *

  • deleteWorkload(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteWorkloadCallable() + *
  • deleteWorkloadCallable() *

*
GetWorkload

GetWorkload

Gets Assured Workload associated with a CRM Node

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getWorkload(GetWorkloadRequest request) + *
  • getWorkload(GetWorkloadRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getWorkload(WorkloadName name) - *
  • getWorkload(String name) + *
  • getWorkload(WorkloadName name) + *

  • getWorkload(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getWorkloadCallable() + *
  • getWorkloadCallable() *

*
AnalyzeWorkloadMove

AnalyzeWorkloadMove

Analyze if the source Assured Workloads can be moved to the target Assured Workload

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • analyzeWorkloadMove(AnalyzeWorkloadMoveRequest request) + *
  • analyzeWorkloadMove(AnalyzeWorkloadMoveRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • analyzeWorkloadMove(String project, String target) + *
  • analyzeWorkloadMove(String project, String target) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • analyzeWorkloadMoveCallable() + *
  • analyzeWorkloadMoveCallable() *

*
ListWorkloads

ListWorkloads

Lists Assured Workloads under a CRM Node.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listWorkloads(ListWorkloadsRequest request) + *
  • listWorkloads(ListWorkloadsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listWorkloads(LocationName parent) - *
  • listWorkloads(String parent) + *
  • listWorkloads(LocationName parent) + *

  • listWorkloads(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listWorkloadsPagedCallable() - *
  • listWorkloadsCallable() + *
  • listWorkloadsPagedCallable() + *

  • listWorkloadsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/AssuredWorkloadsServiceStubSettings.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/AssuredWorkloadsServiceStubSettings.java index b86f6edd370b..55a66a075de6 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/AssuredWorkloadsServiceStubSettings.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/AssuredWorkloadsServiceStubSettings.java @@ -245,6 +245,15 @@ public AssuredWorkloadsServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -472,7 +481,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -485,7 +493,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -620,6 +627,15 @@ public UnaryCallSettings.Builder getWorkloadSettin return listWorkloadsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AssuredWorkloadsServiceStubSettings build() throws IOException { return new AssuredWorkloadsServiceStubSettings(this); diff --git a/java-automl/README.md b/java-automl/README.md index 1bcb6a3ad197..0812d9c09583 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -206,7 +206,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-automl.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java index 0fd752a60e75..9f1904b1713b 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java @@ -74,109 +74,111 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Creates a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDatasetAsync(CreateDatasetRequest request) + *
  • createDatasetAsync(CreateDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createDatasetAsync(LocationName parent, Dataset dataset) - *
  • createDatasetAsync(String parent, Dataset dataset) + *
  • createDatasetAsync(LocationName parent, Dataset dataset) + *

  • createDatasetAsync(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetOperationCallable() - *
  • createDatasetCallable() + *
  • createDatasetOperationCallable() + *

  • createDatasetCallable() *

*
GetDataset

GetDataset

Gets a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
ListDatasets

ListDatasets

Lists datasets in a project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(LocationName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(LocationName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
UpdateDataset

UpdateDataset

Updates a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataset(UpdateDatasetRequest request) + *
  • updateDataset(UpdateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataset(Dataset dataset, FieldMask updateMask) + *
  • updateDataset(Dataset dataset, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetCallable() + *
  • updateDatasetCallable() *

*
DeleteDataset

DeleteDataset

Deletes a dataset and all of its contents. Returns empty response in the [response][google.longrunning.Operation.response] field when it completes, and `delete_details` in the [metadata][google.longrunning.Operation.metadata] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetAsync(DeleteDatasetRequest request) + *
  • deleteDatasetAsync(DeleteDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetAsync(DatasetName name) - *
  • deleteDatasetAsync(String name) + *
  • deleteDatasetAsync(DatasetName name) + *

  • deleteDatasetAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetOperationCallable() - *
  • deleteDatasetCallable() + *
  • deleteDatasetOperationCallable() + *

  • deleteDatasetCallable() *

*
ImportData

ImportData

Imports data into a dataset. For Tables this method can only be called on an empty Dataset. *

For Tables: *

    @@ -185,261 +187,260 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importDataAsync(ImportDataRequest request) + *
  • importDataAsync(ImportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importDataAsync(DatasetName name, InputConfig inputConfig) - *
  • importDataAsync(String name, InputConfig inputConfig) + *
  • importDataAsync(DatasetName name, InputConfig inputConfig) + *

  • importDataAsync(String name, InputConfig inputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importDataOperationCallable() - *
  • importDataCallable() + *
  • importDataOperationCallable() + *

  • importDataCallable() *

*
ExportData

ExportData

Exports dataset's data to the provided output location. Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportDataAsync(ExportDataRequest request) + *
  • exportDataAsync(ExportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportDataAsync(DatasetName name, OutputConfig outputConfig) - *
  • exportDataAsync(String name, OutputConfig outputConfig) + *
  • exportDataAsync(DatasetName name, OutputConfig outputConfig) + *

  • exportDataAsync(String name, OutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportDataOperationCallable() - *
  • exportDataCallable() + *
  • exportDataOperationCallable() + *

  • exportDataCallable() *

*
GetAnnotationSpec

GetAnnotationSpec

Gets an annotation spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAnnotationSpec(GetAnnotationSpecRequest request) + *
  • getAnnotationSpec(GetAnnotationSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAnnotationSpec(AnnotationSpecName name) - *
  • getAnnotationSpec(String name) + *
  • getAnnotationSpec(AnnotationSpecName name) + *

  • getAnnotationSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAnnotationSpecCallable() + *
  • getAnnotationSpecCallable() *

*
CreateModel

CreateModel

Creates a model. Returns a Model in the [response][google.longrunning.Operation.response] field when it completes. When you create a model, several model evaluations are created for it: a global evaluation, and one evaluation for each annotation spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createModelAsync(CreateModelRequest request) + *
  • createModelAsync(CreateModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createModelAsync(LocationName parent, Model model) - *
  • createModelAsync(String parent, Model model) + *
  • createModelAsync(LocationName parent, Model model) + *

  • createModelAsync(String parent, Model model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createModelOperationCallable() - *
  • createModelCallable() + *
  • createModelOperationCallable() + *

  • createModelCallable() *

*
GetModel

GetModel

Gets a model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModel(GetModelRequest request) + *
  • getModel(GetModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModel(ModelName name) - *
  • getModel(String name) + *
  • getModel(ModelName name) + *

  • getModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelCallable() + *
  • getModelCallable() *

*
ListModels

ListModels

Lists models.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModels(ListModelsRequest request) + *
  • listModels(ListModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModels(LocationName parent) - *
  • listModels(String parent) + *
  • listModels(LocationName parent) + *

  • listModels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelsPagedCallable() - *
  • listModelsCallable() + *
  • listModelsPagedCallable() + *

  • listModelsCallable() *

*
DeleteModel

DeleteModel

Deletes a model. Returns `google.protobuf.Empty` in the [response][google.longrunning.Operation.response] field when it completes, and `delete_details` in the [metadata][google.longrunning.Operation.metadata] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelAsync(DeleteModelRequest request) + *
  • deleteModelAsync(DeleteModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelAsync(ModelName name) - *
  • deleteModelAsync(String name) + *
  • deleteModelAsync(ModelName name) + *

  • deleteModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelOperationCallable() - *
  • deleteModelCallable() + *
  • deleteModelOperationCallable() + *

  • deleteModelCallable() *

*
UpdateModel

UpdateModel

Updates a model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateModel(UpdateModelRequest request) + *
  • updateModel(UpdateModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateModel(Model model, FieldMask updateMask) + *
  • updateModel(Model model, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateModelCallable() + *
  • updateModelCallable() *

*
DeployModel

DeployModel

Deploys a model. If a model is already deployed, deploying it with the same parameters has no effect. Deploying with different parametrs (as e.g. changing [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) will reset the deployment state without pausing the model's availability. *

Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage deployment automatically. *

Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployModelAsync(DeployModelRequest request) + *
  • deployModelAsync(DeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployModelAsync(ModelName name) - *
  • deployModelAsync(String name) + *
  • deployModelAsync(ModelName name) + *

  • deployModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployModelOperationCallable() - *
  • deployModelCallable() + *
  • deployModelOperationCallable() + *

  • deployModelCallable() *

*
UndeployModel

UndeployModel

Undeploys a model. If the model is not deployed this method has no effect. *

Only applicable for Text Classification, Image Object Detection and Tables; all other domains manage deployment automatically. *

Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployModelAsync(UndeployModelRequest request) + *
  • undeployModelAsync(UndeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployModelAsync(ModelName name) - *
  • undeployModelAsync(String name) + *
  • undeployModelAsync(ModelName name) + *

  • undeployModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployModelOperationCallable() - *
  • undeployModelCallable() + *
  • undeployModelOperationCallable() + *

  • undeployModelCallable() *

*
ExportModel

ExportModel

Exports a trained, "export-able", model to a user specified Google Cloud Storage location. A model is considered export-able if and only if it has an export format defined for it in [ModelExportOutputConfig][google.cloud.automl.v1.ModelExportOutputConfig]. *

Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportModelAsync(ExportModelRequest request) + *
  • exportModelAsync(ExportModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportModelAsync(ModelName name, ModelExportOutputConfig outputConfig) - *
  • exportModelAsync(String name, ModelExportOutputConfig outputConfig) + *
  • exportModelAsync(ModelName name, ModelExportOutputConfig outputConfig) + *

  • exportModelAsync(String name, ModelExportOutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportModelOperationCallable() - *
  • exportModelCallable() + *
  • exportModelOperationCallable() + *

  • exportModelCallable() *

*
GetModelEvaluation

GetModelEvaluation

Gets a model evaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluation(GetModelEvaluationRequest request) + *
  • getModelEvaluation(GetModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluation(ModelEvaluationName name) - *
  • getModelEvaluation(String name) + *
  • getModelEvaluation(ModelEvaluationName name) + *

  • getModelEvaluation(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationCallable() + *
  • getModelEvaluationCallable() *

*
ListModelEvaluations

ListModelEvaluations

Lists model evaluations.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluations(ListModelEvaluationsRequest request) + *
  • listModelEvaluations(ListModelEvaluationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluations(ModelName parent, String filter) - *
  • listModelEvaluations(String parent, String filter) + *
  • listModelEvaluations(ModelName parent, String filter) + *

  • listModelEvaluations(String parent, String filter) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationsPagedCallable() - *
  • listModelEvaluationsCallable() + *
  • listModelEvaluationsPagedCallable() + *

  • listModelEvaluationsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java index 1cb163b28ae6..10c5e2e5fd11 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java @@ -59,12 +59,14 @@ * close(). * * + * * * * * + * * - * + * * * * - * + * * * - * *
Methods
MethodDescriptionMethod Variants
Predict

Predict

Perform an online prediction. The prediction result is directly returned in the response. Available for following ML scenarios, and their expected request payloads: *

AutoML Vision Classification *

    @@ -97,21 +99,21 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • predict(PredictRequest request) + *
  • predict(PredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • predict(ModelName name, ExamplePayload payload, Map params) - *
  • predict(String name, ExamplePayload payload, Map params) + *
  • predict(ModelName name, ExamplePayload payload, Map<String, String> params) + *

  • predict(String name, ExamplePayload payload, Map<String, String> params) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • predictCallable() + *
  • predictCallable() *

*
BatchPredict

BatchPredict

Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch prediction result won't be immediately available in the response. Instead, a long running operation object is returned. User can poll the operation result via [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the [response][google.longrunning.Operation.response] field. Available for following ML scenarios: *

    *
  • AutoML Vision Classification @@ -125,21 +127,20 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchPredictAsync(BatchPredictRequest request) + *
  • batchPredictAsync(BatchPredictRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchPredictAsync(ModelName name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map params) - *
  • batchPredictAsync(String name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map params) + *
  • batchPredictAsync(ModelName name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map<String, String> params) + *

  • batchPredictAsync(String name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map<String, String> params) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchPredictOperationCallable() - *
  • batchPredictCallable() + *
  • batchPredictOperationCallable() + *

  • batchPredictCallable() *

*
* *

See the individual methods for example code. diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java index 1f838b1a5ac6..663870dde665 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java @@ -512,6 +512,15 @@ public AutoMlStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -845,7 +854,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -858,7 +866,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1355,6 +1362,15 @@ public UnaryCallSettings.Builder exportModelSetti return listModelEvaluationsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AutoMlStubSettings build() throws IOException { return new AutoMlStubSettings(this); diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java index be8e21c8a233..aec7440fc1e2 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java @@ -134,6 +134,15 @@ public PredictionServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -303,7 +312,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -316,7 +324,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -394,6 +401,15 @@ public UnaryCallSettings.Builder batchPredictSet return batchPredictOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PredictionServiceStubSettings build() throws IOException { return new PredictionServiceStubSettings(this); diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 0231c737473d..6bcb162d0637 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -74,108 +74,110 @@ * threads. In the example above, try-with-resources is used, which automatically calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * * - * + * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Creates a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataset(CreateDatasetRequest request) + *
  • createDataset(CreateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataset(LocationName parent, Dataset dataset) - *
  • createDataset(String parent, Dataset dataset) + *
  • createDataset(LocationName parent, Dataset dataset) + *

  • createDataset(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetCallable() + *
  • createDatasetCallable() *

*
GetDataset

GetDataset

Gets a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
ListDatasets

ListDatasets

Lists datasets in a project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(LocationName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(LocationName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
UpdateDataset

UpdateDataset

Updates a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDataset(UpdateDatasetRequest request) + *
  • updateDataset(UpdateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDataset(Dataset dataset) + *
  • updateDataset(Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetCallable() + *
  • updateDatasetCallable() *

*
DeleteDataset

DeleteDataset

Deletes a dataset and all of its contents. Returns empty response in the [response][google.longrunning.Operation.response] field when it completes, and `delete_details` in the [metadata][google.longrunning.Operation.metadata] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetAsync(DeleteDatasetRequest request) + *
  • deleteDatasetAsync(DeleteDatasetRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteDatasetAsync(DatasetName name) - *
  • deleteDatasetAsync(String name) + *
  • deleteDatasetAsync(DatasetName name) + *

  • deleteDatasetAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetOperationCallable() - *
  • deleteDatasetCallable() + *
  • deleteDatasetOperationCallable() + *

  • deleteDatasetCallable() *

*
ImportData

ImportData

Imports data into a dataset. For Tables this method can only be called on an empty Dataset. *

For Tables: *

    @@ -184,254 +186,254 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • importDataAsync(ImportDataRequest request) + *
  • importDataAsync(ImportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • importDataAsync(DatasetName name, InputConfig inputConfig) - *
  • importDataAsync(String name, InputConfig inputConfig) + *
  • importDataAsync(DatasetName name, InputConfig inputConfig) + *

  • importDataAsync(String name, InputConfig inputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • importDataOperationCallable() - *
  • importDataCallable() + *
  • importDataOperationCallable() + *

  • importDataCallable() *

*
ExportData

ExportData

Exports dataset's data to the provided output location. Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportDataAsync(ExportDataRequest request) + *
  • exportDataAsync(ExportDataRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportDataAsync(DatasetName name, OutputConfig outputConfig) - *
  • exportDataAsync(String name, OutputConfig outputConfig) + *
  • exportDataAsync(DatasetName name, OutputConfig outputConfig) + *

  • exportDataAsync(String name, OutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportDataOperationCallable() - *
  • exportDataCallable() + *
  • exportDataOperationCallable() + *

  • exportDataCallable() *

*
GetAnnotationSpec

GetAnnotationSpec

Gets an annotation spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getAnnotationSpec(GetAnnotationSpecRequest request) + *
  • getAnnotationSpec(GetAnnotationSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getAnnotationSpec(AnnotationSpecName name) - *
  • getAnnotationSpec(String name) + *
  • getAnnotationSpec(AnnotationSpecName name) + *

  • getAnnotationSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getAnnotationSpecCallable() + *
  • getAnnotationSpecCallable() *

*
GetTableSpec

GetTableSpec

Gets a table spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getTableSpec(GetTableSpecRequest request) + *
  • getTableSpec(GetTableSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getTableSpec(TableSpecName name) - *
  • getTableSpec(String name) + *
  • getTableSpec(TableSpecName name) + *

  • getTableSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getTableSpecCallable() + *
  • getTableSpecCallable() *

*
ListTableSpecs

ListTableSpecs

Lists table specs in a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listTableSpecs(ListTableSpecsRequest request) + *
  • listTableSpecs(ListTableSpecsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listTableSpecs(DatasetName parent) - *
  • listTableSpecs(String parent) + *
  • listTableSpecs(DatasetName parent) + *

  • listTableSpecs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listTableSpecsPagedCallable() - *
  • listTableSpecsCallable() + *
  • listTableSpecsPagedCallable() + *

  • listTableSpecsCallable() *

*
UpdateTableSpec

UpdateTableSpec

Updates a table spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateTableSpec(UpdateTableSpecRequest request) + *
  • updateTableSpec(UpdateTableSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateTableSpec(TableSpec tableSpec) + *
  • updateTableSpec(TableSpec tableSpec) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateTableSpecCallable() + *
  • updateTableSpecCallable() *

*
GetColumnSpec

GetColumnSpec

Gets a column spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getColumnSpec(GetColumnSpecRequest request) + *
  • getColumnSpec(GetColumnSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getColumnSpec(ColumnSpecName name) - *
  • getColumnSpec(String name) + *
  • getColumnSpec(ColumnSpecName name) + *

  • getColumnSpec(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getColumnSpecCallable() + *
  • getColumnSpecCallable() *

*
ListColumnSpecs

ListColumnSpecs

Lists column specs in a table spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listColumnSpecs(ListColumnSpecsRequest request) + *
  • listColumnSpecs(ListColumnSpecsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listColumnSpecs(TableSpecName parent) - *
  • listColumnSpecs(String parent) + *
  • listColumnSpecs(TableSpecName parent) + *

  • listColumnSpecs(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listColumnSpecsPagedCallable() - *
  • listColumnSpecsCallable() + *
  • listColumnSpecsPagedCallable() + *

  • listColumnSpecsCallable() *

*
UpdateColumnSpec

UpdateColumnSpec

Updates a column spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateColumnSpec(UpdateColumnSpecRequest request) + *
  • updateColumnSpec(UpdateColumnSpecRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateColumnSpec(ColumnSpec columnSpec) + *
  • updateColumnSpec(ColumnSpec columnSpec) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateColumnSpecCallable() + *
  • updateColumnSpecCallable() *

*
CreateModel

CreateModel

Creates a model. Returns a Model in the [response][google.longrunning.Operation.response] field when it completes. When you create a model, several model evaluations are created for it: a global evaluation, and one evaluation for each annotation spec.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createModelAsync(CreateModelRequest request) + *
  • createModelAsync(CreateModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • createModelAsync(LocationName parent, Model model) - *
  • createModelAsync(String parent, Model model) + *
  • createModelAsync(LocationName parent, Model model) + *

  • createModelAsync(String parent, Model model) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createModelOperationCallable() - *
  • createModelCallable() + *
  • createModelOperationCallable() + *

  • createModelCallable() *

*
GetModel

GetModel

Gets a model.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModel(GetModelRequest request) + *
  • getModel(GetModelRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModel(ModelName name) - *
  • getModel(String name) + *
  • getModel(ModelName name) + *

  • getModel(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelCallable() + *
  • getModelCallable() *

*
ListModels

ListModels

Lists models.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModels(ListModelsRequest request) + *
  • listModels(ListModelsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModels(LocationName parent) - *
  • listModels(String parent) + *
  • listModels(LocationName parent) + *

  • listModels(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelsPagedCallable() - *
  • listModelsCallable() + *
  • listModelsPagedCallable() + *

  • listModelsCallable() *

*
DeleteModel

DeleteModel

Deletes a model. Returns `google.protobuf.Empty` in the [response][google.longrunning.Operation.response] field when it completes, and `delete_details` in the [metadata][google.longrunning.Operation.metadata] field.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteModelAsync(DeleteModelRequest request) + *
  • deleteModelAsync(DeleteModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deleteModelAsync(ModelName name) - *
  • deleteModelAsync(String name) + *
  • deleteModelAsync(ModelName name) + *

  • deleteModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteModelOperationCallable() - *
  • deleteModelCallable() + *
  • deleteModelOperationCallable() + *

  • deleteModelCallable() *

*
DeployModel

DeployModel

Deploys a model. If a model is already deployed, deploying it with the same parameters has no effect. Deploying with different parametrs (as e.g. changing *

[node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) will reset the deployment state without pausing the model's availability. *

Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage deployment automatically. @@ -439,66 +441,66 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deployModelAsync(DeployModelRequest request) + *
  • deployModelAsync(DeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • deployModelAsync(ModelName name) - *
  • deployModelAsync(String name) + *
  • deployModelAsync(ModelName name) + *

  • deployModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deployModelOperationCallable() - *
  • deployModelCallable() + *
  • deployModelOperationCallable() + *

  • deployModelCallable() *

*
UndeployModel

UndeployModel

Undeploys a model. If the model is not deployed this method has no effect. *

Only applicable for Text Classification, Image Object Detection and Tables; all other domains manage deployment automatically. *

Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • undeployModelAsync(UndeployModelRequest request) + *
  • undeployModelAsync(UndeployModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • undeployModelAsync(ModelName name) - *
  • undeployModelAsync(String name) + *
  • undeployModelAsync(ModelName name) + *

  • undeployModelAsync(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • undeployModelOperationCallable() - *
  • undeployModelCallable() + *
  • undeployModelOperationCallable() + *

  • undeployModelCallable() *

*
ExportModel

ExportModel

Exports a trained, "export-able", model to a user specified Google Cloud Storage location. A model is considered export-able if and only if it has an export format defined for it in *

[ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig]. *

Returns an empty response in the [response][google.longrunning.Operation.response] field when it completes.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportModelAsync(ExportModelRequest request) + *
  • exportModelAsync(ExportModelRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportModelAsync(ModelName name, ModelExportOutputConfig outputConfig) - *
  • exportModelAsync(String name, ModelExportOutputConfig outputConfig) + *
  • exportModelAsync(ModelName name, ModelExportOutputConfig outputConfig) + *

  • exportModelAsync(String name, ModelExportOutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportModelOperationCallable() - *
  • exportModelCallable() + *
  • exportModelOperationCallable() + *

  • exportModelCallable() *

*
ExportEvaluatedExamples

ExportEvaluatedExamples

Exports examples on which the model was evaluated (i.e. which were in the TEST set of the dataset the model was created from), together with their ground truth annotations and the annotations created (predicted) by the model. The examples, ground truth and predictions are exported in the state they were at the moment the model was evaluated. *

This export is available only for 30 days since the model evaluation is created. *

Currently only available for Tables. @@ -506,60 +508,59 @@ *

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • exportEvaluatedExamplesAsync(ExportEvaluatedExamplesRequest request) + *
  • exportEvaluatedExamplesAsync(ExportEvaluatedExamplesRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • exportEvaluatedExamplesAsync(ModelName name, ExportEvaluatedExamplesOutputConfig outputConfig) - *
  • exportEvaluatedExamplesAsync(String name, ExportEvaluatedExamplesOutputConfig outputConfig) + *
  • exportEvaluatedExamplesAsync(ModelName name, ExportEvaluatedExamplesOutputConfig outputConfig) + *

  • exportEvaluatedExamplesAsync(String name, ExportEvaluatedExamplesOutputConfig outputConfig) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • exportEvaluatedExamplesOperationCallable() - *
  • exportEvaluatedExamplesCallable() + *
  • exportEvaluatedExamplesOperationCallable() + *

  • exportEvaluatedExamplesCallable() *

*
GetModelEvaluation

GetModelEvaluation

Gets a model evaluation.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getModelEvaluation(GetModelEvaluationRequest request) + *
  • getModelEvaluation(GetModelEvaluationRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getModelEvaluation(ModelEvaluationName name) - *
  • getModelEvaluation(String name) + *
  • getModelEvaluation(ModelEvaluationName name) + *

  • getModelEvaluation(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getModelEvaluationCallable() + *
  • getModelEvaluationCallable() *

*
ListModelEvaluations

ListModelEvaluations

Lists model evaluations.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listModelEvaluations(ListModelEvaluationsRequest request) + *
  • listModelEvaluations(ListModelEvaluationsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listModelEvaluations(ModelName parent) - *
  • listModelEvaluations(String parent) + *
  • listModelEvaluations(ModelName parent) + *

  • listModelEvaluations(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listModelEvaluationsPagedCallable() - *
  • listModelEvaluationsCallable() + *
  • listModelEvaluationsPagedCallable() + *

  • listModelEvaluationsCallable() *

*
* *

See the individual methods for example code. diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java index 3ed35435e5ae..c923e25a0fce 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java @@ -59,12 +59,14 @@ * close(). * * + * * * * * + * * - * + * * * * - * + * * * - * *
Methods
MethodDescriptionMethod Variants
Predict

Predict

Perform an online prediction. The prediction result will be directly returned in the response. Available for following ML problems, and their expected request payloads: *

    *
  • Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. @@ -81,21 +83,21 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • predict(PredictRequest request) + *
  • predict(PredictRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • predict(ModelName name, ExamplePayload payload, Map params) - *
  • predict(String name, ExamplePayload payload, Map params) + *
  • predict(ModelName name, ExamplePayload payload, Map<String, String> params) + *

  • predict(String name, ExamplePayload payload, Map<String, String> params) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • predictCallable() + *
  • predictCallable() *

*
BatchPredict

BatchPredict

Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch prediction result won't be immediately available in the response. Instead, a long running operation object is returned. User can poll the operation result via [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in the [response][google.longrunning.Operation.response] field. Available for following ML problems: *

    *
  • Image Classification @@ -107,21 +109,20 @@ *
*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • batchPredictAsync(BatchPredictRequest request) + *
  • batchPredictAsync(BatchPredictRequest request) *

*

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

*
    - *
  • batchPredictAsync(ModelName name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map params) - *
  • batchPredictAsync(String name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map params) + *
  • batchPredictAsync(ModelName name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map<String, String> params) + *

  • batchPredictAsync(String name, BatchPredictInputConfig inputConfig, BatchPredictOutputConfig outputConfig, Map<String, String> params) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • batchPredictOperationCallable() - *
  • batchPredictCallable() + *
  • batchPredictOperationCallable() + *

  • batchPredictCallable() *

*
* *

See the individual methods for example code. diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java index ce1ae91284e9..13964f4a5674 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java @@ -681,6 +681,15 @@ public AutoMlStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -1060,7 +1069,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1073,7 +1081,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -1636,6 +1643,15 @@ public UnaryCallSettings.Builder exportModelSetti return listModelEvaluationsSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public AutoMlStubSettings build() throws IOException { return new AutoMlStubSettings(this); diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java index 336f87b43382..92e9163997ce 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java @@ -135,6 +135,15 @@ public PredictionServiceStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -304,7 +313,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -317,7 +325,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -395,6 +402,15 @@ public UnaryCallSettings.Builder batchPredictSet return batchPredictOperationSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public PredictionServiceStubSettings build() throws IOException { return new PredictionServiceStubSettings(this); diff --git a/java-maps-mapsplatformdatasets/README.md b/java-maps-mapsplatformdatasets/README.md index f700e8c5c8aa..27a96f207593 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -202,7 +202,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-maps-mapsplatformdatasets/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapsplatformdatasets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.22.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/MapsPlatformDatasetsClient.java b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/MapsPlatformDatasetsClient.java index 2e8f47eb14ab..f9243a481e5c 100644 --- a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/MapsPlatformDatasetsClient.java +++ b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/MapsPlatformDatasetsClient.java @@ -60,106 +60,107 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Create a new dataset for the specified project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataset(CreateDatasetRequest request) + *
  • createDataset(CreateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataset(ProjectName parent, Dataset dataset) - *
  • createDataset(String parent, Dataset dataset) + *
  • createDataset(ProjectName parent, Dataset dataset) + *

  • createDataset(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetCallable() + *
  • createDatasetCallable() *

*
UpdateDatasetMetadata

UpdateDatasetMetadata

Update the metadata for the dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDatasetMetadata(UpdateDatasetMetadataRequest request) + *
  • updateDatasetMetadata(UpdateDatasetMetadataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDatasetMetadata(Dataset dataset, FieldMask updateMask) + *
  • updateDatasetMetadata(Dataset dataset, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetMetadataCallable() + *
  • updateDatasetMetadataCallable() *

*
GetDataset

GetDataset

Get the dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
ListDatasets

ListDatasets

List all the datasets for the specified project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(ProjectName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(ProjectName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
DeleteDataset

DeleteDataset

Delete the specified dataset .

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataset(DeleteDatasetRequest request) + *
  • deleteDataset(DeleteDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDataset(DatasetName name) - *
  • deleteDataset(String name) + *
  • deleteDataset(DatasetName name) + *

  • deleteDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetCallable() + *
  • deleteDatasetCallable() *

*
* *

See the individual methods for example code. diff --git a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/MapsPlatformDatasetsStubSettings.java b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/MapsPlatformDatasetsStubSettings.java index 861b751466fd..5c7aeb378091 100644 --- a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/MapsPlatformDatasetsStubSettings.java +++ b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/MapsPlatformDatasetsStubSettings.java @@ -210,6 +210,15 @@ public MapsPlatformDatasetsStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -413,7 +422,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -426,7 +434,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -505,6 +512,15 @@ public UnaryCallSettings.Builder deleteDatasetSetti return deleteDatasetSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MapsPlatformDatasetsStubSettings build() throws IOException { return new MapsPlatformDatasetsStubSettings(this); diff --git a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/MapsPlatformDatasetsV1AlphaClient.java b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/MapsPlatformDatasetsV1AlphaClient.java index b5ec4004c7f5..e6eacd355ad8 100644 --- a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/MapsPlatformDatasetsV1AlphaClient.java +++ b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/MapsPlatformDatasetsV1AlphaClient.java @@ -61,145 +61,146 @@ * calls close(). * * + * * * * * + * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * * - * + * * * * - * *
Methods
MethodDescriptionMethod Variants
CreateDataset

CreateDataset

Create a new dataset for the specified project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • createDataset(CreateDatasetRequest request) + *
  • createDataset(CreateDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • createDataset(ProjectName parent, Dataset dataset) - *
  • createDataset(String parent, Dataset dataset) + *
  • createDataset(ProjectName parent, Dataset dataset) + *

  • createDataset(String parent, Dataset dataset) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • createDatasetCallable() + *
  • createDatasetCallable() *

*
UpdateDatasetMetadata

UpdateDatasetMetadata

Update the metadata for the dataset. To update the data use: UploadDataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • updateDatasetMetadata(UpdateDatasetMetadataRequest request) + *
  • updateDatasetMetadata(UpdateDatasetMetadataRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • updateDatasetMetadata(Dataset dataset, FieldMask updateMask) + *
  • updateDatasetMetadata(Dataset dataset, FieldMask updateMask) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • updateDatasetMetadataCallable() + *
  • updateDatasetMetadataCallable() *

*
GetDataset

GetDataset

Get the published or latest version of the dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • getDataset(GetDatasetRequest request) + *
  • getDataset(GetDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • getDataset(DatasetName name) - *
  • getDataset(String name) + *
  • getDataset(DatasetName name) + *

  • getDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • getDatasetCallable() + *
  • getDatasetCallable() *

*
ListDatasetVersions

ListDatasetVersions

List all the versions of a dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasetVersions(ListDatasetVersionsRequest request) + *
  • listDatasetVersions(ListDatasetVersionsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasetVersions(DatasetName name) - *
  • listDatasetVersions(String name) + *
  • listDatasetVersions(DatasetName name) + *

  • listDatasetVersions(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetVersionsPagedCallable() - *
  • listDatasetVersionsCallable() + *
  • listDatasetVersionsPagedCallable() + *

  • listDatasetVersionsCallable() *

*
ListDatasets

ListDatasets

List all the datasets for the specified project.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • listDatasets(ListDatasetsRequest request) + *
  • listDatasets(ListDatasetsRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • listDatasets(ProjectName parent) - *
  • listDatasets(String parent) + *
  • listDatasets(ProjectName parent) + *

  • listDatasets(String parent) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • listDatasetsPagedCallable() - *
  • listDatasetsCallable() + *
  • listDatasetsPagedCallable() + *

  • listDatasetsCallable() *

*
DeleteDataset

DeleteDataset

Delete the specified dataset and optionally all its corresponding versions.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDataset(DeleteDatasetRequest request) + *
  • deleteDataset(DeleteDatasetRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDataset(DatasetName name) - *
  • deleteDataset(String name) + *
  • deleteDataset(DatasetName name) + *

  • deleteDataset(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetCallable() + *
  • deleteDatasetCallable() *

*
DeleteDatasetVersion

DeleteDatasetVersion

Delete a specific version of the dataset.

*

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*
    - *
  • deleteDatasetVersion(DeleteDatasetVersionRequest request) + *
  • deleteDatasetVersion(DeleteDatasetVersionRequest request) *

*

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

*
    - *
  • deleteDatasetVersion(DatasetName name) - *
  • deleteDatasetVersion(String name) + *
  • deleteDatasetVersion(DatasetName name) + *

  • deleteDatasetVersion(String name) *

*

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

*
    - *
  • deleteDatasetVersionCallable() + *
  • deleteDatasetVersionCallable() *

*
* *

See the individual methods for example code. diff --git a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/stub/MapsPlatformDatasetsV1AlphaStubSettings.java b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/stub/MapsPlatformDatasetsV1AlphaStubSettings.java index 38a0d6701acf..98e7e54e964e 100644 --- a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/stub/MapsPlatformDatasetsV1AlphaStubSettings.java +++ b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1alpha/stub/MapsPlatformDatasetsV1AlphaStubSettings.java @@ -292,6 +292,15 @@ public MapsPlatformDatasetsV1AlphaStub createStub() throws IOException { "Transport not supported: %s", getTransportChannelProvider().getTransportName())); } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + /** Returns the default service name. */ @Override public String getServiceName() { @@ -516,7 +525,6 @@ private static Builder createDefault() { builder.setTransportChannelProvider(defaultTransportChannelProvider()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -529,7 +537,6 @@ private static Builder createHttpJsonDefault() { builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); builder.setSwitchToMtlsEndpointAllowed(true); @@ -633,6 +640,15 @@ public UnaryCallSettings.Builder deleteDatasetSetti return deleteDatasetVersionSettings; } + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + @Override public MapsPlatformDatasetsV1AlphaStubSettings build() throws IOException { return new MapsPlatformDatasetsV1AlphaStubSettings(this);