@Operator public final class GcsConfigureCredentials extends PrimitiveOp
The json input can be of the format:
1. Refresh Token:
{
"client_id": "
2. Service Account:
{
"type": "service_account",
"project_id": "
Note the credentials established through this method are shared across all
sessions run on this runtime.
Note be sure to feed the inputs to this op to ensure the credentials are not
stored in a constant op within the graph that might accidentally be checkpointed
or in other ways be persisted or exfiltrated.
operation| Modifier and Type | Method and Description |
|---|---|
static GcsConfigureCredentials |
create(Scope scope,
Operand<String> json)
Factory method to create a class to wrap a new GcsConfigureCredentials operation to the graph.
|
equals, hashCode, toStringpublic static GcsConfigureCredentials create(Scope scope, Operand<String> json)
scope - current graph scopejson - Copyright © 2015–2019. All rights reserved.