identityv1

package
v1.36.11-2024061417361... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_cloud_identity_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Access

type Access struct {

	// The account access
	AccountAccess *AccountAccess `protobuf:"bytes,1,opt,name=account_access,json=accountAccess,proto3" json:"account_access,omitempty"`
	// The map of namespace accesses
	// The key is the namespace name and the value is the access to the namespace
	NamespaceAccesses map[string]*NamespaceAccess `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Access) ClearAccountAccess

func (x *Access) ClearAccountAccess()

func (*Access) GetAccountAccess

func (x *Access) GetAccountAccess() *AccountAccess

func (*Access) GetNamespaceAccesses

func (x *Access) GetNamespaceAccesses() map[string]*NamespaceAccess

func (*Access) HasAccountAccess

func (x *Access) HasAccountAccess() bool

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

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

func (*Access) Reset

func (x *Access) Reset()

func (*Access) SetAccountAccess

func (x *Access) SetAccountAccess(v *AccountAccess)

func (*Access) SetNamespaceAccesses

func (x *Access) SetNamespaceAccesses(v map[string]*NamespaceAccess)

func (*Access) String

func (x *Access) String() string

type Access_builder

type Access_builder struct {

	// The account access
	AccountAccess *AccountAccess
	// The map of namespace accesses
	// The key is the namespace name and the value is the access to the namespace
	NamespaceAccesses map[string]*NamespaceAccess
	// contains filtered or unexported fields
}

func (Access_builder) Build

func (b0 Access_builder) Build() *Access

type AccountAccess

type AccountAccess struct {

	// The role on the account, should be one of [admin, developer, read]
	// admin - gives full access the account, including users and namespaces
	// developer - gives access to create namespaces on the account
	// read - gives read only access to the account
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountAccess) GetRole

func (x *AccountAccess) GetRole() string

func (*AccountAccess) ProtoMessage

func (*AccountAccess) ProtoMessage()

func (*AccountAccess) ProtoReflect

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

func (*AccountAccess) Reset

func (x *AccountAccess) Reset()

func (*AccountAccess) SetRole

func (x *AccountAccess) SetRole(v string)

func (*AccountAccess) String

func (x *AccountAccess) String() string

type AccountAccess_builder

type AccountAccess_builder struct {

	// The role on the account, should be one of [admin, developer, read]
	// admin - gives full access the account, including users and namespaces
	// developer - gives access to create namespaces on the account
	// read - gives read only access to the account
	Role string
	// contains filtered or unexported fields
}

func (AccountAccess_builder) Build

type ApiKey

type ApiKey struct {

	// The id of the API Key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current version of the API key specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The API key specification.
	Spec *ApiKeySpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the API key.
	// Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the API key, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the API key was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the API key was last modified.
	// Will not be set if the API key has never been modified.
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKey) ClearCreatedTime

func (x *ApiKey) ClearCreatedTime()

func (*ApiKey) ClearLastModifiedTime

func (x *ApiKey) ClearLastModifiedTime()

func (*ApiKey) ClearSpec

func (x *ApiKey) ClearSpec()

func (*ApiKey) GetAsyncOperationId

func (x *ApiKey) GetAsyncOperationId() string

func (*ApiKey) GetCreatedTime

func (x *ApiKey) GetCreatedTime() *timestamppb.Timestamp

func (*ApiKey) GetId

func (x *ApiKey) GetId() string

func (*ApiKey) GetLastModifiedTime

func (x *ApiKey) GetLastModifiedTime() *timestamppb.Timestamp

func (*ApiKey) GetResourceVersion

func (x *ApiKey) GetResourceVersion() string

func (*ApiKey) GetSpec

func (x *ApiKey) GetSpec() *ApiKeySpec

func (*ApiKey) GetState

func (x *ApiKey) GetState() string

func (*ApiKey) HasCreatedTime

func (x *ApiKey) HasCreatedTime() bool

func (*ApiKey) HasLastModifiedTime

func (x *ApiKey) HasLastModifiedTime() bool

func (*ApiKey) HasSpec

func (x *ApiKey) HasSpec() bool

func (*ApiKey) ProtoMessage

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect

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

func (*ApiKey) Reset

func (x *ApiKey) Reset()

func (*ApiKey) SetAsyncOperationId

func (x *ApiKey) SetAsyncOperationId(v string)

func (*ApiKey) SetCreatedTime

func (x *ApiKey) SetCreatedTime(v *timestamppb.Timestamp)

func (*ApiKey) SetId

func (x *ApiKey) SetId(v string)

func (*ApiKey) SetLastModifiedTime

func (x *ApiKey) SetLastModifiedTime(v *timestamppb.Timestamp)

func (*ApiKey) SetResourceVersion

func (x *ApiKey) SetResourceVersion(v string)

func (*ApiKey) SetSpec

func (x *ApiKey) SetSpec(v *ApiKeySpec)

func (*ApiKey) SetState

func (x *ApiKey) SetState(v string)

func (*ApiKey) String

func (x *ApiKey) String() string

type ApiKeySpec

type ApiKeySpec struct {

	// The id of the owner to create the API key for.
	// The owner id is immutable. Once set during creation, it cannot be changed.
	// The owner id is the id of the user when the owner type is 'user'.
	// The owner id is the id of the service account when the owner type is 'service-account'.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The type of the owner to create the API key for.
	// The owner type is immutable. Once set during creation, it cannot be changed.
	// Possible values: user, service-account.
	OwnerType string `protobuf:"bytes,2,opt,name=owner_type,json=ownerType,proto3" json:"owner_type,omitempty"`
	// The display name of the API key.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The description of the API key.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The expiry time of the API key.
	ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
	// True if the API key is disabled.
	Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeySpec) ClearExpiryTime

func (x *ApiKeySpec) ClearExpiryTime()

func (*ApiKeySpec) GetDescription

func (x *ApiKeySpec) GetDescription() string

func (*ApiKeySpec) GetDisabled

func (x *ApiKeySpec) GetDisabled() bool

func (*ApiKeySpec) GetDisplayName

func (x *ApiKeySpec) GetDisplayName() string

func (*ApiKeySpec) GetExpiryTime

func (x *ApiKeySpec) GetExpiryTime() *timestamppb.Timestamp

func (*ApiKeySpec) GetOwnerId

func (x *ApiKeySpec) GetOwnerId() string

func (*ApiKeySpec) GetOwnerType

func (x *ApiKeySpec) GetOwnerType() string

func (*ApiKeySpec) HasExpiryTime

func (x *ApiKeySpec) HasExpiryTime() bool

func (*ApiKeySpec) ProtoMessage

func (*ApiKeySpec) ProtoMessage()

func (*ApiKeySpec) ProtoReflect

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

func (*ApiKeySpec) Reset

func (x *ApiKeySpec) Reset()

func (*ApiKeySpec) SetDescription

func (x *ApiKeySpec) SetDescription(v string)

func (*ApiKeySpec) SetDisabled

func (x *ApiKeySpec) SetDisabled(v bool)

func (*ApiKeySpec) SetDisplayName

func (x *ApiKeySpec) SetDisplayName(v string)

func (*ApiKeySpec) SetExpiryTime

func (x *ApiKeySpec) SetExpiryTime(v *timestamppb.Timestamp)

func (*ApiKeySpec) SetOwnerId

func (x *ApiKeySpec) SetOwnerId(v string)

func (*ApiKeySpec) SetOwnerType

func (x *ApiKeySpec) SetOwnerType(v string)

func (*ApiKeySpec) String

func (x *ApiKeySpec) String() string

type ApiKeySpec_builder

type ApiKeySpec_builder struct {

	// The id of the owner to create the API key for.
	// The owner id is immutable. Once set during creation, it cannot be changed.
	// The owner id is the id of the user when the owner type is 'user'.
	// The owner id is the id of the service account when the owner type is 'service-account'.
	OwnerId string
	// The type of the owner to create the API key for.
	// The owner type is immutable. Once set during creation, it cannot be changed.
	// Possible values: user, service-account.
	OwnerType string
	// The display name of the API key.
	DisplayName string
	// The description of the API key.
	Description string
	// The expiry time of the API key.
	ExpiryTime *timestamppb.Timestamp
	// True if the API key is disabled.
	Disabled bool
	// contains filtered or unexported fields
}

func (ApiKeySpec_builder) Build

func (b0 ApiKeySpec_builder) Build() *ApiKeySpec

type ApiKey_builder

type ApiKey_builder struct {

	// The id of the API Key.
	Id string
	// The current version of the API key specification.
	// The next update operation will have to include this version.
	ResourceVersion string
	// The API key specification.
	Spec *ApiKeySpec
	// The current state of the API key.
	// Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State string
	// The id of the async operation that is creating/updating/deleting the API key, if any.
	AsyncOperationId string
	// The date and time when the API key was created.
	CreatedTime *timestamppb.Timestamp
	// The date and time when the API key was last modified.
	// Will not be set if the API key has never been modified.
	LastModifiedTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (ApiKey_builder) Build

func (b0 ApiKey_builder) Build() *ApiKey

type Invitation

type Invitation struct {

	// The date and time when the user was created
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the invitation expires or has expired
	ExpiredTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Invitation) ClearCreatedTime

func (x *Invitation) ClearCreatedTime()

func (*Invitation) ClearExpiredTime

func (x *Invitation) ClearExpiredTime()

func (*Invitation) GetCreatedTime

func (x *Invitation) GetCreatedTime() *timestamppb.Timestamp

func (*Invitation) GetExpiredTime

func (x *Invitation) GetExpiredTime() *timestamppb.Timestamp

func (*Invitation) HasCreatedTime

func (x *Invitation) HasCreatedTime() bool

func (*Invitation) HasExpiredTime

func (x *Invitation) HasExpiredTime() bool

func (*Invitation) ProtoMessage

func (*Invitation) ProtoMessage()

func (*Invitation) ProtoReflect

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

func (*Invitation) Reset

func (x *Invitation) Reset()

func (*Invitation) SetCreatedTime

func (x *Invitation) SetCreatedTime(v *timestamppb.Timestamp)

func (*Invitation) SetExpiredTime

func (x *Invitation) SetExpiredTime(v *timestamppb.Timestamp)

func (*Invitation) String

func (x *Invitation) String() string

type Invitation_builder

type Invitation_builder struct {

	// The date and time when the user was created
	CreatedTime *timestamppb.Timestamp
	// The date and time when the invitation expires or has expired
	ExpiredTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (Invitation_builder) Build

func (b0 Invitation_builder) Build() *Invitation

type NamespaceAccess

type NamespaceAccess struct {

	// The permission to the namespace, should be one of [admin, write, read]
	// admin - gives full access to the namespace, including assigning namespace access to other users
	// write - gives write access to the namespace configuration and workflows within the namespace
	// read - gives read only access to the namespace configuration and workflows within the namespace
	Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceAccess) GetPermission

func (x *NamespaceAccess) GetPermission() string

func (*NamespaceAccess) ProtoMessage

func (*NamespaceAccess) ProtoMessage()

func (*NamespaceAccess) ProtoReflect

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

func (*NamespaceAccess) Reset

func (x *NamespaceAccess) Reset()

func (*NamespaceAccess) SetPermission

func (x *NamespaceAccess) SetPermission(v string)

func (*NamespaceAccess) String

func (x *NamespaceAccess) String() string

type NamespaceAccess_builder

type NamespaceAccess_builder struct {

	// The permission to the namespace, should be one of [admin, write, read]
	// admin - gives full access to the namespace, including assigning namespace access to other users
	// write - gives write access to the namespace configuration and workflows within the namespace
	// read - gives read only access to the namespace configuration and workflows within the namespace
	Permission string
	// contains filtered or unexported fields
}

func (NamespaceAccess_builder) Build

type ServiceAccount

type ServiceAccount struct {

	// The id of the service account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current version of the service account specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The service account specification.
	Spec *ServiceAccountSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the service account.
	// Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the service account, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the service account was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the service account was last modified
	// Will not be set if the service account has never been modified.
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccount) ClearCreatedTime

func (x *ServiceAccount) ClearCreatedTime()

func (*ServiceAccount) ClearLastModifiedTime

func (x *ServiceAccount) ClearLastModifiedTime()

func (*ServiceAccount) ClearSpec

func (x *ServiceAccount) ClearSpec()

func (*ServiceAccount) GetAsyncOperationId

func (x *ServiceAccount) GetAsyncOperationId() string

func (*ServiceAccount) GetCreatedTime

func (x *ServiceAccount) GetCreatedTime() *timestamppb.Timestamp

func (*ServiceAccount) GetId

func (x *ServiceAccount) GetId() string

func (*ServiceAccount) GetLastModifiedTime

func (x *ServiceAccount) GetLastModifiedTime() *timestamppb.Timestamp

func (*ServiceAccount) GetResourceVersion

func (x *ServiceAccount) GetResourceVersion() string

func (*ServiceAccount) GetSpec

func (x *ServiceAccount) GetSpec() *ServiceAccountSpec

func (*ServiceAccount) GetState

func (x *ServiceAccount) GetState() string

func (*ServiceAccount) HasCreatedTime

func (x *ServiceAccount) HasCreatedTime() bool

func (*ServiceAccount) HasLastModifiedTime

func (x *ServiceAccount) HasLastModifiedTime() bool

func (*ServiceAccount) HasSpec

func (x *ServiceAccount) HasSpec() bool

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

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

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) SetAsyncOperationId

func (x *ServiceAccount) SetAsyncOperationId(v string)

func (*ServiceAccount) SetCreatedTime

func (x *ServiceAccount) SetCreatedTime(v *timestamppb.Timestamp)

func (*ServiceAccount) SetId

func (x *ServiceAccount) SetId(v string)

func (*ServiceAccount) SetLastModifiedTime

func (x *ServiceAccount) SetLastModifiedTime(v *timestamppb.Timestamp)

func (*ServiceAccount) SetResourceVersion

func (x *ServiceAccount) SetResourceVersion(v string)

func (*ServiceAccount) SetSpec

func (x *ServiceAccount) SetSpec(v *ServiceAccountSpec)

func (*ServiceAccount) SetState

func (x *ServiceAccount) SetState(v string)

func (*ServiceAccount) String

func (x *ServiceAccount) String() string

type ServiceAccountSpec

type ServiceAccountSpec struct {

	// The name associated with the service account.
	// The name is mutable, but must be unique across all your active service accounts.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The access assigned to the service account.
	// The access is mutable.
	Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	// The description associated with the service account - optional.
	// The description is mutable.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccountSpec) ClearAccess

func (x *ServiceAccountSpec) ClearAccess()

func (*ServiceAccountSpec) GetAccess

func (x *ServiceAccountSpec) GetAccess() *Access

func (*ServiceAccountSpec) GetDescription

func (x *ServiceAccountSpec) GetDescription() string

func (*ServiceAccountSpec) GetName

func (x *ServiceAccountSpec) GetName() string

func (*ServiceAccountSpec) HasAccess

func (x *ServiceAccountSpec) HasAccess() bool

func (*ServiceAccountSpec) ProtoMessage

func (*ServiceAccountSpec) ProtoMessage()

func (*ServiceAccountSpec) ProtoReflect

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

func (*ServiceAccountSpec) Reset

func (x *ServiceAccountSpec) Reset()

func (*ServiceAccountSpec) SetAccess

func (x *ServiceAccountSpec) SetAccess(v *Access)

func (*ServiceAccountSpec) SetDescription

func (x *ServiceAccountSpec) SetDescription(v string)

func (*ServiceAccountSpec) SetName

func (x *ServiceAccountSpec) SetName(v string)

func (*ServiceAccountSpec) String

func (x *ServiceAccountSpec) String() string

type ServiceAccountSpec_builder

type ServiceAccountSpec_builder struct {

	// The name associated with the service account.
	// The name is mutable, but must be unique across all your active service accounts.
	Name string
	// The access assigned to the service account.
	// The access is mutable.
	Access *Access
	// The description associated with the service account - optional.
	// The description is mutable.
	Description string
	// contains filtered or unexported fields
}

func (ServiceAccountSpec_builder) Build

type ServiceAccount_builder

type ServiceAccount_builder struct {

	// The id of the service account.
	Id string
	// The current version of the service account specification.
	// The next update operation will have to include this version.
	ResourceVersion string
	// The service account specification.
	Spec *ServiceAccountSpec
	// The current state of the service account.
	// Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State string
	// The id of the async operation that is creating/updating/deleting the service account, if any.
	AsyncOperationId string
	// The date and time when the service account was created.
	CreatedTime *timestamppb.Timestamp
	// The date and time when the service account was last modified
	// Will not be set if the service account has never been modified.
	LastModifiedTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (ServiceAccount_builder) Build

type User

type User struct {

	// The id of the user
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current version of the user specification
	// The next update operation will have to include this version
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The user specification
	Spec *UserSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the user
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the user, if any
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The details of the open invitation sent to the user, if any
	Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// The date and time when the user was created
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the user was last modified
	// Will not be set if the user has never been modified
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

func (*User) ClearCreatedTime

func (x *User) ClearCreatedTime()

func (*User) ClearInvitation

func (x *User) ClearInvitation()

func (*User) ClearLastModifiedTime

func (x *User) ClearLastModifiedTime()

func (*User) ClearSpec

func (x *User) ClearSpec()

func (*User) GetAsyncOperationId

func (x *User) GetAsyncOperationId() string

func (*User) GetCreatedTime

func (x *User) GetCreatedTime() *timestamppb.Timestamp

func (*User) GetId

func (x *User) GetId() string

func (*User) GetInvitation

func (x *User) GetInvitation() *Invitation

func (*User) GetLastModifiedTime

func (x *User) GetLastModifiedTime() *timestamppb.Timestamp

func (*User) GetResourceVersion

func (x *User) GetResourceVersion() string

func (*User) GetSpec

func (x *User) GetSpec() *UserSpec

func (*User) GetState

func (x *User) GetState() string

func (*User) HasCreatedTime

func (x *User) HasCreatedTime() bool

func (*User) HasInvitation

func (x *User) HasInvitation() bool

func (*User) HasLastModifiedTime

func (x *User) HasLastModifiedTime() bool

func (*User) HasSpec

func (x *User) HasSpec() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SetAsyncOperationId

func (x *User) SetAsyncOperationId(v string)

func (*User) SetCreatedTime

func (x *User) SetCreatedTime(v *timestamppb.Timestamp)

func (*User) SetId

func (x *User) SetId(v string)

func (*User) SetInvitation

func (x *User) SetInvitation(v *Invitation)

func (*User) SetLastModifiedTime

func (x *User) SetLastModifiedTime(v *timestamppb.Timestamp)

func (*User) SetResourceVersion

func (x *User) SetResourceVersion(v string)

func (*User) SetSpec

func (x *User) SetSpec(v *UserSpec)

func (*User) SetState

func (x *User) SetState(v string)

func (*User) String

func (x *User) String() string

type UserGroup

type UserGroup struct {

	// The id of the group
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current version of the group specification
	// The next update operation will have to include this version
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The group specification
	Spec *UserGroupSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the group
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the group, if any
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the group was created
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the group was last modified
	// Will not be set if the group has never been modified
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGroup) ClearCreatedTime

func (x *UserGroup) ClearCreatedTime()

func (*UserGroup) ClearLastModifiedTime

func (x *UserGroup) ClearLastModifiedTime()

func (*UserGroup) ClearSpec

func (x *UserGroup) ClearSpec()

func (*UserGroup) GetAsyncOperationId

func (x *UserGroup) GetAsyncOperationId() string

func (*UserGroup) GetCreatedTime

func (x *UserGroup) GetCreatedTime() *timestamppb.Timestamp

func (*UserGroup) GetId

func (x *UserGroup) GetId() string

func (*UserGroup) GetLastModifiedTime

func (x *UserGroup) GetLastModifiedTime() *timestamppb.Timestamp

func (*UserGroup) GetResourceVersion

func (x *UserGroup) GetResourceVersion() string

func (*UserGroup) GetSpec

func (x *UserGroup) GetSpec() *UserGroupSpec

func (*UserGroup) GetState

func (x *UserGroup) GetState() string

func (*UserGroup) HasCreatedTime

func (x *UserGroup) HasCreatedTime() bool

func (*UserGroup) HasLastModifiedTime

func (x *UserGroup) HasLastModifiedTime() bool

func (*UserGroup) HasSpec

func (x *UserGroup) HasSpec() bool

func (*UserGroup) ProtoMessage

func (*UserGroup) ProtoMessage()

func (*UserGroup) ProtoReflect

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

func (*UserGroup) Reset

func (x *UserGroup) Reset()

func (*UserGroup) SetAsyncOperationId

func (x *UserGroup) SetAsyncOperationId(v string)

func (*UserGroup) SetCreatedTime

func (x *UserGroup) SetCreatedTime(v *timestamppb.Timestamp)

func (*UserGroup) SetId

func (x *UserGroup) SetId(v string)

func (*UserGroup) SetLastModifiedTime

func (x *UserGroup) SetLastModifiedTime(v *timestamppb.Timestamp)

func (*UserGroup) SetResourceVersion

func (x *UserGroup) SetResourceVersion(v string)

func (*UserGroup) SetSpec

func (x *UserGroup) SetSpec(v *UserGroupSpec)

func (*UserGroup) SetState

func (x *UserGroup) SetState(v string)

func (*UserGroup) String

func (x *UserGroup) String() string

type UserGroupSpec

type UserGroupSpec struct {

	// The name of the group as defined in the customer's IdP (e.g. Google group name in Google Workspace)
	// The name is immutable. Once set, it cannot be changed
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The access assigned to the group
	Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGroupSpec) ClearAccess

func (x *UserGroupSpec) ClearAccess()

func (*UserGroupSpec) GetAccess

func (x *UserGroupSpec) GetAccess() *Access

func (*UserGroupSpec) GetName

func (x *UserGroupSpec) GetName() string

func (*UserGroupSpec) HasAccess

func (x *UserGroupSpec) HasAccess() bool

func (*UserGroupSpec) ProtoMessage

func (*UserGroupSpec) ProtoMessage()

func (*UserGroupSpec) ProtoReflect

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

func (*UserGroupSpec) Reset

func (x *UserGroupSpec) Reset()

func (*UserGroupSpec) SetAccess

func (x *UserGroupSpec) SetAccess(v *Access)

func (*UserGroupSpec) SetName

func (x *UserGroupSpec) SetName(v string)

func (*UserGroupSpec) String

func (x *UserGroupSpec) String() string

type UserGroupSpec_builder

type UserGroupSpec_builder struct {

	// The name of the group as defined in the customer's IdP (e.g. Google group name in Google Workspace)
	// The name is immutable. Once set, it cannot be changed
	Name string
	// The access assigned to the group
	Access *Access
	// contains filtered or unexported fields
}

func (UserGroupSpec_builder) Build

type UserGroup_builder

type UserGroup_builder struct {

	// The id of the group
	Id string
	// The current version of the group specification
	// The next update operation will have to include this version
	ResourceVersion string
	// The group specification
	Spec *UserGroupSpec
	// The current state of the group
	State string
	// The id of the async operation that is creating/updating/deleting the group, if any
	AsyncOperationId string
	// The date and time when the group was created
	CreatedTime *timestamppb.Timestamp
	// The date and time when the group was last modified
	// Will not be set if the group has never been modified
	LastModifiedTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (UserGroup_builder) Build

func (b0 UserGroup_builder) Build() *UserGroup

type UserSpec

type UserSpec struct {

	// The email address associated to the user
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// The access to assigned to the user
	Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSpec) ClearAccess

func (x *UserSpec) ClearAccess()

func (*UserSpec) GetAccess

func (x *UserSpec) GetAccess() *Access

func (*UserSpec) GetEmail

func (x *UserSpec) GetEmail() string

func (*UserSpec) HasAccess

func (x *UserSpec) HasAccess() bool

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) ProtoReflect

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

func (*UserSpec) Reset

func (x *UserSpec) Reset()

func (*UserSpec) SetAccess

func (x *UserSpec) SetAccess(v *Access)

func (*UserSpec) SetEmail

func (x *UserSpec) SetEmail(v string)

func (*UserSpec) String

func (x *UserSpec) String() string

type UserSpec_builder

type UserSpec_builder struct {

	// The email address associated to the user
	Email string
	// The access to assigned to the user
	Access *Access
	// contains filtered or unexported fields
}

func (UserSpec_builder) Build

func (b0 UserSpec_builder) Build() *UserSpec

type User_builder

type User_builder struct {

	// The id of the user
	Id string
	// The current version of the user specification
	// The next update operation will have to include this version
	ResourceVersion string
	// The user specification
	Spec *UserSpec
	// The current state of the user
	State string
	// The id of the async operation that is creating/updating/deleting the user, if any
	AsyncOperationId string
	// The details of the open invitation sent to the user, if any
	Invitation *Invitation
	// The date and time when the user was created
	CreatedTime *timestamppb.Timestamp
	// The date and time when the user was last modified
	// Will not be set if the user has never been modified
	LastModifiedTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (User_builder) Build

func (b0 User_builder) Build() *User

Source Files

  • message.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL