Interface OAuthRequirementsOrBuilder (2.29.0)

public interface OAuthRequirementsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCanonicalScopes()

public abstract String getCanonicalScopes()

The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted.

Example:

  canonical_scopes: https://www.googleapis.com/auth/calendar,
                    https://www.googleapis.com/auth/calendar.read

string canonical_scopes = 1;

Returns
TypeDescription
String

The canonicalScopes.

getCanonicalScopesBytes()

public abstract ByteString getCanonicalScopesBytes()

The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted.

Example:

  canonical_scopes: https://www.googleapis.com/auth/calendar,
                    https://www.googleapis.com/auth/calendar.read

string canonical_scopes = 1;

Returns
TypeDescription
ByteString

The bytes for canonicalScopes.