Skip to content

Commit

Permalink
chore: Add javadocs for universe domain
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 committed Jan 2, 2024
1 parent 653db8e commit 3d3d7a5
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ public abstract class EndpointContext {
@Nullable
public abstract String serviceName();

/**
* Universe Domain is the domain for Google Cloud Services. It follows the format of
* `{ServiceName}.{UniverseDomain}`. For example, speech.googleapis.com would have a Universe
* Domain value of `googleapis.com` and cloudasset.test.com would have a Universe Domain of
* `test.com`. If this value is not set, this will default to `googleapis.com`.
*/
@Nullable
public abstract String universeDomain();

Expand Down Expand Up @@ -98,6 +104,12 @@ public abstract static class Builder {
*/
public abstract Builder setServiceName(String serviceName);

/**
* Universe Domain is the domain for Google Cloud Services. It follows the format of
* `{ServiceName}.{UniverseDomain}`. For example, speech.googleapis.com would have a Universe
* Domain value of `googleapis.com` and cloudasset.test.com would have a Universe Domain of
* `test.com`. If this value is not set, this will default to `googleapis.com`.
*/
public abstract Builder setUniverseDomain(String universeDomain);

/**
Expand Down

0 comments on commit 3d3d7a5

Please sign in to comment.