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.FileDescriptorFunctions
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() stringfunc (*AccessSummary) GetAuthProviderType
func (x *AccessSummary) GetAuthProviderType() AuthProviderTypefunc (*AccessSummary) GetFirstAccessTime
func (x *AccessSummary) GetFirstAccessTime() *timestamppb.Timestampfunc (*AccessSummary) GetLabels
func (x *AccessSummary) GetLabels() map[string]stringfunc (*AccessSummary) GetLastAccessTime
func (x *AccessSummary) GetLastAccessTime() *timestamppb.Timestampfunc (*AccessSummary) GetName
func (x *AccessSummary) GetName() stringfunc (*AccessSummary) GetPurgeTime
func (x *AccessSummary) GetPurgeTime() *timestamppb.Timestampfunc (*AccessSummary) GetScopes
func (x *AccessSummary) GetScopes() []stringfunc (*AccessSummary) GetTokenUrl
func (x *AccessSummary) GetTokenUrl() stringfunc (*AccessSummary) GetUserId
func (x *AccessSummary) GetUserId() stringfunc (*AccessSummary) GetWorkloadId
func (x *AccessSummary) GetWorkloadId() stringfunc (*AccessSummary) ProtoMessage
func (*AccessSummary) ProtoMessage()func (*AccessSummary) ProtoReflect
func (x *AccessSummary) ProtoReflect() protoreflect.Messagefunc (*AccessSummary) Reset
func (x *AccessSummary) Reset()func (*AccessSummary) String
func (x *AccessSummary) String() stringApiKeyParams
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() stringfunc (*ApiKeyParams) ProtoMessage
func (*ApiKeyParams) ProtoMessage()func (*ApiKeyParams) ProtoReflect
func (x *ApiKeyParams) ProtoReflect() protoreflect.Messagefunc (*ApiKeyParams) Reset
func (x *ApiKeyParams) Reset()func (*ApiKeyParams) String
func (x *ApiKeyParams) String() stringAuthProvider
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() []stringfunc (*AuthProvider) GetAuthProviderTypeParams
func (x *AuthProvider) GetAuthProviderTypeParams() *AuthProvider_AuthProviderTypeParamsfunc (*AuthProvider) GetBlockedScopes
func (x *AuthProvider) GetBlockedScopes() []stringfunc (*AuthProvider) GetCreateTime
func (x *AuthProvider) GetCreateTime() *timestamppb.Timestampfunc (*AuthProvider) GetDeleted
func (x *AuthProvider) GetDeleted() boolfunc (*AuthProvider) GetDescription
func (x *AuthProvider) GetDescription() stringfunc (*AuthProvider) GetExpireTime
func (x *AuthProvider) GetExpireTime() *timestamppb.Timestampfunc (*AuthProvider) GetLabels
func (x *AuthProvider) GetLabels() map[string]stringfunc (*AuthProvider) GetName
func (x *AuthProvider) GetName() stringfunc (*AuthProvider) GetState
func (x *AuthProvider) GetState() AuthProvider_Statefunc (*AuthProvider) GetUpdateTime
func (x *AuthProvider) GetUpdateTime() *timestamppb.Timestampfunc (*AuthProvider) GetWorkloadIds
func (x *AuthProvider) GetWorkloadIds() []stringfunc (*AuthProvider) ProtoMessage
func (*AuthProvider) ProtoMessage()func (*AuthProvider) ProtoReflect
func (x *AuthProvider) ProtoReflect() protoreflect.Messagefunc (*AuthProvider) Reset
func (x *AuthProvider) Reset()func (*AuthProvider) String
func (x *AuthProvider) String() stringAuthProviderServiceClient
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) AuthProviderServiceClientAuthProviderServiceServer
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 int32The 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) Descriptor() protoreflect.EnumDescriptorfunc (AuthProviderType) Enum
func (x AuthProviderType) Enum() *AuthProviderTypefunc (AuthProviderType) EnumDescriptor
func (AuthProviderType) EnumDescriptor() ([]byte, []int)Deprecated: Use AuthProviderType.Descriptor instead.
func (AuthProviderType) Number
func (x AuthProviderType) Number() protoreflect.EnumNumberfunc (AuthProviderType) String
func (x AuthProviderType) String() stringfunc (AuthProviderType) Type
func (AuthProviderType) Type() protoreflect.EnumTypeAuthProvider_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 (x *AuthProvider_AuthProviderTypeParams) GetApiKey() *ApiKeyParamsfunc (*AuthProvider_AuthProviderTypeParams) GetGeAuthProvider
func (x *AuthProvider_AuthProviderTypeParams) GetGeAuthProvider() *GeminiEnterpriseAuthProviderParamsfunc (*AuthProvider_AuthProviderTypeParams) GetThreeLeggedOauth
func (x *AuthProvider_AuthProviderTypeParams) GetThreeLeggedOauth() *ThreeLeggedOAuthfunc (*AuthProvider_AuthProviderTypeParams) GetTwoLeggedOauth
func (x *AuthProvider_AuthProviderTypeParams) GetTwoLeggedOauth() *TwoLeggedOAuthfunc (*AuthProvider_AuthProviderTypeParams) GetType
func (x *AuthProvider_AuthProviderTypeParams) GetType() isAuthProvider_AuthProviderTypeParams_Typefunc (*AuthProvider_AuthProviderTypeParams) ProtoMessage
func (*AuthProvider_AuthProviderTypeParams) ProtoMessage()func (*AuthProvider_AuthProviderTypeParams) ProtoReflect
func (x *AuthProvider_AuthProviderTypeParams) ProtoReflect() protoreflect.Messagefunc (*AuthProvider_AuthProviderTypeParams) Reset
func (x *AuthProvider_AuthProviderTypeParams) Reset()func (*AuthProvider_AuthProviderTypeParams) String
func (x *AuthProvider_AuthProviderTypeParams) String() stringAuthProvider_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 int32Represents 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) Descriptor() protoreflect.EnumDescriptorfunc (AuthProvider_State) Enum
func (x AuthProvider_State) Enum() *AuthProvider_Statefunc (AuthProvider_State) EnumDescriptor
func (AuthProvider_State) EnumDescriptor() ([]byte, []int)Deprecated: Use AuthProvider_State.Descriptor instead.
func (AuthProvider_State) Number
func (x AuthProvider_State) Number() protoreflect.EnumNumberfunc (AuthProvider_State) String
func (x AuthProvider_State) String() stringfunc (AuthProvider_State) Type
func (AuthProvider_State) Type() protoreflect.EnumTypeAuthorization
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() stringfunc (*Authorization) GetCreateTime
func (x *Authorization) GetCreateTime() *timestamppb.Timestampfunc (*Authorization) GetName
func (x *Authorization) GetName() stringfunc (*Authorization) GetScopes
func (x *Authorization) GetScopes() []stringfunc (*Authorization) GetState
func (x *Authorization) GetState() Authorization_Statefunc (*Authorization) GetUpdateTime
func (x *Authorization) GetUpdateTime() *timestamppb.Timestampfunc (*Authorization) ProtoMessage
func (*Authorization) ProtoMessage()func (*Authorization) ProtoReflect
func (x *Authorization) ProtoReflect() protoreflect.Messagefunc (*Authorization) Reset
func (x *Authorization) Reset()func (*Authorization) String
func (x *Authorization) String() stringAuthorization_State
type Authorization_State int32Represents 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) Descriptor() protoreflect.EnumDescriptorfunc (Authorization_State) Enum
func (x Authorization_State) Enum() *Authorization_Statefunc (Authorization_State) EnumDescriptor
func (Authorization_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Authorization_State.Descriptor instead.
func (Authorization_State) Number
func (x Authorization_State) Number() protoreflect.EnumNumberfunc (Authorization_State) String
func (x Authorization_State) String() stringfunc (Authorization_State) Type
func (Authorization_State) Type() protoreflect.EnumTypeCreateAuthProviderRequest
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() *AuthProviderfunc (*CreateAuthProviderRequest) GetAuthProviderId
func (x *CreateAuthProviderRequest) GetAuthProviderId() stringfunc (*CreateAuthProviderRequest) GetParent
func (x *CreateAuthProviderRequest) GetParent() stringfunc (*CreateAuthProviderRequest) GetRequestId
func (x *CreateAuthProviderRequest) GetRequestId() stringfunc (*CreateAuthProviderRequest) ProtoMessage
func (*CreateAuthProviderRequest) ProtoMessage()func (*CreateAuthProviderRequest) ProtoReflect
func (x *CreateAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAuthProviderRequest) Reset
func (x *CreateAuthProviderRequest) Reset()func (*CreateAuthProviderRequest) String
func (x *CreateAuthProviderRequest) String() stringDeleteAuthProviderRequest
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() stringfunc (*DeleteAuthProviderRequest) GetRequestId
func (x *DeleteAuthProviderRequest) GetRequestId() stringfunc (*DeleteAuthProviderRequest) ProtoMessage
func (*DeleteAuthProviderRequest) ProtoMessage()func (*DeleteAuthProviderRequest) ProtoReflect
func (x *DeleteAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAuthProviderRequest) Reset
func (x *DeleteAuthProviderRequest) Reset()func (*DeleteAuthProviderRequest) String
func (x *DeleteAuthProviderRequest) String() stringDeleteAuthorizationRequest
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() stringfunc (*DeleteAuthorizationRequest) GetRequestId
func (x *DeleteAuthorizationRequest) GetRequestId() stringfunc (*DeleteAuthorizationRequest) ProtoMessage
func (*DeleteAuthorizationRequest) ProtoMessage()func (*DeleteAuthorizationRequest) ProtoReflect
func (x *DeleteAuthorizationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAuthorizationRequest) Reset
func (x *DeleteAuthorizationRequest) Reset()func (*DeleteAuthorizationRequest) String
func (x *DeleteAuthorizationRequest) String() stringDisableAuthProviderRequest
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() stringfunc (*DisableAuthProviderRequest) GetRequestId
func (x *DisableAuthProviderRequest) GetRequestId() stringfunc (*DisableAuthProviderRequest) ProtoMessage
func (*DisableAuthProviderRequest) ProtoMessage()func (*DisableAuthProviderRequest) ProtoReflect
func (x *DisableAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*DisableAuthProviderRequest) Reset
func (x *DisableAuthProviderRequest) Reset()func (*DisableAuthProviderRequest) String
func (x *DisableAuthProviderRequest) String() stringEnableAuthProviderRequest
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() stringfunc (*EnableAuthProviderRequest) GetRequestId
func (x *EnableAuthProviderRequest) GetRequestId() stringfunc (*EnableAuthProviderRequest) ProtoMessage
func (*EnableAuthProviderRequest) ProtoMessage()func (*EnableAuthProviderRequest) ProtoReflect
func (x *EnableAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*EnableAuthProviderRequest) Reset
func (x *EnableAuthProviderRequest) Reset()func (*EnableAuthProviderRequest) String
func (x *EnableAuthProviderRequest) String() stringGeminiEnterpriseAuthProviderParams
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 (x *GeminiEnterpriseAuthProviderParams) ProtoReflect() protoreflect.Messagefunc (*GeminiEnterpriseAuthProviderParams) Reset
func (x *GeminiEnterpriseAuthProviderParams) Reset()func (*GeminiEnterpriseAuthProviderParams) String
func (x *GeminiEnterpriseAuthProviderParams) String() stringGetAccessSummaryRequest
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() stringfunc (*GetAccessSummaryRequest) ProtoMessage
func (*GetAccessSummaryRequest) ProtoMessage()func (*GetAccessSummaryRequest) ProtoReflect
func (x *GetAccessSummaryRequest) ProtoReflect() protoreflect.Messagefunc (*GetAccessSummaryRequest) Reset
func (x *GetAccessSummaryRequest) Reset()func (*GetAccessSummaryRequest) String
func (x *GetAccessSummaryRequest) String() stringGetAuthProviderRequest
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() stringfunc (*GetAuthProviderRequest) ProtoMessage
func (*GetAuthProviderRequest) ProtoMessage()func (*GetAuthProviderRequest) ProtoReflect
func (x *GetAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*GetAuthProviderRequest) Reset
func (x *GetAuthProviderRequest) Reset()func (*GetAuthProviderRequest) String
func (x *GetAuthProviderRequest) String() stringGetAuthorizationRequest
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() stringfunc (*GetAuthorizationRequest) ProtoMessage
func (*GetAuthorizationRequest) ProtoMessage()func (*GetAuthorizationRequest) ProtoReflect
func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Messagefunc (*GetAuthorizationRequest) Reset
func (x *GetAuthorizationRequest) Reset()func (*GetAuthorizationRequest) String
func (x *GetAuthorizationRequest) String() stringListAccessSummariesRequest
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() stringfunc (*ListAccessSummariesRequest) GetOrderBy
func (x *ListAccessSummariesRequest) GetOrderBy() stringfunc (*ListAccessSummariesRequest) GetPageSize
func (x *ListAccessSummariesRequest) GetPageSize() int32func (*ListAccessSummariesRequest) GetPageToken
func (x *ListAccessSummariesRequest) GetPageToken() stringfunc (*ListAccessSummariesRequest) GetParent
func (x *ListAccessSummariesRequest) GetParent() stringfunc (*ListAccessSummariesRequest) ProtoMessage
func (*ListAccessSummariesRequest) ProtoMessage()func (*ListAccessSummariesRequest) ProtoReflect
func (x *ListAccessSummariesRequest) ProtoReflect() protoreflect.Messagefunc (*ListAccessSummariesRequest) Reset
func (x *ListAccessSummariesRequest) Reset()func (*ListAccessSummariesRequest) String
func (x *ListAccessSummariesRequest) String() stringListAccessSummariesResponse
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() []*AccessSummaryfunc (*ListAccessSummariesResponse) GetNextPageToken
func (x *ListAccessSummariesResponse) GetNextPageToken() stringfunc (*ListAccessSummariesResponse) GetUnreachable
func (x *ListAccessSummariesResponse) GetUnreachable() []stringfunc (*ListAccessSummariesResponse) ProtoMessage
func (*ListAccessSummariesResponse) ProtoMessage()func (*ListAccessSummariesResponse) ProtoReflect
func (x *ListAccessSummariesResponse) ProtoReflect() protoreflect.Messagefunc (*ListAccessSummariesResponse) Reset
func (x *ListAccessSummariesResponse) Reset()func (*ListAccessSummariesResponse) String
func (x *ListAccessSummariesResponse) String() stringListAuthProvidersRequest
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() stringfunc (*ListAuthProvidersRequest) GetOrderBy
func (x *ListAuthProvidersRequest) GetOrderBy() stringfunc (*ListAuthProvidersRequest) GetPageSize
func (x *ListAuthProvidersRequest) GetPageSize() int32func (*ListAuthProvidersRequest) GetPageToken
func (x *ListAuthProvidersRequest) GetPageToken() stringfunc (*ListAuthProvidersRequest) GetParent
func (x *ListAuthProvidersRequest) GetParent() stringfunc (*ListAuthProvidersRequest) GetShowDeleted
func (x *ListAuthProvidersRequest) GetShowDeleted() boolfunc (*ListAuthProvidersRequest) ProtoMessage
func (*ListAuthProvidersRequest) ProtoMessage()func (*ListAuthProvidersRequest) ProtoReflect
func (x *ListAuthProvidersRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthProvidersRequest) Reset
func (x *ListAuthProvidersRequest) Reset()func (*ListAuthProvidersRequest) String
func (x *ListAuthProvidersRequest) String() stringListAuthProvidersResponse
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() []*AuthProviderfunc (*ListAuthProvidersResponse) GetNextPageToken
func (x *ListAuthProvidersResponse) GetNextPageToken() stringfunc (*ListAuthProvidersResponse) GetUnreachable
func (x *ListAuthProvidersResponse) GetUnreachable() []stringfunc (*ListAuthProvidersResponse) ProtoMessage
func (*ListAuthProvidersResponse) ProtoMessage()func (*ListAuthProvidersResponse) ProtoReflect
func (x *ListAuthProvidersResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthProvidersResponse) Reset
func (x *ListAuthProvidersResponse) Reset()func (*ListAuthProvidersResponse) String
func (x *ListAuthProvidersResponse) String() stringListAuthorizationsRequest
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() stringfunc (*ListAuthorizationsRequest) GetOrderBy
func (x *ListAuthorizationsRequest) GetOrderBy() stringfunc (*ListAuthorizationsRequest) GetPageSize
func (x *ListAuthorizationsRequest) GetPageSize() int32func (*ListAuthorizationsRequest) GetPageToken
func (x *ListAuthorizationsRequest) GetPageToken() stringfunc (*ListAuthorizationsRequest) GetParent
func (x *ListAuthorizationsRequest) GetParent() stringfunc (*ListAuthorizationsRequest) ProtoMessage
func (*ListAuthorizationsRequest) ProtoMessage()func (*ListAuthorizationsRequest) ProtoReflect
func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizationsRequest) Reset
func (x *ListAuthorizationsRequest) Reset()func (*ListAuthorizationsRequest) String
func (x *ListAuthorizationsRequest) String() stringListAuthorizationsResponse
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() []*Authorizationfunc (*ListAuthorizationsResponse) GetNextPageToken
func (x *ListAuthorizationsResponse) GetNextPageToken() stringfunc (*ListAuthorizationsResponse) GetUnreachable
func (x *ListAuthorizationsResponse) GetUnreachable() []stringfunc (*ListAuthorizationsResponse) ProtoMessage
func (*ListAuthorizationsResponse) ProtoMessage()func (*ListAuthorizationsResponse) ProtoReflect
func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizationsResponse) Reset
func (x *ListAuthorizationsResponse) Reset()func (*ListAuthorizationsResponse) String
func (x *ListAuthorizationsResponse) String() stringQueryAuthProvidersRequest
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() int32func (*QueryAuthProvidersRequest) GetPageToken
func (x *QueryAuthProvidersRequest) GetPageToken() stringfunc (*QueryAuthProvidersRequest) GetParent
func (x *QueryAuthProvidersRequest) GetParent() stringfunc (*QueryAuthProvidersRequest) GetWorkloadId
func (x *QueryAuthProvidersRequest) GetWorkloadId() stringfunc (*QueryAuthProvidersRequest) ProtoMessage
func (*QueryAuthProvidersRequest) ProtoMessage()func (*QueryAuthProvidersRequest) ProtoReflect
func (x *QueryAuthProvidersRequest) ProtoReflect() protoreflect.Messagefunc (*QueryAuthProvidersRequest) Reset
func (x *QueryAuthProvidersRequest) Reset()func (*QueryAuthProvidersRequest) String
func (x *QueryAuthProvidersRequest) String() stringQueryAuthProvidersResponse
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() []stringfunc (*QueryAuthProvidersResponse) GetNextPageToken
func (x *QueryAuthProvidersResponse) GetNextPageToken() stringfunc (*QueryAuthProvidersResponse) ProtoMessage
func (*QueryAuthProvidersResponse) ProtoMessage()func (*QueryAuthProvidersResponse) ProtoReflect
func (x *QueryAuthProvidersResponse) ProtoReflect() protoreflect.Messagefunc (*QueryAuthProvidersResponse) Reset
func (x *QueryAuthProvidersResponse) Reset()func (*QueryAuthProvidersResponse) String
func (x *QueryAuthProvidersResponse) String() stringQueryWorkloadsRequest
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() stringfunc (*QueryWorkloadsRequest) GetPageSize
func (x *QueryWorkloadsRequest) GetPageSize() int32func (*QueryWorkloadsRequest) GetPageToken
func (x *QueryWorkloadsRequest) GetPageToken() stringfunc (*QueryWorkloadsRequest) ProtoMessage
func (*QueryWorkloadsRequest) ProtoMessage()func (*QueryWorkloadsRequest) ProtoReflect
func (x *QueryWorkloadsRequest) ProtoReflect() protoreflect.Messagefunc (*QueryWorkloadsRequest) Reset
func (x *QueryWorkloadsRequest) Reset()func (*QueryWorkloadsRequest) String
func (x *QueryWorkloadsRequest) String() stringQueryWorkloadsResponse
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() stringfunc (*QueryWorkloadsResponse) GetWorkloadIds
func (x *QueryWorkloadsResponse) GetWorkloadIds() []stringfunc (*QueryWorkloadsResponse) ProtoMessage
func (*QueryWorkloadsResponse) ProtoMessage()func (*QueryWorkloadsResponse) ProtoReflect
func (x *QueryWorkloadsResponse) ProtoReflect() protoreflect.Messagefunc (*QueryWorkloadsResponse) Reset
func (x *QueryWorkloadsResponse) Reset()func (*QueryWorkloadsResponse) String
func (x *QueryWorkloadsResponse) String() stringRevokeAuthorizationRequest
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() stringfunc (*RevokeAuthorizationRequest) GetUserId
func (x *RevokeAuthorizationRequest) GetUserId() stringfunc (*RevokeAuthorizationRequest) ProtoMessage
func (*RevokeAuthorizationRequest) ProtoMessage()func (*RevokeAuthorizationRequest) ProtoReflect
func (x *RevokeAuthorizationRequest) ProtoReflect() protoreflect.Messagefunc (*RevokeAuthorizationRequest) Reset
func (x *RevokeAuthorizationRequest) Reset()func (*RevokeAuthorizationRequest) String
func (x *RevokeAuthorizationRequest) String() stringRevokeAuthorizationResponse
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 (x *RevokeAuthorizationResponse) ProtoReflect() protoreflect.Messagefunc (*RevokeAuthorizationResponse) Reset
func (x *RevokeAuthorizationResponse) Reset()func (*RevokeAuthorizationResponse) String
func (x *RevokeAuthorizationResponse) String() stringThreeLeggedOAuth
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() stringfunc (*ThreeLeggedOAuth) GetClientId
func (x *ThreeLeggedOAuth) GetClientId() stringfunc (*ThreeLeggedOAuth) GetClientSecret
func (x *ThreeLeggedOAuth) GetClientSecret() stringfunc (*ThreeLeggedOAuth) GetDefaultContinueUri
func (x *ThreeLeggedOAuth) GetDefaultContinueUri() stringfunc (*ThreeLeggedOAuth) GetEnablePkce
func (x *ThreeLeggedOAuth) GetEnablePkce() boolfunc (*ThreeLeggedOAuth) GetRedirectUrl
func (x *ThreeLeggedOAuth) GetRedirectUrl() stringfunc (*ThreeLeggedOAuth) GetTokenUrl
func (x *ThreeLeggedOAuth) GetTokenUrl() stringfunc (*ThreeLeggedOAuth) ProtoMessage
func (*ThreeLeggedOAuth) ProtoMessage()func (*ThreeLeggedOAuth) ProtoReflect
func (x *ThreeLeggedOAuth) ProtoReflect() protoreflect.Messagefunc (*ThreeLeggedOAuth) Reset
func (x *ThreeLeggedOAuth) Reset()func (*ThreeLeggedOAuth) String
func (x *ThreeLeggedOAuth) String() stringTwoLeggedOAuth
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() stringfunc (*TwoLeggedOAuth) GetClientSecret
func (x *TwoLeggedOAuth) GetClientSecret() stringfunc (*TwoLeggedOAuth) GetTokenUrl
func (x *TwoLeggedOAuth) GetTokenUrl() stringfunc (*TwoLeggedOAuth) ProtoMessage
func (*TwoLeggedOAuth) ProtoMessage()func (*TwoLeggedOAuth) ProtoReflect
func (x *TwoLeggedOAuth) ProtoReflect() protoreflect.Messagefunc (*TwoLeggedOAuth) Reset
func (x *TwoLeggedOAuth) Reset()func (*TwoLeggedOAuth) String
func (x *TwoLeggedOAuth) String() stringUndeleteAuthProviderRequest
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() stringfunc (*UndeleteAuthProviderRequest) GetRequestId
func (x *UndeleteAuthProviderRequest) GetRequestId() stringfunc (*UndeleteAuthProviderRequest) ProtoMessage
func (*UndeleteAuthProviderRequest) ProtoMessage()func (*UndeleteAuthProviderRequest) ProtoReflect
func (x *UndeleteAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*UndeleteAuthProviderRequest) Reset
func (x *UndeleteAuthProviderRequest) Reset()func (*UndeleteAuthProviderRequest) String
func (x *UndeleteAuthProviderRequest) String() stringUnimplementedAuthProviderServiceServer
type UnimplementedAuthProviderServiceServer struct {
}UnimplementedAuthProviderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthProviderServiceServer) CreateAuthProvider
func (UnimplementedAuthProviderServiceServer) CreateAuthProvider(context.Context, *CreateAuthProviderRequest) (*AuthProvider, error)func (UnimplementedAuthProviderServiceServer) DeleteAuthProvider
func (UnimplementedAuthProviderServiceServer) DeleteAuthProvider(context.Context, *DeleteAuthProviderRequest) (*emptypb.Empty, error)func (UnimplementedAuthProviderServiceServer) DeleteAuthorization
func (UnimplementedAuthProviderServiceServer) DeleteAuthorization(context.Context, *DeleteAuthorizationRequest) (*emptypb.Empty, error)func (UnimplementedAuthProviderServiceServer) DisableAuthProvider
func (UnimplementedAuthProviderServiceServer) DisableAuthProvider(context.Context, *DisableAuthProviderRequest) (*AuthProvider, error)func (UnimplementedAuthProviderServiceServer) EnableAuthProvider
func (UnimplementedAuthProviderServiceServer) EnableAuthProvider(context.Context, *EnableAuthProviderRequest) (*AuthProvider, error)func (UnimplementedAuthProviderServiceServer) GetAccessSummary
func (UnimplementedAuthProviderServiceServer) GetAccessSummary(context.Context, *GetAccessSummaryRequest) (*AccessSummary, error)func (UnimplementedAuthProviderServiceServer) GetAuthProvider
func (UnimplementedAuthProviderServiceServer) GetAuthProvider(context.Context, *GetAuthProviderRequest) (*AuthProvider, error)func (UnimplementedAuthProviderServiceServer) GetAuthorization
func (UnimplementedAuthProviderServiceServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*Authorization, error)func (UnimplementedAuthProviderServiceServer) ListAccessSummaries
func (UnimplementedAuthProviderServiceServer) ListAccessSummaries(context.Context, *ListAccessSummariesRequest) (*ListAccessSummariesResponse, error)func (UnimplementedAuthProviderServiceServer) ListAuthProviders
func (UnimplementedAuthProviderServiceServer) ListAuthProviders(context.Context, *ListAuthProvidersRequest) (*ListAuthProvidersResponse, error)func (UnimplementedAuthProviderServiceServer) ListAuthorizations
func (UnimplementedAuthProviderServiceServer) ListAuthorizations(context.Context, *ListAuthorizationsRequest) (*ListAuthorizationsResponse, error)func (UnimplementedAuthProviderServiceServer) QueryAuthProviders
func (UnimplementedAuthProviderServiceServer) QueryAuthProviders(context.Context, *QueryAuthProvidersRequest) (*QueryAuthProvidersResponse, error)func (UnimplementedAuthProviderServiceServer) QueryWorkloads
func (UnimplementedAuthProviderServiceServer) QueryWorkloads(context.Context, *QueryWorkloadsRequest) (*QueryWorkloadsResponse, error)func (UnimplementedAuthProviderServiceServer) RevokeAuthorization
func (UnimplementedAuthProviderServiceServer) RevokeAuthorization(context.Context, *RevokeAuthorizationRequest) (*RevokeAuthorizationResponse, error)func (UnimplementedAuthProviderServiceServer) UndeleteAuthProvider
func (UnimplementedAuthProviderServiceServer) UndeleteAuthProvider(context.Context, *UndeleteAuthProviderRequest) (*AuthProvider, error)func (UnimplementedAuthProviderServiceServer) UpdateAuthProvider
func (UnimplementedAuthProviderServiceServer) UpdateAuthProvider(context.Context, *UpdateAuthProviderRequest) (*AuthProvider, error)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() *AuthProviderfunc (*UpdateAuthProviderRequest) GetRequestId
func (x *UpdateAuthProviderRequest) GetRequestId() stringfunc (*UpdateAuthProviderRequest) GetUpdateMask
func (x *UpdateAuthProviderRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAuthProviderRequest) ProtoMessage
func (*UpdateAuthProviderRequest) ProtoMessage()func (*UpdateAuthProviderRequest) ProtoReflect
func (x *UpdateAuthProviderRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAuthProviderRequest) Reset
func (x *UpdateAuthProviderRequest) Reset()func (*UpdateAuthProviderRequest) String
func (x *UpdateAuthProviderRequest) String() string