account

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 12 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 AuditLogSink_Health_name = map[int32]string{
	0: "HealthUnspecified",
	1: "HealthOk",
	2: "HealthErrorInternal",
	3: "HealthErrorUserConfiguration",
}
View Source
var AuditLogSink_Health_value = map[string]int32{
	"HealthUnspecified":            0,
	"HealthOk":                     1,
	"HealthErrorInternal":          2,
	"HealthErrorUserConfiguration": 3,
}

Functions

This section is empty.

Types

type Account

type Account struct {
	// The id of the account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The account specification.
	Spec *AccountSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current version of the account specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the account.
	State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The id of the async operation that is updating the account, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// Information related to metrics.
	Metrics *Metrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"`
}

func (*Account) Descriptor

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

func (*Account) Equal

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

func (*Account) GetAsyncOperationId

func (m *Account) GetAsyncOperationId() string

func (*Account) GetId added in v0.34.0

func (m *Account) GetId() string

func (*Account) GetMetrics

func (m *Account) GetMetrics() *Metrics

func (*Account) GetResourceVersion

func (m *Account) GetResourceVersion() string

func (*Account) GetSpec

func (m *Account) GetSpec() *AccountSpec

func (*Account) GetState

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

func (*Account) GoString

func (this *Account) GoString() string

func (*Account) Marshal

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

func (*Account) MarshalTo

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

func (*Account) MarshalToSizedBuffer

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Size

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

func (*Account) String

func (this *Account) String() string

func (*Account) Unmarshal

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

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountSpec

type AccountSpec struct {
	// The metrics specification for this account.
	// If not specified, metrics will not be enabled.
	Metrics *MetricsSpec `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"`
}

func (*AccountSpec) Descriptor

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

func (*AccountSpec) Equal

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

func (*AccountSpec) GetMetrics

func (m *AccountSpec) GetMetrics() *MetricsSpec

func (*AccountSpec) GoString

func (this *AccountSpec) GoString() string

func (*AccountSpec) Marshal

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

func (*AccountSpec) MarshalTo

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

func (*AccountSpec) MarshalToSizedBuffer

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

func (*AccountSpec) ProtoMessage

func (*AccountSpec) ProtoMessage()

func (*AccountSpec) Reset

func (m *AccountSpec) Reset()

func (*AccountSpec) Size

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

func (*AccountSpec) String

func (this *AccountSpec) String() string

func (*AccountSpec) Unmarshal

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

func (*AccountSpec) XXX_DiscardUnknown

func (m *AccountSpec) XXX_DiscardUnknown()

func (*AccountSpec) XXX_Marshal

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

func (*AccountSpec) XXX_Merge

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

func (*AccountSpec) XXX_Size

func (m *AccountSpec) XXX_Size() int

func (*AccountSpec) XXX_Unmarshal

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

type AuditLogSink added in v0.51.0

type AuditLogSink struct {
	// Name of the sink e.g. "audit_log_01"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the audit log sink resource.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the audit log sink.
	State v1.ResourceState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The specification details of the audit log sink.
	Spec *AuditLogSinkSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// The health status of the audit log sink.
	Health AuditLogSink_Health `protobuf:"varint,5,opt,name=health,proto3,enum=temporal.api.cloud.account.v1.AuditLogSink_Health" json:"health,omitempty"`
	// An error message describing any issues with the audit log sink, if applicable.
	ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// The last succeeded timestamp for the internal workflow responsible for adding data to the sink.
	LastSucceededTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"`
}

AuditLogSink is only used by Audit Log

func (*AuditLogSink) Descriptor added in v0.51.0

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

func (*AuditLogSink) Equal added in v0.51.0

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

func (*AuditLogSink) GetErrorMessage added in v0.51.0

func (m *AuditLogSink) GetErrorMessage() string

func (*AuditLogSink) GetHealth added in v0.51.0

func (m *AuditLogSink) GetHealth() AuditLogSink_Health

func (*AuditLogSink) GetLastSucceededTime added in v0.51.0

func (m *AuditLogSink) GetLastSucceededTime() *types.Timestamp

func (*AuditLogSink) GetName added in v0.51.0

func (m *AuditLogSink) GetName() string

func (*AuditLogSink) GetResourceVersion added in v0.51.0

func (m *AuditLogSink) GetResourceVersion() string

func (*AuditLogSink) GetSpec added in v0.51.0

func (m *AuditLogSink) GetSpec() *AuditLogSinkSpec

func (*AuditLogSink) GetState added in v0.51.0

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

func (*AuditLogSink) GoString added in v0.51.0

func (this *AuditLogSink) GoString() string

