identity

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AccountAccess_Role_name = map[int32]string{
	0: "RoleUnspecified",
	1: "RoleOwner",
	2: "RoleAdmin",
	3: "RoleDeveloper",
	4: "RoleFinanceAdmin",
	5: "RoleRead",
}
View Source
var AccountAccess_Role_value = map[string]int32{
	"RoleUnspecified":  0,
	"RoleOwner":        1,
	"RoleAdmin":        2,
	"RoleDeveloper":    3,
	"RoleFinanceAdmin": 4,
	"RoleRead":         5,
}
View Source
var NamespaceAccess_Permission_name = map[int32]string{
	0: "PermissionUnspecified",
	1: "PermissionAdmin",
	2: "PermissionWrite",
	3: "PermissionRead",
}
View Source
var NamespaceAccess_Permission_value = map[string]int32{
	"PermissionUnspecified": 0,
	"PermissionAdmin":       1,
	"PermissionWrite":       2,
	"PermissionRead":        3,
}
View Source
var OwnerType_name = map[int32]string{
	0: "Unspecified",
	1: "User",
	2: "ServiceAccount",
}
View Source
var OwnerType_value = map[string]int32{
	"Unspecified":    0,
	"User":           1,
	"ServiceAccount": 2,
}

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 `` /* 200-byte string literal not displayed */
}

func (*Access) Descriptor

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

func (*Access) Equal

func (this *Access) Equal(that interface{}) bool

func (*Access) GetAccountAccess

func (m *Access) GetAccountAccess() *AccountAccess

func (*Access) GetNamespaceAccesses

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

func (*Access) GoString

func (this *Access) GoString() string

func (*Access) Marshal

func (m *Access) Marshal() (dAtA []byte, err error)

func (*Access) MarshalTo

func (m *Access) MarshalTo(dAtA []byte) (int, error)

func (*Access) MarshalToSizedBuffer

func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) Reset

func (m *Access) Reset()

func (*Access) Size

func (m *Access) Size() (n int)

func (*Access) String

func (this *Access) String() string

func (*Access) Unmarshal

func (m *Access) Unmarshal(dAtA []byte) error

func (*Access) XXX_DiscardUnknown

func (m *Access) XXX_DiscardUnknown()

func (*Access) XXX_Marshal

func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Access) XXX_Merge

func (m *Access) XXX_Merge(src proto.Message)

func (*Access) XXX_Size

func (m *Access) XXX_Size() int

func (*Access) XXX_Unmarshal

func (m *Access) XXX_Unmarshal(b []byte) error

type AccountAccess

type AccountAccess struct {
	// The role on the account, should be one of [owner, admin, developer, financeadmin, read]
	// owner - gives full access to the account, including users, namespaces, and billing
	// admin - gives full access the account, including users and namespaces
	// developer - gives access to create namespaces on the account
	// financeadmin - gives read only access and write access for billing
	// read - gives read only access to the account
	// Deprecated: Use role field instead.
	RoleDeprecated string `protobuf:"bytes,1,opt,name=role_deprecated,json=roleDeprecated,proto3" json:"role_deprecated,omitempty"` // Deprecated: Do not use.
	// The role on the account.
	// temporal:enums:replaces=role_deprecated
	Role AccountAccess_Role `protobuf:"varint,2,opt,name=role,proto3,enum=temporal.api.cloud.identity.v1.AccountAccess_Role" json:"role,omitempty"`
}

func (*AccountAccess) Descriptor

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

func (*AccountAccess) Equal

func (this *AccountAccess) Equal(that interface{}) bool

func (*AccountAccess) GetRole

func (m *AccountAccess) GetRole() AccountAccess_Role

func (*AccountAccess) GetRoleDeprecated deprecated added in v0.34.0

func (m *AccountAccess) GetRoleDeprecated() string

Deprecated: Do not use.

func (*AccountAccess) GoString

func (this *AccountAccess) GoString() string

func (*AccountAccess) Marshal

func (m *AccountAccess) Marshal() (dAtA []byte, err error)

func (*AccountAccess) MarshalTo

func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error)

func (*AccountAccess) MarshalToSizedBuffer

func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountAccess) ProtoMessage

func (*AccountAccess) ProtoMessage()

func (*AccountAccess) Reset

func (m *AccountAccess) Reset()

