Agent Identity API v1 - Package cloud.google.com/go/agentidentity/apiv1/agentidentitypb (v0.1.0)

Constants

AuthProviderService_ListAuthProviders_FullMethodName, AuthProviderService_GetAuthProvider_FullMethodName, AuthProviderService_CreateAuthProvider_FullMethodName, AuthProviderService_UpdateAuthProvider_FullMethodName, AuthProviderService_DeleteAuthProvider_FullMethodName, AuthProviderService_UndeleteAuthProvider_FullMethodName, AuthProviderService_QueryAuthProviders_FullMethodName, AuthProviderService_QueryWorkloads_FullMethodName, AuthProviderService_ListAuthorizations_FullMethodName, AuthProviderService_GetAuthorization_FullMethodName, AuthProviderService_DeleteAuthorization_FullMethodName, AuthProviderService_ListAccessSummaries_FullMethodName, AuthProviderService_GetAccessSummary_FullMethodName, AuthProviderService_RevokeAuthorization_FullMethodName, AuthProviderService_EnableAuthProvider_FullMethodName, AuthProviderService_DisableAuthProvider_FullMethodName

const (
	AuthProviderService_ListAuthProviders_FullMethodName    = "/google.cloud.agentidentity.v1.AuthProviderService/ListAuthProviders"
	AuthProviderService_GetAuthProvider_FullMethodName      = "/google.cloud.agentidentity.v1.AuthProviderService/GetAuthProvider"
	AuthProviderService_CreateAuthProvider_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/CreateAuthProvider"
	AuthProviderService_UpdateAuthProvider_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/UpdateAuthProvider"
	AuthProviderService_DeleteAuthProvider_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/DeleteAuthProvider"
	AuthProviderService_UndeleteAuthProvider_FullMethodName = "/google.cloud.agentidentity.v1.AuthProviderService/UndeleteAuthProvider"
	AuthProviderService_QueryAuthProviders_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/QueryAuthProviders"
	AuthProviderService_QueryWorkloads_FullMethodName       = "/google.cloud.agentidentity.v1.AuthProviderService/QueryWorkloads"
	AuthProviderService_ListAuthorizations_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/ListAuthorizations"
	AuthProviderService_GetAuthorization_FullMethodName     = "/google.cloud.agentidentity.v1.AuthProviderService/GetAuthorization"
	AuthProviderService_DeleteAuthorization_FullMethodName  = "/google.cloud.agentidentity.v1.AuthProviderService/DeleteAuthorization"
	AuthProviderService_ListAccessSummaries_FullMethodName  = "/google.cloud.agentidentity.v1.AuthProviderService/ListAccessSummaries"
	AuthProviderService_GetAccessSummary_FullMethodName     = "/google.cloud.agentidentity.v1.AuthProviderService/GetAccessSummary"
	AuthProviderService_RevokeAuthorization_FullMethodName  = "/google.cloud.agentidentity.v1.AuthProviderService/RevokeAuthorization"
	AuthProviderService_EnableAuthProvider_FullMethodName   = "/google.cloud.agentidentity.v1.AuthProviderService/EnableAuthProvider"
	AuthProviderService_DisableAuthProvider_FullMethodName  = "/google.cloud.agentidentity.v1.AuthProviderService/DisableAuthProvider"
)

Variables

AuthProviderType_name, AuthProviderType_value

var (
	AuthProviderType_name = map[int32]string{
		0: "AUTH_PROVIDER_TYPE_UNSPECIFIED",
		1: "AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH",
		2: "AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH",
		3: "AUTH_PROVIDER_TYPE_API_KEY",
		4: "AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE",
	}
	AuthProviderType_value = map[string]int32{
		"AUTH_PROVIDER_TYPE_UNSPECIFIED":        0,
		"AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH": 1,
		"AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH":   2,
		"AUTH_PROVIDER_TYPE_API_KEY":            3,
		"AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE":  4,
	}
)

Enum value maps for AuthProviderType.

AuthProvider_State_name, AuthProvider_State_value

var (
	AuthProvider_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
	}
	AuthProvider_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLED":           1,
		"DISABLED":          2,
	}
)

Enum value maps for AuthProvider_State.

Authorization_State_name, Authorization_State_value

var (
	Authorization_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "SUSPENDED",
	}
	Authorization_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"SUSPENDED":         2,
	}
)

Enum value maps for Authorization_State.

AuthProviderService_ServiceDesc

var AuthProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.agentidentity.v1.AuthProviderService",
	HandlerType: (*AuthProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAuthProviders",
			Handler:    _AuthProviderService_ListAuthProviders_Handler,
		},
		{
			MethodName: "GetAuthProvider",
			Handler:    _AuthProviderService_GetAuthProvider_Handler,
		},
		{
			MethodName: "CreateAuthProvider",
			Handler:    _AuthProviderService_CreateAuthProvider_Handler,
		},
		{
			MethodName: "UpdateAuthProvider",
			Handler:    _AuthProviderService_UpdateAuthProvider_Handler,
		},
		{
			MethodName: "DeleteAuthProvider",
			Handler:    _AuthProviderService_DeleteAuthProvider_Handler,
		},
		{
			MethodName: "UndeleteAuthProvider",
			Handler:    _AuthProviderService_UndeleteAuthProvider_Handler,
		},
		{
			MethodName: "QueryAuthProviders",
			Handler:    _AuthProviderService_QueryAuthProviders_Handler,
		},
		{
			MethodName: "QueryWorkloads",
			Handler:    _AuthProviderService_QueryWorkloads_Handler,
		},
		{
			MethodName: "ListAuthorizations",
			Handler:    _AuthProviderService_ListAuthorizations_Handler,
		},
		{
			MethodName: "GetAuthorization",
			Handler:    _AuthProviderService_GetAuthorization_Handler,
		},
		{
			MethodName: "DeleteAuthorization",
			Handler:    _AuthProviderService_DeleteAuthorization_Handler,
		},
		{
			MethodName: "ListAccessSummaries",
			Handler:    _AuthProviderService_ListAccessSummaries_Handler,
		},
		{
			MethodName: "GetAccessSummary",
			Handler:    _AuthProviderService_GetAccessSummary_Handler,
		},
		{
			MethodName: "RevokeAuthorization",
			Handler:    _AuthProviderService_RevokeAuthorization_Handler,
		},
		{
			MethodName: "EnableAuthProvider",
			Handler:    _AuthProviderService_EnableAuthProvider_Handler,
		},
		{
			MethodName: "DisableAuthProvider",
			Handler:    _AuthProviderService_DisableAuthProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/agentidentity/v1/auth_provider_service.proto",
}

AuthProviderService_ServiceDesc is the grpc.ServiceDesc for AuthProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

File_google_cloud_agentidentity_v1_auth_provider_service_proto

var File_google_cloud_agentidentity_v1_auth_provider_service_proto protoreflect.FileDescriptor

Functions

func RegisterAuthProviderServiceServer

func RegisterAuthProviderServiceServer(s grpc.ServiceRegistrar, srv AuthProviderServiceServer)

AccessSummary