func (*AuditLogSink) Marshal added in v0.51.0

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

func (*AuditLogSink) MarshalTo added in v0.51.0

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

func (*AuditLogSink) MarshalToSizedBuffer added in v0.51.0

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

func (*AuditLogSink) ProtoMessage added in v0.51.0

func (*AuditLogSink) ProtoMessage()

func (*AuditLogSink) Reset added in v0.51.0

func (m *AuditLogSink) Reset()

func (*AuditLogSink) Size added in v0.51.0

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

func (*AuditLogSink) String added in v0.51.0

func (this *AuditLogSink) String() string

func (*AuditLogSink) Unmarshal added in v0.51.0

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

func (*AuditLogSink) XXX_DiscardUnknown added in v0.51.0

func (m *AuditLogSink) XXX_DiscardUnknown()

func (*AuditLogSink) XXX_Marshal added in v0.51.0

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

func (*AuditLogSink) XXX_Merge added in v0.51.0

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

func (*AuditLogSink) XXX_Size added in v0.51.0

func (m *AuditLogSink) XXX_Size() int

func (*AuditLogSink) XXX_Unmarshal added in v0.51.0

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

type AuditLogSinkSpec added in v0.51.0

type AuditLogSinkSpec struct {
	// Name of the sink e.g. "audit_log_01"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to SinkType:
	//	*AuditLogSinkSpec_KinesisSink
	//	*AuditLogSinkSpec_PubSubSink
	SinkType isAuditLogSinkSpec_SinkType `protobuf_oneof:"sink_type"`
	// Enabled indicates whether the sink is enabled or not.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

AuditLogSinkSpec is only used by Audit Log

func (*AuditLogSinkSpec) Descriptor added in v0.51.0

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

func (*AuditLogSinkSpec) Equal added in v0.51.0

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

func (*AuditLogSinkSpec) GetEnabled added in v0.51.0

func (m *AuditLogSinkSpec) GetEnabled() bool

func (*AuditLogSinkSpec) GetKinesisSink added in v0.51.0

func (m *AuditLogSinkSpec) GetKinesisSink() *v11.KinesisSpec

func (*AuditLogSinkSpec) GetName added in v0.51.0

func (m *AuditLogSinkSpec) GetName() string

func (*AuditLogSinkSpec) GetPubSubSink added in v0.51.0

func (m *AuditLogSinkSpec) GetPubSubSink() *v11.PubSubSpec

func (*AuditLogSinkSpec) GetSinkType added in v0.51.0

func (m *AuditLogSinkSpec) GetSinkType() isAuditLogSinkSpec_SinkType

func (*AuditLogSinkSpec) GoString added in v0.51.0

func (this *AuditLogSinkSpec) GoString() string

func (*AuditLogSinkSpec) Marshal added in v0.51.0

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

func (*AuditLogSinkSpec) MarshalTo added in v0.51.0

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

func (*AuditLogSinkSpec) MarshalToSizedBuffer added in v0.51.0

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

func (*AuditLogSinkSpec) ProtoMessage added in v0.51.0

func (*AuditLogSinkSpec) ProtoMessage()

func (*AuditLogSinkSpec) Reset added in v0.51.0

func (m *AuditLogSinkSpec) Reset()

func (*AuditLogSinkSpec) Size added in v0.51.0

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

func (*AuditLogSinkSpec) String added in v0.51.0

func (this *AuditLogSinkSpec) String() string

func (*AuditLogSinkSpec) Unmarshal added in v0.51.0

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

func (*AuditLogSinkSpec) XXX_DiscardUnknown added in v0.51.0

func (m *AuditLogSinkSpec) XXX_DiscardUnknown()

func (*AuditLogSinkSpec) XXX_Marshal added in v0.51.0

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

func (*AuditLogSinkSpec) XXX_Merge added in v0.51.0

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

func (*AuditLogSinkSpec) XXX_OneofWrappers added in v0.51.0

func (*AuditLogSinkSpec) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AuditLogSinkSpec) XXX_Size added in v0.51.0

func (m *AuditLogSinkSpec) XXX_Size() int

func (*AuditLogSinkSpec) XXX_Unmarshal added in v0.51.0

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

type AuditLogSinkSpec_KinesisSink added in v0.51.0

type AuditLogSinkSpec_KinesisSink struct {
	KinesisSink *v11.KinesisSpec `protobuf:"bytes,2,opt,name=kinesis_sink,json=kinesisSink,proto3,oneof" json:"kinesis_sink,omitempty"`
}

func (*AuditLogSinkSpec_KinesisSink) Equal added in v0.51.0

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