func (*AccountAccess) Size

func (m *AccountAccess) Size() (n int)

func (*AccountAccess) String

func (this *AccountAccess) String() string

func (*AccountAccess) Unmarshal

func (m *AccountAccess) Unmarshal(dAtA []byte) error

func (*AccountAccess) XXX_DiscardUnknown

func (m *AccountAccess) XXX_DiscardUnknown()

func (*AccountAccess) XXX_Marshal

func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountAccess) XXX_Merge

func (m *AccountAccess) XXX_Merge(src proto.Message)

func (*AccountAccess) XXX_Size

func (m *AccountAccess) XXX_Size() int

func (*AccountAccess) XXX_Unmarshal

func (m *AccountAccess) XXX_Unmarshal(b []byte) error

type AccountAccess_Role added in v0.34.0

type AccountAccess_Role int32
const (
	ROLE_UNSPECIFIED   AccountAccess_Role = 0
	ROLE_OWNER         AccountAccess_Role = 1
	ROLE_ADMIN         AccountAccess_Role = 2
	ROLE_DEVELOPER     AccountAccess_Role = 3
	ROLE_FINANCE_ADMIN AccountAccess_Role = 4
	ROLE_READ          AccountAccess_Role = 5
)

func (AccountAccess_Role) EnumDescriptor added in v0.34.0

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

func (AccountAccess_Role) String added in v0.34.0

func (x AccountAccess_Role) String() string

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.
	// Deprecated: Use state field instead.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use.
	// The current state of the API key.
	// temporal:enums:replaces=state_deprecated
	State v1.ResourceState `protobuf:"varint,8,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" 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 *types.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 *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}

func (*ApiKey) Descriptor

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

func (*ApiKey) Equal

func (this *ApiKey) Equal(that interface{}) bool

func (*ApiKey) GetAsyncOperationId

func (m *ApiKey) GetAsyncOperationId() string

func (*ApiKey) GetCreatedTime

func (m *ApiKey) GetCreatedTime() *types.Timestamp

func (*ApiKey) GetId

func (m *ApiKey) GetId() string

func (*ApiKey) GetLastModifiedTime

func (m *ApiKey) GetLastModifiedTime() *types.Timestamp

func (*ApiKey) GetResourceVersion

func (m *ApiKey) GetResourceVersion() string

func (*ApiKey) GetSpec

func (m *ApiKey) GetSpec() *ApiKeySpec

func (*ApiKey) GetState

func (m *ApiKey) GetState() v1.ResourceState

func (*ApiKey) GetStateDeprecated deprecated added in v0.34.0

func (m *ApiKey) GetStateDeprecated() string

Deprecated: Do not use.

func (*ApiKey) GoString

func (this *ApiKey) GoString() string

func (*ApiKey) Marshal

func (m *ApiKey) Marshal() (dAtA []byte, err error)

func (*ApiKey) MarshalTo

func (m *ApiKey) MarshalTo(dAtA []byte) (int, error)

func (*ApiKey) MarshalToSizedBuffer

func (m *ApiKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApiKey) ProtoMessage

func (*ApiKey) ProtoMessage()

func (*ApiKey) Reset

func (m *ApiKey) Reset()

func (*ApiKey) Size

func (m *ApiKey) Size() (n int)

func (*ApiKey) String

func (this *ApiKey) String() string

func (*ApiKey) Unmarshal

func (m *ApiKey) Unmarshal(dAtA []byte) error

func (*ApiKey) XXX_DiscardUnknown

func (m *ApiKey) XXX_DiscardUnknown()

func (*ApiKey) XXX_Marshal

func (m *ApiKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiKey) XXX_Merge

func (m *ApiKey) XXX_Merge(src proto.Message)

func (*ApiKey) XXX_Size

func (m *ApiKey) XXX_Size() int

func (*ApiKey) XXX_Unmarshal

func (m *ApiKey) XXX_Unmarshal(b []byte) error

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.
	// Deprecated: Use owner_type field instead.
	OwnerTypeDeprecated string `protobuf:"bytes,2,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // Deprecated: Do not use.
	// The type of the owner to create the API key for.
	// temporal:enums:replaces=owner_type_deprecated
	OwnerType OwnerType `` /* 135-byte string literal not displayed */
	// 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 *types.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"`
}

func (*ApiKeySpec) Descriptor

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

