identity

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	OwnerType_name = map[int32]string{
		0: "OWNER_TYPE_UNSPECIFIED",
		1: "OWNER_TYPE_USER",
		2: "OWNER_TYPE_SERVICE_ACCOUNT",
	}
	OwnerType_value = map[string]int32{
		"OWNER_TYPE_UNSPECIFIED":     0,
		"OWNER_TYPE_USER":            1,
		"OWNER_TYPE_SERVICE_ACCOUNT": 2,
	}
)

Enum value maps for OwnerType.

View Source
var (
	AccountAccess_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "ROLE_OWNER",
		2: "ROLE_ADMIN",
		3: "ROLE_DEVELOPER",
		4: "ROLE_FINANCE_ADMIN",
		5: "ROLE_READ",
	}
	AccountAccess_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED":   0,
		"ROLE_OWNER":         1,
		"ROLE_ADMIN":         2,
		"ROLE_DEVELOPER":     3,
		"ROLE_FINANCE_ADMIN": 4,
		"ROLE_READ":          5,
	}
)

Enum value maps for AccountAccess_Role.

View Source
var (
	NamespaceAccess_Permission_name = map[int32]string{
		0: "PERMISSION_UNSPECIFIED",
		1: "PERMISSION_ADMIN",
		2: "PERMISSION_WRITE",
		3: "PERMISSION_READ",
	}
	NamespaceAccess_Permission_value = map[string]int32{
		"PERMISSION_UNSPECIFIED": 0,
		"PERMISSION_ADMIN":       1,
		"PERMISSION_WRITE":       2,
		"PERMISSION_READ":        3,
	}
)

Enum value maps for NamespaceAccess_Permission.

View Source
var File_temporal_api_cloud_identity_v1_message_proto protoreflect.FileDescriptor
View Source
var (
	OwnerType_shorthandValue = 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 */
	// contains filtered or unexported fields
}

func (*Access) Descriptor deprecated

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

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) Equal

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

Equal returns whether two Access values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*Access) GetAccountAccess

func (x *Access) GetAccountAccess() *AccountAccess

func (*Access) GetNamespaceAccesses

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

func (*Access) Marshal

func (val *Access) Marshal() ([]byte, error)

Marshal an object of type Access to the protobuf v3 wire format

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

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

func (*Access) Reset

func (x *Access) Reset()

func (*Access) Size

func (val *Access) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Access) String

func (x *Access) String() string

func (*Access) Unmarshal

func (val *Access) Unmarshal(buf []byte) error

Unmarshal an object of type Access from the protobuf v3 wire format

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: Not supported after 2024-10-01-00 api version. Use role instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	RoleDeprecated string `protobuf:"bytes,1,opt,name=role_deprecated,json=roleDeprecated,proto3" json:"role_deprecated,omitempty"`
	// The role on the account.
	// temporal:versioning:min_version=2024-10-01-00
	// 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"`
	// contains filtered or unexported fields
}

func (*AccountAccess) Descriptor deprecated

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

Deprecated: Use AccountAccess.ProtoReflect.Descriptor instead.

func (*AccountAccess) Equal

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

Equal returns whether two AccountAccess values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*AccountAccess) GetRole

func (x *AccountAccess) GetRole() AccountAccess_Role

func (*AccountAccess) GetRoleDeprecated deprecated added in v1.40.0

func (x *AccountAccess) GetRoleDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*AccountAccess) Marshal

func (val *AccountAccess) Marshal() ([]byte, error)

Marshal an object of type AccountAccess to the protobuf v3 wire format

func (*AccountAccess) ProtoMessage

func (*AccountAccess) ProtoMessage()

func (*AccountAccess) ProtoReflect

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

func (*AccountAccess) Reset

func (x *AccountAccess) Reset()

func (*AccountAccess) Size

func (val *AccountAccess) Size() int

Size returns the size of the object, in bytes, once serialized

func (*AccountAccess) String

func (x *AccountAccess) String() string

func (*AccountAccess) Unmarshal

func (val *AccountAccess) Unmarshal(buf []byte) error

Unmarshal an object of type AccountAccess from the protobuf v3 wire format

