Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTriggerServiceServer(s grpc.ServiceRegistrar, srv TriggerServiceServer)
- type AndPredicate
- func (*AndPredicate) Descriptor() ([]byte, []int)deprecated
- func (x *AndPredicate) GetPredicate() []*Predicate
- func (*AndPredicate) ProtoMessage()
- func (x *AndPredicate) ProtoReflect() protoreflect.Message
- func (x *AndPredicate) Reset()
- func (m *AndPredicate) SetPredicate(v []*Predicate)
- func (x *AndPredicate) String() string
- type BatchSettings
- func (*BatchSettings) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSettings) GetCutoff() *durationpb.Duration
- func (x *BatchSettings) GetSize() int64
- func (*BatchSettings) ProtoMessage()
- func (x *BatchSettings) ProtoReflect() protoreflect.Message
- func (x *BatchSettings) Reset()
- func (m *BatchSettings) SetCutoff(v *durationpb.Duration)
- func (m *BatchSettings) SetSize(v int64)
- func (x *BatchSettings) String() string
- type BillingBudget
- func (*BillingBudget) Descriptor() ([]byte, []int)deprecated
- func (m *BillingBudget) GetAction() isBillingBudget_Action
- func (x *BillingBudget) GetBillingAccountId() string
- func (x *BillingBudget) GetBudgetId() string
- func (x *BillingBudget) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *BillingBudget) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *BillingBudget) GetInvokeFunction() *InvokeFunctionWithRetry
- func (*BillingBudget) ProtoMessage()
- func (x *BillingBudget) ProtoReflect() protoreflect.Message
- func (x *BillingBudget) Reset()
- func (m *BillingBudget) SetAction(v BillingBudget_Action)
- func (m *BillingBudget) SetBillingAccountId(v string)
- func (m *BillingBudget) SetBudgetId(v string)
- func (m *BillingBudget) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *BillingBudget) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *BillingBudget) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (x *BillingBudget) String() string
- type BillingBudget_Action
- type BillingBudget_GatewayWebsocketBroadcast
- type BillingBudget_InvokeContainer
- type BillingBudget_InvokeFunction
- type CloudLogsBatchSettings
- func (*CloudLogsBatchSettings) Descriptor() ([]byte, []int)deprecated
- func (x *CloudLogsBatchSettings) GetCutoff() *durationpb.Duration
- func (x *CloudLogsBatchSettings) GetSize() int64
- func (*CloudLogsBatchSettings) ProtoMessage()
- func (x *CloudLogsBatchSettings) ProtoReflect() protoreflect.Message
- func (x *CloudLogsBatchSettings) Reset()
- func (m *CloudLogsBatchSettings) SetCutoff(v *durationpb.Duration)
- func (m *CloudLogsBatchSettings) SetSize(v int64)
- func (x *CloudLogsBatchSettings) String() string
- type CreateTriggerMetadata
- func (*CreateTriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTriggerMetadata) GetTriggerId() string
- func (*CreateTriggerMetadata) ProtoMessage()
- func (x *CreateTriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateTriggerMetadata) Reset()
- func (m *CreateTriggerMetadata) SetTriggerId(v string)
- func (x *CreateTriggerMetadata) String() string
- type CreateTriggerRequest
- func (*CreateTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTriggerRequest) GetDescription() string
- func (x *CreateTriggerRequest) GetFolderId() string
- func (x *CreateTriggerRequest) GetLabels() map[string]string
- func (x *CreateTriggerRequest) GetName() string
- func (x *CreateTriggerRequest) GetRule() *Trigger_Rule
- func (*CreateTriggerRequest) ProtoMessage()
- func (x *CreateTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTriggerRequest) Reset()
- func (m *CreateTriggerRequest) SetDescription(v string)
- func (m *CreateTriggerRequest) SetFolderId(v string)
- func (m *CreateTriggerRequest) SetLabels(v map[string]string)
- func (m *CreateTriggerRequest) SetName(v string)
- func (m *CreateTriggerRequest) SetRule(v *Trigger_Rule)
- func (x *CreateTriggerRequest) String() string
- type DataStream
- func (*DataStream) Descriptor() ([]byte, []int)deprecated
- func (m *DataStream) GetAction() isDataStream_Action
- func (x *DataStream) GetBatchSettings() *DataStreamBatchSettings
- func (x *DataStream) GetDatabase() string
- func (x *DataStream) GetEndpoint() string
- func (x *DataStream) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *DataStream) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *DataStream) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *DataStream) GetServiceAccountId() string
- func (x *DataStream) GetStream() string
- func (*DataStream) ProtoMessage()
- func (x *DataStream) ProtoReflect() protoreflect.Message
- func (x *DataStream) Reset()
- func (m *DataStream) SetAction(v DataStream_Action)
- func (m *DataStream) SetBatchSettings(v *DataStreamBatchSettings)
- func (m *DataStream) SetDatabase(v string)
- func (m *DataStream) SetEndpoint(v string)
- func (m *DataStream) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *DataStream) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *DataStream) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *DataStream) SetServiceAccountId(v string)
- func (m *DataStream) SetStream(v string)
- func (x *DataStream) String() string
- type DataStreamBatchSettings
- func (*DataStreamBatchSettings) Descriptor() ([]byte, []int)deprecated
- func (x *DataStreamBatchSettings) GetCutoff() *durationpb.Duration
- func (x *DataStreamBatchSettings) GetSize() int64
- func (*DataStreamBatchSettings) ProtoMessage()
- func (x *DataStreamBatchSettings) ProtoReflect() protoreflect.Message
- func (x *DataStreamBatchSettings) Reset()
- func (m *DataStreamBatchSettings) SetCutoff(v *durationpb.Duration)
- func (m *DataStreamBatchSettings) SetSize(v int64)
- func (x *DataStreamBatchSettings) String() string
- type DataStream_Action
- type DataStream_GatewayWebsocketBroadcast
- type DataStream_InvokeContainer
- type DataStream_InvokeFunction
- type DeleteTriggerMetadata
- func (*DeleteTriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTriggerMetadata) GetTriggerId() string
- func (*DeleteTriggerMetadata) ProtoMessage()
- func (x *DeleteTriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteTriggerMetadata) Reset()
- func (m *DeleteTriggerMetadata) SetTriggerId(v string)
- func (x *DeleteTriggerMetadata) String() string
- type DeleteTriggerRequest
- func (*DeleteTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTriggerRequest) GetTriggerId() string
- func (*DeleteTriggerRequest) ProtoMessage()
- func (x *DeleteTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTriggerRequest) Reset()
- func (m *DeleteTriggerRequest) SetTriggerId(v string)
- func (x *DeleteTriggerRequest) String() string
- type FieldValuePredicate
- func (*FieldValuePredicate) Descriptor() ([]byte, []int)deprecated
- func (x *FieldValuePredicate) GetExact() string
- func (x *FieldValuePredicate) GetFieldPath() string
- func (x *FieldValuePredicate) GetPrefix() string
- func (x *FieldValuePredicate) GetSuffix() string
- func (m *FieldValuePredicate) GetValue() isFieldValuePredicate_Value
- func (*FieldValuePredicate) ProtoMessage()
- func (x *FieldValuePredicate) ProtoReflect() protoreflect.Message
- func (x *FieldValuePredicate) Reset()
- func (m *FieldValuePredicate) SetExact(v string)
- func (m *FieldValuePredicate) SetFieldPath(v string)
- func (m *FieldValuePredicate) SetPrefix(v string)
- func (m *FieldValuePredicate) SetSuffix(v string)
- func (m *FieldValuePredicate) SetValue(v FieldValuePredicate_Value)
- func (x *FieldValuePredicate) String() string
- type FieldValuePredicate_Exact
- type FieldValuePredicate_Prefix
- type FieldValuePredicate_Suffix
- type FieldValuePredicate_Value
- type GatewayWebsocketBroadcast
- func (*GatewayWebsocketBroadcast) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayWebsocketBroadcast) GetGatewayId() string
- func (x *GatewayWebsocketBroadcast) GetPath() string
- func (x *GatewayWebsocketBroadcast) GetServiceAccountId() string
- func (*GatewayWebsocketBroadcast) ProtoMessage()
- func (x *GatewayWebsocketBroadcast) ProtoReflect() protoreflect.Message
- func (x *GatewayWebsocketBroadcast) Reset()
- func (m *GatewayWebsocketBroadcast) SetGatewayId(v string)
- func (m *GatewayWebsocketBroadcast) SetPath(v string)
- func (m *GatewayWebsocketBroadcast) SetServiceAccountId(v string)
- func (x *GatewayWebsocketBroadcast) String() string
- type GetTriggerRequest
- func (*GetTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerRequest) GetTriggerId() string
- func (*GetTriggerRequest) ProtoMessage()
- func (x *GetTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *GetTriggerRequest) Reset()
- func (m *GetTriggerRequest) SetTriggerId(v string)
- func (x *GetTriggerRequest) String() string
- type InvokeContainerOnce
- func (*InvokeContainerOnce) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeContainerOnce) GetContainerId() string
- func (x *InvokeContainerOnce) GetPath() string
- func (x *InvokeContainerOnce) GetServiceAccountId() string
- func (*InvokeContainerOnce) ProtoMessage()
- func (x *InvokeContainerOnce) ProtoReflect() protoreflect.Message
- func (x *InvokeContainerOnce) Reset()
- func (m *InvokeContainerOnce) SetContainerId(v string)
- func (m *InvokeContainerOnce) SetPath(v string)
- func (m *InvokeContainerOnce) SetServiceAccountId(v string)
- func (x *InvokeContainerOnce) String() string
- type InvokeContainerWithRetry
- func (*InvokeContainerWithRetry) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeContainerWithRetry) GetContainerId() string
- func (x *InvokeContainerWithRetry) GetDeadLetterQueue() *PutQueueMessage
- func (x *InvokeContainerWithRetry) GetPath() string
- func (x *InvokeContainerWithRetry) GetRetrySettings() *RetrySettings
- func (x *InvokeContainerWithRetry) GetServiceAccountId() string
- func (*InvokeContainerWithRetry) ProtoMessage()
- func (x *InvokeContainerWithRetry) ProtoReflect() protoreflect.Message
- func (x *InvokeContainerWithRetry) Reset()
- func (m *InvokeContainerWithRetry) SetContainerId(v string)
- func (m *InvokeContainerWithRetry) SetDeadLetterQueue(v *PutQueueMessage)
- func (m *InvokeContainerWithRetry) SetPath(v string)
- func (m *InvokeContainerWithRetry) SetRetrySettings(v *RetrySettings)
- func (m *InvokeContainerWithRetry) SetServiceAccountId(v string)
- func (x *InvokeContainerWithRetry) String() string
- type InvokeFunctionOnce
- func (*InvokeFunctionOnce) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeFunctionOnce) GetFunctionId() string
- func (x *InvokeFunctionOnce) GetFunctionTag() string
- func (x *InvokeFunctionOnce) GetServiceAccountId() string
- func (*InvokeFunctionOnce) ProtoMessage()
- func (x *InvokeFunctionOnce) ProtoReflect() protoreflect.Message
- func (x *InvokeFunctionOnce) Reset()
- func (m *InvokeFunctionOnce) SetFunctionId(v string)
- func (m *InvokeFunctionOnce) SetFunctionTag(v string)
- func (m *InvokeFunctionOnce) SetServiceAccountId(v string)
- func (x *InvokeFunctionOnce) String() string
- type InvokeFunctionWithRetry
- func (*InvokeFunctionWithRetry) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeFunctionWithRetry) GetDeadLetterQueue() *PutQueueMessage
- func (x *InvokeFunctionWithRetry) GetFunctionId() string
- func (x *InvokeFunctionWithRetry) GetFunctionTag() string
- func (x *InvokeFunctionWithRetry) GetRetrySettings() *RetrySettings
- func (x *InvokeFunctionWithRetry) GetServiceAccountId() string
- func (*InvokeFunctionWithRetry) ProtoMessage()
- func (x *InvokeFunctionWithRetry) ProtoReflect() protoreflect.Message
- func (x *InvokeFunctionWithRetry) Reset()
- func (m *InvokeFunctionWithRetry) SetDeadLetterQueue(v *PutQueueMessage)
- func (m *InvokeFunctionWithRetry) SetFunctionId(v string)
- func (m *InvokeFunctionWithRetry) SetFunctionTag(v string)
- func (m *InvokeFunctionWithRetry) SetRetrySettings(v *RetrySettings)
- func (m *InvokeFunctionWithRetry) SetServiceAccountId(v string)
- func (x *InvokeFunctionWithRetry) String() string
- type ListTriggerOperationsRequest
- func (*ListTriggerOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggerOperationsRequest) GetFilter() string
- func (x *ListTriggerOperationsRequest) GetPageSize() int64
- func (x *ListTriggerOperationsRequest) GetPageToken() string
- func (x *ListTriggerOperationsRequest) GetTriggerId() string
- func (*ListTriggerOperationsRequest) ProtoMessage()
- func (x *ListTriggerOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTriggerOperationsRequest) Reset()
- func (m *ListTriggerOperationsRequest) SetFilter(v string)
- func (m *ListTriggerOperationsRequest) SetPageSize(v int64)
- func (m *ListTriggerOperationsRequest) SetPageToken(v string)
- func (m *ListTriggerOperationsRequest) SetTriggerId(v string)
- func (x *ListTriggerOperationsRequest) String() string
- type ListTriggerOperationsResponse
- func (*ListTriggerOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggerOperationsResponse) GetNextPageToken() string
- func (x *ListTriggerOperationsResponse) GetOperations() []*operation.Operation
- func (*ListTriggerOperationsResponse) ProtoMessage()
- func (x *ListTriggerOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTriggerOperationsResponse) Reset()
- func (m *ListTriggerOperationsResponse) SetNextPageToken(v string)
- func (m *ListTriggerOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListTriggerOperationsResponse) String() string
- type ListTriggersRequest
- func (*ListTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggersRequest) GetFilter() string
- func (x *ListTriggersRequest) GetFolderId() string
- func (x *ListTriggersRequest) GetPageSize() int64
- func (x *ListTriggersRequest) GetPageToken() string
- func (*ListTriggersRequest) ProtoMessage()
- func (x *ListTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *ListTriggersRequest) Reset()
- func (m *ListTriggersRequest) SetFilter(v string)
- func (m *ListTriggersRequest) SetFolderId(v string)
- func (m *ListTriggersRequest) SetPageSize(v int64)
- func (m *ListTriggersRequest) SetPageToken(v string)
- func (x *ListTriggersRequest) String() string
- type ListTriggersResponse
- func (*ListTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggersResponse) GetNextPageToken() string
- func (x *ListTriggersResponse) GetTriggers() []*Trigger
- func (*ListTriggersResponse) ProtoMessage()
- func (x *ListTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *ListTriggersResponse) Reset()
- func (m *ListTriggersResponse) SetNextPageToken(v string)
- func (m *ListTriggersResponse) SetTriggers(v []*Trigger)
- func (x *ListTriggersResponse) String() string
- type LoggingBatchSettings
- func (*LoggingBatchSettings) Descriptor() ([]byte, []int)deprecated
- func (x *LoggingBatchSettings) GetCutoff() *durationpb.Duration
- func (x *LoggingBatchSettings) GetSize() int64
- func (*LoggingBatchSettings) ProtoMessage()
- func (x *LoggingBatchSettings) ProtoReflect() protoreflect.Message
- func (x *LoggingBatchSettings) Reset()
- func (m *LoggingBatchSettings) SetCutoff(v *durationpb.Duration)
- func (m *LoggingBatchSettings) SetSize(v int64)
- func (x *LoggingBatchSettings) String() string
- type Mail
- func (*Mail) Descriptor() ([]byte, []int)deprecated
- func (m *Mail) GetAction() isMail_Action
- func (x *Mail) GetAttachmentsBucket() *ObjectStorageBucketSettings
- func (x *Mail) GetBatchSettings() *BatchSettings
- func (x *Mail) GetEmail() string
- func (x *Mail) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Mail) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Mail) GetInvokeFunction() *InvokeFunctionWithRetry
- func (*Mail) ProtoMessage()
- func (x *Mail) ProtoReflect() protoreflect.Message
- func (x *Mail) Reset()
- func (m *Mail) SetAction(v Mail_Action)
- func (m *Mail) SetAttachmentsBucket(v *ObjectStorageBucketSettings)
- func (m *Mail) SetBatchSettings(v *BatchSettings)
- func (m *Mail) SetEmail(v string)
- func (m *Mail) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Mail) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Mail) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (x *Mail) String() string
- type Mail_Action
- type Mail_GatewayWebsocketBroadcast
- type Mail_InvokeContainer
- type Mail_InvokeFunction
- type ObjectStorageBucketSettings
- func (*ObjectStorageBucketSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectStorageBucketSettings) GetBucketId() string
- func (x *ObjectStorageBucketSettings) GetServiceAccountId() string
- func (*ObjectStorageBucketSettings) ProtoMessage()
- func (x *ObjectStorageBucketSettings) ProtoReflect() protoreflect.Message
- func (x *ObjectStorageBucketSettings) Reset()
- func (m *ObjectStorageBucketSettings) SetBucketId(v string)
- func (m *ObjectStorageBucketSettings) SetServiceAccountId(v string)
- func (x *ObjectStorageBucketSettings) String() string
- type PauseTriggerMetadata
- func (*PauseTriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PauseTriggerMetadata) GetTriggerId() string
- func (*PauseTriggerMetadata) ProtoMessage()
- func (x *PauseTriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *PauseTriggerMetadata) Reset()
- func (m *PauseTriggerMetadata) SetTriggerId(v string)
- func (x *PauseTriggerMetadata) String() string
- type PauseTriggerRequest
- func (*PauseTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PauseTriggerRequest) GetTriggerId() string
- func (*PauseTriggerRequest) ProtoMessage()
- func (x *PauseTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *PauseTriggerRequest) Reset()
- func (m *PauseTriggerRequest) SetTriggerId(v string)
- func (x *PauseTriggerRequest) String() string
- type Predicate
- func (*Predicate) Descriptor() ([]byte, []int)deprecated
- func (x *Predicate) GetAndPredicate() *AndPredicate
- func (x *Predicate) GetFieldValuePredicate() *FieldValuePredicate
- func (m *Predicate) GetPredicate() isPredicate_Predicate
- func (*Predicate) ProtoMessage()
- func (x *Predicate) ProtoReflect() protoreflect.Message
- func (x *Predicate) Reset()
- func (m *Predicate) SetAndPredicate(v *AndPredicate)
- func (m *Predicate) SetFieldValuePredicate(v *FieldValuePredicate)
- func (m *Predicate) SetPredicate(v Predicate_Predicate)
- func (x *Predicate) String() string
- type Predicate_AndPredicate
- type Predicate_FieldValuePredicate
- type Predicate_Predicate
- type PutQueueMessage
- func (*PutQueueMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PutQueueMessage) GetQueueId() string
- func (x *PutQueueMessage) GetServiceAccountId() string
- func (*PutQueueMessage) ProtoMessage()
- func (x *PutQueueMessage) ProtoReflect() protoreflect.Message
- func (x *PutQueueMessage) Reset()
- func (m *PutQueueMessage) SetQueueId(v string)
- func (m *PutQueueMessage) SetServiceAccountId(v string)
- func (x *PutQueueMessage) String() string
- type ResumeTriggerMetadata
- func (*ResumeTriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeTriggerMetadata) GetTriggerId() string
- func (*ResumeTriggerMetadata) ProtoMessage()
- func (x *ResumeTriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *ResumeTriggerMetadata) Reset()
- func (m *ResumeTriggerMetadata) SetTriggerId(v string)
- func (x *ResumeTriggerMetadata) String() string
- type ResumeTriggerRequest
- func (*ResumeTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeTriggerRequest) GetTriggerId() string
- func (*ResumeTriggerRequest) ProtoMessage()
- func (x *ResumeTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeTriggerRequest) Reset()
- func (m *ResumeTriggerRequest) SetTriggerId(v string)
- func (x *ResumeTriggerRequest) String() string
- type RetrySettings
- func (*RetrySettings) Descriptor() ([]byte, []int)deprecated
- func (x *RetrySettings) GetInterval() *durationpb.Duration
- func (x *RetrySettings) GetRetryAttempts() int64
- func (*RetrySettings) ProtoMessage()
- func (x *RetrySettings) ProtoReflect() protoreflect.Message
- func (x *RetrySettings) Reset()
- func (m *RetrySettings) SetInterval(v *durationpb.Duration)
- func (m *RetrySettings) SetRetryAttempts(v int64)
- func (x *RetrySettings) String() string
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)deprecated
- func (x *Trigger) GetCreatedAt() *timestamppb.Timestamp
- func (x *Trigger) GetDescription() string
- func (x *Trigger) GetFolderId() string
- func (x *Trigger) GetId() string
- func (x *Trigger) GetLabels() map[string]string
- func (x *Trigger) GetName() string
- func (x *Trigger) GetRule() *Trigger_Rule
- func (x *Trigger) GetStatus() Trigger_Status
- func (*Trigger) ProtoMessage()
- func (x *Trigger) ProtoReflect() protoreflect.Message
- func (x *Trigger) Reset()
- func (m *Trigger) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Trigger) SetDescription(v string)
- func (m *Trigger) SetFolderId(v string)
- func (m *Trigger) SetId(v string)
- func (m *Trigger) SetLabels(v map[string]string)
- func (m *Trigger) SetName(v string)
- func (m *Trigger) SetRule(v *Trigger_Rule)
- func (m *Trigger) SetStatus(v Trigger_Status)
- func (x *Trigger) String() string
- type TriggerServiceClient
- type TriggerServiceServer
- type TriggerType
- func (TriggerType) Descriptor() protoreflect.EnumDescriptor
- func (x TriggerType) Enum() *TriggerType
- func (TriggerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TriggerType) Number() protoreflect.EnumNumber
- func (x TriggerType) String() string
- func (TriggerType) Type() protoreflect.EnumType
- type Trigger_CloudLogs
- func (*Trigger_CloudLogs) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_CloudLogs) GetAction() isTrigger_CloudLogs_Action
- func (x *Trigger_CloudLogs) GetBatchSettings() *CloudLogsBatchSettings
- func (x *Trigger_CloudLogs) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_CloudLogs) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_CloudLogs) GetLogGroupId() []string
- func (*Trigger_CloudLogs) ProtoMessage()
- func (x *Trigger_CloudLogs) ProtoReflect() protoreflect.Message
- func (x *Trigger_CloudLogs) Reset()
- func (m *Trigger_CloudLogs) SetAction(v Trigger_CloudLogs_Action)
- func (m *Trigger_CloudLogs) SetBatchSettings(v *CloudLogsBatchSettings)
- func (m *Trigger_CloudLogs) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_CloudLogs) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_CloudLogs) SetLogGroupId(v []string)
- func (x *Trigger_CloudLogs) String() string
- type Trigger_CloudLogs_Action
- type Trigger_CloudLogs_InvokeContainer
- type Trigger_CloudLogs_InvokeFunction
- type Trigger_ContainerRegistry
- func (*Trigger_ContainerRegistry) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_ContainerRegistry) GetAction() isTrigger_ContainerRegistry_Action
- func (x *Trigger_ContainerRegistry) GetBatchSettings() *BatchSettings
- func (x *Trigger_ContainerRegistry) GetEventType() []Trigger_ContainerRegistryEventType
- func (x *Trigger_ContainerRegistry) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_ContainerRegistry) GetImageName() string
- func (x *Trigger_ContainerRegistry) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_ContainerRegistry) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_ContainerRegistry) GetRegistryId() string
- func (x *Trigger_ContainerRegistry) GetTag() string
- func (*Trigger_ContainerRegistry) ProtoMessage()
- func (x *Trigger_ContainerRegistry) ProtoReflect() protoreflect.Message
- func (x *Trigger_ContainerRegistry) Reset()
- func (m *Trigger_ContainerRegistry) SetAction(v Trigger_ContainerRegistry_Action)
- func (m *Trigger_ContainerRegistry) SetBatchSettings(v *BatchSettings)
- func (m *Trigger_ContainerRegistry) SetEventType(v []Trigger_ContainerRegistryEventType)
- func (m *Trigger_ContainerRegistry) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_ContainerRegistry) SetImageName(v string)
- func (m *Trigger_ContainerRegistry) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_ContainerRegistry) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_ContainerRegistry) SetRegistryId(v string)
- func (m *Trigger_ContainerRegistry) SetTag(v string)
- func (x *Trigger_ContainerRegistry) String() string
- type Trigger_ContainerRegistryEventType
- func (Trigger_ContainerRegistryEventType) Descriptor() protoreflect.EnumDescriptor
- func (x Trigger_ContainerRegistryEventType) Enum() *Trigger_ContainerRegistryEventType
- func (Trigger_ContainerRegistryEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trigger_ContainerRegistryEventType) Number() protoreflect.EnumNumber
- func (x Trigger_ContainerRegistryEventType) String() string
- func (Trigger_ContainerRegistryEventType) Type() protoreflect.EnumType
- type Trigger_ContainerRegistry_Action
- type Trigger_ContainerRegistry_GatewayWebsocketBroadcast
- type Trigger_ContainerRegistry_InvokeContainer
- type Trigger_ContainerRegistry_InvokeFunction
- type Trigger_IoTBrokerMessage
- func (*Trigger_IoTBrokerMessage) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_IoTBrokerMessage) GetAction() isTrigger_IoTBrokerMessage_Action
- func (x *Trigger_IoTBrokerMessage) GetBatchSettings() *BatchSettings
- func (x *Trigger_IoTBrokerMessage) GetBrokerId() string
- func (x *Trigger_IoTBrokerMessage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_IoTBrokerMessage) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_IoTBrokerMessage) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_IoTBrokerMessage) GetMqttTopic() string
- func (*Trigger_IoTBrokerMessage) ProtoMessage()
- func (x *Trigger_IoTBrokerMessage) ProtoReflect() protoreflect.Message
- func (x *Trigger_IoTBrokerMessage) Reset()
- func (m *Trigger_IoTBrokerMessage) SetAction(v Trigger_IoTBrokerMessage_Action)
- func (m *Trigger_IoTBrokerMessage) SetBatchSettings(v *BatchSettings)
- func (m *Trigger_IoTBrokerMessage) SetBrokerId(v string)
- func (m *Trigger_IoTBrokerMessage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_IoTBrokerMessage) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_IoTBrokerMessage) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_IoTBrokerMessage) SetMqttTopic(v string)
- func (x *Trigger_IoTBrokerMessage) String() string
- type Trigger_IoTBrokerMessage_Action
- type Trigger_IoTBrokerMessage_GatewayWebsocketBroadcast
- type Trigger_IoTBrokerMessage_InvokeContainer
- type Trigger_IoTBrokerMessage_InvokeFunction
- type Trigger_IoTMessage
- func (*Trigger_IoTMessage) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_IoTMessage) GetAction() isTrigger_IoTMessage_Action
- func (x *Trigger_IoTMessage) GetBatchSettings() *BatchSettings
- func (x *Trigger_IoTMessage) GetDeviceId() string
- func (x *Trigger_IoTMessage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_IoTMessage) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_IoTMessage) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_IoTMessage) GetMqttTopic() string
- func (x *Trigger_IoTMessage) GetRegistryId() string
- func (*Trigger_IoTMessage) ProtoMessage()
- func (x *Trigger_IoTMessage) ProtoReflect() protoreflect.Message
- func (x *Trigger_IoTMessage) Reset()
- func (m *Trigger_IoTMessage) SetAction(v Trigger_IoTMessage_Action)
- func (m *Trigger_IoTMessage) SetBatchSettings(v *BatchSettings)
- func (m *Trigger_IoTMessage) SetDeviceId(v string)
- func (m *Trigger_IoTMessage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_IoTMessage) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_IoTMessage) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_IoTMessage) SetMqttTopic(v string)
- func (m *Trigger_IoTMessage) SetRegistryId(v string)
- func (x *Trigger_IoTMessage) String() string
- type Trigger_IoTMessage_Action
- type Trigger_IoTMessage_GatewayWebsocketBroadcast
- type Trigger_IoTMessage_InvokeContainer
- type Trigger_IoTMessage_InvokeFunction
- type Trigger_Logging
- func (*Trigger_Logging) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_Logging) GetAction() isTrigger_Logging_Action
- func (x *Trigger_Logging) GetBatchSettings() *LoggingBatchSettings
- func (x *Trigger_Logging) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_Logging) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_Logging) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_Logging) GetLevels() []v1.LogLevel_Level
- func (x *Trigger_Logging) GetLogGroupId() string
- func (x *Trigger_Logging) GetResourceId() []string
- func (x *Trigger_Logging) GetResourceType() []string
- func (x *Trigger_Logging) GetStreamName() []string
- func (*Trigger_Logging) ProtoMessage()
- func (x *Trigger_Logging) ProtoReflect() protoreflect.Message
- func (x *Trigger_Logging) Reset()
- func (m *Trigger_Logging) SetAction(v Trigger_Logging_Action)
- func (m *Trigger_Logging) SetBatchSettings(v *LoggingBatchSettings)
- func (m *Trigger_Logging) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_Logging) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_Logging) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_Logging) SetLevels(v []v1.LogLevel_Level)
- func (m *Trigger_Logging) SetLogGroupId(v string)
- func (m *Trigger_Logging) SetResourceId(v []string)
- func (m *Trigger_Logging) SetResourceType(v []string)
- func (m *Trigger_Logging) SetStreamName(v []string)
- func (x *Trigger_Logging) String() string
- type Trigger_Logging_Action
- type Trigger_Logging_GatewayWebsocketBroadcast
- type Trigger_Logging_InvokeContainer
- type Trigger_Logging_InvokeFunction
- type Trigger_MessageQueue
- func (*Trigger_MessageQueue) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_MessageQueue) GetAction() isTrigger_MessageQueue_Action
- func (x *Trigger_MessageQueue) GetBatchSettings() *BatchSettings
- func (x *Trigger_MessageQueue) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_MessageQueue) GetInvokeContainer() *InvokeContainerOnce
- func (x *Trigger_MessageQueue) GetInvokeFunction() *InvokeFunctionOnce
- func (x *Trigger_MessageQueue) GetQueueId() string
- func (x *Trigger_MessageQueue) GetServiceAccountId() string
- func (x *Trigger_MessageQueue) GetVisibilityTimeout() *durationpb.Duration
- func (*Trigger_MessageQueue) ProtoMessage()
- func (x *Trigger_MessageQueue) ProtoReflect() protoreflect.Message
- func (x *Trigger_MessageQueue) Reset()
- func (m *Trigger_MessageQueue) SetAction(v Trigger_MessageQueue_Action)
- func (m *Trigger_MessageQueue) SetBatchSettings(v *BatchSettings)
- func (m *Trigger_MessageQueue) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_MessageQueue) SetInvokeContainer(v *InvokeContainerOnce)
- func (m *Trigger_MessageQueue) SetInvokeFunction(v *InvokeFunctionOnce)
- func (m *Trigger_MessageQueue) SetQueueId(v string)
- func (m *Trigger_MessageQueue) SetServiceAccountId(v string)
- func (m *Trigger_MessageQueue) SetVisibilityTimeout(v *durationpb.Duration)
- func (x *Trigger_MessageQueue) String() string
- type Trigger_MessageQueue_Action
- type Trigger_MessageQueue_GatewayWebsocketBroadcast
- type Trigger_MessageQueue_InvokeContainer
- type Trigger_MessageQueue_InvokeFunction
- type Trigger_ObjectStorage
- func (*Trigger_ObjectStorage) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_ObjectStorage) GetAction() isTrigger_ObjectStorage_Action
- func (x *Trigger_ObjectStorage) GetBatchSettings() *BatchSettings
- func (x *Trigger_ObjectStorage) GetBucketId() string
- func (x *Trigger_ObjectStorage) GetEventType() []Trigger_ObjectStorageEventType
- func (x *Trigger_ObjectStorage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_ObjectStorage) GetInvokeContainer() *InvokeContainerWithRetry
- func (x *Trigger_ObjectStorage) GetInvokeFunction() *InvokeFunctionWithRetry
- func (x *Trigger_ObjectStorage) GetPrefix() string
- func (x *Trigger_ObjectStorage) GetSuffix() string
- func (*Trigger_ObjectStorage) ProtoMessage()
- func (x *Trigger_ObjectStorage) ProtoReflect() protoreflect.Message
- func (x *Trigger_ObjectStorage) Reset()
- func (m *Trigger_ObjectStorage) SetAction(v Trigger_ObjectStorage_Action)
- func (m *Trigger_ObjectStorage) SetBatchSettings(v *BatchSettings)
- func (m *Trigger_ObjectStorage) SetBucketId(v string)
- func (m *Trigger_ObjectStorage) SetEventType(v []Trigger_ObjectStorageEventType)
- func (m *Trigger_ObjectStorage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_ObjectStorage) SetInvokeContainer(v *InvokeContainerWithRetry)
- func (m *Trigger_ObjectStorage) SetInvokeFunction(v *InvokeFunctionWithRetry)
- func (m *Trigger_ObjectStorage) SetPrefix(v string)
- func (m *Trigger_ObjectStorage) SetSuffix(v string)
- func (x *Trigger_ObjectStorage) String() string
- type Trigger_ObjectStorageEventType
- func (Trigger_ObjectStorageEventType) Descriptor() protoreflect.EnumDescriptor
- func (x Trigger_ObjectStorageEventType) Enum() *Trigger_ObjectStorageEventType
- func (Trigger_ObjectStorageEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trigger_ObjectStorageEventType) Number() protoreflect.EnumNumber
- func (x Trigger_ObjectStorageEventType) String() string
- func (Trigger_ObjectStorageEventType) Type() protoreflect.EnumType
- type Trigger_ObjectStorage_Action
- type Trigger_ObjectStorage_GatewayWebsocketBroadcast
- type Trigger_ObjectStorage_InvokeContainer
- type Trigger_ObjectStorage_InvokeFunction
- type Trigger_Rule
- func (*Trigger_Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Trigger_Rule) GetBillingBudget() *BillingBudget
- func (x *Trigger_Rule) GetCloudLogs() *Trigger_CloudLogs
- func (x *Trigger_Rule) GetContainerRegistry() *Trigger_ContainerRegistry
- func (x *Trigger_Rule) GetDataStream() *DataStream
- func (x *Trigger_Rule) GetIotBrokerMessage() *Trigger_IoTBrokerMessage
- func (x *Trigger_Rule) GetIotMessage() *Trigger_IoTMessage
- func (x *Trigger_Rule) GetLogging() *Trigger_Logging
- func (x *Trigger_Rule) GetMail() *Mail
- func (x *Trigger_Rule) GetMessageQueue() *Trigger_MessageQueue
- func (x *Trigger_Rule) GetObjectStorage() *Trigger_ObjectStorage
- func (m *Trigger_Rule) GetRule() isTrigger_Rule_Rule
- func (x *Trigger_Rule) GetTimer() *Trigger_Timer
- func (*Trigger_Rule) ProtoMessage()
- func (x *Trigger_Rule) ProtoReflect() protoreflect.Message
- func (x *Trigger_Rule) Reset()
- func (m *Trigger_Rule) SetBillingBudget(v *BillingBudget)
- func (m *Trigger_Rule) SetCloudLogs(v *Trigger_CloudLogs)
- func (m *Trigger_Rule) SetContainerRegistry(v *Trigger_ContainerRegistry)
- func (m *Trigger_Rule) SetDataStream(v *DataStream)
- func (m *Trigger_Rule) SetIotBrokerMessage(v *Trigger_IoTBrokerMessage)
- func (m *Trigger_Rule) SetIotMessage(v *Trigger_IoTMessage)
- func (m *Trigger_Rule) SetLogging(v *Trigger_Logging)
- func (m *Trigger_Rule) SetMail(v *Mail)
- func (m *Trigger_Rule) SetMessageQueue(v *Trigger_MessageQueue)
- func (m *Trigger_Rule) SetObjectStorage(v *Trigger_ObjectStorage)
- func (m *Trigger_Rule) SetRule(v Trigger_Rule_Rule)
- func (m *Trigger_Rule) SetTimer(v *Trigger_Timer)
- func (x *Trigger_Rule) String() string
- type Trigger_Rule_BillingBudget
- type Trigger_Rule_CloudLogs
- type Trigger_Rule_ContainerRegistry
- type Trigger_Rule_DataStream
- type Trigger_Rule_IotBrokerMessage
- type Trigger_Rule_IotMessage
- type Trigger_Rule_Logging
- type Trigger_Rule_Mail
- type Trigger_Rule_MessageQueue
- type Trigger_Rule_ObjectStorage
- type Trigger_Rule_Rule
- type Trigger_Rule_Timer
- type Trigger_Status
- func (Trigger_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Trigger_Status) Enum() *Trigger_Status
- func (Trigger_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trigger_Status) Number() protoreflect.EnumNumber
- func (x Trigger_Status) String() string
- func (Trigger_Status) Type() protoreflect.EnumType
- type Trigger_Timer
- func (*Trigger_Timer) Descriptor() ([]byte, []int)deprecated
- func (m *Trigger_Timer) GetAction() isTrigger_Timer_Action
- func (x *Trigger_Timer) GetCronExpression() string
- func (x *Trigger_Timer) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
- func (x *Trigger_Timer) GetInvokeContainerWithRetry() *InvokeContainerWithRetry
- func (x *Trigger_Timer) GetInvokeFunction() *InvokeFunctionOnce
- func (x *Trigger_Timer) GetInvokeFunctionWithRetry() *InvokeFunctionWithRetry
- func (x *Trigger_Timer) GetPayload() string
- func (*Trigger_Timer) ProtoMessage()
- func (x *Trigger_Timer) ProtoReflect() protoreflect.Message
- func (x *Trigger_Timer) Reset()
- func (m *Trigger_Timer) SetAction(v Trigger_Timer_Action)
- func (m *Trigger_Timer) SetCronExpression(v string)
- func (m *Trigger_Timer) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
- func (m *Trigger_Timer) SetInvokeContainerWithRetry(v *InvokeContainerWithRetry)
- func (m *Trigger_Timer) SetInvokeFunction(v *InvokeFunctionOnce)
- func (m *Trigger_Timer) SetInvokeFunctionWithRetry(v *InvokeFunctionWithRetry)
- func (m *Trigger_Timer) SetPayload(v string)
- func (x *Trigger_Timer) String() string
- type Trigger_Timer_Action
- type Trigger_Timer_GatewayWebsocketBroadcast
- type Trigger_Timer_InvokeContainerWithRetry
- type Trigger_Timer_InvokeFunction
- type Trigger_Timer_InvokeFunctionWithRetry
- type UnimplementedTriggerServiceServer
- func (UnimplementedTriggerServiceServer) Create(context.Context, *CreateTriggerRequest) (*operation.Operation, error)
- func (UnimplementedTriggerServiceServer) Delete(context.Context, *DeleteTriggerRequest) (*operation.Operation, error)
- func (UnimplementedTriggerServiceServer) Get(context.Context, *GetTriggerRequest) (*Trigger, error)
- func (UnimplementedTriggerServiceServer) List(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error)
- func (UnimplementedTriggerServiceServer) ListOperations(context.Context, *ListTriggerOperationsRequest) (*ListTriggerOperationsResponse, error)
- func (UnimplementedTriggerServiceServer) Pause(context.Context, *PauseTriggerRequest) (*operation.Operation, error)
- func (UnimplementedTriggerServiceServer) Resume(context.Context, *ResumeTriggerRequest) (*operation.Operation, error)
- func (UnimplementedTriggerServiceServer) Update(context.Context, *UpdateTriggerRequest) (*operation.Operation, error)
- type UnsafeTriggerServiceServer
- type UpdateTriggerMetadata
- func (*UpdateTriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTriggerMetadata) GetTriggerId() string
- func (*UpdateTriggerMetadata) ProtoMessage()
- func (x *UpdateTriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateTriggerMetadata) Reset()
- func (m *UpdateTriggerMetadata) SetTriggerId(v string)
- func (x *UpdateTriggerMetadata) String() string
- type UpdateTriggerRequest
- func (*UpdateTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTriggerRequest) GetDescription() string
- func (x *UpdateTriggerRequest) GetLabels() map[string]string
- func (x *UpdateTriggerRequest) GetName() string
- func (x *UpdateTriggerRequest) GetRule() *Trigger_Rule
- func (x *UpdateTriggerRequest) GetTriggerId() string
- func (x *UpdateTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTriggerRequest) ProtoMessage()
- func (x *UpdateTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTriggerRequest) Reset()
- func (m *UpdateTriggerRequest) SetDescription(v string)
- func (m *UpdateTriggerRequest) SetLabels(v map[string]string)
- func (m *UpdateTriggerRequest) SetName(v string)
- func (m *UpdateTriggerRequest) SetRule(v *Trigger_Rule)
- func (m *UpdateTriggerRequest) SetTriggerId(v string)
- func (m *UpdateTriggerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateTriggerRequest) String() string
Constants ¶
const ( TriggerService_Get_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Get" TriggerService_List_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/List" TriggerService_Create_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Create" TriggerService_Update_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Update" TriggerService_Delete_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Delete" TriggerService_Pause_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Pause" TriggerService_Resume_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/Resume" TriggerService_ListOperations_FullMethodName = "/yandex.cloud.serverless.triggers.v1.TriggerService/ListOperations" )
Variables ¶
var ( TriggerType_name = map[int32]string{ 0: "TRIGGER_TYPE_UNSPECIFIED", 2: "TIMER", 3: "MESSAGE_QUEUE", 4: "IOT_MESSAGE", 12: "IOT_BROKER_MESSAGE", 5: "OBJECT_STORAGE", 6: "CONTAINER_REGISTRY", 7: "CLOUD_LOGS", 8: "LOGGING", 9: "BILLING_BUDGET", 10: "YDS", 11: "MAIL", } TriggerType_value = map[string]int32{ "TRIGGER_TYPE_UNSPECIFIED": 0, "TIMER": 2, "MESSAGE_QUEUE": 3, "IOT_MESSAGE": 4, "IOT_BROKER_MESSAGE": 12, "OBJECT_STORAGE": 5, "CONTAINER_REGISTRY": 6, "CLOUD_LOGS": 7, "LOGGING": 8, "BILLING_BUDGET": 9, "YDS": 10, "MAIL": 11, } )
Enum value maps for TriggerType.
var ( Trigger_ObjectStorageEventType_name = map[int32]string{ 0: "OBJECT_STORAGE_EVENT_TYPE_UNSPECIFIED", 1: "OBJECT_STORAGE_EVENT_TYPE_CREATE_OBJECT", 2: "OBJECT_STORAGE_EVENT_TYPE_UPDATE_OBJECT", 3: "OBJECT_STORAGE_EVENT_TYPE_DELETE_OBJECT", } Trigger_ObjectStorageEventType_value = map[string]int32{ "OBJECT_STORAGE_EVENT_TYPE_UNSPECIFIED": 0, "OBJECT_STORAGE_EVENT_TYPE_CREATE_OBJECT": 1, "OBJECT_STORAGE_EVENT_TYPE_UPDATE_OBJECT": 2, "OBJECT_STORAGE_EVENT_TYPE_DELETE_OBJECT": 3, } )
Enum value maps for Trigger_ObjectStorageEventType.
var ( Trigger_ContainerRegistryEventType_name = map[int32]string{ 0: "CONTAINER_REGISTRY_EVENT_TYPE_UNSPECIFIED", 1: "CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE", 2: "CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE", 3: "CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE_TAG", 4: "CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE_TAG", } Trigger_ContainerRegistryEventType_value = map[string]int32{ "CONTAINER_REGISTRY_EVENT_TYPE_UNSPECIFIED": 0, "CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE": 1, "CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE": 2, "CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE_TAG": 3, "CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE_TAG": 4, } )
Enum value maps for Trigger_ContainerRegistryEventType.
var ( Trigger_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "ACTIVE", 2: "PAUSED", } Trigger_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "PAUSED": 2, } )
Enum value maps for Trigger_Status.
var File_yandex_cloud_serverless_triggers_v1_predicate_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_triggers_v1_trigger_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_triggers_v1_trigger_service_proto protoreflect.FileDescriptor
var TriggerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.serverless.triggers.v1.TriggerService", HandlerType: (*TriggerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _TriggerService_Get_Handler, }, { MethodName: "List", Handler: _TriggerService_List_Handler, }, { MethodName: "Create", Handler: _TriggerService_Create_Handler, }, { MethodName: "Update", Handler: _TriggerService_Update_Handler, }, { MethodName: "Delete", Handler: _TriggerService_Delete_Handler, }, { MethodName: "Pause", Handler: _TriggerService_Pause_Handler, }, { MethodName: "Resume", Handler: _TriggerService_Resume_Handler, }, { MethodName: "ListOperations", Handler: _TriggerService_ListOperations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/serverless/triggers/v1/trigger_service.proto", }
TriggerService_ServiceDesc is the grpc.ServiceDesc for TriggerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTriggerServiceServer ¶
func RegisterTriggerServiceServer(s grpc.ServiceRegistrar, srv TriggerServiceServer)
Types ¶
type AndPredicate ¶
type AndPredicate struct { Predicate []*Predicate `protobuf:"bytes,1,rep,name=predicate,proto3" json:"predicate,omitempty"` // contains filtered or unexported fields }
func (*AndPredicate) Descriptor
deprecated
func (*AndPredicate) Descriptor() ([]byte, []int)
Deprecated: Use AndPredicate.ProtoReflect.Descriptor instead.
func (*AndPredicate) GetPredicate ¶
func (x *AndPredicate) GetPredicate() []*Predicate
func (*AndPredicate) ProtoMessage ¶
func (*AndPredicate) ProtoMessage()
func (*AndPredicate) ProtoReflect ¶
func (x *AndPredicate) ProtoReflect() protoreflect.Message
func (*AndPredicate) Reset ¶
func (x *AndPredicate) Reset()
func (*AndPredicate) SetPredicate ¶
func (m *AndPredicate) SetPredicate(v []*Predicate)
func (*AndPredicate) String ¶
func (x *AndPredicate) String() string
type BatchSettings ¶
type BatchSettings struct { // Batch size. Trigger will send the batch of messages to the function // when the number of messages in the queue reaches [size], or the [cutoff] time has passed. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Maximum wait time. Trigger will send the batch of messages to the function when // the number of messages in the queue reaches [size], or the [cutoff] time has passed. Cutoff *durationpb.Duration `protobuf:"bytes,2,opt,name=cutoff,proto3" json:"cutoff,omitempty"` // contains filtered or unexported fields }
Settings for batch processing of messages in a queue.
func (*BatchSettings) Descriptor
deprecated
func (*BatchSettings) Descriptor() ([]byte, []int)
Deprecated: Use BatchSettings.ProtoReflect.Descriptor instead.
func (*BatchSettings) GetCutoff ¶
func (x *BatchSettings) GetCutoff() *durationpb.Duration
func (*BatchSettings) GetSize ¶
func (x *BatchSettings) GetSize() int64
func (*BatchSettings) ProtoMessage ¶
func (*BatchSettings) ProtoMessage()
func (*BatchSettings) ProtoReflect ¶
func (x *BatchSettings) ProtoReflect() protoreflect.Message
func (*BatchSettings) Reset ¶
func (x *BatchSettings) Reset()
func (*BatchSettings) SetCutoff ¶
func (m *BatchSettings) SetCutoff(v *durationpb.Duration)
func (*BatchSettings) SetSize ¶
func (m *BatchSettings) SetSize(v int64)
func (*BatchSettings) String ¶
func (x *BatchSettings) String() string
type BillingBudget ¶
type BillingBudget struct { BillingAccountId string `protobuf:"bytes,1,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"` BudgetId string `protobuf:"bytes,2,opt,name=budget_id,json=budgetId,proto3" json:"budget_id,omitempty"` // Types that are assignable to Action: // // *BillingBudget_InvokeFunction // *BillingBudget_InvokeContainer // *BillingBudget_GatewayWebsocketBroadcast Action isBillingBudget_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*BillingBudget) Descriptor
deprecated
func (*BillingBudget) Descriptor() ([]byte, []int)
Deprecated: Use BillingBudget.ProtoReflect.Descriptor instead.
func (*BillingBudget) GetAction ¶
func (m *BillingBudget) GetAction() isBillingBudget_Action
func (*BillingBudget) GetBillingAccountId ¶
func (x *BillingBudget) GetBillingAccountId() string
func (*BillingBudget) GetBudgetId ¶
func (x *BillingBudget) GetBudgetId() string
func (*BillingBudget) GetGatewayWebsocketBroadcast ¶
func (x *BillingBudget) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*BillingBudget) GetInvokeContainer ¶
func (x *BillingBudget) GetInvokeContainer() *InvokeContainerWithRetry
func (*BillingBudget) GetInvokeFunction ¶
func (x *BillingBudget) GetInvokeFunction() *InvokeFunctionWithRetry
func (*BillingBudget) ProtoMessage ¶
func (*BillingBudget) ProtoMessage()
func (*BillingBudget) ProtoReflect ¶
func (x *BillingBudget) ProtoReflect() protoreflect.Message
func (*BillingBudget) Reset ¶
func (x *BillingBudget) Reset()
func (*BillingBudget) SetAction ¶
func (m *BillingBudget) SetAction(v BillingBudget_Action)
func (*BillingBudget) SetBillingAccountId ¶
func (m *BillingBudget) SetBillingAccountId(v string)
func (*BillingBudget) SetBudgetId ¶
func (m *BillingBudget) SetBudgetId(v string)
func (*BillingBudget) SetGatewayWebsocketBroadcast ¶
func (m *BillingBudget) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*BillingBudget) SetInvokeContainer ¶
func (m *BillingBudget) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*BillingBudget) SetInvokeFunction ¶
func (m *BillingBudget) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*BillingBudget) String ¶
func (x *BillingBudget) String() string
type BillingBudget_Action ¶
type BillingBudget_Action = isBillingBudget_Action
type BillingBudget_GatewayWebsocketBroadcast ¶
type BillingBudget_GatewayWebsocketBroadcast struct {
GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,104,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"`
}
type BillingBudget_InvokeContainer ¶
type BillingBudget_InvokeContainer struct {
InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,103,opt,name=invoke_container,json=invokeContainer,proto3,oneof"`
}
type BillingBudget_InvokeFunction ¶
type BillingBudget_InvokeFunction struct {
InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"`
}
type CloudLogsBatchSettings ¶
type CloudLogsBatchSettings struct { // Batch size. Trigger will send the batch of messages to the function // when the number of messages in the log group reaches [size], or the [cutoff] time has passed. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Maximum wait time. Trigger will send the batch of messages to the function when // the number of messages in the log group reaches [size], or the [cutoff] time has passed. Cutoff *durationpb.Duration `protobuf:"bytes,2,opt,name=cutoff,proto3" json:"cutoff,omitempty"` // contains filtered or unexported fields }
func (*CloudLogsBatchSettings) Descriptor
deprecated
func (*CloudLogsBatchSettings) Descriptor() ([]byte, []int)
Deprecated: Use CloudLogsBatchSettings.ProtoReflect.Descriptor instead.
func (*CloudLogsBatchSettings) GetCutoff ¶
func (x *CloudLogsBatchSettings) GetCutoff() *durationpb.Duration
func (*CloudLogsBatchSettings) GetSize ¶
func (x *CloudLogsBatchSettings) GetSize() int64
func (*CloudLogsBatchSettings) ProtoMessage ¶
func (*CloudLogsBatchSettings) ProtoMessage()
func (*CloudLogsBatchSettings) ProtoReflect ¶
func (x *CloudLogsBatchSettings) ProtoReflect() protoreflect.Message
func (*CloudLogsBatchSettings) Reset ¶
func (x *CloudLogsBatchSettings) Reset()
func (*CloudLogsBatchSettings) SetCutoff ¶
func (m *CloudLogsBatchSettings) SetCutoff(v *durationpb.Duration)
func (*CloudLogsBatchSettings) SetSize ¶
func (m *CloudLogsBatchSettings) SetSize(v int64)
func (*CloudLogsBatchSettings) String ¶
func (x *CloudLogsBatchSettings) String() string
type CreateTriggerMetadata ¶
type CreateTriggerMetadata struct { // ID of the trigger that is being created. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*CreateTriggerMetadata) Descriptor
deprecated
func (*CreateTriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateTriggerMetadata.ProtoReflect.Descriptor instead.
func (*CreateTriggerMetadata) GetTriggerId ¶
func (x *CreateTriggerMetadata) GetTriggerId() string
func (*CreateTriggerMetadata) ProtoMessage ¶
func (*CreateTriggerMetadata) ProtoMessage()
func (*CreateTriggerMetadata) ProtoReflect ¶
func (x *CreateTriggerMetadata) ProtoReflect() protoreflect.Message
func (*CreateTriggerMetadata) Reset ¶
func (x *CreateTriggerMetadata) Reset()
func (*CreateTriggerMetadata) SetTriggerId ¶
func (m *CreateTriggerMetadata) SetTriggerId(v string)
func (*CreateTriggerMetadata) String ¶
func (x *CreateTriggerMetadata) String() string
type CreateTriggerRequest ¶
type CreateTriggerRequest struct { // ID of the folder to create a trigger in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the trigger. // The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the trigger. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Trigger type. Rule *Trigger_Rule `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*CreateTriggerRequest) Descriptor
deprecated
func (*CreateTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTriggerRequest.ProtoReflect.Descriptor instead.
func (*CreateTriggerRequest) GetDescription ¶
func (x *CreateTriggerRequest) GetDescription() string
func (*CreateTriggerRequest) GetFolderId ¶
func (x *CreateTriggerRequest) GetFolderId() string
func (*CreateTriggerRequest) GetLabels ¶
func (x *CreateTriggerRequest) GetLabels() map[string]string
func (*CreateTriggerRequest) GetName ¶
func (x *CreateTriggerRequest) GetName() string
func (*CreateTriggerRequest) GetRule ¶
func (x *CreateTriggerRequest) GetRule() *Trigger_Rule
func (*CreateTriggerRequest) ProtoMessage ¶
func (*CreateTriggerRequest) ProtoMessage()
func (*CreateTriggerRequest) ProtoReflect ¶
func (x *CreateTriggerRequest) ProtoReflect() protoreflect.Message
func (*CreateTriggerRequest) Reset ¶
func (x *CreateTriggerRequest) Reset()
func (*CreateTriggerRequest) SetDescription ¶
func (m *CreateTriggerRequest) SetDescription(v string)
func (*CreateTriggerRequest) SetFolderId ¶
func (m *CreateTriggerRequest) SetFolderId(v string)
func (*CreateTriggerRequest) SetLabels ¶
func (m *CreateTriggerRequest) SetLabels(v map[string]string)
func (*CreateTriggerRequest) SetName ¶
func (m *CreateTriggerRequest) SetName(v string)
func (*CreateTriggerRequest) SetRule ¶
func (m *CreateTriggerRequest) SetRule(v *Trigger_Rule)
func (*CreateTriggerRequest) String ¶
func (x *CreateTriggerRequest) String() string
type DataStream ¶
type DataStream struct { // Data stream endpoint. Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Data stream database. Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` // Stream name. Stream string `protobuf:"bytes,3,opt,name=stream,proto3" json:"stream,omitempty"` // ID of the service account which has permission to read data stream. ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Batch settings for processing events. BatchSettings *DataStreamBatchSettings `protobuf:"bytes,5,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Types that are assignable to Action: // // *DataStream_InvokeFunction // *DataStream_InvokeContainer // *DataStream_GatewayWebsocketBroadcast Action isDataStream_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*DataStream) Descriptor
deprecated
func (*DataStream) Descriptor() ([]byte, []int)
Deprecated: Use DataStream.ProtoReflect.Descriptor instead.
func (*DataStream) GetAction ¶
func (m *DataStream) GetAction() isDataStream_Action
func (*DataStream) GetBatchSettings ¶
func (x *DataStream) GetBatchSettings() *DataStreamBatchSettings
func (*DataStream) GetDatabase ¶
func (x *DataStream) GetDatabase() string
func (*DataStream) GetEndpoint ¶
func (x *DataStream) GetEndpoint() string
func (*DataStream) GetGatewayWebsocketBroadcast ¶
func (x *DataStream) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*DataStream) GetInvokeContainer ¶
func (x *DataStream) GetInvokeContainer() *InvokeContainerWithRetry
func (*DataStream) GetInvokeFunction ¶
func (x *DataStream) GetInvokeFunction() *InvokeFunctionWithRetry
func (*DataStream) GetServiceAccountId ¶
func (x *DataStream) GetServiceAccountId() string
func (*DataStream) GetStream ¶
func (x *DataStream) GetStream() string
func (*DataStream) ProtoMessage ¶
func (*DataStream) ProtoMessage()
func (*DataStream) ProtoReflect ¶
func (x *DataStream) ProtoReflect() protoreflect.Message
func (*DataStream) Reset ¶
func (x *DataStream) Reset()
func (*DataStream) SetAction ¶
func (m *DataStream) SetAction(v DataStream_Action)
func (*DataStream) SetBatchSettings ¶
func (m *DataStream) SetBatchSettings(v *DataStreamBatchSettings)
func (*DataStream) SetDatabase ¶
func (m *DataStream) SetDatabase(v string)
func (*DataStream) SetEndpoint ¶
func (m *DataStream) SetEndpoint(v string)
func (*DataStream) SetGatewayWebsocketBroadcast ¶
func (m *DataStream) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*DataStream) SetInvokeContainer ¶
func (m *DataStream) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*DataStream) SetInvokeFunction ¶
func (m *DataStream) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*DataStream) SetServiceAccountId ¶
func (m *DataStream) SetServiceAccountId(v string)
func (*DataStream) SetStream ¶
func (m *DataStream) SetStream(v string)
func (*DataStream) String ¶
func (x *DataStream) String() string
type DataStreamBatchSettings ¶
type DataStreamBatchSettings struct { // Batch size in bytes. Trigger will send the batch of messages to the associated function // when size of log events reaches this value, or the [cutoff] time has passed. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Maximum wait time. Trigger will send the batch of messages the time since the last batch // exceeds the `cutoff` value, regardless of the amount of log events. Cutoff *durationpb.Duration `protobuf:"bytes,2,opt,name=cutoff,proto3" json:"cutoff,omitempty"` // contains filtered or unexported fields }
func (*DataStreamBatchSettings) Descriptor
deprecated
func (*DataStreamBatchSettings) Descriptor() ([]byte, []int)
Deprecated: Use DataStreamBatchSettings.ProtoReflect.Descriptor instead.
func (*DataStreamBatchSettings) GetCutoff ¶
func (x *DataStreamBatchSettings) GetCutoff() *durationpb.Duration
func (*DataStreamBatchSettings) GetSize ¶
func (x *DataStreamBatchSettings) GetSize() int64
func (*DataStreamBatchSettings) ProtoMessage ¶
func (*DataStreamBatchSettings) ProtoMessage()
func (*DataStreamBatchSettings) ProtoReflect ¶
func (x *DataStreamBatchSettings) ProtoReflect() protoreflect.Message
func (*DataStreamBatchSettings) Reset ¶
func (x *DataStreamBatchSettings) Reset()
func (*DataStreamBatchSettings) SetCutoff ¶
func (m *DataStreamBatchSettings) SetCutoff(v *durationpb.Duration)
func (*DataStreamBatchSettings) SetSize ¶
func (m *DataStreamBatchSettings) SetSize(v int64)
func (*DataStreamBatchSettings) String ¶
func (x *DataStreamBatchSettings) String() string
type DataStream_Action ¶
type DataStream_Action = isDataStream_Action
type DataStream_GatewayWebsocketBroadcast ¶
type DataStream_GatewayWebsocketBroadcast struct {
GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,16,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"`
}
type DataStream_InvokeContainer ¶
type DataStream_InvokeContainer struct {
InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,15,opt,name=invoke_container,json=invokeContainer,proto3,oneof"`
}
type DataStream_InvokeFunction ¶
type DataStream_InvokeFunction struct {
InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,13,opt,name=invoke_function,json=invokeFunction,proto3,oneof"`
}
type DeleteTriggerMetadata ¶
type DeleteTriggerMetadata struct { // ID of the trigger that is being deleted. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTriggerMetadata) Descriptor
deprecated
func (*DeleteTriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTriggerMetadata.ProtoReflect.Descriptor instead.
func (*DeleteTriggerMetadata) GetTriggerId ¶
func (x *DeleteTriggerMetadata) GetTriggerId() string
func (*DeleteTriggerMetadata) ProtoMessage ¶
func (*DeleteTriggerMetadata) ProtoMessage()
func (*DeleteTriggerMetadata) ProtoReflect ¶
func (x *DeleteTriggerMetadata) ProtoReflect() protoreflect.Message
func (*DeleteTriggerMetadata) Reset ¶
func (x *DeleteTriggerMetadata) Reset()
func (*DeleteTriggerMetadata) SetTriggerId ¶
func (m *DeleteTriggerMetadata) SetTriggerId(v string)
func (*DeleteTriggerMetadata) String ¶
func (x *DeleteTriggerMetadata) String() string
type DeleteTriggerRequest ¶
type DeleteTriggerRequest struct { // ID of the trigger to delete. // // To get a trigger ID make a [TriggerService.List] request. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTriggerRequest) Descriptor
deprecated
func (*DeleteTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTriggerRequest.ProtoReflect.Descriptor instead.
func (*DeleteTriggerRequest) GetTriggerId ¶
func (x *DeleteTriggerRequest) GetTriggerId() string
func (*DeleteTriggerRequest) ProtoMessage ¶
func (*DeleteTriggerRequest) ProtoMessage()
func (*DeleteTriggerRequest) ProtoReflect ¶
func (x *DeleteTriggerRequest) ProtoReflect() protoreflect.Message
func (*DeleteTriggerRequest) Reset ¶
func (x *DeleteTriggerRequest) Reset()
func (*DeleteTriggerRequest) SetTriggerId ¶
func (m *DeleteTriggerRequest) SetTriggerId(v string)
func (*DeleteTriggerRequest) String ¶
func (x *DeleteTriggerRequest) String() string
type FieldValuePredicate ¶
type FieldValuePredicate struct { FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` // Types that are assignable to Value: // // *FieldValuePredicate_Exact // *FieldValuePredicate_Prefix // *FieldValuePredicate_Suffix Value isFieldValuePredicate_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*FieldValuePredicate) Descriptor
deprecated
func (*FieldValuePredicate) Descriptor() ([]byte, []int)
Deprecated: Use FieldValuePredicate.ProtoReflect.Descriptor instead.
func (*FieldValuePredicate) GetExact ¶
func (x *FieldValuePredicate) GetExact() string
func (*FieldValuePredicate) GetFieldPath ¶
func (x *FieldValuePredicate) GetFieldPath() string
func (*FieldValuePredicate) GetPrefix ¶
func (x *FieldValuePredicate) GetPrefix() string
func (*FieldValuePredicate) GetSuffix ¶
func (x *FieldValuePredicate) GetSuffix() string
func (*FieldValuePredicate) GetValue ¶
func (m *FieldValuePredicate) GetValue() isFieldValuePredicate_Value
func (*FieldValuePredicate) ProtoMessage ¶
func (*FieldValuePredicate) ProtoMessage()
func (*FieldValuePredicate) ProtoReflect ¶
func (x *FieldValuePredicate) ProtoReflect() protoreflect.Message
func (*FieldValuePredicate) Reset ¶
func (x *FieldValuePredicate) Reset()
func (*FieldValuePredicate) SetExact ¶
func (m *FieldValuePredicate) SetExact(v string)
func (*FieldValuePredicate) SetFieldPath ¶
func (m *FieldValuePredicate) SetFieldPath(v string)
func (*FieldValuePredicate) SetPrefix ¶
func (m *FieldValuePredicate) SetPrefix(v string)
func (*FieldValuePredicate) SetSuffix ¶
func (m *FieldValuePredicate) SetSuffix(v string)
func (*FieldValuePredicate) SetValue ¶
func (m *FieldValuePredicate) SetValue(v FieldValuePredicate_Value)
func (*FieldValuePredicate) String ¶
func (x *FieldValuePredicate) String() string
type FieldValuePredicate_Exact ¶
type FieldValuePredicate_Exact struct {
Exact string `protobuf:"bytes,3,opt,name=exact,proto3,oneof"` // string representation of the value matches exactly to the given string
}
type FieldValuePredicate_Prefix ¶
type FieldValuePredicate_Prefix struct {
Prefix string `protobuf:"bytes,8,opt,name=prefix,proto3,oneof"` // value has given prefix
}
type FieldValuePredicate_Suffix ¶
type FieldValuePredicate_Suffix struct {
Suffix string `protobuf:"bytes,9,opt,name=suffix,proto3,oneof"` // value has given suffix
}
type FieldValuePredicate_Value ¶
type FieldValuePredicate_Value = isFieldValuePredicate_Value
type GatewayWebsocketBroadcast ¶
type GatewayWebsocketBroadcast struct { GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // sa which has permission for writing to websockets ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*GatewayWebsocketBroadcast) Descriptor
deprecated
func (*GatewayWebsocketBroadcast) Descriptor() ([]byte, []int)
Deprecated: Use GatewayWebsocketBroadcast.ProtoReflect.Descriptor instead.
func (*GatewayWebsocketBroadcast) GetGatewayId ¶
func (x *GatewayWebsocketBroadcast) GetGatewayId() string
func (*GatewayWebsocketBroadcast) GetPath ¶
func (x *GatewayWebsocketBroadcast) GetPath() string
func (*GatewayWebsocketBroadcast) GetServiceAccountId ¶
func (x *GatewayWebsocketBroadcast) GetServiceAccountId() string
func (*GatewayWebsocketBroadcast) ProtoMessage ¶
func (*GatewayWebsocketBroadcast) ProtoMessage()
func (*GatewayWebsocketBroadcast) ProtoReflect ¶
func (x *GatewayWebsocketBroadcast) ProtoReflect() protoreflect.Message
func (*GatewayWebsocketBroadcast) Reset ¶
func (x *GatewayWebsocketBroadcast) Reset()
func (*GatewayWebsocketBroadcast) SetGatewayId ¶
func (m *GatewayWebsocketBroadcast) SetGatewayId(v string)
func (*GatewayWebsocketBroadcast) SetPath ¶
func (m *GatewayWebsocketBroadcast) SetPath(v string)
func (*GatewayWebsocketBroadcast) SetServiceAccountId ¶
func (m *GatewayWebsocketBroadcast) SetServiceAccountId(v string)
func (*GatewayWebsocketBroadcast) String ¶
func (x *GatewayWebsocketBroadcast) String() string
type GetTriggerRequest ¶
type GetTriggerRequest struct { // ID of the trigger to return. // // To get a trigger ID make a [TriggerService.List] request. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*GetTriggerRequest) Descriptor
deprecated
func (*GetTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerRequest.ProtoReflect.Descriptor instead.
func (*GetTriggerRequest) GetTriggerId ¶
func (x *GetTriggerRequest) GetTriggerId() string
func (*GetTriggerRequest) ProtoMessage ¶
func (*GetTriggerRequest) ProtoMessage()
func (*GetTriggerRequest) ProtoReflect ¶
func (x *GetTriggerRequest) ProtoReflect() protoreflect.Message
func (*GetTriggerRequest) Reset ¶
func (x *GetTriggerRequest) Reset()
func (*GetTriggerRequest) SetTriggerId ¶
func (m *GetTriggerRequest) SetTriggerId(v string)
func (*GetTriggerRequest) String ¶
func (x *GetTriggerRequest) String() string
type InvokeContainerOnce ¶
type InvokeContainerOnce struct { // ID of the container to invoke. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Endpoint HTTP path to invoke. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // ID of the service account which has permission to invoke the container. ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
A single container invocation.
func (*InvokeContainerOnce) Descriptor
deprecated
func (*InvokeContainerOnce) Descriptor() ([]byte, []int)
Deprecated: Use InvokeContainerOnce.ProtoReflect.Descriptor instead.
func (*InvokeContainerOnce) GetContainerId ¶
func (x *InvokeContainerOnce) GetContainerId() string
func (*InvokeContainerOnce) GetPath ¶
func (x *InvokeContainerOnce) GetPath() string
func (*InvokeContainerOnce) GetServiceAccountId ¶
func (x *InvokeContainerOnce) GetServiceAccountId() string
func (*InvokeContainerOnce) ProtoMessage ¶
func (*InvokeContainerOnce) ProtoMessage()
func (*InvokeContainerOnce) ProtoReflect ¶
func (x *InvokeContainerOnce) ProtoReflect() protoreflect.Message
func (*InvokeContainerOnce) Reset ¶
func (x *InvokeContainerOnce) Reset()
func (*InvokeContainerOnce) SetContainerId ¶
func (m *InvokeContainerOnce) SetContainerId(v string)
func (*InvokeContainerOnce) SetPath ¶
func (m *InvokeContainerOnce) SetPath(v string)
func (*InvokeContainerOnce) SetServiceAccountId ¶
func (m *InvokeContainerOnce) SetServiceAccountId(v string)
func (*InvokeContainerOnce) String ¶
func (x *InvokeContainerOnce) String() string
type InvokeContainerWithRetry ¶
type InvokeContainerWithRetry struct { // ID of the container to invoke. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Endpoint HTTP path to invoke. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // ID of the service account which has permission to invoke the container. ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. RetrySettings *RetrySettings `protobuf:"bytes,5,opt,name=retry_settings,json=retrySettings,proto3" json:"retry_settings,omitempty"` // DLQ policy (no value means discarding a message). DeadLetterQueue *PutQueueMessage `protobuf:"bytes,6,opt,name=dead_letter_queue,json=deadLetterQueue,proto3" json:"dead_letter_queue,omitempty"` // contains filtered or unexported fields }
A container invocation with retries.
func (*InvokeContainerWithRetry) Descriptor
deprecated
func (*InvokeContainerWithRetry) Descriptor() ([]byte, []int)
Deprecated: Use InvokeContainerWithRetry.ProtoReflect.Descriptor instead.
func (*InvokeContainerWithRetry) GetContainerId ¶
func (x *InvokeContainerWithRetry) GetContainerId() string
func (*InvokeContainerWithRetry) GetDeadLetterQueue ¶
func (x *InvokeContainerWithRetry) GetDeadLetterQueue() *PutQueueMessage
func (*InvokeContainerWithRetry) GetPath ¶
func (x *InvokeContainerWithRetry) GetPath() string
func (*InvokeContainerWithRetry) GetRetrySettings ¶
func (x *InvokeContainerWithRetry) GetRetrySettings() *RetrySettings
func (*InvokeContainerWithRetry) GetServiceAccountId ¶
func (x *InvokeContainerWithRetry) GetServiceAccountId() string
func (*InvokeContainerWithRetry) ProtoMessage ¶
func (*InvokeContainerWithRetry) ProtoMessage()
func (*InvokeContainerWithRetry) ProtoReflect ¶
func (x *InvokeContainerWithRetry) ProtoReflect() protoreflect.Message
func (*InvokeContainerWithRetry) Reset ¶
func (x *InvokeContainerWithRetry) Reset()
func (*InvokeContainerWithRetry) SetContainerId ¶
func (m *InvokeContainerWithRetry) SetContainerId(v string)
func (*InvokeContainerWithRetry) SetDeadLetterQueue ¶
func (m *InvokeContainerWithRetry) SetDeadLetterQueue(v *PutQueueMessage)
func (*InvokeContainerWithRetry) SetPath ¶
func (m *InvokeContainerWithRetry) SetPath(v string)
func (*InvokeContainerWithRetry) SetRetrySettings ¶
func (m *InvokeContainerWithRetry) SetRetrySettings(v *RetrySettings)
func (*InvokeContainerWithRetry) SetServiceAccountId ¶
func (m *InvokeContainerWithRetry) SetServiceAccountId(v string)
func (*InvokeContainerWithRetry) String ¶
func (x *InvokeContainerWithRetry) String() string
type InvokeFunctionOnce ¶
type InvokeFunctionOnce struct { // ID of the function to invoke. FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // Version tag of the function to execute. FunctionTag string `protobuf:"bytes,2,opt,name=function_tag,json=functionTag,proto3" json:"function_tag,omitempty"` // ID of the service account that should be used to invoke the function. ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
A single function invocation.
func (*InvokeFunctionOnce) Descriptor
deprecated
func (*InvokeFunctionOnce) Descriptor() ([]byte, []int)
Deprecated: Use InvokeFunctionOnce.ProtoReflect.Descriptor instead.
func (*InvokeFunctionOnce) GetFunctionId ¶
func (x *InvokeFunctionOnce) GetFunctionId() string
func (*InvokeFunctionOnce) GetFunctionTag ¶
func (x *InvokeFunctionOnce) GetFunctionTag() string
func (*InvokeFunctionOnce) GetServiceAccountId ¶
func (x *InvokeFunctionOnce) GetServiceAccountId() string
func (*InvokeFunctionOnce) ProtoMessage ¶
func (*InvokeFunctionOnce) ProtoMessage()
func (*InvokeFunctionOnce) ProtoReflect ¶
func (x *InvokeFunctionOnce) ProtoReflect() protoreflect.Message
func (*InvokeFunctionOnce) Reset ¶
func (x *InvokeFunctionOnce) Reset()
func (*InvokeFunctionOnce) SetFunctionId ¶
func (m *InvokeFunctionOnce) SetFunctionId(v string)
func (*InvokeFunctionOnce) SetFunctionTag ¶
func (m *InvokeFunctionOnce) SetFunctionTag(v string)
func (*InvokeFunctionOnce) SetServiceAccountId ¶
func (m *InvokeFunctionOnce) SetServiceAccountId(v string)
func (*InvokeFunctionOnce) String ¶
func (x *InvokeFunctionOnce) String() string
type InvokeFunctionWithRetry ¶
type InvokeFunctionWithRetry struct { // ID of the function to invoke. FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` // Version tag of the function to execute. FunctionTag string `protobuf:"bytes,2,opt,name=function_tag,json=functionTag,proto3" json:"function_tag,omitempty"` // ID of the service account which has permission to invoke the function. ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. RetrySettings *RetrySettings `protobuf:"bytes,4,opt,name=retry_settings,json=retrySettings,proto3" json:"retry_settings,omitempty"` // DLQ policy (no value means discarding a message). DeadLetterQueue *PutQueueMessage `protobuf:"bytes,5,opt,name=dead_letter_queue,json=deadLetterQueue,proto3" json:"dead_letter_queue,omitempty"` // contains filtered or unexported fields }
A function invocation with retries.
func (*InvokeFunctionWithRetry) Descriptor
deprecated
func (*InvokeFunctionWithRetry) Descriptor() ([]byte, []int)
Deprecated: Use InvokeFunctionWithRetry.ProtoReflect.Descriptor instead.
func (*InvokeFunctionWithRetry) GetDeadLetterQueue ¶
func (x *InvokeFunctionWithRetry) GetDeadLetterQueue() *PutQueueMessage
func (*InvokeFunctionWithRetry) GetFunctionId ¶
func (x *InvokeFunctionWithRetry) GetFunctionId() string
func (*InvokeFunctionWithRetry) GetFunctionTag ¶
func (x *InvokeFunctionWithRetry) GetFunctionTag() string
func (*InvokeFunctionWithRetry) GetRetrySettings ¶
func (x *InvokeFunctionWithRetry) GetRetrySettings() *RetrySettings
func (*InvokeFunctionWithRetry) GetServiceAccountId ¶
func (x *InvokeFunctionWithRetry) GetServiceAccountId() string
func (*InvokeFunctionWithRetry) ProtoMessage ¶
func (*InvokeFunctionWithRetry) ProtoMessage()
func (*InvokeFunctionWithRetry) ProtoReflect ¶
func (x *InvokeFunctionWithRetry) ProtoReflect() protoreflect.Message
func (*InvokeFunctionWithRetry) Reset ¶
func (x *InvokeFunctionWithRetry) Reset()
func (*InvokeFunctionWithRetry) SetDeadLetterQueue ¶
func (m *InvokeFunctionWithRetry) SetDeadLetterQueue(v *PutQueueMessage)
func (*InvokeFunctionWithRetry) SetFunctionId ¶
func (m *InvokeFunctionWithRetry) SetFunctionId(v string)
func (*InvokeFunctionWithRetry) SetFunctionTag ¶
func (m *InvokeFunctionWithRetry) SetFunctionTag(v string)
func (*InvokeFunctionWithRetry) SetRetrySettings ¶
func (m *InvokeFunctionWithRetry) SetRetrySettings(v *RetrySettings)
func (*InvokeFunctionWithRetry) SetServiceAccountId ¶
func (m *InvokeFunctionWithRetry) SetServiceAccountId(v string)
func (*InvokeFunctionWithRetry) String ¶
func (x *InvokeFunctionWithRetry) String() string
type ListTriggerOperationsRequest ¶
type ListTriggerOperationsRequest struct { // ID of the trigger to list operations for. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `pageSize`, the service returns a [ListTriggerOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `pageToken` to the // [ListTriggerOperationsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // // The expression must specify: // 1. The field name. Currently filtering can only be applied to the [Trigger.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `name=my-function`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListTriggerOperationsRequest) Descriptor
deprecated
func (*ListTriggerOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggerOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListTriggerOperationsRequest) GetFilter ¶
func (x *ListTriggerOperationsRequest) GetFilter() string
func (*ListTriggerOperationsRequest) GetPageSize ¶
func (x *ListTriggerOperationsRequest) GetPageSize() int64
func (*ListTriggerOperationsRequest) GetPageToken ¶
func (x *ListTriggerOperationsRequest) GetPageToken() string
func (*ListTriggerOperationsRequest) GetTriggerId ¶
func (x *ListTriggerOperationsRequest) GetTriggerId() string
func (*ListTriggerOperationsRequest) ProtoMessage ¶
func (*ListTriggerOperationsRequest) ProtoMessage()
func (*ListTriggerOperationsRequest) ProtoReflect ¶
func (x *ListTriggerOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListTriggerOperationsRequest) Reset ¶
func (x *ListTriggerOperationsRequest) Reset()
func (*ListTriggerOperationsRequest) SetFilter ¶
func (m *ListTriggerOperationsRequest) SetFilter(v string)
func (*ListTriggerOperationsRequest) SetPageSize ¶
func (m *ListTriggerOperationsRequest) SetPageSize(v int64)
func (*ListTriggerOperationsRequest) SetPageToken ¶
func (m *ListTriggerOperationsRequest) SetPageToken(v string)
func (*ListTriggerOperationsRequest) SetTriggerId ¶
func (m *ListTriggerOperationsRequest) SetTriggerId(v string)
func (*ListTriggerOperationsRequest) String ¶
func (x *ListTriggerOperationsRequest) String() string
type ListTriggerOperationsResponse ¶
type ListTriggerOperationsResponse struct { // List of operations for the specified trigger. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListTriggerOperationsRequest.page_size], use `nextPageToken` as the value // for the [ListTriggerOperationsRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `nextPageToken` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListTriggerOperationsResponse) Descriptor
deprecated
func (*ListTriggerOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggerOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListTriggerOperationsResponse) GetNextPageToken ¶
func (x *ListTriggerOperationsResponse) GetNextPageToken() string
func (*ListTriggerOperationsResponse) GetOperations ¶
func (x *ListTriggerOperationsResponse) GetOperations() []*operation.Operation
func (*ListTriggerOperationsResponse) ProtoMessage ¶
func (*ListTriggerOperationsResponse) ProtoMessage()
func (*ListTriggerOperationsResponse) ProtoReflect ¶
func (x *ListTriggerOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListTriggerOperationsResponse) Reset ¶
func (x *ListTriggerOperationsResponse) Reset()
func (*ListTriggerOperationsResponse) SetNextPageToken ¶
func (m *ListTriggerOperationsResponse) SetNextPageToken(v string)
func (*ListTriggerOperationsResponse) SetOperations ¶
func (m *ListTriggerOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListTriggerOperationsResponse) String ¶
func (x *ListTriggerOperationsResponse) String() string
type ListTriggersRequest ¶
type ListTriggersRequest struct { // ID of the folder to list triggers in. // // To get a folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than `pageSize`, the service returns a [ListTriggersResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `pageToken` to the // [ListTriggersResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters triggers listed in the response. // // The expression must specify: // 1. The field name. Currently filtering can only be applied to the [Trigger.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `name=my-trigger`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListTriggersRequest) Descriptor
deprecated
func (*ListTriggersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggersRequest.ProtoReflect.Descriptor instead.
func (*ListTriggersRequest) GetFilter ¶
func (x *ListTriggersRequest) GetFilter() string
func (*ListTriggersRequest) GetFolderId ¶
func (x *ListTriggersRequest) GetFolderId() string
func (*ListTriggersRequest) GetPageSize ¶
func (x *ListTriggersRequest) GetPageSize() int64
func (*ListTriggersRequest) GetPageToken ¶
func (x *ListTriggersRequest) GetPageToken() string
func (*ListTriggersRequest) ProtoMessage ¶
func (*ListTriggersRequest) ProtoMessage()
func (*ListTriggersRequest) ProtoReflect ¶
func (x *ListTriggersRequest) ProtoReflect() protoreflect.Message
func (*ListTriggersRequest) Reset ¶
func (x *ListTriggersRequest) Reset()
func (*ListTriggersRequest) SetFilter ¶
func (m *ListTriggersRequest) SetFilter(v string)
func (*ListTriggersRequest) SetFolderId ¶
func (m *ListTriggersRequest) SetFolderId(v string)
func (*ListTriggersRequest) SetPageSize ¶
func (m *ListTriggersRequest) SetPageSize(v int64)
func (*ListTriggersRequest) SetPageToken ¶
func (m *ListTriggersRequest) SetPageToken(v string)
func (*ListTriggersRequest) String ¶
func (x *ListTriggersRequest) String() string
type ListTriggersResponse ¶
type ListTriggersResponse struct { // List of triggers in the specified folder. Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListTriggersRequest.page_size], use `nextPageToken` as the value // for the [ListTriggersRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `nextPageToken` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListTriggersResponse) Descriptor
deprecated
func (*ListTriggersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggersResponse.ProtoReflect.Descriptor instead.
func (*ListTriggersResponse) GetNextPageToken ¶
func (x *ListTriggersResponse) GetNextPageToken() string
func (*ListTriggersResponse) GetTriggers ¶
func (x *ListTriggersResponse) GetTriggers() []*Trigger
func (*ListTriggersResponse) ProtoMessage ¶
func (*ListTriggersResponse) ProtoMessage()
func (*ListTriggersResponse) ProtoReflect ¶
func (x *ListTriggersResponse) ProtoReflect() protoreflect.Message
func (*ListTriggersResponse) Reset ¶
func (x *ListTriggersResponse) Reset()
func (*ListTriggersResponse) SetNextPageToken ¶
func (m *ListTriggersResponse) SetNextPageToken(v string)
func (*ListTriggersResponse) SetTriggers ¶
func (m *ListTriggersResponse) SetTriggers(v []*Trigger)
func (*ListTriggersResponse) String ¶
func (x *ListTriggersResponse) String() string
type LoggingBatchSettings ¶
type LoggingBatchSettings struct { // Batch size. Trigger will send the batch of messages to the associated function // when the number of log events reaches this value, or the [cutoff] time has passed. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Maximum wait time. Trigger will send the batch of messages the time since the last batch // exceeds the `cutoff` value, regardless of the amount of log events. Cutoff *durationpb.Duration `protobuf:"bytes,2,opt,name=cutoff,proto3" json:"cutoff,omitempty"` // contains filtered or unexported fields }
func (*LoggingBatchSettings) Descriptor
deprecated
func (*LoggingBatchSettings) Descriptor() ([]byte, []int)
Deprecated: Use LoggingBatchSettings.ProtoReflect.Descriptor instead.
func (*LoggingBatchSettings) GetCutoff ¶
func (x *LoggingBatchSettings) GetCutoff() *durationpb.Duration
func (*LoggingBatchSettings) GetSize ¶
func (x *LoggingBatchSettings) GetSize() int64
func (*LoggingBatchSettings) ProtoMessage ¶
func (*LoggingBatchSettings) ProtoMessage()
func (*LoggingBatchSettings) ProtoReflect ¶
func (x *LoggingBatchSettings) ProtoReflect() protoreflect.Message
func (*LoggingBatchSettings) Reset ¶
func (x *LoggingBatchSettings) Reset()
func (*LoggingBatchSettings) SetCutoff ¶
func (m *LoggingBatchSettings) SetCutoff(v *durationpb.Duration)
func (*LoggingBatchSettings) SetSize ¶
func (m *LoggingBatchSettings) SetSize(v int64)
func (*LoggingBatchSettings) String ¶
func (x *LoggingBatchSettings) String() string
type Mail ¶
type Mail struct { // Address to receive emails for trigger activation. // Field is ignored for write requests and populated on trigger creation. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Batch settings for processing events. BatchSettings *BatchSettings `protobuf:"bytes,3,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Bucket settings for saving attachments. AttachmentsBucket *ObjectStorageBucketSettings `protobuf:"bytes,4,opt,name=attachments_bucket,json=attachmentsBucket,proto3" json:"attachments_bucket,omitempty"` // Types that are assignable to Action: // // *Mail_InvokeFunction // *Mail_InvokeContainer // *Mail_GatewayWebsocketBroadcast Action isMail_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Mail) Descriptor
deprecated
func (*Mail) GetAttachmentsBucket ¶
func (x *Mail) GetAttachmentsBucket() *ObjectStorageBucketSettings
func (*Mail) GetBatchSettings ¶
func (x *Mail) GetBatchSettings() *BatchSettings
func (*Mail) GetGatewayWebsocketBroadcast ¶
func (x *Mail) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Mail) GetInvokeContainer ¶
func (x *Mail) GetInvokeContainer() *InvokeContainerWithRetry
func (*Mail) GetInvokeFunction ¶
func (x *Mail) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Mail) ProtoMessage ¶
func (*Mail) ProtoMessage()
func (*Mail) ProtoReflect ¶
func (x *Mail) ProtoReflect() protoreflect.Message
func (*Mail) SetAction ¶
func (m *Mail) SetAction(v Mail_Action)
func (*Mail) SetAttachmentsBucket ¶
func (m *Mail) SetAttachmentsBucket(v *ObjectStorageBucketSettings)
func (*Mail) SetBatchSettings ¶
func (m *Mail) SetBatchSettings(v *BatchSettings)
func (*Mail) SetGatewayWebsocketBroadcast ¶
func (m *Mail) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Mail) SetInvokeContainer ¶
func (m *Mail) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Mail) SetInvokeFunction ¶
func (m *Mail) SetInvokeFunction(v *InvokeFunctionWithRetry)
type Mail_Action ¶
type Mail_Action = isMail_Action
type Mail_GatewayWebsocketBroadcast ¶
type Mail_GatewayWebsocketBroadcast struct {
GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,104,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"`
}
type Mail_InvokeContainer ¶
type Mail_InvokeContainer struct {
InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,103,opt,name=invoke_container,json=invokeContainer,proto3,oneof"`
}
type Mail_InvokeFunction ¶
type Mail_InvokeFunction struct {
InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"`
}
type ObjectStorageBucketSettings ¶
type ObjectStorageBucketSettings struct { // Bucket for saving. BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // SA which has write permission on storage. ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectStorageBucketSettings) Descriptor
deprecated
func (*ObjectStorageBucketSettings) Descriptor() ([]byte, []int)
Deprecated: Use ObjectStorageBucketSettings.ProtoReflect.Descriptor instead.
func (*ObjectStorageBucketSettings) GetBucketId ¶
func (x *ObjectStorageBucketSettings) GetBucketId() string
func (*ObjectStorageBucketSettings) GetServiceAccountId ¶
func (x *ObjectStorageBucketSettings) GetServiceAccountId() string
func (*ObjectStorageBucketSettings) ProtoMessage ¶
func (*ObjectStorageBucketSettings) ProtoMessage()
func (*ObjectStorageBucketSettings) ProtoReflect ¶
func (x *ObjectStorageBucketSettings) ProtoReflect() protoreflect.Message
func (*ObjectStorageBucketSettings) Reset ¶
func (x *ObjectStorageBucketSettings) Reset()
func (*ObjectStorageBucketSettings) SetBucketId ¶
func (m *ObjectStorageBucketSettings) SetBucketId(v string)
func (*ObjectStorageBucketSettings) SetServiceAccountId ¶
func (m *ObjectStorageBucketSettings) SetServiceAccountId(v string)
func (*ObjectStorageBucketSettings) String ¶
func (x *ObjectStorageBucketSettings) String() string
type PauseTriggerMetadata ¶
type PauseTriggerMetadata struct { // ID of the trigger that is being paused. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*PauseTriggerMetadata) Descriptor
deprecated
func (*PauseTriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PauseTriggerMetadata.ProtoReflect.Descriptor instead.
func (*PauseTriggerMetadata) GetTriggerId ¶
func (x *PauseTriggerMetadata) GetTriggerId() string
func (*PauseTriggerMetadata) ProtoMessage ¶
func (*PauseTriggerMetadata) ProtoMessage()
func (*PauseTriggerMetadata) ProtoReflect ¶
func (x *PauseTriggerMetadata) ProtoReflect() protoreflect.Message
func (*PauseTriggerMetadata) Reset ¶
func (x *PauseTriggerMetadata) Reset()
func (*PauseTriggerMetadata) SetTriggerId ¶
func (m *PauseTriggerMetadata) SetTriggerId(v string)
func (*PauseTriggerMetadata) String ¶
func (x *PauseTriggerMetadata) String() string
type PauseTriggerRequest ¶
type PauseTriggerRequest struct { // ID of the trigger to pause // // To get a trigger ID make a [TriggerService.List] request. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*PauseTriggerRequest) Descriptor
deprecated
func (*PauseTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseTriggerRequest.ProtoReflect.Descriptor instead.
func (*PauseTriggerRequest) GetTriggerId ¶
func (x *PauseTriggerRequest) GetTriggerId() string
func (*PauseTriggerRequest) ProtoMessage ¶
func (*PauseTriggerRequest) ProtoMessage()
func (*PauseTriggerRequest) ProtoReflect ¶
func (x *PauseTriggerRequest) ProtoReflect() protoreflect.Message
func (*PauseTriggerRequest) Reset ¶
func (x *PauseTriggerRequest) Reset()
func (*PauseTriggerRequest) SetTriggerId ¶
func (m *PauseTriggerRequest) SetTriggerId(v string)
func (*PauseTriggerRequest) String ¶
func (x *PauseTriggerRequest) String() string
type Predicate ¶
type Predicate struct { // Types that are assignable to Predicate: // // *Predicate_AndPredicate // *Predicate_FieldValuePredicate Predicate isPredicate_Predicate `protobuf_oneof:"predicate"` // contains filtered or unexported fields }
func (*Predicate) Descriptor
deprecated
func (*Predicate) GetAndPredicate ¶
func (x *Predicate) GetAndPredicate() *AndPredicate
func (*Predicate) GetFieldValuePredicate ¶
func (x *Predicate) GetFieldValuePredicate() *FieldValuePredicate
func (*Predicate) GetPredicate ¶
func (m *Predicate) GetPredicate() isPredicate_Predicate
func (*Predicate) ProtoMessage ¶
func (*Predicate) ProtoMessage()
func (*Predicate) ProtoReflect ¶
func (x *Predicate) ProtoReflect() protoreflect.Message
func (*Predicate) SetAndPredicate ¶
func (m *Predicate) SetAndPredicate(v *AndPredicate)
func (*Predicate) SetFieldValuePredicate ¶
func (m *Predicate) SetFieldValuePredicate(v *FieldValuePredicate)
func (*Predicate) SetPredicate ¶
func (m *Predicate) SetPredicate(v Predicate_Predicate)
type Predicate_AndPredicate ¶
type Predicate_AndPredicate struct {
AndPredicate *AndPredicate `protobuf:"bytes,2,opt,name=and_predicate,json=andPredicate,proto3,oneof"`
}
type Predicate_FieldValuePredicate ¶
type Predicate_FieldValuePredicate struct {
FieldValuePredicate *FieldValuePredicate `protobuf:"bytes,4,opt,name=field_value_predicate,json=fieldValuePredicate,proto3,oneof"`
}
type Predicate_Predicate ¶
type Predicate_Predicate = isPredicate_Predicate
type PutQueueMessage ¶
type PutQueueMessage struct { // ID of the queue. QueueId string `protobuf:"bytes,11,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` // Service account which has write permission on the queue. ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*PutQueueMessage) Descriptor
deprecated
func (*PutQueueMessage) Descriptor() ([]byte, []int)
Deprecated: Use PutQueueMessage.ProtoReflect.Descriptor instead.
func (*PutQueueMessage) GetQueueId ¶
func (x *PutQueueMessage) GetQueueId() string
func (*PutQueueMessage) GetServiceAccountId ¶
func (x *PutQueueMessage) GetServiceAccountId() string
func (*PutQueueMessage) ProtoMessage ¶
func (*PutQueueMessage) ProtoMessage()
func (*PutQueueMessage) ProtoReflect ¶
func (x *PutQueueMessage) ProtoReflect() protoreflect.Message
func (*PutQueueMessage) Reset ¶
func (x *PutQueueMessage) Reset()
func (*PutQueueMessage) SetQueueId ¶
func (m *PutQueueMessage) SetQueueId(v string)
func (*PutQueueMessage) SetServiceAccountId ¶
func (m *PutQueueMessage) SetServiceAccountId(v string)
func (*PutQueueMessage) String ¶
func (x *PutQueueMessage) String() string
type ResumeTriggerMetadata ¶
type ResumeTriggerMetadata struct { // ID of the trigger that is being paused. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*ResumeTriggerMetadata) Descriptor
deprecated
func (*ResumeTriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResumeTriggerMetadata.ProtoReflect.Descriptor instead.
func (*ResumeTriggerMetadata) GetTriggerId ¶
func (x *ResumeTriggerMetadata) GetTriggerId() string
func (*ResumeTriggerMetadata) ProtoMessage ¶
func (*ResumeTriggerMetadata) ProtoMessage()
func (*ResumeTriggerMetadata) ProtoReflect ¶
func (x *ResumeTriggerMetadata) ProtoReflect() protoreflect.Message
func (*ResumeTriggerMetadata) Reset ¶
func (x *ResumeTriggerMetadata) Reset()
func (*ResumeTriggerMetadata) SetTriggerId ¶
func (m *ResumeTriggerMetadata) SetTriggerId(v string)
func (*ResumeTriggerMetadata) String ¶
func (x *ResumeTriggerMetadata) String() string
type ResumeTriggerRequest ¶
type ResumeTriggerRequest struct { // ID of the trigger to pause // // To get a trigger ID make a [TriggerService.List] request. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*ResumeTriggerRequest) Descriptor
deprecated
func (*ResumeTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeTriggerRequest.ProtoReflect.Descriptor instead.
func (*ResumeTriggerRequest) GetTriggerId ¶
func (x *ResumeTriggerRequest) GetTriggerId() string
func (*ResumeTriggerRequest) ProtoMessage ¶
func (*ResumeTriggerRequest) ProtoMessage()
func (*ResumeTriggerRequest) ProtoReflect ¶
func (x *ResumeTriggerRequest) ProtoReflect() protoreflect.Message
func (*ResumeTriggerRequest) Reset ¶
func (x *ResumeTriggerRequest) Reset()
func (*ResumeTriggerRequest) SetTriggerId ¶
func (m *ResumeTriggerRequest) SetTriggerId(v string)
func (*ResumeTriggerRequest) String ¶
func (x *ResumeTriggerRequest) String() string
type RetrySettings ¶
type RetrySettings struct { // Maximum number of retries (extra invokes) before the action is considered failed. RetryAttempts int64 `protobuf:"varint,1,opt,name=retry_attempts,json=retryAttempts,proto3" json:"retry_attempts,omitempty"` // Time in seconds to wait between individual retries. Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
Settings for retrying to invoke a function.
func (*RetrySettings) Descriptor
deprecated
func (*RetrySettings) Descriptor() ([]byte, []int)
Deprecated: Use RetrySettings.ProtoReflect.Descriptor instead.
func (*RetrySettings) GetInterval ¶
func (x *RetrySettings) GetInterval() *durationpb.Duration
func (*RetrySettings) GetRetryAttempts ¶
func (x *RetrySettings) GetRetryAttempts() int64
func (*RetrySettings) ProtoMessage ¶
func (*RetrySettings) ProtoMessage()
func (*RetrySettings) ProtoReflect ¶
func (x *RetrySettings) ProtoReflect() protoreflect.Message
func (*RetrySettings) Reset ¶
func (x *RetrySettings) Reset()
func (*RetrySettings) SetInterval ¶
func (m *RetrySettings) SetInterval(v *durationpb.Duration)
func (*RetrySettings) SetRetryAttempts ¶
func (m *RetrySettings) SetRetryAttempts(v int64)
func (*RetrySettings) String ¶
func (x *RetrySettings) String() string
type Trigger ¶
type Trigger struct { // ID of the trigger. Generated at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the trigger belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp for the trigger. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the trigger. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the trigger. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Trigger labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Rule for trigger activation (always consistent with the trigger type). Rule *Trigger_Rule `protobuf:"bytes,8,opt,name=rule,proto3" json:"rule,omitempty"` // Trigger status. Status Trigger_Status `protobuf:"varint,9,opt,name=status,proto3,enum=yandex.cloud.serverless.triggers.v1.Trigger_Status" json:"status,omitempty"` // contains filtered or unexported fields }
A trigger to invoke a serverless function. For more information, see [Triggers](/docs/functions/concepts/trigger).
func (*Trigger) Descriptor
deprecated
func (*Trigger) GetCreatedAt ¶
func (x *Trigger) GetCreatedAt() *timestamppb.Timestamp
func (*Trigger) GetDescription ¶
func (*Trigger) GetFolderId ¶
func (*Trigger) GetRule ¶
func (x *Trigger) GetRule() *Trigger_Rule
func (*Trigger) GetStatus ¶
func (x *Trigger) GetStatus() Trigger_Status
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) ProtoReflect ¶
func (x *Trigger) ProtoReflect() protoreflect.Message
func (*Trigger) SetCreatedAt ¶
func (m *Trigger) SetCreatedAt(v *timestamppb.Timestamp)
func (*Trigger) SetDescription ¶
func (*Trigger) SetFolderId ¶
func (*Trigger) SetRule ¶
func (m *Trigger) SetRule(v *Trigger_Rule)
func (*Trigger) SetStatus ¶
func (m *Trigger) SetStatus(v Trigger_Status)
type TriggerServiceClient ¶
type TriggerServiceClient interface { // Returns the specified trigger. // // To get the list of all available triggers, make a [List] request. Get(ctx context.Context, in *GetTriggerRequest, opts ...grpc.CallOption) (*Trigger, error) // Retrieves the list of triggers in the specified folder. List(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error) // Creates a trigger in the specified folder. Create(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified trigger. Update(ctx context.Context, in *UpdateTriggerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified trigger. Delete(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Pauses the specified trigger. Pause(ctx context.Context, in *PauseTriggerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Restarts the specified trigger. Resume(ctx context.Context, in *ResumeTriggerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified trigger. ListOperations(ctx context.Context, in *ListTriggerOperationsRequest, opts ...grpc.CallOption) (*ListTriggerOperationsResponse, error) }
TriggerServiceClient is the client API for TriggerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTriggerServiceClient ¶
func NewTriggerServiceClient(cc grpc.ClientConnInterface) TriggerServiceClient
type TriggerServiceServer ¶
type TriggerServiceServer interface { // Returns the specified trigger. // // To get the list of all available triggers, make a [List] request. Get(context.Context, *GetTriggerRequest) (*Trigger, error) // Retrieves the list of triggers in the specified folder. List(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error) // Creates a trigger in the specified folder. Create(context.Context, *CreateTriggerRequest) (*operation.Operation, error) // Updates the specified trigger. Update(context.Context, *UpdateTriggerRequest) (*operation.Operation, error) // Deletes the specified trigger. Delete(context.Context, *DeleteTriggerRequest) (*operation.Operation, error) // Pauses the specified trigger. Pause(context.Context, *PauseTriggerRequest) (*operation.Operation, error) // Restarts the specified trigger. Resume(context.Context, *ResumeTriggerRequest) (*operation.Operation, error) // Lists operations for the specified trigger. ListOperations(context.Context, *ListTriggerOperationsRequest) (*ListTriggerOperationsResponse, error) }
TriggerServiceServer is the server API for TriggerService service. All implementations should embed UnimplementedTriggerServiceServer for forward compatibility
type TriggerType ¶
type TriggerType int32
const ( TriggerType_TRIGGER_TYPE_UNSPECIFIED TriggerType = 0 // The trigger is activated on a timer. TriggerType_TIMER TriggerType = 2 // The trigger is activated by messages from a message queue. // // Only Message Queue is currently supported. TriggerType_MESSAGE_QUEUE TriggerType = 3 // The trigger is activated by messages from IoT Core. TriggerType_IOT_MESSAGE TriggerType = 4 TriggerType_IOT_BROKER_MESSAGE TriggerType = 12 TriggerType_OBJECT_STORAGE TriggerType = 5 TriggerType_CONTAINER_REGISTRY TriggerType = 6 // The trigger is activated by cloud log group events TriggerType_CLOUD_LOGS TriggerType = 7 // The trigger is activated by logging group events TriggerType_LOGGING TriggerType = 8 // The trigger is activated by billing events TriggerType_BILLING_BUDGET TriggerType = 9 // The trigger is activated by YDS events TriggerType_YDS TriggerType = 10 // The trigger is activated by email TriggerType_MAIL TriggerType = 11 )
func (TriggerType) Descriptor ¶
func (TriggerType) Descriptor() protoreflect.EnumDescriptor
func (TriggerType) Enum ¶
func (x TriggerType) Enum() *TriggerType
func (TriggerType) EnumDescriptor
deprecated
func (TriggerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TriggerType.Descriptor instead.
func (TriggerType) Number ¶
func (x TriggerType) Number() protoreflect.EnumNumber
func (TriggerType) String ¶
func (x TriggerType) String() string
func (TriggerType) Type ¶
func (TriggerType) Type() protoreflect.EnumType
type Trigger_CloudLogs ¶
type Trigger_CloudLogs struct { // Log group identifiers, at least one value is required. LogGroupId []string `protobuf:"bytes,1,rep,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` // Batch settings for processing log events. BatchSettings *CloudLogsBatchSettings `protobuf:"bytes,2,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Types that are assignable to Action: // // *Trigger_CloudLogs_InvokeFunction // *Trigger_CloudLogs_InvokeContainer Action isTrigger_CloudLogs_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Trigger_CloudLogs) Descriptor
deprecated
func (*Trigger_CloudLogs) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_CloudLogs.ProtoReflect.Descriptor instead.
func (*Trigger_CloudLogs) GetAction ¶
func (m *Trigger_CloudLogs) GetAction() isTrigger_CloudLogs_Action
func (*Trigger_CloudLogs) GetBatchSettings ¶
func (x *Trigger_CloudLogs) GetBatchSettings() *CloudLogsBatchSettings
func (*Trigger_CloudLogs) GetInvokeContainer ¶
func (x *Trigger_CloudLogs) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_CloudLogs) GetInvokeFunction ¶
func (x *Trigger_CloudLogs) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_CloudLogs) GetLogGroupId ¶
func (x *Trigger_CloudLogs) GetLogGroupId() []string
func (*Trigger_CloudLogs) ProtoMessage ¶
func (*Trigger_CloudLogs) ProtoMessage()
func (*Trigger_CloudLogs) ProtoReflect ¶
func (x *Trigger_CloudLogs) ProtoReflect() protoreflect.Message
func (*Trigger_CloudLogs) Reset ¶
func (x *Trigger_CloudLogs) Reset()
func (*Trigger_CloudLogs) SetAction ¶
func (m *Trigger_CloudLogs) SetAction(v Trigger_CloudLogs_Action)
func (*Trigger_CloudLogs) SetBatchSettings ¶
func (m *Trigger_CloudLogs) SetBatchSettings(v *CloudLogsBatchSettings)
func (*Trigger_CloudLogs) SetInvokeContainer ¶
func (m *Trigger_CloudLogs) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_CloudLogs) SetInvokeFunction ¶
func (m *Trigger_CloudLogs) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_CloudLogs) SetLogGroupId ¶
func (m *Trigger_CloudLogs) SetLogGroupId(v []string)
func (*Trigger_CloudLogs) String ¶
func (x *Trigger_CloudLogs) String() string
type Trigger_CloudLogs_Action ¶
type Trigger_CloudLogs_Action = isTrigger_CloudLogs_Action
type Trigger_CloudLogs_InvokeContainer ¶
type Trigger_CloudLogs_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_CloudLogs_InvokeFunction ¶
type Trigger_CloudLogs_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_ContainerRegistry ¶
type Trigger_ContainerRegistry struct { // Type (name) of events, at least one value is required. EventType []Trigger_ContainerRegistryEventType `` /* 172-byte string literal not displayed */ // ID of the registry. RegistryId string `protobuf:"bytes,4,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Docker-image name. Filter, optional. ImageName string `protobuf:"bytes,5,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` // Docker-image tag. Filter, optional. Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"` // Batch settings for processing events. BatchSettings *BatchSettings `protobuf:"bytes,7,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Types that are assignable to Action: // // *Trigger_ContainerRegistry_InvokeFunction // *Trigger_ContainerRegistry_InvokeContainer // *Trigger_ContainerRegistry_GatewayWebsocketBroadcast Action isTrigger_ContainerRegistry_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Trigger_ContainerRegistry) Descriptor
deprecated
func (*Trigger_ContainerRegistry) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_ContainerRegistry.ProtoReflect.Descriptor instead.
func (*Trigger_ContainerRegistry) GetAction ¶
func (m *Trigger_ContainerRegistry) GetAction() isTrigger_ContainerRegistry_Action
func (*Trigger_ContainerRegistry) GetBatchSettings ¶
func (x *Trigger_ContainerRegistry) GetBatchSettings() *BatchSettings
func (*Trigger_ContainerRegistry) GetEventType ¶
func (x *Trigger_ContainerRegistry) GetEventType() []Trigger_ContainerRegistryEventType
func (*Trigger_ContainerRegistry) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_ContainerRegistry) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_ContainerRegistry) GetImageName ¶
func (x *Trigger_ContainerRegistry) GetImageName() string
func (*Trigger_ContainerRegistry) GetInvokeContainer ¶
func (x *Trigger_ContainerRegistry) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_ContainerRegistry) GetInvokeFunction ¶
func (x *Trigger_ContainerRegistry) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_ContainerRegistry) GetRegistryId ¶
func (x *Trigger_ContainerRegistry) GetRegistryId() string
func (*Trigger_ContainerRegistry) GetTag ¶
func (x *Trigger_ContainerRegistry) GetTag() string
func (*Trigger_ContainerRegistry) ProtoMessage ¶
func (*Trigger_ContainerRegistry) ProtoMessage()
func (*Trigger_ContainerRegistry) ProtoReflect ¶
func (x *Trigger_ContainerRegistry) ProtoReflect() protoreflect.Message
func (*Trigger_ContainerRegistry) Reset ¶
func (x *Trigger_ContainerRegistry) Reset()
func (*Trigger_ContainerRegistry) SetAction ¶
func (m *Trigger_ContainerRegistry) SetAction(v Trigger_ContainerRegistry_Action)
func (*Trigger_ContainerRegistry) SetBatchSettings ¶
func (m *Trigger_ContainerRegistry) SetBatchSettings(v *BatchSettings)
func (*Trigger_ContainerRegistry) SetEventType ¶
func (m *Trigger_ContainerRegistry) SetEventType(v []Trigger_ContainerRegistryEventType)
func (*Trigger_ContainerRegistry) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_ContainerRegistry) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_ContainerRegistry) SetImageName ¶
func (m *Trigger_ContainerRegistry) SetImageName(v string)
func (*Trigger_ContainerRegistry) SetInvokeContainer ¶
func (m *Trigger_ContainerRegistry) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_ContainerRegistry) SetInvokeFunction ¶
func (m *Trigger_ContainerRegistry) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_ContainerRegistry) SetRegistryId ¶
func (m *Trigger_ContainerRegistry) SetRegistryId(v string)
func (*Trigger_ContainerRegistry) SetTag ¶
func (m *Trigger_ContainerRegistry) SetTag(v string)
func (*Trigger_ContainerRegistry) String ¶
func (x *Trigger_ContainerRegistry) String() string
type Trigger_ContainerRegistryEventType ¶
type Trigger_ContainerRegistryEventType int32
const ( Trigger_CONTAINER_REGISTRY_EVENT_TYPE_UNSPECIFIED Trigger_ContainerRegistryEventType = 0 Trigger_CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE Trigger_ContainerRegistryEventType = 1 Trigger_CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE Trigger_ContainerRegistryEventType = 2 Trigger_CONTAINER_REGISTRY_EVENT_TYPE_CREATE_IMAGE_TAG Trigger_ContainerRegistryEventType = 3 Trigger_CONTAINER_REGISTRY_EVENT_TYPE_DELETE_IMAGE_TAG Trigger_ContainerRegistryEventType = 4 )
func (Trigger_ContainerRegistryEventType) Descriptor ¶
func (Trigger_ContainerRegistryEventType) Descriptor() protoreflect.EnumDescriptor
func (Trigger_ContainerRegistryEventType) Enum ¶
func (x Trigger_ContainerRegistryEventType) Enum() *Trigger_ContainerRegistryEventType
func (Trigger_ContainerRegistryEventType) EnumDescriptor
deprecated
func (Trigger_ContainerRegistryEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trigger_ContainerRegistryEventType.Descriptor instead.
func (Trigger_ContainerRegistryEventType) Number ¶
func (x Trigger_ContainerRegistryEventType) Number() protoreflect.EnumNumber
func (Trigger_ContainerRegistryEventType) String ¶
func (x Trigger_ContainerRegistryEventType) String() string
func (Trigger_ContainerRegistryEventType) Type ¶
func (Trigger_ContainerRegistryEventType) Type() protoreflect.EnumType
type Trigger_ContainerRegistry_Action ¶
type Trigger_ContainerRegistry_Action = isTrigger_ContainerRegistry_Action
type Trigger_ContainerRegistry_GatewayWebsocketBroadcast ¶
type Trigger_ContainerRegistry_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,103,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_ContainerRegistry_InvokeContainer ¶
type Trigger_ContainerRegistry_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_ContainerRegistry_InvokeFunction ¶
type Trigger_ContainerRegistry_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_IoTBrokerMessage ¶
type Trigger_IoTBrokerMessage struct { // ID of the IoT Core broker. BrokerId string `protobuf:"bytes,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"` // MQTT topic whose messages activate the trigger. MqttTopic string `protobuf:"bytes,2,opt,name=mqtt_topic,json=mqttTopic,proto3" json:"mqtt_topic,omitempty"` // Batch settings for processing events. BatchSettings *BatchSettings `protobuf:"bytes,3,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Action to be executed when the there's a new message in the MQTT topic. // // Types that are assignable to Action: // // *Trigger_IoTBrokerMessage_InvokeFunction // *Trigger_IoTBrokerMessage_InvokeContainer // *Trigger_IoTBrokerMessage_GatewayWebsocketBroadcast Action isTrigger_IoTBrokerMessage_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
Rule for activating a IoT Core Broker trigger.
func (*Trigger_IoTBrokerMessage) Descriptor
deprecated
func (*Trigger_IoTBrokerMessage) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_IoTBrokerMessage.ProtoReflect.Descriptor instead.
func (*Trigger_IoTBrokerMessage) GetAction ¶
func (m *Trigger_IoTBrokerMessage) GetAction() isTrigger_IoTBrokerMessage_Action
func (*Trigger_IoTBrokerMessage) GetBatchSettings ¶
func (x *Trigger_IoTBrokerMessage) GetBatchSettings() *BatchSettings
func (*Trigger_IoTBrokerMessage) GetBrokerId ¶
func (x *Trigger_IoTBrokerMessage) GetBrokerId() string
func (*Trigger_IoTBrokerMessage) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_IoTBrokerMessage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_IoTBrokerMessage) GetInvokeContainer ¶
func (x *Trigger_IoTBrokerMessage) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_IoTBrokerMessage) GetInvokeFunction ¶
func (x *Trigger_IoTBrokerMessage) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_IoTBrokerMessage) GetMqttTopic ¶
func (x *Trigger_IoTBrokerMessage) GetMqttTopic() string
func (*Trigger_IoTBrokerMessage) ProtoMessage ¶
func (*Trigger_IoTBrokerMessage) ProtoMessage()
func (*Trigger_IoTBrokerMessage) ProtoReflect ¶
func (x *Trigger_IoTBrokerMessage) ProtoReflect() protoreflect.Message
func (*Trigger_IoTBrokerMessage) Reset ¶
func (x *Trigger_IoTBrokerMessage) Reset()
func (*Trigger_IoTBrokerMessage) SetAction ¶
func (m *Trigger_IoTBrokerMessage) SetAction(v Trigger_IoTBrokerMessage_Action)
func (*Trigger_IoTBrokerMessage) SetBatchSettings ¶
func (m *Trigger_IoTBrokerMessage) SetBatchSettings(v *BatchSettings)
func (*Trigger_IoTBrokerMessage) SetBrokerId ¶
func (m *Trigger_IoTBrokerMessage) SetBrokerId(v string)
func (*Trigger_IoTBrokerMessage) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_IoTBrokerMessage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_IoTBrokerMessage) SetInvokeContainer ¶
func (m *Trigger_IoTBrokerMessage) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_IoTBrokerMessage) SetInvokeFunction ¶
func (m *Trigger_IoTBrokerMessage) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_IoTBrokerMessage) SetMqttTopic ¶
func (m *Trigger_IoTBrokerMessage) SetMqttTopic(v string)
func (*Trigger_IoTBrokerMessage) String ¶
func (x *Trigger_IoTBrokerMessage) String() string
type Trigger_IoTBrokerMessage_Action ¶
type Trigger_IoTBrokerMessage_Action = isTrigger_IoTBrokerMessage_Action
type Trigger_IoTBrokerMessage_GatewayWebsocketBroadcast ¶
type Trigger_IoTBrokerMessage_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,103,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_IoTBrokerMessage_InvokeContainer ¶
type Trigger_IoTBrokerMessage_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_IoTBrokerMessage_InvokeFunction ¶
type Trigger_IoTBrokerMessage_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_IoTMessage ¶
type Trigger_IoTMessage struct { // ID of the IoT Core registry. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the IoT Core device in the registry. DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // MQTT topic whose messages activate the trigger. MqttTopic string `protobuf:"bytes,3,opt,name=mqtt_topic,json=mqttTopic,proto3" json:"mqtt_topic,omitempty"` // Batch settings for processing events. BatchSettings *BatchSettings `protobuf:"bytes,4,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Action to be executed when the there's a new message in the MQTT topic. // // Types that are assignable to Action: // // *Trigger_IoTMessage_InvokeFunction // *Trigger_IoTMessage_InvokeContainer // *Trigger_IoTMessage_GatewayWebsocketBroadcast Action isTrigger_IoTMessage_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
Rule for activating a IoT Core trigger.
func (*Trigger_IoTMessage) Descriptor
deprecated
func (*Trigger_IoTMessage) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_IoTMessage.ProtoReflect.Descriptor instead.
func (*Trigger_IoTMessage) GetAction ¶
func (m *Trigger_IoTMessage) GetAction() isTrigger_IoTMessage_Action
func (*Trigger_IoTMessage) GetBatchSettings ¶
func (x *Trigger_IoTMessage) GetBatchSettings() *BatchSettings
func (*Trigger_IoTMessage) GetDeviceId ¶
func (x *Trigger_IoTMessage) GetDeviceId() string
func (*Trigger_IoTMessage) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_IoTMessage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_IoTMessage) GetInvokeContainer ¶
func (x *Trigger_IoTMessage) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_IoTMessage) GetInvokeFunction ¶
func (x *Trigger_IoTMessage) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_IoTMessage) GetMqttTopic ¶
func (x *Trigger_IoTMessage) GetMqttTopic() string
func (*Trigger_IoTMessage) GetRegistryId ¶
func (x *Trigger_IoTMessage) GetRegistryId() string
func (*Trigger_IoTMessage) ProtoMessage ¶
func (*Trigger_IoTMessage) ProtoMessage()
func (*Trigger_IoTMessage) ProtoReflect ¶
func (x *Trigger_IoTMessage) ProtoReflect() protoreflect.Message
func (*Trigger_IoTMessage) Reset ¶
func (x *Trigger_IoTMessage) Reset()
func (*Trigger_IoTMessage) SetAction ¶
func (m *Trigger_IoTMessage) SetAction(v Trigger_IoTMessage_Action)
func (*Trigger_IoTMessage) SetBatchSettings ¶
func (m *Trigger_IoTMessage) SetBatchSettings(v *BatchSettings)
func (*Trigger_IoTMessage) SetDeviceId ¶
func (m *Trigger_IoTMessage) SetDeviceId(v string)
func (*Trigger_IoTMessage) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_IoTMessage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_IoTMessage) SetInvokeContainer ¶
func (m *Trigger_IoTMessage) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_IoTMessage) SetInvokeFunction ¶
func (m *Trigger_IoTMessage) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_IoTMessage) SetMqttTopic ¶
func (m *Trigger_IoTMessage) SetMqttTopic(v string)
func (*Trigger_IoTMessage) SetRegistryId ¶
func (m *Trigger_IoTMessage) SetRegistryId(v string)
func (*Trigger_IoTMessage) String ¶
func (x *Trigger_IoTMessage) String() string
type Trigger_IoTMessage_Action ¶
type Trigger_IoTMessage_Action = isTrigger_IoTMessage_Action
type Trigger_IoTMessage_GatewayWebsocketBroadcast ¶
type Trigger_IoTMessage_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,103,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_IoTMessage_InvokeContainer ¶
type Trigger_IoTMessage_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_IoTMessage_InvokeFunction ¶
type Trigger_IoTMessage_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_Logging ¶
type Trigger_Logging struct { // Log events filter settings. LogGroupId string `protobuf:"bytes,1,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` ResourceType []string `protobuf:"bytes,3,rep,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` ResourceId []string `protobuf:"bytes,4,rep,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` StreamName []string `protobuf:"bytes,7,rep,name=stream_name,json=streamName,proto3" json:"stream_name,omitempty"` Levels []v1.LogLevel_Level `protobuf:"varint,5,rep,packed,name=levels,proto3,enum=yandex.cloud.logging.v1.LogLevel_Level" json:"levels,omitempty"` // Batch settings for processing log events. BatchSettings *LoggingBatchSettings `protobuf:"bytes,6,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Types that are assignable to Action: // // *Trigger_Logging_InvokeFunction // *Trigger_Logging_InvokeContainer // *Trigger_Logging_GatewayWebsocketBroadcast Action isTrigger_Logging_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Trigger_Logging) Descriptor
deprecated
func (*Trigger_Logging) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_Logging.ProtoReflect.Descriptor instead.
func (*Trigger_Logging) GetAction ¶
func (m *Trigger_Logging) GetAction() isTrigger_Logging_Action
func (*Trigger_Logging) GetBatchSettings ¶
func (x *Trigger_Logging) GetBatchSettings() *LoggingBatchSettings
func (*Trigger_Logging) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_Logging) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_Logging) GetInvokeContainer ¶
func (x *Trigger_Logging) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_Logging) GetInvokeFunction ¶
func (x *Trigger_Logging) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_Logging) GetLevels ¶
func (x *Trigger_Logging) GetLevels() []v1.LogLevel_Level
func (*Trigger_Logging) GetLogGroupId ¶
func (x *Trigger_Logging) GetLogGroupId() string
func (*Trigger_Logging) GetResourceId ¶
func (x *Trigger_Logging) GetResourceId() []string
func (*Trigger_Logging) GetResourceType ¶
func (x *Trigger_Logging) GetResourceType() []string
func (*Trigger_Logging) GetStreamName ¶
func (x *Trigger_Logging) GetStreamName() []string
func (*Trigger_Logging) ProtoMessage ¶
func (*Trigger_Logging) ProtoMessage()
func (*Trigger_Logging) ProtoReflect ¶
func (x *Trigger_Logging) ProtoReflect() protoreflect.Message
func (*Trigger_Logging) Reset ¶
func (x *Trigger_Logging) Reset()
func (*Trigger_Logging) SetAction ¶
func (m *Trigger_Logging) SetAction(v Trigger_Logging_Action)
func (*Trigger_Logging) SetBatchSettings ¶
func (m *Trigger_Logging) SetBatchSettings(v *LoggingBatchSettings)
func (*Trigger_Logging) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_Logging) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_Logging) SetInvokeContainer ¶
func (m *Trigger_Logging) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_Logging) SetInvokeFunction ¶
func (m *Trigger_Logging) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_Logging) SetLevels ¶
func (m *Trigger_Logging) SetLevels(v []v1.LogLevel_Level)
func (*Trigger_Logging) SetLogGroupId ¶
func (m *Trigger_Logging) SetLogGroupId(v string)
func (*Trigger_Logging) SetResourceId ¶
func (m *Trigger_Logging) SetResourceId(v []string)
func (*Trigger_Logging) SetResourceType ¶
func (m *Trigger_Logging) SetResourceType(v []string)
func (*Trigger_Logging) SetStreamName ¶
func (m *Trigger_Logging) SetStreamName(v []string)
func (*Trigger_Logging) String ¶
func (x *Trigger_Logging) String() string
type Trigger_Logging_Action ¶
type Trigger_Logging_Action = isTrigger_Logging_Action
type Trigger_Logging_GatewayWebsocketBroadcast ¶
type Trigger_Logging_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,104,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_Logging_InvokeContainer ¶
type Trigger_Logging_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,103,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_Logging_InvokeFunction ¶
type Trigger_Logging_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_MessageQueue ¶
type Trigger_MessageQueue struct { // ID of the message queue in Message Queue. QueueId string `protobuf:"bytes,11,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` // ID of the service account which has read access to the message queue. ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Batch settings for processing messages in the queue. BatchSettings *BatchSettings `protobuf:"bytes,4,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Queue visibility timeout override. VisibilityTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=visibility_timeout,json=visibilityTimeout,proto3" json:"visibility_timeout,omitempty"` // Action to be executed when the there's a new message in the queue. // // Types that are assignable to Action: // // *Trigger_MessageQueue_InvokeFunction // *Trigger_MessageQueue_InvokeContainer // *Trigger_MessageQueue_GatewayWebsocketBroadcast Action isTrigger_MessageQueue_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
Rule for activating a message queue trigger.
func (*Trigger_MessageQueue) Descriptor
deprecated
func (*Trigger_MessageQueue) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_MessageQueue.ProtoReflect.Descriptor instead.
func (*Trigger_MessageQueue) GetAction ¶
func (m *Trigger_MessageQueue) GetAction() isTrigger_MessageQueue_Action
func (*Trigger_MessageQueue) GetBatchSettings ¶
func (x *Trigger_MessageQueue) GetBatchSettings() *BatchSettings
func (*Trigger_MessageQueue) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_MessageQueue) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_MessageQueue) GetInvokeContainer ¶
func (x *Trigger_MessageQueue) GetInvokeContainer() *InvokeContainerOnce
func (*Trigger_MessageQueue) GetInvokeFunction ¶
func (x *Trigger_MessageQueue) GetInvokeFunction() *InvokeFunctionOnce
func (*Trigger_MessageQueue) GetQueueId ¶
func (x *Trigger_MessageQueue) GetQueueId() string
func (*Trigger_MessageQueue) GetServiceAccountId ¶
func (x *Trigger_MessageQueue) GetServiceAccountId() string
func (*Trigger_MessageQueue) GetVisibilityTimeout ¶
func (x *Trigger_MessageQueue) GetVisibilityTimeout() *durationpb.Duration
func (*Trigger_MessageQueue) ProtoMessage ¶
func (*Trigger_MessageQueue) ProtoMessage()
func (*Trigger_MessageQueue) ProtoReflect ¶
func (x *Trigger_MessageQueue) ProtoReflect() protoreflect.Message
func (*Trigger_MessageQueue) Reset ¶
func (x *Trigger_MessageQueue) Reset()
func (*Trigger_MessageQueue) SetAction ¶
func (m *Trigger_MessageQueue) SetAction(v Trigger_MessageQueue_Action)
func (*Trigger_MessageQueue) SetBatchSettings ¶
func (m *Trigger_MessageQueue) SetBatchSettings(v *BatchSettings)
func (*Trigger_MessageQueue) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_MessageQueue) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_MessageQueue) SetInvokeContainer ¶
func (m *Trigger_MessageQueue) SetInvokeContainer(v *InvokeContainerOnce)
func (*Trigger_MessageQueue) SetInvokeFunction ¶
func (m *Trigger_MessageQueue) SetInvokeFunction(v *InvokeFunctionOnce)
func (*Trigger_MessageQueue) SetQueueId ¶
func (m *Trigger_MessageQueue) SetQueueId(v string)
func (*Trigger_MessageQueue) SetServiceAccountId ¶
func (m *Trigger_MessageQueue) SetServiceAccountId(v string)
func (*Trigger_MessageQueue) SetVisibilityTimeout ¶
func (m *Trigger_MessageQueue) SetVisibilityTimeout(v *durationpb.Duration)
func (*Trigger_MessageQueue) String ¶
func (x *Trigger_MessageQueue) String() string
type Trigger_MessageQueue_Action ¶
type Trigger_MessageQueue_Action = isTrigger_MessageQueue_Action
type Trigger_MessageQueue_GatewayWebsocketBroadcast ¶
type Trigger_MessageQueue_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,103,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_MessageQueue_InvokeContainer ¶
type Trigger_MessageQueue_InvokeContainer struct { // Instructions for invoking a container once. InvokeContainer *InvokeContainerOnce `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_MessageQueue_InvokeFunction ¶
type Trigger_MessageQueue_InvokeFunction struct { // Instructions for invoking a function once. InvokeFunction *InvokeFunctionOnce `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_ObjectStorage ¶
type Trigger_ObjectStorage struct { // Type (name) of events, at least one value is required. EventType []Trigger_ObjectStorageEventType `` /* 168-byte string literal not displayed */ // ID of the bucket. BucketId string `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // Prefix of the object key. Filter, optional. Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"` // Suffix of the object key. Filter, optional. Suffix string `protobuf:"bytes,7,opt,name=suffix,proto3" json:"suffix,omitempty"` // Batch settings for processing events. BatchSettings *BatchSettings `protobuf:"bytes,8,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"` // Types that are assignable to Action: // // *Trigger_ObjectStorage_InvokeFunction // *Trigger_ObjectStorage_InvokeContainer // *Trigger_ObjectStorage_GatewayWebsocketBroadcast Action isTrigger_ObjectStorage_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Trigger_ObjectStorage) Descriptor
deprecated
func (*Trigger_ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_ObjectStorage.ProtoReflect.Descriptor instead.
func (*Trigger_ObjectStorage) GetAction ¶
func (m *Trigger_ObjectStorage) GetAction() isTrigger_ObjectStorage_Action
func (*Trigger_ObjectStorage) GetBatchSettings ¶
func (x *Trigger_ObjectStorage) GetBatchSettings() *BatchSettings
func (*Trigger_ObjectStorage) GetBucketId ¶
func (x *Trigger_ObjectStorage) GetBucketId() string
func (*Trigger_ObjectStorage) GetEventType ¶
func (x *Trigger_ObjectStorage) GetEventType() []Trigger_ObjectStorageEventType
func (*Trigger_ObjectStorage) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_ObjectStorage) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_ObjectStorage) GetInvokeContainer ¶
func (x *Trigger_ObjectStorage) GetInvokeContainer() *InvokeContainerWithRetry
func (*Trigger_ObjectStorage) GetInvokeFunction ¶
func (x *Trigger_ObjectStorage) GetInvokeFunction() *InvokeFunctionWithRetry
func (*Trigger_ObjectStorage) GetPrefix ¶
func (x *Trigger_ObjectStorage) GetPrefix() string
func (*Trigger_ObjectStorage) GetSuffix ¶
func (x *Trigger_ObjectStorage) GetSuffix() string
func (*Trigger_ObjectStorage) ProtoMessage ¶
func (*Trigger_ObjectStorage) ProtoMessage()
func (*Trigger_ObjectStorage) ProtoReflect ¶
func (x *Trigger_ObjectStorage) ProtoReflect() protoreflect.Message
func (*Trigger_ObjectStorage) Reset ¶
func (x *Trigger_ObjectStorage) Reset()
func (*Trigger_ObjectStorage) SetAction ¶
func (m *Trigger_ObjectStorage) SetAction(v Trigger_ObjectStorage_Action)
func (*Trigger_ObjectStorage) SetBatchSettings ¶
func (m *Trigger_ObjectStorage) SetBatchSettings(v *BatchSettings)
func (*Trigger_ObjectStorage) SetBucketId ¶
func (m *Trigger_ObjectStorage) SetBucketId(v string)
func (*Trigger_ObjectStorage) SetEventType ¶
func (m *Trigger_ObjectStorage) SetEventType(v []Trigger_ObjectStorageEventType)
func (*Trigger_ObjectStorage) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_ObjectStorage) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_ObjectStorage) SetInvokeContainer ¶
func (m *Trigger_ObjectStorage) SetInvokeContainer(v *InvokeContainerWithRetry)
func (*Trigger_ObjectStorage) SetInvokeFunction ¶
func (m *Trigger_ObjectStorage) SetInvokeFunction(v *InvokeFunctionWithRetry)
func (*Trigger_ObjectStorage) SetPrefix ¶
func (m *Trigger_ObjectStorage) SetPrefix(v string)
func (*Trigger_ObjectStorage) SetSuffix ¶
func (m *Trigger_ObjectStorage) SetSuffix(v string)
func (*Trigger_ObjectStorage) String ¶
func (x *Trigger_ObjectStorage) String() string
type Trigger_ObjectStorageEventType ¶
type Trigger_ObjectStorageEventType int32
const ( Trigger_OBJECT_STORAGE_EVENT_TYPE_UNSPECIFIED Trigger_ObjectStorageEventType = 0 Trigger_OBJECT_STORAGE_EVENT_TYPE_CREATE_OBJECT Trigger_ObjectStorageEventType = 1 Trigger_OBJECT_STORAGE_EVENT_TYPE_UPDATE_OBJECT Trigger_ObjectStorageEventType = 2 Trigger_OBJECT_STORAGE_EVENT_TYPE_DELETE_OBJECT Trigger_ObjectStorageEventType = 3 )
func (Trigger_ObjectStorageEventType) Descriptor ¶
func (Trigger_ObjectStorageEventType) Descriptor() protoreflect.EnumDescriptor
func (Trigger_ObjectStorageEventType) Enum ¶
func (x Trigger_ObjectStorageEventType) Enum() *Trigger_ObjectStorageEventType
func (Trigger_ObjectStorageEventType) EnumDescriptor
deprecated
func (Trigger_ObjectStorageEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trigger_ObjectStorageEventType.Descriptor instead.
func (Trigger_ObjectStorageEventType) Number ¶
func (x Trigger_ObjectStorageEventType) Number() protoreflect.EnumNumber
func (Trigger_ObjectStorageEventType) String ¶
func (x Trigger_ObjectStorageEventType) String() string
func (Trigger_ObjectStorageEventType) Type ¶
func (Trigger_ObjectStorageEventType) Type() protoreflect.EnumType
type Trigger_ObjectStorage_Action ¶
type Trigger_ObjectStorage_Action = isTrigger_ObjectStorage_Action
type Trigger_ObjectStorage_GatewayWebsocketBroadcast ¶
type Trigger_ObjectStorage_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,103,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_ObjectStorage_InvokeContainer ¶
type Trigger_ObjectStorage_InvokeContainer struct { // Instructions for invoking a container with retries as needed. InvokeContainer *InvokeContainerWithRetry `protobuf:"bytes,102,opt,name=invoke_container,json=invokeContainer,proto3,oneof"` }
type Trigger_ObjectStorage_InvokeFunction ¶
type Trigger_ObjectStorage_InvokeFunction struct { // Instructions for invoking a function with retries as needed. InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_Rule ¶
type Trigger_Rule struct { // Types that are assignable to Rule: // // *Trigger_Rule_Timer // *Trigger_Rule_MessageQueue // *Trigger_Rule_IotMessage // *Trigger_Rule_IotBrokerMessage // *Trigger_Rule_ObjectStorage // *Trigger_Rule_ContainerRegistry // *Trigger_Rule_CloudLogs // *Trigger_Rule_Logging // *Trigger_Rule_BillingBudget // *Trigger_Rule_DataStream // *Trigger_Rule_Mail Rule isTrigger_Rule_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
Description of a rule for trigger activation.
func (*Trigger_Rule) Descriptor
deprecated
func (*Trigger_Rule) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_Rule.ProtoReflect.Descriptor instead.
func (*Trigger_Rule) GetBillingBudget ¶
func (x *Trigger_Rule) GetBillingBudget() *BillingBudget
func (*Trigger_Rule) GetCloudLogs ¶
func (x *Trigger_Rule) GetCloudLogs() *Trigger_CloudLogs
func (*Trigger_Rule) GetContainerRegistry ¶
func (x *Trigger_Rule) GetContainerRegistry() *Trigger_ContainerRegistry
func (*Trigger_Rule) GetDataStream ¶
func (x *Trigger_Rule) GetDataStream() *DataStream
func (*Trigger_Rule) GetIotBrokerMessage ¶
func (x *Trigger_Rule) GetIotBrokerMessage() *Trigger_IoTBrokerMessage
func (*Trigger_Rule) GetIotMessage ¶
func (x *Trigger_Rule) GetIotMessage() *Trigger_IoTMessage
func (*Trigger_Rule) GetLogging ¶
func (x *Trigger_Rule) GetLogging() *Trigger_Logging
func (*Trigger_Rule) GetMail ¶
func (x *Trigger_Rule) GetMail() *Mail
func (*Trigger_Rule) GetMessageQueue ¶
func (x *Trigger_Rule) GetMessageQueue() *Trigger_MessageQueue
func (*Trigger_Rule) GetObjectStorage ¶
func (x *Trigger_Rule) GetObjectStorage() *Trigger_ObjectStorage
func (*Trigger_Rule) GetRule ¶
func (m *Trigger_Rule) GetRule() isTrigger_Rule_Rule
func (*Trigger_Rule) GetTimer ¶
func (x *Trigger_Rule) GetTimer() *Trigger_Timer
func (*Trigger_Rule) ProtoMessage ¶
func (*Trigger_Rule) ProtoMessage()
func (*Trigger_Rule) ProtoReflect ¶
func (x *Trigger_Rule) ProtoReflect() protoreflect.Message
func (*Trigger_Rule) Reset ¶
func (x *Trigger_Rule) Reset()
func (*Trigger_Rule) SetBillingBudget ¶
func (m *Trigger_Rule) SetBillingBudget(v *BillingBudget)
func (*Trigger_Rule) SetCloudLogs ¶
func (m *Trigger_Rule) SetCloudLogs(v *Trigger_CloudLogs)
func (*Trigger_Rule) SetContainerRegistry ¶
func (m *Trigger_Rule) SetContainerRegistry(v *Trigger_ContainerRegistry)
func (*Trigger_Rule) SetDataStream ¶
func (m *Trigger_Rule) SetDataStream(v *DataStream)
func (*Trigger_Rule) SetIotBrokerMessage ¶
func (m *Trigger_Rule) SetIotBrokerMessage(v *Trigger_IoTBrokerMessage)
func (*Trigger_Rule) SetIotMessage ¶
func (m *Trigger_Rule) SetIotMessage(v *Trigger_IoTMessage)
func (*Trigger_Rule) SetLogging ¶
func (m *Trigger_Rule) SetLogging(v *Trigger_Logging)
func (*Trigger_Rule) SetMail ¶
func (m *Trigger_Rule) SetMail(v *Mail)
func (*Trigger_Rule) SetMessageQueue ¶
func (m *Trigger_Rule) SetMessageQueue(v *Trigger_MessageQueue)
func (*Trigger_Rule) SetObjectStorage ¶
func (m *Trigger_Rule) SetObjectStorage(v *Trigger_ObjectStorage)
func (*Trigger_Rule) SetRule ¶
func (m *Trigger_Rule) SetRule(v Trigger_Rule_Rule)
func (*Trigger_Rule) SetTimer ¶
func (m *Trigger_Rule) SetTimer(v *Trigger_Timer)
func (*Trigger_Rule) String ¶
func (x *Trigger_Rule) String() string
type Trigger_Rule_BillingBudget ¶
type Trigger_Rule_BillingBudget struct {
BillingBudget *BillingBudget `protobuf:"bytes,11,opt,name=billing_budget,json=billingBudget,proto3,oneof"`
}
type Trigger_Rule_CloudLogs ¶
type Trigger_Rule_CloudLogs struct {
CloudLogs *Trigger_CloudLogs `protobuf:"bytes,9,opt,name=cloud_logs,json=cloudLogs,proto3,oneof"`
}
type Trigger_Rule_ContainerRegistry ¶
type Trigger_Rule_ContainerRegistry struct {
ContainerRegistry *Trigger_ContainerRegistry `protobuf:"bytes,6,opt,name=container_registry,json=containerRegistry,proto3,oneof"`
}
type Trigger_Rule_DataStream ¶
type Trigger_Rule_DataStream struct {
DataStream *DataStream `protobuf:"bytes,12,opt,name=data_stream,json=dataStream,proto3,oneof"`
}
type Trigger_Rule_IotBrokerMessage ¶
type Trigger_Rule_IotBrokerMessage struct {
IotBrokerMessage *Trigger_IoTBrokerMessage `protobuf:"bytes,14,opt,name=iot_broker_message,json=iotBrokerMessage,proto3,oneof"`
}
type Trigger_Rule_IotMessage ¶
type Trigger_Rule_IotMessage struct { // Rule for a IoT Core trigger. IotMessage *Trigger_IoTMessage `protobuf:"bytes,4,opt,name=iot_message,json=iotMessage,proto3,oneof"` }
type Trigger_Rule_Logging ¶
type Trigger_Rule_Logging struct {
Logging *Trigger_Logging `protobuf:"bytes,10,opt,name=logging,proto3,oneof"`
}
type Trigger_Rule_Mail ¶
type Trigger_Rule_Mail struct {
Mail *Mail `protobuf:"bytes,13,opt,name=mail,proto3,oneof"`
}
type Trigger_Rule_MessageQueue ¶
type Trigger_Rule_MessageQueue struct { // Rule for a message queue trigger. MessageQueue *Trigger_MessageQueue `protobuf:"bytes,3,opt,name=message_queue,json=messageQueue,proto3,oneof"` }
type Trigger_Rule_ObjectStorage ¶
type Trigger_Rule_ObjectStorage struct {
ObjectStorage *Trigger_ObjectStorage `protobuf:"bytes,5,opt,name=object_storage,json=objectStorage,proto3,oneof"`
}
type Trigger_Rule_Rule ¶
type Trigger_Rule_Rule = isTrigger_Rule_Rule
type Trigger_Rule_Timer ¶
type Trigger_Rule_Timer struct { // Rule for a timed trigger. Timer *Trigger_Timer `protobuf:"bytes,2,opt,name=timer,proto3,oneof"` }
type Trigger_Status ¶
type Trigger_Status int32
const ( Trigger_STATUS_UNSPECIFIED Trigger_Status = 0 Trigger_ACTIVE Trigger_Status = 1 Trigger_PAUSED Trigger_Status = 2 )
func (Trigger_Status) Descriptor ¶
func (Trigger_Status) Descriptor() protoreflect.EnumDescriptor
func (Trigger_Status) Enum ¶
func (x Trigger_Status) Enum() *Trigger_Status
func (Trigger_Status) EnumDescriptor
deprecated
func (Trigger_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trigger_Status.Descriptor instead.
func (Trigger_Status) Number ¶
func (x Trigger_Status) Number() protoreflect.EnumNumber
func (Trigger_Status) String ¶
func (x Trigger_Status) String() string
func (Trigger_Status) Type ¶
func (Trigger_Status) Type() protoreflect.EnumType
type Trigger_Timer ¶
type Trigger_Timer struct { // Description of a schedule as a [cron expression](/docs/functions/concepts/trigger/timer). CronExpression string `protobuf:"bytes,1,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"` // Payload to be passed to function. Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // Action to be executed when the current time matches the [cron_expression]. // // Types that are assignable to Action: // // *Trigger_Timer_InvokeFunction // *Trigger_Timer_InvokeFunctionWithRetry // *Trigger_Timer_InvokeContainerWithRetry // *Trigger_Timer_GatewayWebsocketBroadcast Action isTrigger_Timer_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
Rule for activating a timed trigger.
func (*Trigger_Timer) Descriptor
deprecated
func (*Trigger_Timer) Descriptor() ([]byte, []int)
Deprecated: Use Trigger_Timer.ProtoReflect.Descriptor instead.
func (*Trigger_Timer) GetAction ¶
func (m *Trigger_Timer) GetAction() isTrigger_Timer_Action
func (*Trigger_Timer) GetCronExpression ¶
func (x *Trigger_Timer) GetCronExpression() string
func (*Trigger_Timer) GetGatewayWebsocketBroadcast ¶
func (x *Trigger_Timer) GetGatewayWebsocketBroadcast() *GatewayWebsocketBroadcast
func (*Trigger_Timer) GetInvokeContainerWithRetry ¶
func (x *Trigger_Timer) GetInvokeContainerWithRetry() *InvokeContainerWithRetry
func (*Trigger_Timer) GetInvokeFunction ¶
func (x *Trigger_Timer) GetInvokeFunction() *InvokeFunctionOnce
func (*Trigger_Timer) GetInvokeFunctionWithRetry ¶
func (x *Trigger_Timer) GetInvokeFunctionWithRetry() *InvokeFunctionWithRetry
func (*Trigger_Timer) GetPayload ¶
func (x *Trigger_Timer) GetPayload() string
func (*Trigger_Timer) ProtoMessage ¶
func (*Trigger_Timer) ProtoMessage()
func (*Trigger_Timer) ProtoReflect ¶
func (x *Trigger_Timer) ProtoReflect() protoreflect.Message
func (*Trigger_Timer) Reset ¶
func (x *Trigger_Timer) Reset()
func (*Trigger_Timer) SetAction ¶
func (m *Trigger_Timer) SetAction(v Trigger_Timer_Action)
func (*Trigger_Timer) SetCronExpression ¶
func (m *Trigger_Timer) SetCronExpression(v string)
func (*Trigger_Timer) SetGatewayWebsocketBroadcast ¶
func (m *Trigger_Timer) SetGatewayWebsocketBroadcast(v *GatewayWebsocketBroadcast)
func (*Trigger_Timer) SetInvokeContainerWithRetry ¶
func (m *Trigger_Timer) SetInvokeContainerWithRetry(v *InvokeContainerWithRetry)
func (*Trigger_Timer) SetInvokeFunction ¶
func (m *Trigger_Timer) SetInvokeFunction(v *InvokeFunctionOnce)
func (*Trigger_Timer) SetInvokeFunctionWithRetry ¶
func (m *Trigger_Timer) SetInvokeFunctionWithRetry(v *InvokeFunctionWithRetry)
func (*Trigger_Timer) SetPayload ¶
func (m *Trigger_Timer) SetPayload(v string)
func (*Trigger_Timer) String ¶
func (x *Trigger_Timer) String() string
type Trigger_Timer_Action ¶
type Trigger_Timer_Action = isTrigger_Timer_Action
type Trigger_Timer_GatewayWebsocketBroadcast ¶
type Trigger_Timer_GatewayWebsocketBroadcast struct { // Instructions for broadcasting to API gateway websocket once. GatewayWebsocketBroadcast *GatewayWebsocketBroadcast `protobuf:"bytes,105,opt,name=gateway_websocket_broadcast,json=gatewayWebsocketBroadcast,proto3,oneof"` }
type Trigger_Timer_InvokeContainerWithRetry ¶
type Trigger_Timer_InvokeContainerWithRetry struct { // Instructions for invoking a container with retry. InvokeContainerWithRetry *InvokeContainerWithRetry `protobuf:"bytes,104,opt,name=invoke_container_with_retry,json=invokeContainerWithRetry,proto3,oneof"` }
type Trigger_Timer_InvokeFunction ¶
type Trigger_Timer_InvokeFunction struct { // Instructions for invoking a function once. InvokeFunction *InvokeFunctionOnce `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"` }
type Trigger_Timer_InvokeFunctionWithRetry ¶
type Trigger_Timer_InvokeFunctionWithRetry struct { // Instructions for invoking a function with retry. InvokeFunctionWithRetry *InvokeFunctionWithRetry `protobuf:"bytes,103,opt,name=invoke_function_with_retry,json=invokeFunctionWithRetry,proto3,oneof"` }
type UnimplementedTriggerServiceServer ¶
type UnimplementedTriggerServiceServer struct { }
UnimplementedTriggerServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTriggerServiceServer) Create ¶
func (UnimplementedTriggerServiceServer) Create(context.Context, *CreateTriggerRequest) (*operation.Operation, error)
func (UnimplementedTriggerServiceServer) Delete ¶
func (UnimplementedTriggerServiceServer) Delete(context.Context, *DeleteTriggerRequest) (*operation.Operation, error)
func (UnimplementedTriggerServiceServer) Get ¶
func (UnimplementedTriggerServiceServer) Get(context.Context, *GetTriggerRequest) (*Trigger, error)
func (UnimplementedTriggerServiceServer) List ¶
func (UnimplementedTriggerServiceServer) List(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error)
func (UnimplementedTriggerServiceServer) ListOperations ¶
func (UnimplementedTriggerServiceServer) ListOperations(context.Context, *ListTriggerOperationsRequest) (*ListTriggerOperationsResponse, error)
func (UnimplementedTriggerServiceServer) Pause ¶
func (UnimplementedTriggerServiceServer) Pause(context.Context, *PauseTriggerRequest) (*operation.Operation, error)
func (UnimplementedTriggerServiceServer) Resume ¶
func (UnimplementedTriggerServiceServer) Resume(context.Context, *ResumeTriggerRequest) (*operation.Operation, error)
func (UnimplementedTriggerServiceServer) Update ¶
func (UnimplementedTriggerServiceServer) Update(context.Context, *UpdateTriggerRequest) (*operation.Operation, error)
type UnsafeTriggerServiceServer ¶
type UnsafeTriggerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTriggerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TriggerServiceServer will result in compilation errors.
type UpdateTriggerMetadata ¶
type UpdateTriggerMetadata struct { // ID of the trigger that is being updated. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateTriggerMetadata) Descriptor
deprecated
func (*UpdateTriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTriggerMetadata.ProtoReflect.Descriptor instead.
func (*UpdateTriggerMetadata) GetTriggerId ¶
func (x *UpdateTriggerMetadata) GetTriggerId() string
func (*UpdateTriggerMetadata) ProtoMessage ¶
func (*UpdateTriggerMetadata) ProtoMessage()
func (*UpdateTriggerMetadata) ProtoReflect ¶
func (x *UpdateTriggerMetadata) ProtoReflect() protoreflect.Message
func (*UpdateTriggerMetadata) Reset ¶
func (x *UpdateTriggerMetadata) Reset()
func (*UpdateTriggerMetadata) SetTriggerId ¶
func (m *UpdateTriggerMetadata) SetTriggerId(v string)
func (*UpdateTriggerMetadata) String ¶
func (x *UpdateTriggerMetadata) String() string
type UpdateTriggerRequest ¶
type UpdateTriggerRequest struct { // ID of the trigger to update. // // To get a trigger ID make a [TriggerService.List] request. TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // Field mask that specifies which attributes of the trigger should be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New name for the trigger. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New description of the trigger. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Trigger labels as `key:value` pairs. // // Existing set of labels is completely replaced by the provided set, so if you just want // to add or remove a label, request the current set of labels with a [TriggerService.Get] request. Labels map[string]string `` /* 153-byte string literal not displayed */ // New parameters for trigger. Rule *Trigger_Rule `protobuf:"bytes,6,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*UpdateTriggerRequest) Descriptor
deprecated
func (*UpdateTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTriggerRequest.ProtoReflect.Descriptor instead.
func (*UpdateTriggerRequest) GetDescription ¶
func (x *UpdateTriggerRequest) GetDescription() string
func (*UpdateTriggerRequest) GetLabels ¶
func (x *UpdateTriggerRequest) GetLabels() map[string]string
func (*UpdateTriggerRequest) GetName ¶
func (x *UpdateTriggerRequest) GetName() string
func (*UpdateTriggerRequest) GetRule ¶
func (x *UpdateTriggerRequest) GetRule() *Trigger_Rule
func (*UpdateTriggerRequest) GetTriggerId ¶
func (x *UpdateTriggerRequest) GetTriggerId() string
func (*UpdateTriggerRequest) GetUpdateMask ¶
func (x *UpdateTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTriggerRequest) ProtoMessage ¶
func (*UpdateTriggerRequest) ProtoMessage()
func (*UpdateTriggerRequest) ProtoReflect ¶
func (x *UpdateTriggerRequest) ProtoReflect() protoreflect.Message
func (*UpdateTriggerRequest) Reset ¶
func (x *UpdateTriggerRequest) Reset()
func (*UpdateTriggerRequest) SetDescription ¶
func (m *UpdateTriggerRequest) SetDescription(v string)
func (*UpdateTriggerRequest) SetLabels ¶
func (m *UpdateTriggerRequest) SetLabels(v map[string]string)
func (*UpdateTriggerRequest) SetName ¶
func (m *UpdateTriggerRequest) SetName(v string)
func (*UpdateTriggerRequest) SetRule ¶
func (m *UpdateTriggerRequest) SetRule(v *Trigger_Rule)
func (*UpdateTriggerRequest) SetTriggerId ¶
func (m *UpdateTriggerRequest) SetTriggerId(v string)
func (*UpdateTriggerRequest) SetUpdateMask ¶
func (m *UpdateTriggerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateTriggerRequest) String ¶
func (x *UpdateTriggerRequest) String() string