func (*ApiKeySpec) Equal

func (this *ApiKeySpec) Equal(that interface{}) bool

func (*ApiKeySpec) GetDescription

func (m *ApiKeySpec) GetDescription() string

func (*ApiKeySpec) GetDisabled

func (m *ApiKeySpec) GetDisabled() bool

func (*ApiKeySpec) GetDisplayName

func (m *ApiKeySpec) GetDisplayName() string

func (*ApiKeySpec) GetExpiryTime

func (m *ApiKeySpec) GetExpiryTime() *types.Timestamp

func (*ApiKeySpec) GetOwnerId

func (m *ApiKeySpec) GetOwnerId() string

func (*ApiKeySpec) GetOwnerType

func (m *ApiKeySpec) GetOwnerType() OwnerType

func (*ApiKeySpec) GetOwnerTypeDeprecated deprecated added in v0.34.0

func (m *ApiKeySpec) GetOwnerTypeDeprecated() string

Deprecated: Do not use.

func (*ApiKeySpec) GoString

func (this *ApiKeySpec) GoString() string

func (*ApiKeySpec) Marshal

func (m *ApiKeySpec) Marshal() (dAtA []byte, err error)

func (*ApiKeySpec) MarshalTo

func (m *ApiKeySpec) MarshalTo(dAtA []byte) (int, error)

func (*ApiKeySpec) MarshalToSizedBuffer

func (m *ApiKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApiKeySpec) ProtoMessage

func (*ApiKeySpec) ProtoMessage()

func (*ApiKeySpec) Reset

func (m *ApiKeySpec) Reset()

func (*ApiKeySpec) Size

func (m *ApiKeySpec) Size() (n int)

func (*ApiKeySpec) String

func (this *ApiKeySpec) String() string

func (*ApiKeySpec) Unmarshal

func (m *ApiKeySpec) Unmarshal(dAtA []byte) error

func (*ApiKeySpec) XXX_DiscardUnknown

func (m *ApiKeySpec) XXX_DiscardUnknown()

func (*ApiKeySpec) XXX_Marshal

func (m *ApiKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiKeySpec) XXX_Merge

func (m *ApiKeySpec) XXX_Merge(src proto.Message)

func (*ApiKeySpec) XXX_Size

func (m *ApiKeySpec) XXX_Size() int

func (*ApiKeySpec) XXX_Unmarshal

func (m *ApiKeySpec) XXX_Unmarshal(b []byte) error

type GoogleGroupSpec added in v0.34.0

type GoogleGroupSpec struct {
	// The email address of the Google group.
	// The email address is immutable. Once set during creation, it cannot be changed.
	EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
}

func (*GoogleGroupSpec) Descriptor added in v0.34.0

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

func (*GoogleGroupSpec) Equal added in v0.34.0

func (this *GoogleGroupSpec) Equal(that interface{}) bool

func (*GoogleGroupSpec) GetEmailAddress added in v0.34.0

func (m *GoogleGroupSpec) GetEmailAddress() string

func (*GoogleGroupSpec) GoString added in v0.34.0

func (this *GoogleGroupSpec) GoString() string

func (*GoogleGroupSpec) Marshal added in v0.34.0

func (m *GoogleGroupSpec) Marshal() (dAtA []byte, err error)

func (*GoogleGroupSpec) MarshalTo added in v0.34.0

func (m *GoogleGroupSpec) MarshalTo(dAtA []byte) (int, error)

func (*GoogleGroupSpec) MarshalToSizedBuffer added in v0.34.0

func (m *GoogleGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GoogleGroupSpec) ProtoMessage added in v0.34.0

func (*GoogleGroupSpec) ProtoMessage()

func (*GoogleGroupSpec) Reset added in v0.34.0

func (m *GoogleGroupSpec) Reset()

func (*GoogleGroupSpec) Size added in v0.34.0

func (m *GoogleGroupSpec) Size() (n int)

func (*GoogleGroupSpec) String added in v0.34.0

func (this *GoogleGroupSpec) String() string

func (*GoogleGroupSpec) Unmarshal added in v0.34.0

func (m *GoogleGroupSpec) Unmarshal(dAtA []byte) error

func (*GoogleGroupSpec) XXX_DiscardUnknown added in v0.34.0