type AccountAccess_Role added in v1.40.0

type AccountAccess_Role int32
const (
	AccountAccess_ROLE_UNSPECIFIED   AccountAccess_Role = 0
	AccountAccess_ROLE_OWNER         AccountAccess_Role = 1
	AccountAccess_ROLE_ADMIN         AccountAccess_Role = 2
	AccountAccess_ROLE_DEVELOPER     AccountAccess_Role = 3
	AccountAccess_ROLE_FINANCE_ADMIN AccountAccess_Role = 4
	AccountAccess_ROLE_READ          AccountAccess_Role = 5 // Gives read only access to the account.
)

func (AccountAccess_Role) Descriptor added in v1.40.0

func (AccountAccess_Role) Enum added in v1.40.0

func (AccountAccess_Role) EnumDescriptor deprecated added in v1.40.0

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

Deprecated: Use AccountAccess_Role.Descriptor instead.

func (AccountAccess_Role) Number added in v1.40.0

func (AccountAccess_Role) String added in v1.40.0

func (x AccountAccess_Role) String() string

func (AccountAccess_Role) Type added in v1.40.0

type ApiKey added in v1.35.0

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: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the API key.
	// temporal:versioning:min_version=2024-10-01-00
	// 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 *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) Descriptor deprecated added in v1.35.0

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

Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.

func (*ApiKey) Equal added in v1.35.0

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

Equal returns whether two ApiKey values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ApiKey) GetAsyncOperationId added in v1.35.0

func (x *ApiKey) GetAsyncOperationId() string

func (*ApiKey) GetCreatedTime added in v1.35.0

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

func (*ApiKey) GetId added in v1.35.0

func (x *ApiKey) GetId() string

func (*ApiKey) GetLastModifiedTime added in v1.35.0

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

func (*ApiKey) GetResourceVersion added in v1.35.0

func (x *ApiKey) GetResourceVersion() string

func (*ApiKey) GetSpec added in v1.35.0

func (x *ApiKey) GetSpec() *ApiKeySpec

func (*ApiKey) GetState added in v1.35.0

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

func (*ApiKey) GetStateDeprecated deprecated added in v1.40.0

func (x *ApiKey) GetStateDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*ApiKey) Marshal added in v1.35.0

func (val *ApiKey) Marshal() ([]byte, error)

Marshal an object of type ApiKey to the protobuf v3 wire format

func (*ApiKey) ProtoMessage added in v1.35.0

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect added in v1.35.0

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

func (*ApiKey) Reset added in v1.35.0

func (x *ApiKey) Reset()

func (*ApiKey) Size added in v1.35.0

func (val *ApiKey) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ApiKey) String added in v1.35.0

func (x *ApiKey) String() string

func (*ApiKey) Unmarshal added in v1.35.0

func (val *ApiKey) Unmarshal(buf []byte) error

Unmarshal an object of type ApiKey from the protobuf v3 wire format

type ApiKeySpec added in v1.35.0

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: Not supported after 2024-10-01-00 api version. Use owner_type instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	OwnerTypeDeprecated string `protobuf:"bytes,2,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"`
	// The type of the owner to create the API key for.
	// temporal:versioning:min_version=2024-10-01-00
	// 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 *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) Descriptor deprecated added in v1.35.0

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

Deprecated: Use ApiKeySpec.ProtoReflect.Descriptor instead.

func (*ApiKeySpec) Equal added in v1.35.0

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

Equal returns whether two ApiKeySpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ApiKeySpec) GetDescription added in v1.35.0

func (x *ApiKeySpec) GetDescription() string

func (*ApiKeySpec) GetDisabled added in v1.35.0

func (x *ApiKeySpec) GetDisabled() bool

func (*ApiKeySpec) GetDisplayName added in v1.35.0

func (x *ApiKeySpec) GetDisplayName() string

func (*ApiKeySpec) GetExpiryTime added in v1.35.0

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

func (*ApiKeySpec) GetOwnerId added in v1.35.0

func (x *ApiKeySpec) GetOwnerId() string

func (*ApiKeySpec) GetOwnerType added in v1.35.0