type AccessSummary struct {

	// Output only. Identifier. Name of the AccessSummary
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The first time this user has interacted with this workload.
	// Rounded to the previous hour.
	FirstAccessTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=first_access_time,json=firstAccessTime,proto3" json:"first_access_time,omitempty"`
	// Output only. The most recent time this user has interacted with this
	// workload. Rounded to the previous hour.
	LastAccessTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_access_time,json=lastAccessTime,proto3" json:"last_access_time,omitempty"`
	// Optional. Labels as key value pairs
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Output only. The user_id provided by the workload application for this
	// user. Not verified by Google.
	UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Output only. The identity bound to the workload that this user interacted
	// with to produce this AccessSummary. Will typically be an agentic spiffe id
	WorkloadId string `protobuf:"bytes,6,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"`
	// Output only. The url of the authentication server that was accessed.
	TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	// Output only. All scopes that have been used by this user with this
	// workload. The number of scopes is limited to 200.
	Scopes []string `protobuf:"bytes,8,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Output only. The auth_provider that this access summary is associated with.
	AuthProvider string `protobuf:"bytes,9,opt,name=auth_provider,json=authProvider,proto3" json:"auth_provider,omitempty"`
	// Output only. The time when this access summary is permanently deleted.
	PurgeTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"`
	// Output only. The type of the connector that was used to create this access
	// summary.
	AuthProviderType AuthProviderType `protobuf:"varint,11,opt,name=auth_provider_type,json=authProviderType,proto3,enum=google.cloud.agentidentity.v1.AuthProviderType" json:"auth_provider_type,omitempty"`
	// contains filtered or unexported fields
}

Message describing AccessSummary object

func (*AccessSummary) Descriptor

func (*AccessSummary) Descriptor() ([]byte, []int)

Deprecated: Use AccessSummary.ProtoReflect.Descriptor instead.

func (*AccessSummary) GetAuthProvider

func (x *AccessSummary) GetAuthProvider() string

func (*AccessSummary) GetAuthProviderType

func (x *AccessSummary) GetAuthProviderType() AuthProviderType

func (*AccessSummary) GetFirstAccessTime

func (x *AccessSummary) GetFirstAccessTime() *timestamppb.Timestamp

func (*AccessSummary) GetLabels

func (x *AccessSummary) GetLabels() map[string]string

func (*AccessSummary) GetLastAccessTime

func (x *AccessSummary) GetLastAccessTime() *timestamppb.Timestamp

func (*AccessSummary) GetName

func (x *AccessSummary) GetName() string

func (*AccessSummary) GetPurgeTime

func (x *AccessSummary) GetPurgeTime() *timestamppb.Timestamp

func (*AccessSummary) GetScopes

func (x *AccessSummary) GetScopes() []string

func (*AccessSummary) GetTokenUrl

func (x *AccessSummary) GetTokenUrl() string

func (*AccessSummary) GetUserId

func (x *AccessSummary) GetUserId() string

func (*AccessSummary) GetWorkloadId

func (x *AccessSummary) GetWorkloadId() string

func (*AccessSummary) ProtoMessage

func (*AccessSummary) ProtoMessage()

func (*AccessSummary) ProtoReflect

func (x *AccessSummary) ProtoReflect() protoreflect.Message

func (*AccessSummary) Reset

func (x *AccessSummary) Reset()

func (*AccessSummary) String

func (x *AccessSummary) String() string

ApiKeyParams

