Class GcpOptions.GcpOAuthScopesFactory
java.lang.Object
org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpOAuthScopesFactory
- All Implemented Interfaces:
DefaultValueFactory<List<String>>
- Enclosing interface:
GcpOptions
public static class GcpOptions.GcpOAuthScopesFactory
extends Object
implements DefaultValueFactory<List<String>>
Returns the default set of OAuth scopes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
GcpOAuthScopesFactory
public GcpOAuthScopesFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<List<String>>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-