func (x *ApiKeySpec) GetOwnerType() OwnerType

func (*ApiKeySpec) GetOwnerTypeDeprecated deprecated added in v1.40.0

func (x *ApiKeySpec) GetOwnerTypeDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*ApiKeySpec) Marshal added in v1.35.0

func (val *ApiKeySpec) Marshal() ([]byte, error)

Marshal an object of type ApiKeySpec to the protobuf v3 wire format

func (*ApiKeySpec) ProtoMessage added in v1.35.0

func (*ApiKeySpec) ProtoMessage()

func (*ApiKeySpec) ProtoReflect added in v1.35.0

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

func (*ApiKeySpec) Reset added in v1.35.0

func (x *ApiKeySpec) Reset()

func (*ApiKeySpec) Size added in v1.35.0

func (val *ApiKeySpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ApiKeySpec) String added in v1.35.0

func (x *ApiKeySpec) String() string

func (*ApiKeySpec) Unmarshal added in v1.35.0

func (val *ApiKeySpec) Unmarshal(buf []byte) error

Unmarshal an object of type ApiKeySpec from the protobuf v3 wire format

type GoogleGroupSpec added in v1.35.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"`
	// contains filtered or unexported fields
}

func (*GoogleGroupSpec) Descriptor deprecated added in v1.35.0

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

Deprecated: Use GoogleGroupSpec.ProtoReflect.Descriptor instead.

func (*GoogleGroupSpec) Equal added in v1.35.0

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

Equal returns whether two GoogleGroupSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*GoogleGroupSpec) GetEmailAddress added in v1.35.0

func (x *GoogleGroupSpec) GetEmailAddress() string

func (*GoogleGroupSpec) Marshal added in v1.35.0

func (val *GoogleGroupSpec) Marshal() ([]byte, error)

Marshal an object of type GoogleGroupSpec to the protobuf v3 wire format

func (*GoogleGroupSpec) ProtoMessage added in v1.35.0

func (*GoogleGroupSpec) ProtoMessage()

func (*GoogleGroupSpec) ProtoReflect added in v1.35.0

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

func (*GoogleGroupSpec) Reset added in v1.35.0

func (x *GoogleGroupSpec) Reset()

func (*GoogleGroupSpec) Size added in v1.35.0

func (val *GoogleGroupSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*GoogleGroupSpec) String added in v1.35.0

func (x *GoogleGroupSpec) String() string

func (*GoogleGroupSpec) Unmarshal added in v1.35.0

func (val *GoogleGroupSpec) Unmarshal(buf []byte) error

Unmarshal an object of type GoogleGroupSpec from the protobuf v3 wire format

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) Descriptor deprecated

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

Deprecated: Use Invitation.ProtoReflect.Descriptor instead.

func (*Invitation) Equal

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

Equal returns whether two Invitation values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*Invitation) GetCreatedTime

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

func (*Invitation) GetExpiredTime

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

func (*Invitation) Marshal

func (val *Invitation) Marshal() ([]byte, error)

Marshal an object of type Invitation to the protobuf v3 wire format

func (*Invitation) ProtoMessage

func (*Invitation) ProtoMessage()

func (*Invitation) ProtoReflect

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

func (*Invitation) Reset

func (x *Invitation) Reset()

func (*Invitation) Size

func (val *Invitation) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Invitation) String

func (x *Invitation) String() string

func (*Invitation) Unmarshal

func (val *Invitation) Unmarshal(buf []byte) error