func (m *GoogleGroupSpec) XXX_DiscardUnknown()

func (*GoogleGroupSpec) XXX_Marshal added in v0.34.0

func (m *GoogleGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoogleGroupSpec) XXX_Merge added in v0.34.0

func (m *GoogleGroupSpec) XXX_Merge(src proto.Message)

func (*GoogleGroupSpec) XXX_Size added in v0.34.0

func (m *GoogleGroupSpec) XXX_Size() int

func (*GoogleGroupSpec) XXX_Unmarshal added in v0.34.0

func (m *GoogleGroupSpec) XXX_Unmarshal(b []byte) error

type Invitation

type Invitation struct {
	// The date and time when the user was created
	CreatedTime *types.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 *types.Timestamp `protobuf:"bytes,2,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time,omitempty"`
}

func (*Invitation) Descriptor

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

func (*Invitation) Equal

func (this *Invitation) Equal(that interface{}) bool

func (*Invitation) GetCreatedTime

func (m *Invitation) GetCreatedTime() *types.Timestamp

func (*Invitation) GetExpiredTime

func (m *Invitation) GetExpiredTime() *types.Timestamp

func (*Invitation) GoString

func (this *Invitation) GoString() string

func (*Invitation) Marshal

func (m *Invitation) Marshal() (dAtA []byte, err error)

func (*Invitation) MarshalTo

func (m *Invitation) MarshalTo(dAtA []byte) (int, error)

func (*Invitation) MarshalToSizedBuffer

func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Invitation) ProtoMessage

func (*Invitation) ProtoMessage()

func (*Invitation) Reset

func (m *Invitation) Reset()

func (*Invitation) Size

func (m *Invitation) Size() (n int)

func (*Invitation) String

func (this *Invitation) String() string

func (*Invitation) Unmarshal

func (m *Invitation) Unmarshal(dAtA []byte) error

func (*Invitation) XXX_DiscardUnknown

func (m *Invitation) XXX_DiscardUnknown()

func (*Invitation) XXX_Marshal

func (m *Invitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invitation) XXX_Merge

func (m *Invitation) XXX_Merge(src proto.Message)

func (*Invitation) XXX_Size

func (m *Invitation) XXX_Size() int

func (*Invitation) XXX_Unmarshal

func (m *Invitation) XXX_Unmarshal(b []byte) error

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
	// Deprecated: Use permission field instead.
	PermissionDeprecated string `protobuf:"bytes,1,opt,name=permission_deprecated,json=permissionDeprecated,proto3" json:"permission_deprecated,omitempty"` // Deprecated: Do not use.
	// The permission to the namespace.
	// temporal:enums:replaces=permission_deprecated
	Permission NamespaceAccess_Permission `` /* 137-byte string literal not displayed */
}

func (*NamespaceAccess) Descriptor

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

func (*NamespaceAccess) Equal

func (this *NamespaceAccess) Equal(that interface{}) bool

func (*NamespaceAccess) GetPermission

func (m *NamespaceAccess) GetPermission() NamespaceAccess_Permission

func (*NamespaceAccess) GetPermissionDeprecated deprecated added in v0.34.0

func (m *NamespaceAccess) GetPermissionDeprecated() string

Deprecated: Do not use.

func (*NamespaceAccess) GoString

func (this *NamespaceAccess) GoString() string

func (*NamespaceAccess) Marshal

func (m *NamespaceAccess) Marshal() (dAtA []byte, err error)

func (*NamespaceAccess) MarshalTo

func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceAccess) MarshalToSizedBuffer

func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceAccess) ProtoMessage

func (*NamespaceAccess) ProtoMessage()

func (*NamespaceAccess) Reset

func (m *NamespaceAccess) Reset()

func (*NamespaceAccess) Size

func (m *NamespaceAccess) Size() (n int)

func (*NamespaceAccess) String

func (this *NamespaceAccess) String() string

func (*NamespaceAccess) Unmarshal

func (m *NamespaceAccess) Unmarshal(dAtA []byte) error

func (*NamespaceAccess) XXX_DiscardUnknown

func (m *NamespaceAccess) XXX_DiscardUnknown()

func (*NamespaceAccess) XXX_Marshal

func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceAccess) XXX_Merge

func (m *NamespaceAccess) XXX_Merge(src proto.Message)

func (*NamespaceAccess) XXX_Size

