@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 wrapping a new GcsConfigureCredentials operation.
|
equals, hashCode, op, toStringpublic static GcsConfigureCredentials create(Scope scope, Operand<String> json)
scope - current scopejson - Copyright © 2015–2019. All rights reserved.