Unmarshal an object of type Invitation from the protobuf v3 wire format

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: Not supported after 2024-10-01-00 api version. Use permission instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	PermissionDeprecated string `protobuf:"bytes,1,opt,name=permission_deprecated,json=permissionDeprecated,proto3" json:"permission_deprecated,omitempty"`
	// The permission to the namespace.
	// temporal:versioning:min_version=2024-10-01-00
	// temporal:enums:replaces=permission_deprecated
	Permission NamespaceAccess_Permission `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NamespaceAccess) Descriptor deprecated

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

Deprecated: Use NamespaceAccess.ProtoReflect.Descriptor instead.

func (*NamespaceAccess) Equal

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

Equal returns whether two NamespaceAccess values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*NamespaceAccess) GetPermission

func (x *NamespaceAccess) GetPermission() NamespaceAccess_Permission

func (*NamespaceAccess) GetPermissionDeprecated deprecated added in v1.40.0

func (x *NamespaceAccess) GetPermissionDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*NamespaceAccess) Marshal

func (val *NamespaceAccess) Marshal() ([]byte, error)

Marshal an object of type NamespaceAccess to the protobuf v3 wire format

func (*NamespaceAccess) ProtoMessage

func (*NamespaceAccess) ProtoMessage()

func (*NamespaceAccess) ProtoReflect

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

func (*NamespaceAccess) Reset

func (x *NamespaceAccess) Reset()

func (*NamespaceAccess) Size

func (val *NamespaceAccess) Size() int

Size returns the size of the object, in bytes, once serialized

func (*NamespaceAccess) String

func (x *NamespaceAccess) String() string

func (*NamespaceAccess) Unmarshal

func (val *NamespaceAccess) Unmarshal(buf []byte) error

Unmarshal an object of type NamespaceAccess from the protobuf v3 wire format

type NamespaceAccess_Permission added in v1.40.0

type NamespaceAccess_Permission int32
const (
	NamespaceAccess_PERMISSION_UNSPECIFIED NamespaceAccess_Permission = 0
	NamespaceAccess_PERMISSION_ADMIN       NamespaceAccess_Permission = 1
	NamespaceAccess_PERMISSION_WRITE       NamespaceAccess_Permission = 2
	NamespaceAccess_PERMISSION_READ        NamespaceAccess_Permission = 3 // Gives read only access to the namespace configuration and workflows within the namespace.
)

func (NamespaceAccess_Permission) Descriptor added in v1.40.0

func (NamespaceAccess_Permission) Enum added in v1.40.0

func (NamespaceAccess_Permission) EnumDescriptor deprecated added in v1.40.0

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

Deprecated: Use NamespaceAccess_Permission.Descriptor instead.

func (NamespaceAccess_Permission) Number added in v1.40.0

func (NamespaceAccess_Permission) String added in v1.40.0

func (NamespaceAccess_Permission) Type added in v1.40.0

type OwnerType added in v1.40.0

type OwnerType int32
const (
	OWNER_TYPE_UNSPECIFIED     OwnerType = 0
	OWNER_TYPE_USER            OwnerType = 1 // The owner is a user.
	OWNER_TYPE_SERVICE_ACCOUNT OwnerType = 2 // The owner is a service account.
)

func OwnerTypeFromString added in v1.40.0

func OwnerTypeFromString(s string) (OwnerType, error)

OwnerTypeFromString parses a OwnerType value from either the protojson canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to OwnerType

func (OwnerType) Descriptor added in v1.40.0

func (OwnerType) Descriptor() protoreflect.EnumDescriptor

func (OwnerType) Enum added in v1.40.0

func (x OwnerType) Enum() *OwnerType

func (OwnerType) EnumDescriptor deprecated added in v1.40.0

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

Deprecated: Use OwnerType.Descriptor instead.

func (OwnerType) Number added in v1.40.0

func (x OwnerType) Number() protoreflect.EnumNumber

func (OwnerType) String added in v1.40.0

func (x OwnerType) String() string

func (OwnerType) Type added in v1.40.0

type ServiceAccount added in v1.35.0

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: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the service account.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:versioning:min_version=2024-10-01-00
	// 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 *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) Descriptor deprecated added in v1.35.0

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) Equal added in v1.35.0

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

Equal returns whether two ServiceAccount values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ServiceAccount) GetAsyncOperationId added in v1.35.0

func (x *ServiceAccount) GetAsyncOperationId() string

func (*ServiceAccount) GetCreatedTime added in v1.35.0

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

func (*ServiceAccount) GetId added in v1.35.0

func (x *ServiceAccount) GetId() string

func (*ServiceAccount) GetLastModifiedTime added in v1.35.0

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

func (*ServiceAccount) GetResourceVersion added in v1.35.0

func (x *ServiceAccount) GetResourceVersion() string

func (*ServiceAccount) GetSpec added in v1.35.0

func (x *ServiceAccount) GetSpec() *ServiceAccountSpec

func (*ServiceAccount) GetState added in v1.35.0

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

func (*ServiceAccount) GetStateDeprecated deprecated added in v1.40.0

func (x *ServiceAccount) GetStateDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*ServiceAccount) Marshal added in v1.35.0

func (val *ServiceAccount) Marshal() ([]byte, error)

Marshal an object of type ServiceAccount to the protobuf v3 wire format

func (*ServiceAccount) ProtoMessage added in v1.35.0

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect added in v1.35.0

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

func (*ServiceAccount) Reset added in v1.35.0

func (x *ServiceAccount) Reset()

func (*ServiceAccount) Size added in v1.35.0

func (val *ServiceAccount) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ServiceAccount) String added in v1.35.0

func (x *ServiceAccount) String() string

func (*ServiceAccount) Unmarshal added in v1.35.0

func (val *ServiceAccount) Unmarshal(buf []byte) error

Unmarshal an object of type ServiceAccount from the protobuf v3 wire format

type ServiceAccountSpec added in v1.35.0

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) Descriptor deprecated added in v1.35.0

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

Deprecated: Use ServiceAccountSpec.ProtoReflect.Descriptor instead.

func (*ServiceAccountSpec) Equal added in v1.35.0

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

Equal returns whether two ServiceAccountSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ServiceAccountSpec) GetAccess added in v1.35.0

func (x *ServiceAccountSpec) GetAccess() *Access

func (*ServiceAccountSpec) GetDescription added in v1.35.0

func (x *ServiceAccountSpec) GetDescription() string

func (*ServiceAccountSpec) GetName added in v1.35.0

func (x *ServiceAccountSpec) GetName() string

func (*ServiceAccountSpec) Marshal added in v1.35.0

func (val *ServiceAccountSpec) Marshal() ([]byte, error)

Marshal an object of type ServiceAccountSpec to the protobuf v3 wire format

func (*ServiceAccountSpec) ProtoMessage added in v1.35.0

func (*ServiceAccountSpec) ProtoMessage()

func (*ServiceAccountSpec) ProtoReflect added in v1.35.0

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

func (*ServiceAccountSpec) Reset added in v1.35.0

func (x *ServiceAccountSpec) Reset()

func (*ServiceAccountSpec) Size added in v1.35.0

func (val *ServiceAccountSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ServiceAccountSpec) String added in v1.35.0

func (x *ServiceAccountSpec) String() string

func (*ServiceAccountSpec) Unmarshal added in v1.35.0

func (val *ServiceAccountSpec) Unmarshal(buf []byte) error

Unmarshal an object of type ServiceAccountSpec from the protobuf v3 wire format

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: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the user.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:versioning:min_version=2024-10-01-00
	// 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 *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) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) Equal

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

Equal returns whether two User values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

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() v1.ResourceState

func (*User) GetStateDeprecated deprecated added in v1.40.0

func (x *User) GetStateDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*User) Marshal

func (val *User) Marshal() ([]byte, error)

Marshal an object of type User to the protobuf v3 wire format

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) Size

func (val *User) Size() int

Size returns the size of the object, in bytes, once serialized

func (*User) String

func (x *User) String() string

func (*User) Unmarshal

func (val *User) Unmarshal(buf []byte) error

Unmarshal an object of type User from the protobuf v3 wire format

type UserGroup added in v1.35.0

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: Not supported after 2024-10-01-00 api version. Use state instead.
	// temporal:versioning:max_version=2024-10-01-00
	//
	// Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.
	StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"`
	// The current state of the group.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	// temporal:versioning:min_version=2024-10-01-00
	// 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 *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) Descriptor deprecated added in v1.35.0

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