func (m *NamespaceAccess) XXX_Size() int

func (*NamespaceAccess) XXX_Unmarshal

func (m *NamespaceAccess) XXX_Unmarshal(b []byte) error

type NamespaceAccess_Permission added in v0.34.0

type NamespaceAccess_Permission int32
const (
	PERMISSION_UNSPECIFIED NamespaceAccess_Permission = 0
	PERMISSION_ADMIN       NamespaceAccess_Permission = 1
	PERMISSION_WRITE       NamespaceAccess_Permission = 2
	PERMISSION_READ        NamespaceAccess_Permission = 3
)

func (NamespaceAccess_Permission) EnumDescriptor added in v0.34.0

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

func (NamespaceAccess_Permission) String added in v0.34.0

type OwnerType added in v0.34.0

type OwnerType int32
const (
	OWNER_TYPE_UNSPECIFIED     OwnerType = 0
	OWNER_TYPE_USER            OwnerType = 1
	OWNER_TYPE_SERVICE_ACCOUNT OwnerType = 2
)

func (OwnerType) EnumDescriptor added in v0.34.0

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

func (OwnerType) String added in v0.34.0

func (x OwnerType) String() string

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.
	// Deprecated: Use state field instead.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use.
	// The current state of the service account.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:enums:replaces=state_deprecated
	State v1.ResourceState `protobuf:"varint,8,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" 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 *types.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 *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}

func (*ServiceAccount) Descriptor

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

func (*ServiceAccount) Equal

func (this *ServiceAccount) Equal(that interface{}) bool

func (*ServiceAccount) GetAsyncOperationId

func (m *ServiceAccount) GetAsyncOperationId() string

func (*ServiceAccount) GetCreatedTime

func (m *ServiceAccount) GetCreatedTime() *types.Timestamp

func (*ServiceAccount) GetId

func (m *ServiceAccount) GetId() string

func (*ServiceAccount) GetLastModifiedTime

func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp

func (*ServiceAccount) GetResourceVersion

func (m *ServiceAccount) GetResourceVersion() string

func (*ServiceAccount) GetSpec

func (m *ServiceAccount) GetSpec() *ServiceAccountSpec

func (*ServiceAccount) GetState

func (m *ServiceAccount) GetState() v1.ResourceState

func (*ServiceAccount) GetStateDeprecated deprecated added in v0.34.0

func (m *ServiceAccount) GetStateDeprecated() string

Deprecated: Do not use.

func (*ServiceAccount) GoString

func (this *ServiceAccount) GoString() string

func (*ServiceAccount) Marshal

func (m *ServiceAccount) Marshal() (dAtA []byte, err error)

func (*ServiceAccount) MarshalTo

func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error)

func (*ServiceAccount) MarshalToSizedBuffer

func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) Size

func (m *ServiceAccount) Size() (n int)

func (*ServiceAccount) String

func (this *ServiceAccount) String() string

func (*ServiceAccount) Unmarshal

func (m *ServiceAccount) Unmarshal(dAtA []byte) error

func (*ServiceAccount) XXX_DiscardUnknown

func (m *ServiceAccount) XXX_DiscardUnknown()

func (*ServiceAccount) XXX_Marshal

func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccount) XXX_Merge

func (m *ServiceAccount) XXX_Merge(src proto.Message)

func (*ServiceAccount) XXX_Size

func (m *ServiceAccount) XXX_Size() int

func (*ServiceAccount) XXX_Unmarshal

func (m *ServiceAccount) XXX_Unmarshal(b []byte) error

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"`
}

func (*ServiceAccountSpec) Descriptor

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

func (*ServiceAccountSpec) Equal

func (this *ServiceAccountSpec) Equal(that interface{}) bool

func (*ServiceAccountSpec) GetAccess

func (m *ServiceAccountSpec) GetAccess() *Access

func (*ServiceAccountSpec) GetDescription

func (m *ServiceAccountSpec) GetDescription() string

func (*ServiceAccountSpec) GetName

func (m *ServiceAccountSpec) GetName() string

func (*ServiceAccountSpec) GoString

func (this *ServiceAccountSpec) GoString() string

func (*ServiceAccountSpec) Marshal

func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error)

func (*ServiceAccountSpec) MarshalTo

func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error)

func (*ServiceAccountSpec) MarshalToSizedBuffer

