python_pachyderm.experimental.proto.v2.identity_v2 package

Module contents

class ApiBase[source]

Bases: betterproto.grpc.grpclib_server.ServiceBase

Methods

create_idp_connector

create_oidc_client

delete_all

delete_idp_connector

delete_oidc_client

get_identity_server_config

get_idp_connector

get_oidc_client

list_idp_connectors

list_oidc_clients

set_identity_server_config

update_idp_connector

update_oidc_client

async create_idp_connector(connector)[source]
async create_oidc_client(client)[source]
async delete_all()[source]
async delete_idp_connector(id)[source]
async delete_oidc_client(id)[source]
async get_identity_server_config()[source]
async get_idp_connector(id)[source]
async get_oidc_client(id)[source]
async list_idp_connectors()[source]
async list_oidc_clients()[source]
async set_identity_server_config(config)[source]
async update_idp_connector(connector)[source]
async update_oidc_client(client)[source]
class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]

Bases: betterproto.grpc.grpclib_client.ServiceStub

Methods

create_idp_connector

create_oidc_client

delete_all

delete_idp_connector

delete_oidc_client

get_identity_server_config

get_idp_connector

get_oidc_client

list_idp_connectors

list_oidc_clients

set_identity_server_config

update_idp_connector

update_oidc_client

async create_idp_connector(*, connector=None)[source]
async create_oidc_client(*, client=None)[source]
async delete_all()[source]
async delete_idp_connector(*, id='')[source]
async delete_oidc_client(*, id='')[source]
async get_identity_server_config()[source]
async get_idp_connector(*, id='')[source]
async get_oidc_client(*, id='')[source]
async list_idp_connectors()[source]
async list_oidc_clients()[source]
async set_identity_server_config(*, config=None)[source]
async update_idp_connector(*, connector=None)[source]
async update_oidc_client(*, client=None)[source]
class CreateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

connector = <object object>
class CreateIdpConnectorResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class CreateOidcClientRequest(client: 'OidcClient' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

client = <object object>
class CreateOidcClientResponse(client: 'OidcClient' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

client = <object object>
class DeleteAllRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteAllResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteIdpConnectorRequest(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class DeleteIdpConnectorResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteOidcClientRequest(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class DeleteOidcClientResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class GetIdentityServerConfigRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class GetIdentityServerConfigResponse(config: 'IdentityServerConfig' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

config = <object object>
class GetIdpConnectorRequest(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class GetIdpConnectorResponse(connector: 'IdpConnector' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

connector = <object object>
class GetOidcClientRequest(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class GetOidcClientResponse(client: 'OidcClient' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

client = <object object>
class IdentityServerConfig(issuer=<object object>, id_token_expiry=<object object>, rotation_token_expiry=<object object>)[source]

Bases: betterproto.Message

IdentityServerConfig is the configuration for the identity web server. When the configuration is changed the web server is reloaded automatically.

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id_token_expiry = <object object>
issuer = <object object>
rotation_token_expiry = <object object>
class IdpConnector(id=<object object>, name=<object object>, type=<object object>, config_version=<object object>, json_config=<object object>)[source]

Bases: betterproto.Message

IdpConnector represents a connection to an identity provider

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

config_version = <object object>
id = <object object>
json_config = <object object>
name = <object object>
type = <object object>
class ListIdpConnectorsRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class ListIdpConnectorsResponse(connectors: List[ForwardRef('IdpConnector')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

connectors = <object object>
class ListOidcClientsRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class ListOidcClientsResponse(clients: List[ForwardRef('OidcClient')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

clients = <object object>
class OidcClient(id: str = <object object at 0x7f2cabcb78b0>, redirect_uris: List[str] = <object object at 0x7f2cabcb78b0>, trusted_peers: List[str] = <object object at 0x7f2cabcb78b0>, name: str = <object object at 0x7f2cabcb78b0>, secret: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
name = <object object>
redirect_uris = <object object>
secret = <object object>
trusted_peers = <object object>
class SetIdentityServerConfigRequest(config: 'IdentityServerConfig' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

config = <object object>
class SetIdentityServerConfigResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class UpdateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

connector = <object object>
class UpdateIdpConnectorResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class UpdateOidcClientRequest(client: 'OidcClient' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

client = <object object>
class UpdateOidcClientResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class User(email=<object object>, last_authenticated=<object object>)[source]

Bases: betterproto.Message

User represents an Idp user that has authenticated via Oidc

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

email = <object object>
last_authenticated = <object object>