Deprecated: Use UserGroup.ProtoReflect.Descriptor instead.

func (*UserGroup) Equal added in v1.35.0

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

Equal returns whether two UserGroup values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*UserGroup) GetAsyncOperationId added in v1.35.0

func (x *UserGroup) GetAsyncOperationId() string

func (*UserGroup) GetCreatedTime added in v1.35.0

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

func (*UserGroup) GetId added in v1.35.0

func (x *UserGroup) GetId() string

func (*UserGroup) GetLastModifiedTime added in v1.35.0

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

func (*UserGroup) GetResourceVersion added in v1.35.0

func (x *UserGroup) GetResourceVersion() string

func (*UserGroup) GetSpec added in v1.35.0

func (x *UserGroup) GetSpec() *UserGroupSpec

func (*UserGroup) GetState added in v1.35.0

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

func (*UserGroup) GetStateDeprecated deprecated added in v1.40.0

func (x *UserGroup) GetStateDeprecated() string

Deprecated: Marked as deprecated in temporal/api/cloud/identity/v1/message.proto.

func (*UserGroup) Marshal added in v1.35.0

func (val *UserGroup) Marshal() ([]byte, error)

Marshal an object of type UserGroup to the protobuf v3 wire format

func (*UserGroup) ProtoMessage added in v1.35.0