func (*AuditLogSinkSpec_KinesisSink) GoString added in v0.51.0

func (this *AuditLogSinkSpec_KinesisSink) GoString() string

func (*AuditLogSinkSpec_KinesisSink) MarshalTo added in v0.51.0

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

func (*AuditLogSinkSpec_KinesisSink) MarshalToSizedBuffer added in v0.51.0

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

func (*AuditLogSinkSpec_KinesisSink) Size added in v0.51.0

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

func (*AuditLogSinkSpec_KinesisSink) String added in v0.51.0

func (this *AuditLogSinkSpec_KinesisSink) String() string

type AuditLogSinkSpec_PubSubSink added in v0.51.0

type AuditLogSinkSpec_PubSubSink struct {
	PubSubSink *v11.PubSubSpec `protobuf:"bytes,3,opt,name=pub_sub_sink,json=pubSubSink,proto3,oneof" json:"pub_sub_sink,omitempty"`
}

func (*AuditLogSinkSpec_PubSubSink) Equal added in v0.51.0

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

func (*AuditLogSinkSpec_PubSubSink) GoString added in v0.51.0

func (this *AuditLogSinkSpec_PubSubSink) GoString() string

func (*AuditLogSinkSpec_PubSubSink) MarshalTo added in v0.51.0

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

func (*AuditLogSinkSpec_PubSubSink) MarshalToSizedBuffer added in v0.51.0

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

func (*AuditLogSinkSpec_PubSubSink) Size added in v0.51.0

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

func (*AuditLogSinkSpec_PubSubSink) String added in v0.51.0

func (this *AuditLogSinkSpec_PubSubSink) String() string

type AuditLogSink_Health added in v0.51.0

type AuditLogSink_Health int32
const (
	HEALTH_UNSPECIFIED              AuditLogSink_Health = 0
	HEALTH_OK                       AuditLogSink_Health = 1
	HEALTH_ERROR_INTERNAL           AuditLogSink_Health = 2
	HEALTH_ERROR_USER_CONFIGURATION AuditLogSink_Health = 3
)

func (AuditLogSink_Health) EnumDescriptor added in v0.51.0

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

func (AuditLogSink_Health) String added in v0.51.0

func (x AuditLogSink_Health) String() string

type Metrics

type Metrics struct {
	// The prometheus metrics endpoint uri.
	// This is only populated when the metrics is enabled in the metrics specification.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
}

func (*Metrics) Descriptor

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

func (*Metrics) Equal

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

func (*Metrics) GetUri

func (m *Metrics) GetUri() string

func (*Metrics) GoString

func (this *Metrics) GoString() string

func (*Metrics) Marshal

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

func (*Metrics) MarshalTo

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

func (*Metrics) MarshalToSizedBuffer

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

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) Reset

func (m *Metrics) Reset()

func (*Metrics) Size

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

func (*Metrics) String

func (this *Metrics) String() string

func (*Metrics) Unmarshal

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

func (*Metrics) XXX_DiscardUnknown

func (m *Metrics) XXX_DiscardUnknown()

func (*Metrics) XXX_Marshal

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

func (*Metrics) XXX_Merge

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

func (*Metrics) XXX_Size

func (m *Metrics) XXX_Size() int

func (*Metrics) XXX_Unmarshal

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

type MetricsSpec

type MetricsSpec struct {
	// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
	// This must only be one value, but the CA can have a chain.
	AcceptedClientCa []byte `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
}

func (*MetricsSpec) Descriptor

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

func (*MetricsSpec) Equal

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

func (*MetricsSpec) GetAcceptedClientCa

func (m *MetricsSpec) GetAcceptedClientCa() []byte

func (*MetricsSpec) GoString

func (this *MetricsSpec) GoString() string

func (*MetricsSpec) Marshal

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

func (*MetricsSpec) MarshalTo

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

func (*MetricsSpec) MarshalToSizedBuffer

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

func (*MetricsSpec) ProtoMessage

func (*MetricsSpec) ProtoMessage()

func (*MetricsSpec) Reset

func (m *MetricsSpec) Reset()

func (*MetricsSpec) Size

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

func (*MetricsSpec) String

func (this *MetricsSpec) String() string

func (*MetricsSpec) Unmarshal

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

func (*MetricsSpec) XXX_DiscardUnknown

func (m *MetricsSpec) XXX_DiscardUnknown()

func (*MetricsSpec) XXX_Marshal

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

func (*MetricsSpec) XXX_Merge

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

func (*MetricsSpec) XXX_Size

func (m *MetricsSpec) XXX_Size() int

func (*MetricsSpec) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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