func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceAccountSpec) ProtoMessage

func (*ServiceAccountSpec) ProtoMessage()

func (*ServiceAccountSpec) Reset

func (m *ServiceAccountSpec) Reset()

func (*ServiceAccountSpec) Size

func (m *ServiceAccountSpec) Size() (n int)

func (*ServiceAccountSpec) String

func (this *ServiceAccountSpec) String() string

func (*ServiceAccountSpec) Unmarshal

func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error

func (*ServiceAccountSpec) XXX_DiscardUnknown

func (m *ServiceAccountSpec) XXX_DiscardUnknown()

func (*ServiceAccountSpec) XXX_Marshal

func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccountSpec) XXX_Merge

func (m *ServiceAccountSpec) XXX_Merge(src proto.Message)

func (*ServiceAccountSpec) XXX_Size

func (m *ServiceAccountSpec) XXX_Size() int

func (*ServiceAccountSpec) XXX_Unmarshal

func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error

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
	// Deprecated: Use state field instead.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use.
	// The current state of the user.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:enums:replaces=state_deprecated
	State v1.ResourceState `protobuf:"varint,9,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" 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 *types.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 *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}

func (*User) Descriptor

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

func (*User) Equal

func (this *User) Equal(that interface{}) bool

func (*User) GetAsyncOperationId

func (m *User) GetAsyncOperationId() string

func (*User) GetCreatedTime

func (m *User) GetCreatedTime() *types.Timestamp

func (*User) GetId

func (m *User) GetId() string

func (*User) GetInvitation

func (m *User) GetInvitation() *Invitation

func (*User) GetLastModifiedTime

func (m *User) GetLastModifiedTime() *types.Timestamp

func (*User) GetResourceVersion

func (m *User) GetResourceVersion() string

func (*User) GetSpec

func (m *User) GetSpec() *UserSpec

func (*User) GetState

func (m *User) GetState() v1.ResourceState

func (*User) GetStateDeprecated deprecated added in v0.34.0

func (m *User) GetStateDeprecated() string

Deprecated: Do not use.

func (*User) GoString

func (this *User) GoString() string

func (*User) Marshal

func (m *User) Marshal() (dAtA []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(dAtA []byte) (int, error)

func (*User) MarshalToSizedBuffer

func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (this *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(dAtA []byte) error

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

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.
	// Deprecated: Use state field instead.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use.
	// The current state of the group.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:enums:replaces=state_deprecated
	State v1.ResourceState `protobuf:"varint,8,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" 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 *types.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 *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
}

func (*UserGroup) Descriptor

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

func (*UserGroup) Equal

func (this *UserGroup) Equal(that interface{}) bool

func (*UserGroup) GetAsyncOperationId

func (m *UserGroup) GetAsyncOperationId() string

func (*UserGroup) GetCreatedTime

func (m *UserGroup) GetCreatedTime() *types.Timestamp

func (*UserGroup) GetId

func (m *UserGroup) GetId() string

func (*UserGroup) GetLastModifiedTime

func (m *UserGroup) GetLastModifiedTime() *types.Timestamp

func (*UserGroup) GetResourceVersion

func (m *UserGroup) GetResourceVersion() string

func (*UserGroup) GetSpec

func (m *UserGroup) GetSpec() *UserGroupSpec

func (*UserGroup) GetState

func (m *UserGroup) GetState() v1.ResourceState

func (*UserGroup) GetStateDeprecated deprecated added in v0.34.0

func (m *UserGroup) GetStateDeprecated() string

Deprecated: Do not use.

func (*UserGroup) GoString

func (this *UserGroup) GoString() string

func (*UserGroup) Marshal

func (m *UserGroup) Marshal() (dAtA []byte, err error)

func (*UserGroup) MarshalTo

func (m *UserGroup) MarshalTo(dAtA []byte) (int, error)

func (*UserGroup) MarshalToSizedBuffer

func (m *UserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserGroup) ProtoMessage

func (*UserGroup) ProtoMessage()

func (*UserGroup) Reset

func (m *UserGroup) Reset()

func (*UserGroup) Size

func (m *UserGroup) Size() (n int)

func (*UserGroup) String

func (this *UserGroup) String() string

func (*UserGroup) Unmarshal

func (m *UserGroup) Unmarshal(dAtA []byte) error