func (*UserGroup) ProtoMessage()

func (*UserGroup) ProtoReflect added in v1.35.0

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

func (*UserGroup) Reset added in v1.35.0

func (x *UserGroup) Reset()

func (*UserGroup) Size added in v1.35.0

func (val *UserGroup) Size() int

Size returns the size of the object, in bytes, once serialized

func (*UserGroup) String added in v1.35.0

func (x *UserGroup) String() string

func (*UserGroup) Unmarshal added in v1.35.0

func (val *UserGroup) Unmarshal(buf []byte) error

Unmarshal an object of type UserGroup from the protobuf v3 wire format

type UserGroupSpec added in v1.35.0

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"`
	// contains filtered or unexported fields
}

func (*UserGroupSpec) Descriptor deprecated added in v1.35.0

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

Deprecated: Use UserGroupSpec.ProtoReflect.Descriptor instead.

func (*UserGroupSpec) Equal added in v1.35.0

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

Equal returns whether two UserGroupSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*UserGroupSpec) GetAccess added in v1.35.0

func (x *UserGroupSpec) GetAccess() *Access

func (*UserGroupSpec) GetDisplayName added in v1.35.0

func (x *UserGroupSpec) GetDisplayName() string

func (*UserGroupSpec) GetGoogleGroup added in v1.35.0

func (x *UserGroupSpec) GetGoogleGroup() *GoogleGroupSpec

func (*UserGroupSpec) Marshal added in v1.35.0

func (val *UserGroupSpec) Marshal() ([]byte, error)

Marshal an object of type UserGroupSpec to the protobuf v3 wire format

func (*UserGroupSpec) ProtoMessage added in v1.35.0

func (*UserGroupSpec) ProtoMessage()

func (*UserGroupSpec) ProtoReflect added in v1.35.0

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

func (*UserGroupSpec) Reset added in v1.35.0

func (x *UserGroupSpec) Reset()

func (*UserGroupSpec) Size added in v1.35.0

func (val *UserGroupSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*UserGroupSpec) String added in v1.35.0

func (x *UserGroupSpec) String() string

func (*UserGroupSpec) Unmarshal added in v1.35.0

func (val *UserGroupSpec) Unmarshal(buf []byte) error

Unmarshal an object of type UserGroupSpec from the protobuf v3 wire format

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) Descriptor deprecated

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

Deprecated: Use UserSpec.ProtoReflect.Descriptor instead.

func (*UserSpec) Equal

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

Equal returns whether two UserSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*UserSpec) GetAccess

func (x *UserSpec) GetAccess() *Access

func (*UserSpec) GetEmail

func (x *UserSpec) GetEmail() string

func (*UserSpec) Marshal

func (val *UserSpec) Marshal() ([]byte, error)

Marshal an object of type UserSpec to the protobuf v3 wire format

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) ProtoReflect

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

func (*UserSpec) Reset

func (x *UserSpec) Reset()

func (*UserSpec) Size

func (val *UserSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*UserSpec) String

func (x *UserSpec) String() string

func (*UserSpec) Unmarshal

func (val *UserSpec) Unmarshal(buf []byte) error

Unmarshal an object of type UserSpec from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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