type ApiKeyParams struct {

	// Optional. Input only. The API key for this auth_provider.
	ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

Message describing ApiKeyParams object.

func (*ApiKeyParams) Descriptor

func (*ApiKeyParams) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyParams.ProtoReflect.Descriptor instead.

func (*ApiKeyParams) GetApiKey

func (x *ApiKeyParams) GetApiKey() string

func (*ApiKeyParams) ProtoMessage

func (*ApiKeyParams) ProtoMessage()

func (*ApiKeyParams) ProtoReflect

func (x *ApiKeyParams) ProtoReflect() protoreflect.Message

func (*ApiKeyParams) Reset

func (x *ApiKeyParams) Reset()

func (*ApiKeyParams) String

func (x *ApiKeyParams) String() string

AuthProvider

type AuthProvider struct {

	// Identifier. The full resource name of the auth_provider. Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. [Output only] Create time stamp
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. [Output only] Update time stamp
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Labels as key value pairs
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Required. AuthProvider type specific parameters.
	AuthProviderTypeParams *AuthProvider_AuthProviderTypeParams `protobuf:"bytes,5,opt,name=auth_provider_type_params,json=authProviderTypeParams,proto3" json:"auth_provider_type_params,omitempty"`
	// Optional. List of scopes that are allowed to be requested for this
	// auth_provider. If this list is non-empty, only scopes within this list may
	// be requested. If this list is empty, all scopes may be requested. Scopes
	// appearing in `blocked_scopes` are disallowed even if they appear in
	// `allowed_scopes`.
	// The number of allowed scopes is limited to 200.
	AllowedScopes []string `protobuf:"bytes,6,rep,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
	// Optional. List of scopes that are blocked from being requested for this
	// auth_provider. If a scope appears in this list, it will not be requested,
	// even if it also appears in `allowed_scopes`. `blocked_scopes` takes
	// precedence over `allowed_scopes`. The number of blocked scopes is limited
	// to 200.
	BlockedScopes []string `protobuf:"bytes,7,rep,name=blocked_scopes,json=blockedScopes,proto3" json:"blocked_scopes,omitempty"`
	// Optional. Description of the resource.
	// Must be less than 256 characters.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. This is set to true if the auth_provider is deleted.
	Deleted bool `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Output only. The time when the auth_provider will expire.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// Output only. The state of the auth_provider.
	State AuthProvider_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.agentidentity.v1.AuthProvider_State" json:"state,omitempty"`
	// Optional. Input only. Represents the workload identity in IAM
	// `principal://` format of the agent(s) that will use this AuthProvider.
	// Example:
	// `principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}`
	WorkloadIds []string `protobuf:"bytes,12,rep,name=workload_ids,json=workloadIds,proto3" json:"workload_ids,omitempty"`
	// contains filtered or unexported fields
}

Message describing AuthProvider object

func (*AuthProvider) Descriptor

func (*AuthProvider) Descriptor() ([]byte, []int)

Deprecated: Use AuthProvider.ProtoReflect.Descriptor instead.

func (*AuthProvider) GetAllowedScopes

func (x *AuthProvider) GetAllowedScopes() []string

func (*AuthProvider) GetAuthProviderTypeParams

func (x *AuthProvider) GetAuthProviderTypeParams() *AuthProvider_AuthProviderTypeParams

func (*AuthProvider) GetBlockedScopes

func (x *AuthProvider) GetBlockedScopes() []string

func (*AuthProvider) GetCreateTime

func (x *AuthProvider) GetCreateTime() *timestamppb.Timestamp

func (*AuthProvider) GetDeleted

func (x *AuthProvider) GetDeleted() bool

func (*AuthProvider) GetDescription

func (x *AuthProvider) GetDescription() string

func (*AuthProvider) GetExpireTime

func (x *AuthProvider) GetExpireTime() *timestamppb.Timestamp

func (*AuthProvider) GetLabels

func (x *AuthProvider) GetLabels() map[string]string

func (*AuthProvider) GetName

func (x *AuthProvider) GetName() string

func (*AuthProvider) GetState

func (x *AuthProvider) GetState() AuthProvider_State

func (*AuthProvider) GetUpdateTime

func (x *AuthProvider) GetUpdateTime() *timestamppb.Timestamp

func (*AuthProvider) GetWorkloadIds

func (x *AuthProvider) GetWorkloadIds() []string

func (*AuthProvider) ProtoMessage

func (*AuthProvider) ProtoMessage()

func (*AuthProvider) ProtoReflect

func (x *AuthProvider) ProtoReflect() protoreflect.Message

func (*AuthProvider) Reset

func (x *AuthProvider) Reset()

func (*AuthProvider) String

func (x *AuthProvider) String() string

AuthProviderServiceClient

type AuthProviderServiceClient interface {
	// Lists AuthProviders in a given project and location.
	ListAuthProviders(ctx context.Context, in *ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error)
	// Gets details of a single AuthProvider.
	GetAuthProvider(ctx context.Context, in *GetAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
	// Creates a new AuthProvider in a given project and location.
	CreateAuthProvider(ctx context.Context, in *CreateAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
	// Updates the parameters of a single AuthProvider.
	UpdateAuthProvider(ctx context.Context, in *UpdateAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
	// Deletes a single AuthProvider.
	DeleteAuthProvider(ctx context.Context, in *DeleteAuthProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Undeletes a single AuthProvider.
	UndeleteAuthProvider(ctx context.Context, in *UndeleteAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
	// Queries what all auth_providers are used by a given workload_id.
	QueryAuthProviders(ctx context.Context, in *QueryAuthProvidersRequest, opts ...grpc.CallOption) (*QueryAuthProvidersResponse, error)
	// Queries what all workloads are using a given auth_provider.
	QueryWorkloads(ctx context.Context, in *QueryWorkloadsRequest, opts ...grpc.CallOption) (*QueryWorkloadsResponse, error)
	// Lists Authorizations in a given project and location.
	ListAuthorizations(ctx context.Context, in *ListAuthorizationsRequest, opts ...grpc.CallOption) (*ListAuthorizationsResponse, error)
	// Gets details of a single Authorization.
	GetAuthorization(ctx context.Context, in *GetAuthorizationRequest, opts ...grpc.CallOption) (*Authorization, error)
	// Deletes a single Authorization.
	DeleteAuthorization(ctx context.Context, in *DeleteAuthorizationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists AccessSummaries in a given project and location.
	// Supported Filters:
	//   - `workload_id`: Filter by the SPIFFE ID of the agent.
	//     Example: `workload_id="spiffe://example.com/ns/default/sa/my-agent"`
	ListAccessSummaries(ctx context.Context, in *ListAccessSummariesRequest, opts ...grpc.CallOption) (*ListAccessSummariesResponse, error)
	// Gets details of a single AccessSummary.
	GetAccessSummary(ctx context.Context, in *GetAccessSummaryRequest, opts ...grpc.CallOption) (*AccessSummary, error)
	// Revokes all authorizations for a specific user on an AuthProvider.
	// This deletes all authorization records associated with the user and
	// AuthProvider, effectively revoking access across all agents.
	RevokeAuthorization(ctx context.Context, in *RevokeAuthorizationRequest, opts ...grpc.CallOption) (*RevokeAuthorizationResponse, error)
	// Enables a single AuthProvider.
	EnableAuthProvider(ctx context.Context, in *EnableAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
	// Disables a single AuthProvider.
	DisableAuthProvider(ctx context.Context, in *DisableAuthProviderRequest, opts ...grpc.CallOption) (*AuthProvider, error)
}

AuthProviderServiceClient is the client API for AuthProviderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthProviderServiceClient

func NewAuthProviderServiceClient(cc grpc.ClientConnInterface) AuthProviderServiceClient

AuthProviderServiceServer

type AuthProviderServiceServer interface {
	// Lists AuthProviders in a given project and location.
	ListAuthProviders(context.Context, *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error)
	// Gets details of a single AuthProvider.
	GetAuthProvider(context.Context, *GetAuthProviderRequest) (*AuthProvider, error)
	// Creates a new AuthProvider in a given project and location.
	CreateAuthProvider(context.Context, *CreateAuthProviderRequest) (*AuthProvider, error)
	// Updates the parameters of a single AuthProvider.
	UpdateAuthProvider(context.Context, *UpdateAuthProviderRequest) (*AuthProvider, error)
	// Deletes a single AuthProvider.
	DeleteAuthProvider(context.Context, *DeleteAuthProviderRequest) (*emptypb.Empty, error)
	// Undeletes a single AuthProvider.
	UndeleteAuthProvider(context.Context, *UndeleteAuthProviderRequest) (*AuthProvider, error)
	// Queries what all auth_providers are used by a given workload_id.
	QueryAuthProviders(context.Context, *QueryAuthProvidersRequest) (*QueryAuthProvidersResponse, error)
	// Queries what all workloads are using a given auth_provider.
	QueryWorkloads(context.Context, *QueryWorkloadsRequest) (*QueryWorkloadsResponse, error)
	// Lists Authorizations in a given project and location.
	ListAuthorizations(context.Context, *ListAuthorizationsRequest) (*ListAuthorizationsResponse, error)
	// Gets details of a single Authorization.
	GetAuthorization(context.Context, *GetAuthorizationRequest) (*Authorization, error)
	// Deletes a single Authorization.
	DeleteAuthorization(context.Context, *DeleteAuthorizationRequest) (*emptypb.Empty, error)
	// Lists AccessSummaries in a given project and location.
	// Supported Filters:
	//   - `workload_id`: Filter by the SPIFFE ID of the agent.
	//     Example: `workload_id="spiffe://example.com/ns/default/sa/my-agent"`
	ListAccessSummaries(context.Context, *ListAccessSummariesRequest) (*ListAccessSummariesResponse, error)
	// Gets details of a single AccessSummary.
	GetAccessSummary(context.Context, *GetAccessSummaryRequest) (*AccessSummary, error)
	// Revokes all authorizations for a specific user on an AuthProvider.
	// This deletes all authorization records associated with the user and
	// AuthProvider, effectively revoking access across all agents.
	RevokeAuthorization(context.Context, *RevokeAuthorizationRequest) (*RevokeAuthorizationResponse, error)
	// Enables a single AuthProvider.
	EnableAuthProvider(context.Context, *EnableAuthProviderRequest) (*AuthProvider, error)
	// Disables a single AuthProvider.
	DisableAuthProvider(context.Context, *DisableAuthProviderRequest) (*AuthProvider, error)
}

AuthProviderServiceServer is the server API for AuthProviderService service. All implementations should embed UnimplementedAuthProviderServiceServer for forward compatibility

AuthProviderType

type AuthProviderType int32

The type of the AuthProvider.

AuthProviderType_AUTH_PROVIDER_TYPE_UNSPECIFIED, AuthProviderType_AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH, AuthProviderType_AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH, AuthProviderType_AUTH_PROVIDER_TYPE_API_KEY, AuthProviderType_AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE

const (
	// Unspecified auth-provider type.
	AuthProviderType_AUTH_PROVIDER_TYPE_UNSPECIFIED AuthProviderType = 0
	// Three Legged OAuth auth-provider type.
	AuthProviderType_AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH AuthProviderType = 1
	// Two Legged OAuth auth-provider type.
	AuthProviderType_AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH AuthProviderType = 2
	// API Key auth-provider type.
	AuthProviderType_AUTH_PROVIDER_TYPE_API_KEY AuthProviderType = 3
	// Gemini Enterprise auth-provider type.
	AuthProviderType_AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE AuthProviderType = 4
)

func (AuthProviderType) Descriptor

func (AuthProviderType) Enum

func (AuthProviderType) EnumDescriptor

func (AuthProviderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthProviderType.Descriptor instead.

func (AuthProviderType) Number

func (AuthProviderType) String

func (x AuthProviderType) String() string

func (AuthProviderType) Type

AuthProvider_AuthProviderTypeParams

type AuthProvider_AuthProviderTypeParams struct {

	// AuthProvider type.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*AuthProvider_AuthProviderTypeParams_ThreeLeggedOauth
	//	*AuthProvider_AuthProviderTypeParams_TwoLeggedOauth
	//	*AuthProvider_AuthProviderTypeParams_ApiKey
	//	*AuthProvider_AuthProviderTypeParams_GeAuthProvider
	Type isAuthProvider_AuthProviderTypeParams_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

AuthProvider type specific parameters. Required when creating an auth_provider.

func (*AuthProvider_AuthProviderTypeParams) Descriptor

func (*AuthProvider_AuthProviderTypeParams) Descriptor() ([]byte, []int)

Deprecated: Use AuthProvider_AuthProviderTypeParams.ProtoReflect.Descriptor instead.

func (*AuthProvider_AuthProviderTypeParams) GetApiKey

func (*AuthProvider_AuthProviderTypeParams) GetGeAuthProvider

func (*AuthProvider_AuthProviderTypeParams) GetThreeLeggedOauth

func (x *AuthProvider_AuthProviderTypeParams) GetThreeLeggedOauth() *ThreeLeggedOAuth

func (*AuthProvider_AuthProviderTypeParams) GetTwoLeggedOauth

func (x *AuthProvider_AuthProviderTypeParams) GetTwoLeggedOauth() *TwoLeggedOAuth

func (*AuthProvider_AuthProviderTypeParams) GetType

func (x *AuthProvider_AuthProviderTypeParams) GetType() isAuthProvider_AuthProviderTypeParams_Type

func (*AuthProvider_AuthProviderTypeParams) ProtoMessage

func (*AuthProvider_AuthProviderTypeParams) ProtoMessage()

func (*AuthProvider_AuthProviderTypeParams) ProtoReflect

func (*AuthProvider_AuthProviderTypeParams) Reset

func (*AuthProvider_AuthProviderTypeParams) String

AuthProvider_AuthProviderTypeParams_ApiKey

type AuthProvider_AuthProviderTypeParams_ApiKey struct {
	// ApiKey AuthProvider type parameters.
	ApiKey *ApiKeyParams `protobuf:"bytes,3,opt,name=api_key,json=apiKey,proto3,oneof"`
}

AuthProvider_AuthProviderTypeParams_GeAuthProvider

type AuthProvider_AuthProviderTypeParams_GeAuthProvider struct {
	// GeminiEnterprise auth_provider type parameters.
	GeAuthProvider *GeminiEnterpriseAuthProviderParams `protobuf:"bytes,4,opt,name=ge_auth_provider,json=geAuthProvider,proto3,oneof"`
}

AuthProvider_AuthProviderTypeParams_ThreeLeggedOauth

type AuthProvider_AuthProviderTypeParams_ThreeLeggedOauth struct {
	// ThreeLeggedOAuth AuthProvider type parameters.
	ThreeLeggedOauth *ThreeLeggedOAuth `protobuf:"bytes,1,opt,name=three_legged_oauth,json=threeLeggedOauth,proto3,oneof"`
}

AuthProvider_AuthProviderTypeParams_TwoLeggedOauth

type AuthProvider_AuthProviderTypeParams_TwoLeggedOauth struct {
	// TwoLeggedOAuth AuthProvider type parameters.
	TwoLeggedOauth *TwoLeggedOAuth `protobuf:"bytes,2,opt,name=two_legged_oauth,json=twoLeggedOauth,proto3,oneof"`
}

AuthProvider_State

type AuthProvider_State int32

Represents the state of the auth_provider.

AuthProvider_STATE_UNSPECIFIED, AuthProvider_ENABLED, AuthProvider_DISABLED

const (
	// Unspecified state.
	AuthProvider_STATE_UNSPECIFIED AuthProvider_State = 0
	// Enabled and can be used.
	AuthProvider_ENABLED AuthProvider_State = 1
	// Disabled and cannot be used.
	AuthProvider_DISABLED AuthProvider_State = 2
)

func (AuthProvider_State) Descriptor

func (AuthProvider_State) Enum

func (AuthProvider_State) EnumDescriptor

func (AuthProvider_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthProvider_State.Descriptor instead.

func (AuthProvider_State) Number

func (AuthProvider_State) String

func (x AuthProvider_State) String() string

func (AuthProvider_State) Type

Authorization

type Authorization struct {

	// Identifier. name of resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. [Output only] Create time stamp
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. [Output only] Update time stamp
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The client_user_id provided by the client application for
	// their end user. Not verified by Google.
	ClientUserId string `protobuf:"bytes,5,opt,name=client_user_id,json=clientUserId,proto3" json:"client_user_id,omitempty"`
	// Output only. The scopes actually granted by the end user during the consent
	// flow.
	Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Output only. The state of the authorization.
	State Authorization_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.agentidentity.v1.Authorization_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Message describing Authorization object

func (*Authorization) Descriptor

func (*Authorization) Descriptor() ([]byte, []int)

Deprecated: Use Authorization.ProtoReflect.Descriptor instead.

func (*Authorization) GetClientUserId

func (x *Authorization) GetClientUserId() string

func (*Authorization) GetCreateTime

func (x *Authorization) GetCreateTime() *timestamppb.Timestamp

func (*Authorization) GetName

func (x *Authorization) GetName() string

func (*Authorization) GetScopes

func (x *Authorization) GetScopes() []string

func (*Authorization) GetState

func (x *Authorization) GetState() Authorization_State

func (*Authorization) GetUpdateTime

func (x *Authorization) GetUpdateTime() *timestamppb.Timestamp

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) ProtoReflect

func (x *Authorization) ProtoReflect() protoreflect.Message

func (*Authorization) Reset

func (x *Authorization) Reset()

func (*Authorization) String

func (x *Authorization) String() string

Authorization_State

type Authorization_State int32

Represents the state of the authorization.

Authorization_STATE_UNSPECIFIED, Authorization_ACTIVE, Authorization_SUSPENDED

const (
	// Unspecified state.
	Authorization_STATE_UNSPECIFIED Authorization_State = 0
	// Active.
	Authorization_ACTIVE Authorization_State = 1
	// Suspended.
	Authorization_SUSPENDED Authorization_State = 2
)

func (Authorization_State) Descriptor

func (Authorization_State) Enum

func (Authorization_State) EnumDescriptor

func (Authorization_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Authorization_State.Descriptor instead.

func (Authorization_State) Number

func (Authorization_State) String

func (x Authorization_State) String() string

func (Authorization_State) Type

CreateAuthProviderRequest

type CreateAuthProviderRequest struct {

	// Required. The parent resource where the AuthProvider is created.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID to use for the AuthProvider, which will become the final
	// segment of the AuthProvider's resource name. This value should be 1-63
	// characters, and valid characters are /[a-z][0-9]-/. The first character
	// must be a lowercase letter, and the last character must be a lowercase
	// letter or a number.
	AuthProviderId string `protobuf:"bytes,2,opt,name=auth_provider_id,json=authProviderId,proto3" json:"auth_provider_id,omitempty"`
	// Required. The AuthProvider to create.
	AuthProvider *AuthProvider `protobuf:"bytes,3,opt,name=auth_provider,json=authProvider,proto3" json:"auth_provider,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a AuthProvider

func (*CreateAuthProviderRequest) Descriptor

func (*CreateAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateAuthProviderRequest) GetAuthProvider

func (x *CreateAuthProviderRequest) GetAuthProvider() *AuthProvider

func (*CreateAuthProviderRequest) GetAuthProviderId

func (x *CreateAuthProviderRequest) GetAuthProviderId() string

func (*CreateAuthProviderRequest) GetParent

func (x *CreateAuthProviderRequest) GetParent() string

func (*CreateAuthProviderRequest) GetRequestId

func (x *CreateAuthProviderRequest) GetRequestId() string

func (*CreateAuthProviderRequest) ProtoMessage

func (*CreateAuthProviderRequest) ProtoMessage()

func (*CreateAuthProviderRequest) ProtoReflect

func (*CreateAuthProviderRequest) Reset

func (x *CreateAuthProviderRequest) Reset()

func (*CreateAuthProviderRequest) String

func (x *CreateAuthProviderRequest) String() string

DeleteAuthProviderRequest

type DeleteAuthProviderRequest struct {

	// Required. Name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a AuthProvider

func (*DeleteAuthProviderRequest) Descriptor

func (*DeleteAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteAuthProviderRequest) GetName

func (x *DeleteAuthProviderRequest) GetName() string

func (*DeleteAuthProviderRequest) GetRequestId

func (x *DeleteAuthProviderRequest) GetRequestId() string

func (*DeleteAuthProviderRequest) ProtoMessage

func (*DeleteAuthProviderRequest) ProtoMessage()

func (*DeleteAuthProviderRequest) ProtoReflect

func (*DeleteAuthProviderRequest) Reset

func (x *DeleteAuthProviderRequest) Reset()

func (*DeleteAuthProviderRequest) String

func (x *DeleteAuthProviderRequest) String() string

DeleteAuthorizationRequest

type DeleteAuthorizationRequest struct {

	// Required. The name of the Authorization to delete.
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}/authorizations/{authorization}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting an Authorization

func (*DeleteAuthorizationRequest) Descriptor

func (*DeleteAuthorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAuthorizationRequest.ProtoReflect.Descriptor instead.

func (*DeleteAuthorizationRequest) GetName

func (x *DeleteAuthorizationRequest) GetName() string

func (*DeleteAuthorizationRequest) GetRequestId

func (x *DeleteAuthorizationRequest) GetRequestId() string

func (*DeleteAuthorizationRequest) ProtoMessage

func (*DeleteAuthorizationRequest) ProtoMessage()

func (*DeleteAuthorizationRequest) ProtoReflect

func (*DeleteAuthorizationRequest) Reset

func (x *DeleteAuthorizationRequest) Reset()

func (*DeleteAuthorizationRequest) String

func (x *DeleteAuthorizationRequest) String() string

DisableAuthProviderRequest

type DisableAuthProviderRequest struct {

	// Required. Name of the resource
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for disabling an AuthProvider

func (*DisableAuthProviderRequest) Descriptor

func (*DisableAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*DisableAuthProviderRequest) GetName

func (x *DisableAuthProviderRequest) GetName() string

func (*DisableAuthProviderRequest) GetRequestId

func (x *DisableAuthProviderRequest) GetRequestId() string

func (*DisableAuthProviderRequest) ProtoMessage

func (*DisableAuthProviderRequest) ProtoMessage()

func (*DisableAuthProviderRequest) ProtoReflect

func (*DisableAuthProviderRequest) Reset

func (x *DisableAuthProviderRequest) Reset()

func (*DisableAuthProviderRequest) String

func (x *DisableAuthProviderRequest) String() string

EnableAuthProviderRequest

type EnableAuthProviderRequest struct {

	// Required. Name of the resource
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for enabling an AuthProvider

func (*EnableAuthProviderRequest) Descriptor

func (*EnableAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*EnableAuthProviderRequest) GetName

func (x *EnableAuthProviderRequest) GetName() string

func (*EnableAuthProviderRequest) GetRequestId

func (x *EnableAuthProviderRequest) GetRequestId() string

func (*EnableAuthProviderRequest) ProtoMessage

func (*EnableAuthProviderRequest) ProtoMessage()

func (*EnableAuthProviderRequest) ProtoReflect

func (*EnableAuthProviderRequest) Reset

func (x *EnableAuthProviderRequest) Reset()

func (*EnableAuthProviderRequest) String

func (x *EnableAuthProviderRequest) String() string

GeminiEnterpriseAuthProviderParams

type GeminiEnterpriseAuthProviderParams struct {
	// contains filtered or unexported fields
}

Message describing GeminiEnterpriseAuthProviderParams object.

func (*GeminiEnterpriseAuthProviderParams) Descriptor

func (*GeminiEnterpriseAuthProviderParams) Descriptor() ([]byte, []int)

Deprecated: Use GeminiEnterpriseAuthProviderParams.ProtoReflect.Descriptor instead.

func (*GeminiEnterpriseAuthProviderParams) ProtoMessage

func (*GeminiEnterpriseAuthProviderParams) ProtoMessage()

func (*GeminiEnterpriseAuthProviderParams) ProtoReflect

func (*GeminiEnterpriseAuthProviderParams) Reset

func (*GeminiEnterpriseAuthProviderParams) String

GetAccessSummaryRequest

type GetAccessSummaryRequest struct {

	// Required. Name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a AccessSummary

func (*GetAccessSummaryRequest) Descriptor

func (*GetAccessSummaryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccessSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetAccessSummaryRequest) GetName

func (x *GetAccessSummaryRequest) GetName() string

func (*GetAccessSummaryRequest) ProtoMessage

func (*GetAccessSummaryRequest) ProtoMessage()

func (*GetAccessSummaryRequest) ProtoReflect

func (x *GetAccessSummaryRequest) ProtoReflect() protoreflect.Message

func (*GetAccessSummaryRequest) Reset

func (x *GetAccessSummaryRequest) Reset()

func (*GetAccessSummaryRequest) String

func (x *GetAccessSummaryRequest) String() string

GetAuthProviderRequest

type GetAuthProviderRequest struct {

	// Required. Name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a AuthProvider

func (*GetAuthProviderRequest) Descriptor

func (*GetAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*GetAuthProviderRequest) GetName

func (x *GetAuthProviderRequest) GetName() string

func (*GetAuthProviderRequest) ProtoMessage

func (*GetAuthProviderRequest) ProtoMessage()

func (*GetAuthProviderRequest) ProtoReflect

func (x *GetAuthProviderRequest) ProtoReflect() protoreflect.Message

func (*GetAuthProviderRequest) Reset

func (x *GetAuthProviderRequest) Reset()

func (*GetAuthProviderRequest) String

func (x *GetAuthProviderRequest) String() string

GetAuthorizationRequest

type GetAuthorizationRequest struct {

	// Required. Name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Authorization

func (*GetAuthorizationRequest) Descriptor

func (*GetAuthorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAuthorizationRequest.ProtoReflect.Descriptor instead.

func (*GetAuthorizationRequest) GetName

func (x *GetAuthorizationRequest) GetName() string

func (*GetAuthorizationRequest) ProtoMessage

func (*GetAuthorizationRequest) ProtoMessage()

func (*GetAuthorizationRequest) ProtoReflect

func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message

func (*GetAuthorizationRequest) Reset

func (x *GetAuthorizationRequest) Reset()

func (*GetAuthorizationRequest) String

func (x *GetAuthorizationRequest) String() string

ListAccessSummariesRequest

type ListAccessSummariesRequest struct {

	// Required. The parent resource where the search is performed.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter string to restrict the results.
	//
	// Currently supports filtering by `workload_id` or `auth_provider_name`.
	// If no filter is provided, returns all access summaries for the requested
	// project and location. Format: `workload_id="

Message for requesting list of AccessSummaries

func (*ListAccessSummariesRequest) Descriptor

func (*ListAccessSummariesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessSummariesRequest.ProtoReflect.Descriptor instead.

func (*ListAccessSummariesRequest) GetFilter

func (x *ListAccessSummariesRequest) GetFilter() string

func (*ListAccessSummariesRequest) GetOrderBy

func (x *ListAccessSummariesRequest) GetOrderBy() string

func (*ListAccessSummariesRequest) GetPageSize

func (x *ListAccessSummariesRequest) GetPageSize() int32

func (*ListAccessSummariesRequest) GetPageToken

func (x *ListAccessSummariesRequest) GetPageToken() string

func (*ListAccessSummariesRequest) GetParent

func (x *ListAccessSummariesRequest) GetParent() string

func (*ListAccessSummariesRequest) ProtoMessage

func (*ListAccessSummariesRequest) ProtoMessage()

func (*ListAccessSummariesRequest) ProtoReflect

func (*ListAccessSummariesRequest) Reset

func (x *ListAccessSummariesRequest) Reset()

func (*ListAccessSummariesRequest) String

func (x *ListAccessSummariesRequest) String() string

ListAccessSummariesResponse

type ListAccessSummariesResponse struct {

	// The list of AccessSummary
	AccessSummaries []*AccessSummary `protobuf:"bytes,1,rep,name=access_summaries,json=accessSummaries,proto3" json:"access_summaries,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unordered list. Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing AccessSummaries

func (*ListAccessSummariesResponse) Descriptor

func (*ListAccessSummariesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessSummariesResponse.ProtoReflect.Descriptor instead.

func (*ListAccessSummariesResponse) GetAccessSummaries

func (x *ListAccessSummariesResponse) GetAccessSummaries() []*AccessSummary

func (*ListAccessSummariesResponse) GetNextPageToken

func (x *ListAccessSummariesResponse) GetNextPageToken() string

func (*ListAccessSummariesResponse) GetUnreachable

func (x *ListAccessSummariesResponse) GetUnreachable() []string

func (*ListAccessSummariesResponse) ProtoMessage

func (*ListAccessSummariesResponse) ProtoMessage()

func (*ListAccessSummariesResponse) ProtoReflect

func (*ListAccessSummariesResponse) Reset

func (x *ListAccessSummariesResponse) Reset()

func (*ListAccessSummariesResponse) String

func (x *ListAccessSummariesResponse) String() string

ListAuthProvidersRequest

type ListAuthProvidersRequest struct {

	// Required. The parent resource where the search is performed.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token, which can be sent as `page_token` to retrieve the next
	// page. If this field is omitted, the first page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results. This field is currently ignored.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Currently ignored.
	// Defaults to ordering by auth_provider_id in ascending order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Optional. Deleted auth_providers will be kept with a soft-delete for 30
	// days before being purged. If this field is set to true, deleted
	// auth_providers will also
	//
	//	be returned.
	ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of AuthProviders

func (*ListAuthProvidersRequest) Descriptor

func (*ListAuthProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAuthProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListAuthProvidersRequest) GetFilter

func (x *ListAuthProvidersRequest) GetFilter() string

func (*ListAuthProvidersRequest) GetOrderBy

func (x *ListAuthProvidersRequest) GetOrderBy() string

func (*ListAuthProvidersRequest) GetPageSize

func (x *ListAuthProvidersRequest) GetPageSize() int32

func (*ListAuthProvidersRequest) GetPageToken

func (x *ListAuthProvidersRequest) GetPageToken() string

func (*ListAuthProvidersRequest) GetParent

func (x *ListAuthProvidersRequest) GetParent() string

func (*ListAuthProvidersRequest) GetShowDeleted

func (x *ListAuthProvidersRequest) GetShowDeleted() bool

func (*ListAuthProvidersRequest) ProtoMessage

func (*ListAuthProvidersRequest) ProtoMessage()

func (*ListAuthProvidersRequest) ProtoReflect

func (x *ListAuthProvidersRequest) ProtoReflect() protoreflect.Message

func (*ListAuthProvidersRequest) Reset

func (x *ListAuthProvidersRequest) Reset()

func (*ListAuthProvidersRequest) String

func (x *ListAuthProvidersRequest) String() string

ListAuthProvidersResponse

type ListAuthProvidersResponse struct {

	// The list of AuthProvider
	AuthProviders []*AuthProvider `protobuf:"bytes,1,rep,name=auth_providers,json=authProviders,proto3" json:"auth_providers,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unordered list. Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing AuthProviders

func (*ListAuthProvidersResponse) Descriptor

func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAuthProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListAuthProvidersResponse) GetAuthProviders

func (x *ListAuthProvidersResponse) GetAuthProviders() []*AuthProvider

func (*ListAuthProvidersResponse) GetNextPageToken

func (x *ListAuthProvidersResponse) GetNextPageToken() string

func (*ListAuthProvidersResponse) GetUnreachable

func (x *ListAuthProvidersResponse) GetUnreachable() []string

func (*ListAuthProvidersResponse) ProtoMessage

func (*ListAuthProvidersResponse) ProtoMessage()

func (*ListAuthProvidersResponse) ProtoReflect

func (*ListAuthProvidersResponse) Reset

func (x *ListAuthProvidersResponse) Reset()

func (*ListAuthProvidersResponse) String

func (x *ListAuthProvidersResponse) String() string

ListAuthorizationsRequest

type ListAuthorizationsRequest struct {

	// Required. The parent resource where the search is performed.
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListAuthorizations` call.
	// Provide this to retrieve the subsequent page.
	// When paginating, all other parameters provided to `ListAuthorizations`
	// must match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter string to restrict the results.
	// Currently supports filtering by `client_user_id` only.
	// Format: `client_user_id="

Message for requesting list of Authorizations

func (*ListAuthorizationsRequest) Descriptor

func (*ListAuthorizationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAuthorizationsRequest.ProtoReflect.Descriptor instead.

func (*ListAuthorizationsRequest) GetFilter

func (x *ListAuthorizationsRequest) GetFilter() string

func (*ListAuthorizationsRequest) GetOrderBy

func (x *ListAuthorizationsRequest) GetOrderBy() string

func (*ListAuthorizationsRequest) GetPageSize

func (x *ListAuthorizationsRequest) GetPageSize() int32

func (*ListAuthorizationsRequest) GetPageToken

func (x *ListAuthorizationsRequest) GetPageToken() string

func (*ListAuthorizationsRequest) GetParent

func (x *ListAuthorizationsRequest) GetParent() string

func (*ListAuthorizationsRequest) ProtoMessage

func (*ListAuthorizationsRequest) ProtoMessage()

func (*ListAuthorizationsRequest) ProtoReflect

func (*ListAuthorizationsRequest) Reset

func (x *ListAuthorizationsRequest) Reset()

func (*ListAuthorizationsRequest) String

func (x *ListAuthorizationsRequest) String() string

ListAuthorizationsResponse

type ListAuthorizationsResponse struct {

	// The list of Authorization
	Authorizations []*Authorization `protobuf:"bytes,1,rep,name=authorizations,proto3" json:"authorizations,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unordered list. Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Authorizations

func (*ListAuthorizationsResponse) Descriptor

func (*ListAuthorizationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAuthorizationsResponse.ProtoReflect.Descriptor instead.

func (*ListAuthorizationsResponse) GetAuthorizations

func (x *ListAuthorizationsResponse) GetAuthorizations() []*Authorization

func (*ListAuthorizationsResponse) GetNextPageToken

func (x *ListAuthorizationsResponse) GetNextPageToken() string

func (*ListAuthorizationsResponse) GetUnreachable

func (x *ListAuthorizationsResponse) GetUnreachable() []string

func (*ListAuthorizationsResponse) ProtoMessage

func (*ListAuthorizationsResponse) ProtoMessage()

func (*ListAuthorizationsResponse) ProtoReflect

func (*ListAuthorizationsResponse) Reset

func (x *ListAuthorizationsResponse) Reset()

func (*ListAuthorizationsResponse) String

func (x *ListAuthorizationsResponse) String() string

QueryAuthProvidersRequest

type QueryAuthProvidersRequest struct {

	// Required. The parent resource where the search is performed.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The workload identifier to filter by.
	WorkloadId string `protobuf:"bytes,2,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default. The
	// maximum page size is 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token, which can be sent as `page_token` to retrieve the next
	// page. If this field is omitted, the first page is returned.
	//
	// A page token, received from a previous QueryAuthProviders call.
	// Provide this to retrieve the subsequent page. When paginating, all other
	// parameters provided to QueryAuthProviders must match the call that provided
	// the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for QueryAuthProviders.

func (*QueryAuthProvidersRequest) Descriptor

func (*QueryAuthProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthProvidersRequest.ProtoReflect.Descriptor instead.

func (*QueryAuthProvidersRequest) GetPageSize

func (x *QueryAuthProvidersRequest) GetPageSize() int32

func (*QueryAuthProvidersRequest) GetPageToken

func (x *QueryAuthProvidersRequest) GetPageToken() string

func (*QueryAuthProvidersRequest) GetParent

func (x *QueryAuthProvidersRequest) GetParent() string

func (*QueryAuthProvidersRequest) GetWorkloadId

func (x *QueryAuthProvidersRequest) GetWorkloadId() string

func (*QueryAuthProvidersRequest) ProtoMessage

func (*QueryAuthProvidersRequest) ProtoMessage()

func (*QueryAuthProvidersRequest) ProtoReflect

func (*QueryAuthProvidersRequest) Reset

func (x *QueryAuthProvidersRequest) Reset()

func (*QueryAuthProvidersRequest) String

func (x *QueryAuthProvidersRequest) String() string

QueryAuthProvidersResponse

type QueryAuthProvidersResponse struct {

	// The unique list of auth_provider resource names used by the workload.
	AuthProviderNames []string `protobuf:"bytes,1,rep,name=auth_provider_names,json=authProviderNames,proto3" json:"auth_provider_names,omitempty"`
	// A token identifying a page of results the server should return.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for QueryAuthProviders.

func (*QueryAuthProvidersResponse) Descriptor

func (*QueryAuthProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthProvidersResponse.ProtoReflect.Descriptor instead.

func (*QueryAuthProvidersResponse) GetAuthProviderNames

func (x *QueryAuthProvidersResponse) GetAuthProviderNames() []string

func (*QueryAuthProvidersResponse) GetNextPageToken

func (x *QueryAuthProvidersResponse) GetNextPageToken() string

func (*QueryAuthProvidersResponse) ProtoMessage

func (*QueryAuthProvidersResponse) ProtoMessage()

func (*QueryAuthProvidersResponse) ProtoReflect

func (*QueryAuthProvidersResponse) Reset

func (x *QueryAuthProvidersResponse) Reset()

func (*QueryAuthProvidersResponse) String

func (x *QueryAuthProvidersResponse) String() string

QueryWorkloadsRequest

type QueryWorkloadsRequest struct {

	// Required. The name of the auth_provider to query.
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token, which can be sent as `page_token` to retrieve the next
	// page. When paginating, all other parameters provided to QueryWorkloads must
	// match the call that provided the page token. If this field is omitted, the
	// first page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for QueryWorkloads.

func (*QueryWorkloadsRequest) Descriptor

func (*QueryWorkloadsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*QueryWorkloadsRequest) GetName

func (x *QueryWorkloadsRequest) GetName() string

func (*QueryWorkloadsRequest) GetPageSize

func (x *QueryWorkloadsRequest) GetPageSize() int32

func (*QueryWorkloadsRequest) GetPageToken

func (x *QueryWorkloadsRequest) GetPageToken() string

func (*QueryWorkloadsRequest) ProtoMessage

func (*QueryWorkloadsRequest) ProtoMessage()

func (*QueryWorkloadsRequest) ProtoReflect

func (x *QueryWorkloadsRequest) ProtoReflect() protoreflect.Message

func (*QueryWorkloadsRequest) Reset

func (x *QueryWorkloadsRequest) Reset()

func (*QueryWorkloadsRequest) String

func (x *QueryWorkloadsRequest) String() string

QueryWorkloadsResponse

type QueryWorkloadsResponse struct {

	// The unique list of workload identifiers (agents) that used the
	// auth_provider.
	WorkloadIds []string `protobuf:"bytes,1,rep,name=workload_ids,json=workloadIds,proto3" json:"workload_ids,omitempty"`
	// A token to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for QueryWorkloads.

func (*QueryWorkloadsResponse) Descriptor

func (*QueryWorkloadsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*QueryWorkloadsResponse) GetNextPageToken

func (x *QueryWorkloadsResponse) GetNextPageToken() string

func (*QueryWorkloadsResponse) GetWorkloadIds

func (x *QueryWorkloadsResponse) GetWorkloadIds() []string

func (*QueryWorkloadsResponse) ProtoMessage

func (*QueryWorkloadsResponse) ProtoMessage()

func (*QueryWorkloadsResponse) ProtoReflect

func (x *QueryWorkloadsResponse) ProtoReflect() protoreflect.Message

func (*QueryWorkloadsResponse) Reset

func (x *QueryWorkloadsResponse) Reset()

func (*QueryWorkloadsResponse) String

func (x *QueryWorkloadsResponse) String() string

RevokeAuthorizationRequest

type RevokeAuthorizationRequest struct {

	// Required. The resource name of the AuthProvider.
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The identity of the user to revoke authorization for.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for RevokeAuthorization.

func (*RevokeAuthorizationRequest) Descriptor

func (*RevokeAuthorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAuthorizationRequest.ProtoReflect.Descriptor instead.

func (*RevokeAuthorizationRequest) GetName

func (x *RevokeAuthorizationRequest) GetName() string

func (*RevokeAuthorizationRequest) GetUserId

func (x *RevokeAuthorizationRequest) GetUserId() string

func (*RevokeAuthorizationRequest) ProtoMessage

func (*RevokeAuthorizationRequest) ProtoMessage()

func (*RevokeAuthorizationRequest) ProtoReflect

func (*RevokeAuthorizationRequest) Reset

func (x *RevokeAuthorizationRequest) Reset()

func (*RevokeAuthorizationRequest) String

func (x *RevokeAuthorizationRequest) String() string

RevokeAuthorizationResponse

type RevokeAuthorizationResponse struct {
	// contains filtered or unexported fields
}

Response message for RevokeAuthorization.

func (*RevokeAuthorizationResponse) Descriptor

func (*RevokeAuthorizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAuthorizationResponse.ProtoReflect.Descriptor instead.

func (*RevokeAuthorizationResponse) ProtoMessage

func (*RevokeAuthorizationResponse) ProtoMessage()

func (*RevokeAuthorizationResponse) ProtoReflect

func (*RevokeAuthorizationResponse) Reset

func (x *RevokeAuthorizationResponse) Reset()

func (*RevokeAuthorizationResponse) String

func (x *RevokeAuthorizationResponse) String() string

ThreeLeggedOAuth

type ThreeLeggedOAuth struct {

	// Optional. Input only. The client secret of the OAuth client.
	ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// Optional. The client ID of the OAuth client.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Output only. The redirect URL this auth_provider uses for the OAuth
	// exchange. This is deterministic based on the name of the auth_provider.
	RedirectUrl string `protobuf:"bytes,3,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
	// Optional. The authorization endpoint to send users to for consenting to
	// delegate to the agent. eg. "https://auth.example.com/authorize"
	AuthorizationUrl string `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
	// Optional. The token endpoint for requesting tokens on behalf of an end
	// user. eg. "https://auth.example.com/oauth/token"
	TokenUrl string `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	// Optional. Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to
	// prevent authorization code interception attacks.
	EnablePkce bool `protobuf:"varint,6,opt,name=enable_pkce,json=enablePkce,proto3" json:"enable_pkce,omitempty"`
	// Optional. The default continue URI for 3LO flow and it will be used when no
	// continue URI is provided in the RetrieveCredentials request.
	DefaultContinueUri string `protobuf:"bytes,7,opt,name=default_continue_uri,json=defaultContinueUri,proto3" json:"default_continue_uri,omitempty"`
	// contains filtered or unexported fields
}

Message describing ThreeLeggedOAuth object.

func (*ThreeLeggedOAuth) Descriptor

func (*ThreeLeggedOAuth) Descriptor() ([]byte, []int)

Deprecated: Use ThreeLeggedOAuth.ProtoReflect.Descriptor instead.

func (*ThreeLeggedOAuth) GetAuthorizationUrl

func (x *ThreeLeggedOAuth) GetAuthorizationUrl() string

func (*ThreeLeggedOAuth) GetClientId

func (x *ThreeLeggedOAuth) GetClientId() string

func (*ThreeLeggedOAuth) GetClientSecret

func (x *ThreeLeggedOAuth) GetClientSecret() string

func (*ThreeLeggedOAuth) GetDefaultContinueUri

func (x *ThreeLeggedOAuth) GetDefaultContinueUri() string

func (*ThreeLeggedOAuth) GetEnablePkce

func (x *ThreeLeggedOAuth) GetEnablePkce() bool

func (*ThreeLeggedOAuth) GetRedirectUrl

func (x *ThreeLeggedOAuth) GetRedirectUrl() string

func (*ThreeLeggedOAuth) GetTokenUrl

func (x *ThreeLeggedOAuth) GetTokenUrl() string

func (*ThreeLeggedOAuth) ProtoMessage

func (*ThreeLeggedOAuth) ProtoMessage()

func (*ThreeLeggedOAuth) ProtoReflect

func (x *ThreeLeggedOAuth) ProtoReflect() protoreflect.Message

func (*ThreeLeggedOAuth) Reset

func (x *ThreeLeggedOAuth) Reset()

func (*ThreeLeggedOAuth) String

func (x *ThreeLeggedOAuth) String() string

TwoLeggedOAuth

type TwoLeggedOAuth struct {

	// Optional. Input only. The client secret of the OAuth client.
	ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// Optional. The client ID of the OAuth client.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Optional. The token endpoint of the OAuth client.
	TokenUrl string `protobuf:"bytes,3,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	// contains filtered or unexported fields
}

Message describing TwoLeggedOAuth object.

func (*TwoLeggedOAuth) Descriptor

func (*TwoLeggedOAuth) Descriptor() ([]byte, []int)

Deprecated: Use TwoLeggedOAuth.ProtoReflect.Descriptor instead.

func (*TwoLeggedOAuth) GetClientId

func (x *TwoLeggedOAuth) GetClientId() string

func (*TwoLeggedOAuth) GetClientSecret

func (x *TwoLeggedOAuth) GetClientSecret() string

func (*TwoLeggedOAuth) GetTokenUrl

func (x *TwoLeggedOAuth) GetTokenUrl() string

func (*TwoLeggedOAuth) ProtoMessage

func (*TwoLeggedOAuth) ProtoMessage()

func (*TwoLeggedOAuth) ProtoReflect

func (x *TwoLeggedOAuth) ProtoReflect() protoreflect.Message

func (*TwoLeggedOAuth) Reset

func (x *TwoLeggedOAuth) Reset()

func (*TwoLeggedOAuth) String

func (x *TwoLeggedOAuth) String() string

UndeleteAuthProviderRequest

type UndeleteAuthProviderRequest struct {

	// Required. Name of the resource
	// Format:
	// projects/{project}/locations/{location}/authProviders/{auth_provider}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for undeleting a AuthProvider

func (*UndeleteAuthProviderRequest) Descriptor

func (*UndeleteAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use UndeleteAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*UndeleteAuthProviderRequest) GetName

func (x *UndeleteAuthProviderRequest) GetName() string

func (*UndeleteAuthProviderRequest) GetRequestId

func (x *UndeleteAuthProviderRequest) GetRequestId() string

func (*UndeleteAuthProviderRequest) ProtoMessage

func (*UndeleteAuthProviderRequest) ProtoMessage()

func (*UndeleteAuthProviderRequest) ProtoReflect

func (*UndeleteAuthProviderRequest) Reset

func (x *UndeleteAuthProviderRequest) Reset()

func (*UndeleteAuthProviderRequest) String

func (x *UndeleteAuthProviderRequest) String() string

UnimplementedAuthProviderServiceServer

type UnimplementedAuthProviderServiceServer struct {
}

UnimplementedAuthProviderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAuthProviderServiceServer) CreateAuthProvider

func (UnimplementedAuthProviderServiceServer) DeleteAuthProvider

func (UnimplementedAuthProviderServiceServer) DeleteAuthorization

func (UnimplementedAuthProviderServiceServer) DisableAuthProvider

func (UnimplementedAuthProviderServiceServer) EnableAuthProvider

func (UnimplementedAuthProviderServiceServer) GetAccessSummary

func (UnimplementedAuthProviderServiceServer) GetAuthProvider

func (UnimplementedAuthProviderServiceServer) GetAuthorization

func (UnimplementedAuthProviderServiceServer) ListAccessSummaries

func (UnimplementedAuthProviderServiceServer) ListAuthProviders

func (UnimplementedAuthProviderServiceServer) ListAuthorizations

func (UnimplementedAuthProviderServiceServer) QueryAuthProviders

func (UnimplementedAuthProviderServiceServer) QueryWorkloads

func (UnimplementedAuthProviderServiceServer) RevokeAuthorization

func (UnimplementedAuthProviderServiceServer) UndeleteAuthProvider

func (UnimplementedAuthProviderServiceServer) UpdateAuthProvider

UnsafeAuthProviderServiceServer

type UnsafeAuthProviderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthProviderServiceServer will result in compilation errors.

UpdateAuthProviderRequest

type UpdateAuthProviderRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// AuthProvider resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields present in the request will be
	// overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The AuthProvider resource which replaces the resource on the
	// server.
	AuthProvider *AuthProvider `protobuf:"bytes,2,opt,name=auth_provider,json=authProvider,proto3" json:"auth_provider,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a AuthProvider

func (*UpdateAuthProviderRequest) Descriptor

func (*UpdateAuthProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAuthProviderRequest.ProtoReflect.Descriptor instead.

func (*UpdateAuthProviderRequest) GetAuthProvider

func (x *UpdateAuthProviderRequest) GetAuthProvider() *AuthProvider

func (*UpdateAuthProviderRequest) GetRequestId

func (x *UpdateAuthProviderRequest) GetRequestId() string

func (*UpdateAuthProviderRequest) GetUpdateMask

func (x *UpdateAuthProviderRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAuthProviderRequest) ProtoMessage

func (*UpdateAuthProviderRequest) ProtoMessage()

func (*UpdateAuthProviderRequest) ProtoReflect

func (*UpdateAuthProviderRequest) Reset

func (x *UpdateAuthProviderRequest) Reset()

func (*UpdateAuthProviderRequest) String

func (x *UpdateAuthProviderRequest) String() string