func (*UserGroup) XXX_DiscardUnknown

func (m *UserGroup) XXX_DiscardUnknown()

func (*UserGroup) XXX_Marshal

func (m *UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserGroup) XXX_Merge

func (m *UserGroup) XXX_Merge(src proto.Message)

func (*UserGroup) XXX_Size

func (m *UserGroup) XXX_Size() int

func (*UserGroup) XXX_Unmarshal

func (m *UserGroup) XXX_Unmarshal(b []byte) error

type UserGroupSpec

type UserGroupSpec struct {
	// The display name of the group.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The access assigned to the group.
	Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	// The specification of the google group that this group is associated with.
	// For now only google groups are supported, and this field is required.
	GoogleGroup *GoogleGroupSpec `protobuf:"bytes,3,opt,name=google_group,json=googleGroup,proto3" json:"google_group,omitempty"`
}

func (*UserGroupSpec) Descriptor

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

func (*UserGroupSpec) Equal

func (this *UserGroupSpec) Equal(that interface{}) bool

func (*UserGroupSpec) GetAccess

func (m *UserGroupSpec) GetAccess() *Access

func (*UserGroupSpec) GetDisplayName added in v0.34.0

func (m *UserGroupSpec) GetDisplayName() string

func (*UserGroupSpec) GetGoogleGroup added in v0.34.0

func (m *UserGroupSpec) GetGoogleGroup() *GoogleGroupSpec

func (*UserGroupSpec) GoString

func (this *UserGroupSpec) GoString() string

func (*UserGroupSpec) Marshal

func (m *UserGroupSpec) Marshal() (dAtA []byte, err error)

func (*UserGroupSpec) MarshalTo

func (m *UserGroupSpec) MarshalTo(dAtA []byte) (int, error)

func (*UserGroupSpec) MarshalToSizedBuffer

func (m *UserGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserGroupSpec) ProtoMessage

func (*UserGroupSpec) ProtoMessage()

func (*UserGroupSpec) Reset

func (m *UserGroupSpec) Reset()

func (*UserGroupSpec) Size

func (m *UserGroupSpec) Size() (n int)

func (*UserGroupSpec) String

func (this *UserGroupSpec) String() string

func (*UserGroupSpec) Unmarshal

func (m *UserGroupSpec) Unmarshal(dAtA []byte) error

func (*UserGroupSpec) XXX_DiscardUnknown

func (m *UserGroupSpec) XXX_DiscardUnknown()

func (*UserGroupSpec) XXX_Marshal

func (m *UserGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserGroupSpec) XXX_Merge

func (m *UserGroupSpec) XXX_Merge(src proto.Message)

func (*UserGroupSpec) XXX_Size

func (m *UserGroupSpec) XXX_Size() int

func (*UserGroupSpec) XXX_Unmarshal

func (m *UserGroupSpec) XXX_Unmarshal(b []byte) error

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"`
}

func (*UserSpec) Descriptor

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

func (*UserSpec) Equal

func (this *UserSpec) Equal(that interface{}) bool

func (*UserSpec) GetAccess

func (m *UserSpec) GetAccess() *Access

func (*UserSpec) GetEmail

func (m *UserSpec) GetEmail() string

func (*UserSpec) GoString

func (this *UserSpec) GoString() string

func (*UserSpec) Marshal

func (m *UserSpec) Marshal() (dAtA []byte, err error)

func (*UserSpec) MarshalTo

func (m *UserSpec) MarshalTo(dAtA []byte) (int, error)

func (*UserSpec) MarshalToSizedBuffer

func (m *UserSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) Reset

func (m *UserSpec) Reset()

func (*UserSpec) Size

func (m *UserSpec) Size() (n int)

func (*UserSpec) String

func (this *UserSpec) String() string

func (*UserSpec) Unmarshal

func (m *UserSpec) Unmarshal(dAtA []byte) error

func (*UserSpec) XXX_DiscardUnknown

func (m *UserSpec) XXX_DiscardUnknown()

func (*UserSpec) XXX_Marshal

func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserSpec) XXX_Merge

func (m *UserSpec) XXX_Merge(src proto.Message)

func (*UserSpec) XXX_Size

func (m *UserSpec) XXX_Size() int

func (*UserSpec) XXX_Unmarshal

func (m *UserSpec) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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