functions

package
v0.0.0-...-5fa7aab Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 17 Imported by: 8

Documentation

Index

Constants

View Source
const (
	FunctionService_Get_FullMethodName                  = "/yandex.cloud.serverless.functions.v1.FunctionService/Get"
	FunctionService_List_FullMethodName                 = "/yandex.cloud.serverless.functions.v1.FunctionService/List"
	FunctionService_Create_FullMethodName               = "/yandex.cloud.serverless.functions.v1.FunctionService/Create"
	FunctionService_Update_FullMethodName               = "/yandex.cloud.serverless.functions.v1.FunctionService/Update"
	FunctionService_Delete_FullMethodName               = "/yandex.cloud.serverless.functions.v1.FunctionService/Delete"
	FunctionService_GetVersion_FullMethodName           = "/yandex.cloud.serverless.functions.v1.FunctionService/GetVersion"
	FunctionService_GetVersionByTag_FullMethodName      = "/yandex.cloud.serverless.functions.v1.FunctionService/GetVersionByTag"
	FunctionService_ListVersions_FullMethodName         = "/yandex.cloud.serverless.functions.v1.FunctionService/ListVersions"
	FunctionService_DeleteVersion_FullMethodName        = "/yandex.cloud.serverless.functions.v1.FunctionService/DeleteVersion"
	FunctionService_SetTag_FullMethodName               = "/yandex.cloud.serverless.functions.v1.FunctionService/SetTag"
	FunctionService_RemoveTag_FullMethodName            = "/yandex.cloud.serverless.functions.v1.FunctionService/RemoveTag"
	FunctionService_ListTagHistory_FullMethodName       = "/yandex.cloud.serverless.functions.v1.FunctionService/ListTagHistory"
	FunctionService_CreateVersion_FullMethodName        = "/yandex.cloud.serverless.functions.v1.FunctionService/CreateVersion"
	FunctionService_ListRuntimes_FullMethodName         = "/yandex.cloud.serverless.functions.v1.FunctionService/ListRuntimes"
	FunctionService_ListOperations_FullMethodName       = "/yandex.cloud.serverless.functions.v1.FunctionService/ListOperations"
	FunctionService_ListAccessBindings_FullMethodName   = "/yandex.cloud.serverless.functions.v1.FunctionService/ListAccessBindings"
	FunctionService_SetAccessBindings_FullMethodName    = "/yandex.cloud.serverless.functions.v1.FunctionService/SetAccessBindings"
	FunctionService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.serverless.functions.v1.FunctionService/UpdateAccessBindings"
	FunctionService_ListScalingPolicies_FullMethodName  = "/yandex.cloud.serverless.functions.v1.FunctionService/ListScalingPolicies"
	FunctionService_SetScalingPolicy_FullMethodName     = "/yandex.cloud.serverless.functions.v1.FunctionService/SetScalingPolicy"
	FunctionService_RemoveScalingPolicy_FullMethodName  = "/yandex.cloud.serverless.functions.v1.FunctionService/RemoveScalingPolicy"
)
View Source
const (
	NetworkService_GetUsed_FullMethodName                = "/yandex.cloud.serverless.functions.v1.NetworkService/GetUsed"
	NetworkService_ListUsed_FullMethodName               = "/yandex.cloud.serverless.functions.v1.NetworkService/ListUsed"
	NetworkService_ListConnectedResources_FullMethodName = "/yandex.cloud.serverless.functions.v1.NetworkService/ListConnectedResources"
	NetworkService_TriggerUsedCleanup_FullMethodName     = "/yandex.cloud.serverless.functions.v1.NetworkService/TriggerUsedCleanup"
)

Variables

View Source
var (
	Function_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "ERROR",
	}
	Function_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"DELETING":           3,
		"ERROR":              4,
	}
)

Enum value maps for Function_Status.

View Source
var (
	Version_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
	}
	Version_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
	}
)

Enum value maps for Version_Status.

View Source
var (
	UsedNetwork_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "OBSOLETE",
	}
	UsedNetwork_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"OBSOLETE":           3,
	}
)

Enum value maps for UsedNetwork_Status.

View Source
var File_yandex_cloud_serverless_functions_v1_function_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_serverless_functions_v1_function_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_serverless_functions_v1_network_service_proto protoreflect.FileDescriptor
View Source
var FunctionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.serverless.functions.v1.FunctionService",
	HandlerType: (*FunctionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _FunctionService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _FunctionService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _FunctionService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _FunctionService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _FunctionService_Delete_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _FunctionService_GetVersion_Handler,
		},
		{
			MethodName: "GetVersionByTag",
			Handler:    _FunctionService_GetVersionByTag_Handler,
		},
		{
			MethodName: "ListVersions",
			Handler:    _FunctionService_ListVersions_Handler,
		},
		{
			MethodName: "DeleteVersion",
			Handler:    _FunctionService_DeleteVersion_Handler,
		},
		{
			MethodName: "SetTag",
			Handler:    _FunctionService_SetTag_Handler,
		},
		{
			MethodName: "RemoveTag",
			Handler:    _FunctionService_RemoveTag_Handler,
		},
		{
			MethodName: "ListTagHistory",
			Handler:    _FunctionService_ListTagHistory_Handler,
		},
		{
			MethodName: "CreateVersion",
			Handler:    _FunctionService_CreateVersion_Handler,
		},
		{
			MethodName: "ListRuntimes",
			Handler:    _FunctionService_ListRuntimes_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _FunctionService_ListOperations_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _FunctionService_ListAccessBindings_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _FunctionService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _FunctionService_UpdateAccessBindings_Handler,
		},
		{
			MethodName: "ListScalingPolicies",
			Handler:    _FunctionService_ListScalingPolicies_Handler,
		},
		{
			MethodName: "SetScalingPolicy",
			Handler:    _FunctionService_SetScalingPolicy_Handler,
		},
		{
			MethodName: "RemoveScalingPolicy",
			Handler:    _FunctionService_RemoveScalingPolicy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/serverless/functions/v1/function_service.proto",
}

FunctionService_ServiceDesc is the grpc.ServiceDesc for FunctionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NetworkService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.serverless.functions.v1.NetworkService",
	HandlerType: (*NetworkServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUsed",
			Handler:    _NetworkService_GetUsed_Handler,
		},
		{
			MethodName: "ListUsed",
			Handler:    _NetworkService_ListUsed_Handler,
		},
		{
			MethodName: "ListConnectedResources",
			Handler:    _NetworkService_ListConnectedResources_Handler,
		},
		{
			MethodName: "TriggerUsedCleanup",
			Handler:    _NetworkService_TriggerUsedCleanup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/serverless/functions/v1/network_service.proto",
}

NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFunctionServiceServer

func RegisterFunctionServiceServer(s grpc.ServiceRegistrar, srv FunctionServiceServer)

func RegisterNetworkServiceServer

func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)

Types

type AsyncInvocationConfig

type AsyncInvocationConfig struct {

	// Number of retries of version invocation
	RetriesCount int64 `protobuf:"varint,1,opt,name=retries_count,json=retriesCount,proto3" json:"retries_count,omitempty"`
	// Target for successful result of the version's invocation
	SuccessTarget *AsyncInvocationConfig_ResponseTarget `protobuf:"bytes,2,opt,name=success_target,json=successTarget,proto3" json:"success_target,omitempty"`
	// Target for unsuccessful result, if all retries failed
	FailureTarget *AsyncInvocationConfig_ResponseTarget `protobuf:"bytes,3,opt,name=failure_target,json=failureTarget,proto3" json:"failure_target,omitempty"`
	// Service account which can invoke version
	ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AsyncInvocationConfig) Descriptor deprecated

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

Deprecated: Use AsyncInvocationConfig.ProtoReflect.Descriptor instead.

func (*AsyncInvocationConfig) GetFailureTarget

func (*AsyncInvocationConfig) GetRetriesCount

func (x *AsyncInvocationConfig) GetRetriesCount() int64

func (*AsyncInvocationConfig) GetServiceAccountId

func (x *AsyncInvocationConfig) GetServiceAccountId() string

func (*AsyncInvocationConfig) GetSuccessTarget

func (*AsyncInvocationConfig) ProtoMessage

func (*AsyncInvocationConfig) ProtoMessage()

func (*AsyncInvocationConfig) ProtoReflect

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

func (*AsyncInvocationConfig) Reset

func (x *AsyncInvocationConfig) Reset()

func (*AsyncInvocationConfig) SetFailureTarget

func (*AsyncInvocationConfig) SetRetriesCount

func (m *AsyncInvocationConfig) SetRetriesCount(v int64)

func (*AsyncInvocationConfig) SetServiceAccountId

func (m *AsyncInvocationConfig) SetServiceAccountId(v string)

func (*AsyncInvocationConfig) SetSuccessTarget

func (*AsyncInvocationConfig) String

func (x *AsyncInvocationConfig) String() string

type AsyncInvocationConfig_ResponseTarget

type AsyncInvocationConfig_ResponseTarget struct {

	// Types that are assignable to Target:
	//
	//	*AsyncInvocationConfig_ResponseTarget_EmptyTarget
	//	*AsyncInvocationConfig_ResponseTarget_YmqTarget
	Target isAsyncInvocationConfig_ResponseTarget_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

Target to which a result of an invocation will be sent

func (*AsyncInvocationConfig_ResponseTarget) Descriptor deprecated

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

Deprecated: Use AsyncInvocationConfig_ResponseTarget.ProtoReflect.Descriptor instead.

func (*AsyncInvocationConfig_ResponseTarget) GetEmptyTarget

func (*AsyncInvocationConfig_ResponseTarget) GetTarget

func (m *AsyncInvocationConfig_ResponseTarget) GetTarget() isAsyncInvocationConfig_ResponseTarget_Target

func (*AsyncInvocationConfig_ResponseTarget) GetYmqTarget

func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage

func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage()

func (*AsyncInvocationConfig_ResponseTarget) ProtoReflect

func (*AsyncInvocationConfig_ResponseTarget) Reset

func (*AsyncInvocationConfig_ResponseTarget) SetEmptyTarget

func (m *AsyncInvocationConfig_ResponseTarget) SetEmptyTarget(v *EmptyTarget)

func (*AsyncInvocationConfig_ResponseTarget) SetTarget

func (*AsyncInvocationConfig_ResponseTarget) SetYmqTarget

func (m *AsyncInvocationConfig_ResponseTarget) SetYmqTarget(v *YMQTarget)

func (*AsyncInvocationConfig_ResponseTarget) String

type AsyncInvocationConfig_ResponseTarget_EmptyTarget

type AsyncInvocationConfig_ResponseTarget_EmptyTarget struct {
	// Target to ignore a result
	EmptyTarget *EmptyTarget `protobuf:"bytes,1,opt,name=empty_target,json=emptyTarget,proto3,oneof"`
}

type AsyncInvocationConfig_ResponseTarget_Target

type AsyncInvocationConfig_ResponseTarget_Target = isAsyncInvocationConfig_ResponseTarget_Target

type AsyncInvocationConfig_ResponseTarget_YmqTarget

type AsyncInvocationConfig_ResponseTarget_YmqTarget struct {
	// Target to send a result to ymq
	YmqTarget *YMQTarget `protobuf:"bytes,2,opt,name=ymq_target,json=ymqTarget,proto3,oneof"`
}

type Connectivity

type Connectivity struct {

	// Network the version will have access to.
	// It's essential to specify network with subnets in all availability zones.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Complete list of subnets (from the same network) the version can be attached to.
	// It's essential to specify at least one subnet for each availability zones.
	SubnetId []string `protobuf:"bytes,2,rep,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// contains filtered or unexported fields
}

Version connectivity specification.

func (*Connectivity) Descriptor deprecated

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

Deprecated: Use Connectivity.ProtoReflect.Descriptor instead.

func (*Connectivity) GetNetworkId

func (x *Connectivity) GetNetworkId() string

func (*Connectivity) GetSubnetId

func (x *Connectivity) GetSubnetId() []string

func (*Connectivity) ProtoMessage

func (*Connectivity) ProtoMessage()

func (*Connectivity) ProtoReflect

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

func (*Connectivity) Reset

func (x *Connectivity) Reset()

func (*Connectivity) SetNetworkId

func (m *Connectivity) SetNetworkId(v string)

func (*Connectivity) SetSubnetId

func (m *Connectivity) SetSubnetId(v []string)

func (*Connectivity) String

func (x *Connectivity) String() string

type CreateFunctionMetadata

type CreateFunctionMetadata struct {

	// ID of the function that is being created.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFunctionMetadata) Descriptor deprecated

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

Deprecated: Use CreateFunctionMetadata.ProtoReflect.Descriptor instead.

func (*CreateFunctionMetadata) GetFunctionId

func (x *CreateFunctionMetadata) GetFunctionId() string

func (*CreateFunctionMetadata) ProtoMessage

func (*CreateFunctionMetadata) ProtoMessage()

func (*CreateFunctionMetadata) ProtoReflect

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

func (*CreateFunctionMetadata) Reset

func (x *CreateFunctionMetadata) Reset()

func (*CreateFunctionMetadata) SetFunctionId

func (m *CreateFunctionMetadata) SetFunctionId(v string)

func (*CreateFunctionMetadata) String

func (x *CreateFunctionMetadata) String() string

type CreateFunctionRequest

type CreateFunctionRequest struct {

	// ID of the folder to create a function 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 function.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the function.
	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 */
	// contains filtered or unexported fields
}

func (*CreateFunctionRequest) Descriptor deprecated

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

Deprecated: Use CreateFunctionRequest.ProtoReflect.Descriptor instead.

func (*CreateFunctionRequest) GetDescription

func (x *CreateFunctionRequest) GetDescription() string

func (*CreateFunctionRequest) GetFolderId

func (x *CreateFunctionRequest) GetFolderId() string

func (*CreateFunctionRequest) GetLabels

func (x *CreateFunctionRequest) GetLabels() map[string]string

func (*CreateFunctionRequest) GetName

func (x *CreateFunctionRequest) GetName() string

func (*CreateFunctionRequest) ProtoMessage

func (*CreateFunctionRequest) ProtoMessage()

func (*CreateFunctionRequest) ProtoReflect

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

func (*CreateFunctionRequest) Reset

func (x *CreateFunctionRequest) Reset()

func (*CreateFunctionRequest) SetDescription

func (m *CreateFunctionRequest) SetDescription(v string)

func (*CreateFunctionRequest) SetFolderId

func (m *CreateFunctionRequest) SetFolderId(v string)

func (*CreateFunctionRequest) SetLabels

func (m *CreateFunctionRequest) SetLabels(v map[string]string)

func (*CreateFunctionRequest) SetName

func (m *CreateFunctionRequest) SetName(v string)

func (*CreateFunctionRequest) String

func (x *CreateFunctionRequest) String() string

type CreateFunctionVersionMetadata

type CreateFunctionVersionMetadata struct {

	// ID of the version that is being created.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFunctionVersionMetadata) Descriptor deprecated

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

Deprecated: Use CreateFunctionVersionMetadata.ProtoReflect.Descriptor instead.

func (*CreateFunctionVersionMetadata) GetFunctionVersionId

func (x *CreateFunctionVersionMetadata) GetFunctionVersionId() string

func (*CreateFunctionVersionMetadata) ProtoMessage

func (*CreateFunctionVersionMetadata) ProtoMessage()

func (*CreateFunctionVersionMetadata) ProtoReflect

func (*CreateFunctionVersionMetadata) Reset

func (x *CreateFunctionVersionMetadata) Reset()

func (*CreateFunctionVersionMetadata) SetFunctionVersionId

func (m *CreateFunctionVersionMetadata) SetFunctionVersionId(v string)

func (*CreateFunctionVersionMetadata) String

type CreateFunctionVersionRequest

type CreateFunctionVersionRequest struct {

	// ID of the function to create a version for.
	//
	// To get a function ID, make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Runtime environment for the version.
	Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Description of the version
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Entrypoint of the version.
	Entrypoint string `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Resources allocated to the version.
	Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// Timeout for the execution of the version.
	//
	// If the timeout is exceeded, Cloud Functions responds with a 504 HTTP code.
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	// ID of the service account to associate with the version.
	ServiceAccountId string `protobuf:"bytes,7,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Source of the deployment package for the version.
	//
	// Types that are assignable to PackageSource:
	//
	//	*CreateFunctionVersionRequest_Package
	//	*CreateFunctionVersionRequest_Content
	//	*CreateFunctionVersionRequest_VersionId
	PackageSource isCreateFunctionVersionRequest_PackageSource `protobuf_oneof:"package_source"`
	// Environment settings for the version.
	Environment map[string]string `` /* 164-byte string literal not displayed */
	// Function version tags. For details, see [Version tag](/docs/functions/concepts/function#tag).
	Tag []string `protobuf:"bytes,13,rep,name=tag,proto3" json:"tag,omitempty"`
	// Function version connectivity. If specified the version will be attached to specified network/subnet(s).
	Connectivity *Connectivity `protobuf:"bytes,17,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
	// Additional service accounts to be used by the version.
	NamedServiceAccounts map[string]string `` /* 212-byte string literal not displayed */
	// Yandex Lockbox secrets to be used by the version.
	Secrets []*Secret `protobuf:"bytes,18,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// Options for logging from the function
	LogOptions *LogOptions `protobuf:"bytes,19,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"`
	// S3 mounts to be used by the version.
	StorageMounts []*StorageMount `protobuf:"bytes,20,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"`
	// Config for asynchronous invocations of the version
	AsyncInvocationConfig *AsyncInvocationConfig `` /* 127-byte string literal not displayed */
	// Optional size of in-memory mounted /tmp directory in bytes.
	// Available for versions with resources.memory greater or equal to 1024 MiB.
	//
	// 0 or in range from 512 MiB to 3/4 of resources.memory.
	TmpfsSize int64 `protobuf:"varint,23,opt,name=tmpfs_size,json=tmpfsSize,proto3" json:"tmpfs_size,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFunctionVersionRequest) Descriptor deprecated

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

Deprecated: Use CreateFunctionVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateFunctionVersionRequest) GetAsyncInvocationConfig

func (x *CreateFunctionVersionRequest) GetAsyncInvocationConfig() *AsyncInvocationConfig

func (*CreateFunctionVersionRequest) GetConnectivity

func (x *CreateFunctionVersionRequest) GetConnectivity() *Connectivity

func (*CreateFunctionVersionRequest) GetContent

func (x *CreateFunctionVersionRequest) GetContent() []byte

func (*CreateFunctionVersionRequest) GetDescription

func (x *CreateFunctionVersionRequest) GetDescription() string

func (*CreateFunctionVersionRequest) GetEntrypoint

func (x *CreateFunctionVersionRequest) GetEntrypoint() string

func (*CreateFunctionVersionRequest) GetEnvironment

func (x *CreateFunctionVersionRequest) GetEnvironment() map[string]string

func (*CreateFunctionVersionRequest) GetExecutionTimeout

func (x *CreateFunctionVersionRequest) GetExecutionTimeout() *durationpb.Duration

func (*CreateFunctionVersionRequest) GetFunctionId

func (x *CreateFunctionVersionRequest) GetFunctionId() string

func (*CreateFunctionVersionRequest) GetLogOptions

func (x *CreateFunctionVersionRequest) GetLogOptions() *LogOptions

func (*CreateFunctionVersionRequest) GetNamedServiceAccounts

func (x *CreateFunctionVersionRequest) GetNamedServiceAccounts() map[string]string

func (*CreateFunctionVersionRequest) GetPackage

func (x *CreateFunctionVersionRequest) GetPackage() *Package

func (*CreateFunctionVersionRequest) GetPackageSource

func (m *CreateFunctionVersionRequest) GetPackageSource() isCreateFunctionVersionRequest_PackageSource

func (*CreateFunctionVersionRequest) GetResources

func (x *CreateFunctionVersionRequest) GetResources() *Resources

func (*CreateFunctionVersionRequest) GetRuntime

func (x *CreateFunctionVersionRequest) GetRuntime() string

func (*CreateFunctionVersionRequest) GetSecrets

func (x *CreateFunctionVersionRequest) GetSecrets() []*Secret

func (*CreateFunctionVersionRequest) GetServiceAccountId

func (x *CreateFunctionVersionRequest) GetServiceAccountId() string

func (*CreateFunctionVersionRequest) GetStorageMounts

func (x *CreateFunctionVersionRequest) GetStorageMounts() []*StorageMount

func (*CreateFunctionVersionRequest) GetTag

func (x *CreateFunctionVersionRequest) GetTag() []string

func (*CreateFunctionVersionRequest) GetTmpfsSize

func (x *CreateFunctionVersionRequest) GetTmpfsSize() int64

func (*CreateFunctionVersionRequest) GetVersionId

func (x *CreateFunctionVersionRequest) GetVersionId() string

func (*CreateFunctionVersionRequest) ProtoMessage

func (*CreateFunctionVersionRequest) ProtoMessage()

func (*CreateFunctionVersionRequest) ProtoReflect

func (*CreateFunctionVersionRequest) Reset

func (x *CreateFunctionVersionRequest) Reset()

func (*CreateFunctionVersionRequest) SetAsyncInvocationConfig

func (m *CreateFunctionVersionRequest) SetAsyncInvocationConfig(v *AsyncInvocationConfig)

func (*CreateFunctionVersionRequest) SetConnectivity

func (m *CreateFunctionVersionRequest) SetConnectivity(v *Connectivity)

func (*CreateFunctionVersionRequest) SetContent

func (m *CreateFunctionVersionRequest) SetContent(v []byte)

func (*CreateFunctionVersionRequest) SetDescription

func (m *CreateFunctionVersionRequest) SetDescription(v string)

func (*CreateFunctionVersionRequest) SetEntrypoint

func (m *CreateFunctionVersionRequest) SetEntrypoint(v string)

func (*CreateFunctionVersionRequest) SetEnvironment

func (m *CreateFunctionVersionRequest) SetEnvironment(v map[string]string)

func (*CreateFunctionVersionRequest) SetExecutionTimeout

func (m *CreateFunctionVersionRequest) SetExecutionTimeout(v *durationpb.Duration)

func (*CreateFunctionVersionRequest) SetFunctionId

func (m *CreateFunctionVersionRequest) SetFunctionId(v string)

func (*CreateFunctionVersionRequest) SetLogOptions

func (m *CreateFunctionVersionRequest) SetLogOptions(v *LogOptions)

func (*CreateFunctionVersionRequest) SetNamedServiceAccounts

func (m *CreateFunctionVersionRequest) SetNamedServiceAccounts(v map[string]string)

func (*CreateFunctionVersionRequest) SetPackage

func (m *CreateFunctionVersionRequest) SetPackage(v *Package)

func (*CreateFunctionVersionRequest) SetPackageSource

func (*CreateFunctionVersionRequest) SetResources

func (m *CreateFunctionVersionRequest) SetResources(v *Resources)

func (*CreateFunctionVersionRequest) SetRuntime

func (m *CreateFunctionVersionRequest) SetRuntime(v string)

func (*CreateFunctionVersionRequest) SetSecrets

func (m *CreateFunctionVersionRequest) SetSecrets(v []*Secret)

func (*CreateFunctionVersionRequest) SetServiceAccountId

func (m *CreateFunctionVersionRequest) SetServiceAccountId(v string)

func (*CreateFunctionVersionRequest) SetStorageMounts

func (m *CreateFunctionVersionRequest) SetStorageMounts(v []*StorageMount)

func (*CreateFunctionVersionRequest) SetTag

func (m *CreateFunctionVersionRequest) SetTag(v []string)

func (*CreateFunctionVersionRequest) SetTmpfsSize

func (m *CreateFunctionVersionRequest) SetTmpfsSize(v int64)

func (*CreateFunctionVersionRequest) SetVersionId

func (m *CreateFunctionVersionRequest) SetVersionId(v string)

func (*CreateFunctionVersionRequest) String

type CreateFunctionVersionRequest_Content

type CreateFunctionVersionRequest_Content struct {
	// Content of the deployment package.
	Content []byte `protobuf:"bytes,10,opt,name=content,proto3,oneof"`
}

type CreateFunctionVersionRequest_Package

type CreateFunctionVersionRequest_Package struct {
	// Functions deployment package.
	Package *Package `protobuf:"bytes,9,opt,name=package,proto3,oneof"`
}

type CreateFunctionVersionRequest_PackageSource

type CreateFunctionVersionRequest_PackageSource = isCreateFunctionVersionRequest_PackageSource

type CreateFunctionVersionRequest_VersionId

type CreateFunctionVersionRequest_VersionId struct {
	// ID of the version to be copied from. Source version must belong to the same folder as the created version
	// and the user must have read permissions to the source version.
	VersionId string `protobuf:"bytes,11,opt,name=version_id,json=versionId,proto3,oneof"`
}

type DeleteFunctionMetadata

type DeleteFunctionMetadata struct {

	// ID of the function that is being deleted.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFunctionMetadata) Descriptor deprecated

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

Deprecated: Use DeleteFunctionMetadata.ProtoReflect.Descriptor instead.

func (*DeleteFunctionMetadata) GetFunctionId

func (x *DeleteFunctionMetadata) GetFunctionId() string

func (*DeleteFunctionMetadata) ProtoMessage

func (*DeleteFunctionMetadata) ProtoMessage()

func (*DeleteFunctionMetadata) ProtoReflect

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

func (*DeleteFunctionMetadata) Reset

func (x *DeleteFunctionMetadata) Reset()

func (*DeleteFunctionMetadata) SetFunctionId

func (m *DeleteFunctionMetadata) SetFunctionId(v string)

func (*DeleteFunctionMetadata) String

func (x *DeleteFunctionMetadata) String() string

type DeleteFunctionRequest

type DeleteFunctionRequest struct {

	// ID of the function to delete.
	// To get a function ID make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFunctionRequest) Descriptor deprecated

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

Deprecated: Use DeleteFunctionRequest.ProtoReflect.Descriptor instead.

func (*DeleteFunctionRequest) GetFunctionId

func (x *DeleteFunctionRequest) GetFunctionId() string

func (*DeleteFunctionRequest) ProtoMessage

func (*DeleteFunctionRequest) ProtoMessage()

func (*DeleteFunctionRequest) ProtoReflect

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

func (*DeleteFunctionRequest) Reset

func (x *DeleteFunctionRequest) Reset()

func (*DeleteFunctionRequest) SetFunctionId

func (m *DeleteFunctionRequest) SetFunctionId(v string)

func (*DeleteFunctionRequest) String

func (x *DeleteFunctionRequest) String() string

type DeleteFunctionVersionMetadata

type DeleteFunctionVersionMetadata struct {

	// ID of the function's version is being deleted.
	FunctionVersionId string `protobuf:"bytes,2,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFunctionVersionMetadata) Descriptor deprecated

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

Deprecated: Use DeleteFunctionVersionMetadata.ProtoReflect.Descriptor instead.

func (*DeleteFunctionVersionMetadata) GetFunctionVersionId

func (x *DeleteFunctionVersionMetadata) GetFunctionVersionId() string

func (*DeleteFunctionVersionMetadata) ProtoMessage

func (*DeleteFunctionVersionMetadata) ProtoMessage()

func (*DeleteFunctionVersionMetadata) ProtoReflect

func (*DeleteFunctionVersionMetadata) Reset

func (x *DeleteFunctionVersionMetadata) Reset()

func (*DeleteFunctionVersionMetadata) SetFunctionVersionId

func (m *DeleteFunctionVersionMetadata) SetFunctionVersionId(v string)

func (*DeleteFunctionVersionMetadata) String

type DeleteFunctionVersionRequest

type DeleteFunctionVersionRequest struct {

	// ID of the function's version to delete.
	FunctionVersionId string `protobuf:"bytes,2,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// Forces deletion of the version tags.
	//
	// If the value equals false and the function has tags with the selected version then request returns an error.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFunctionVersionRequest) Descriptor deprecated

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

Deprecated: Use DeleteFunctionVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteFunctionVersionRequest) GetForce

func (x *DeleteFunctionVersionRequest) GetForce() bool

func (*DeleteFunctionVersionRequest) GetFunctionVersionId

func (x *DeleteFunctionVersionRequest) GetFunctionVersionId() string

func (*DeleteFunctionVersionRequest) ProtoMessage

func (*DeleteFunctionVersionRequest) ProtoMessage()

func (*DeleteFunctionVersionRequest) ProtoReflect

func (*DeleteFunctionVersionRequest) Reset

func (x *DeleteFunctionVersionRequest) Reset()

func (*DeleteFunctionVersionRequest) SetForce

func (m *DeleteFunctionVersionRequest) SetForce(v bool)

func (*DeleteFunctionVersionRequest) SetFunctionVersionId

func (m *DeleteFunctionVersionRequest) SetFunctionVersionId(v string)

func (*DeleteFunctionVersionRequest) String

type EmptyTarget

type EmptyTarget struct {
	// contains filtered or unexported fields
}

func (*EmptyTarget) Descriptor deprecated

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

Deprecated: Use EmptyTarget.ProtoReflect.Descriptor instead.

func (*EmptyTarget) ProtoMessage

func (*EmptyTarget) ProtoMessage()

func (*EmptyTarget) ProtoReflect

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

func (*EmptyTarget) Reset

func (x *EmptyTarget) Reset()

func (*EmptyTarget) String

func (x *EmptyTarget) String() string

type Function

type Function struct {

	// ID of the function. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the function belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp for the function.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the function. The name is unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the function.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Function labels as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the log group for the function.
	LogGroupId string `protobuf:"bytes,7,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"`
	// URL that needs to be requested to invoke the function.
	HttpInvokeUrl string `protobuf:"bytes,8,opt,name=http_invoke_url,json=httpInvokeUrl,proto3" json:"http_invoke_url,omitempty"`
	// Status of the function.
	Status Function_Status `protobuf:"varint,9,opt,name=status,proto3,enum=yandex.cloud.serverless.functions.v1.Function_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

A serverless function. For details about the concept, see [Functions](/docs/functions/concepts/function).

func (*Function) Descriptor deprecated

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetCreatedAt

func (x *Function) GetCreatedAt() *timestamppb.Timestamp

func (*Function) GetDescription

func (x *Function) GetDescription() string

func (*Function) GetFolderId

func (x *Function) GetFolderId() string

func (*Function) GetHttpInvokeUrl

func (x *Function) GetHttpInvokeUrl() string

func (*Function) GetId

func (x *Function) GetId() string

func (*Function) GetLabels

func (x *Function) GetLabels() map[string]string

func (*Function) GetLogGroupId

func (x *Function) GetLogGroupId() string

func (*Function) GetName

func (x *Function) GetName() string

func (*Function) GetStatus

func (x *Function) GetStatus() Function_Status

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

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

func (*Function) Reset

func (x *Function) Reset()

func (*Function) SetCreatedAt

func (m *Function) SetCreatedAt(v *timestamppb.Timestamp)

func (*Function) SetDescription

func (m *Function) SetDescription(v string)

func (*Function) SetFolderId

func (m *Function) SetFolderId(v string)

func (*Function) SetHttpInvokeUrl

func (m *Function) SetHttpInvokeUrl(v string)

func (*Function) SetId

func (m *Function) SetId(v string)

func (*Function) SetLabels

func (m *Function) SetLabels(v map[string]string)

func (*Function) SetLogGroupId

func (m *Function) SetLogGroupId(v string)

func (*Function) SetName

func (m *Function) SetName(v string)

func (*Function) SetStatus

func (m *Function) SetStatus(v Function_Status)

func (*Function) String

func (x *Function) String() string

type FunctionServiceClient

type FunctionServiceClient interface {
	// Returns the specified function.
	//
	// To get the list of all available functions, make a [List] request.
	Get(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*Function, error)
	// Retrieves the list of functions in the specified folder.
	List(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error)
	// Creates a function in the specified folder.
	Create(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified function.
	Update(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified function.
	Delete(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified version of a function.
	//
	// To get the list of available version, make a [ListVersions] request.
	GetVersion(ctx context.Context, in *GetFunctionVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// Returns all versions with the specified tag.
	//
	// To get the list of all available versions, make a [ListVersions] request.
	GetVersionByTag(ctx context.Context, in *GetFunctionVersionByTagRequest, opts ...grpc.CallOption) (*Version, error)
	// Retrieves the list of versions for the specified function, or of all function versions
	// in the specified folder.
	ListVersions(ctx context.Context, in *ListFunctionsVersionsRequest, opts ...grpc.CallOption) (*ListFunctionsVersionsResponse, error)
	// Deletes the specified version of a function.
	//
	// NOTE: old untagged function versions are deleted automatically.
	DeleteVersion(ctx context.Context, in *DeleteFunctionVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Set a tag for the specified version of a function.
	SetTag(ctx context.Context, in *SetFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Remove a tag from the specified version of a function.
	RemoveTag(ctx context.Context, in *RemoveFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the log of tags assigned to versions of the specified function.
	ListTagHistory(ctx context.Context, in *ListFunctionTagHistoryRequest, opts ...grpc.CallOption) (*ListFunctionTagHistoryResponse, error)
	// Creates a version for the specified function.
	CreateVersion(ctx context.Context, in *CreateFunctionVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists available runtime environments for the specified function.
	ListRuntimes(ctx context.Context, in *ListRuntimesRequest, opts ...grpc.CallOption) (*ListRuntimesResponse, error)
	// Lists operations for the specified function.
	ListOperations(ctx context.Context, in *ListFunctionOperationsRequest, opts ...grpc.CallOption) (*ListFunctionOperationsResponse, error)
	// Lists existing access bindings for the specified function.
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the function.
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates access bindings for the specified function.
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists existing scaling policies for specified function
	ListScalingPolicies(ctx context.Context, in *ListScalingPoliciesRequest, opts ...grpc.CallOption) (*ListScalingPoliciesResponse, error)
	// Set scaling policy for specified function and tag
	SetScalingPolicy(ctx context.Context, in *SetScalingPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Remove scaling policy for specified function and tag
	RemoveScalingPolicy(ctx context.Context, in *RemoveScalingPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

FunctionServiceClient is the client API for FunctionService 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.

type FunctionServiceServer

type FunctionServiceServer interface {
	// Returns the specified function.
	//
	// To get the list of all available functions, make a [List] request.
	Get(context.Context, *GetFunctionRequest) (*Function, error)
	// Retrieves the list of functions in the specified folder.
	List(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
	// Creates a function in the specified folder.
	Create(context.Context, *CreateFunctionRequest) (*operation.Operation, error)
	// Updates the specified function.
	Update(context.Context, *UpdateFunctionRequest) (*operation.Operation, error)
	// Deletes the specified function.
	Delete(context.Context, *DeleteFunctionRequest) (*operation.Operation, error)
	// Returns the specified version of a function.
	//
	// To get the list of available version, make a [ListVersions] request.
	GetVersion(context.Context, *GetFunctionVersionRequest) (*Version, error)
	// Returns all versions with the specified tag.
	//
	// To get the list of all available versions, make a [ListVersions] request.
	GetVersionByTag(context.Context, *GetFunctionVersionByTagRequest) (*Version, error)
	// Retrieves the list of versions for the specified function, or of all function versions
	// in the specified folder.
	ListVersions(context.Context, *ListFunctionsVersionsRequest) (*ListFunctionsVersionsResponse, error)
	// Deletes the specified version of a function.
	//
	// NOTE: old untagged function versions are deleted automatically.
	DeleteVersion(context.Context, *DeleteFunctionVersionRequest) (*operation.Operation, error)
	// Set a tag for the specified version of a function.
	SetTag(context.Context, *SetFunctionTagRequest) (*operation.Operation, error)
	// Remove a tag from the specified version of a function.
	RemoveTag(context.Context, *RemoveFunctionTagRequest) (*operation.Operation, error)
	// Returns the log of tags assigned to versions of the specified function.
	ListTagHistory(context.Context, *ListFunctionTagHistoryRequest) (*ListFunctionTagHistoryResponse, error)
	// Creates a version for the specified function.
	CreateVersion(context.Context, *CreateFunctionVersionRequest) (*operation.Operation, error)
	// Lists available runtime environments for the specified function.
	ListRuntimes(context.Context, *ListRuntimesRequest) (*ListRuntimesResponse, error)
	// Lists operations for the specified function.
	ListOperations(context.Context, *ListFunctionOperationsRequest) (*ListFunctionOperationsResponse, error)
	// Lists existing access bindings for the specified function.
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the function.
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	// Updates access bindings for the specified function.
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
	// Lists existing scaling policies for specified function
	ListScalingPolicies(context.Context, *ListScalingPoliciesRequest) (*ListScalingPoliciesResponse, error)
	// Set scaling policy for specified function and tag
	SetScalingPolicy(context.Context, *SetScalingPolicyRequest) (*operation.Operation, error)
	// Remove scaling policy for specified function and tag
	RemoveScalingPolicy(context.Context, *RemoveScalingPolicyRequest) (*operation.Operation, error)
}

FunctionServiceServer is the server API for FunctionService service. All implementations should embed UnimplementedFunctionServiceServer for forward compatibility

type Function_Status

type Function_Status int32
const (
	Function_STATUS_UNSPECIFIED Function_Status = 0
	// Function is being created.
	Function_CREATING Function_Status = 1
	// Function is ready to be invoked.
	Function_ACTIVE Function_Status = 2
	// Function is being deleted.
	Function_DELETING Function_Status = 3
	// Function failed.
	Function_ERROR Function_Status = 4
)

func (Function_Status) Descriptor

func (Function_Status) Enum

func (x Function_Status) Enum() *Function_Status

func (Function_Status) EnumDescriptor deprecated

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

Deprecated: Use Function_Status.Descriptor instead.

func (Function_Status) Number

func (Function_Status) String

func (x Function_Status) String() string

func (Function_Status) Type

type GetFunctionRequest

type GetFunctionRequest struct {

	// ID of the function to return.
	//
	// To get a function ID make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFunctionRequest) Descriptor deprecated

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

Deprecated: Use GetFunctionRequest.ProtoReflect.Descriptor instead.

func (*GetFunctionRequest) GetFunctionId

func (x *GetFunctionRequest) GetFunctionId() string

func (*GetFunctionRequest) ProtoMessage

func (*GetFunctionRequest) ProtoMessage()

func (*GetFunctionRequest) ProtoReflect

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

func (*GetFunctionRequest) Reset

func (x *GetFunctionRequest) Reset()

func (*GetFunctionRequest) SetFunctionId

func (m *GetFunctionRequest) SetFunctionId(v string)

func (*GetFunctionRequest) String

func (x *GetFunctionRequest) String() string

type GetFunctionVersionByTagRequest

type GetFunctionVersionByTagRequest struct {

	// ID of the function whose versions should be listed.
	//
	// To get a function ID use a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Version tag.
	//
	// To get the history of version tags make a [FunctionService.ListTagHistory] request.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFunctionVersionByTagRequest) Descriptor deprecated

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

Deprecated: Use GetFunctionVersionByTagRequest.ProtoReflect.Descriptor instead.

func (*GetFunctionVersionByTagRequest) GetFunctionId

func (x *GetFunctionVersionByTagRequest) GetFunctionId() string

func (*GetFunctionVersionByTagRequest) GetTag

func (*GetFunctionVersionByTagRequest) ProtoMessage

func (*GetFunctionVersionByTagRequest) ProtoMessage()

func (*GetFunctionVersionByTagRequest) ProtoReflect

func (*GetFunctionVersionByTagRequest) Reset

func (x *GetFunctionVersionByTagRequest) Reset()

func (*GetFunctionVersionByTagRequest) SetFunctionId

func (m *GetFunctionVersionByTagRequest) SetFunctionId(v string)

func (*GetFunctionVersionByTagRequest) SetTag

func (*GetFunctionVersionByTagRequest) String

type GetFunctionVersionRequest

type GetFunctionVersionRequest struct {

	// ID of the version to return.
	//
	// To get a version ID make a [FunctionService.ListVersions] request.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFunctionVersionRequest) Descriptor deprecated

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

Deprecated: Use GetFunctionVersionRequest.ProtoReflect.Descriptor instead.

func (*GetFunctionVersionRequest) GetFunctionVersionId

func (x *GetFunctionVersionRequest) GetFunctionVersionId() string

func (*GetFunctionVersionRequest) ProtoMessage

func (*GetFunctionVersionRequest) ProtoMessage()

func (*GetFunctionVersionRequest) ProtoReflect

func (*GetFunctionVersionRequest) Reset

func (x *GetFunctionVersionRequest) Reset()

func (*GetFunctionVersionRequest) SetFunctionVersionId

func (m *GetFunctionVersionRequest) SetFunctionVersionId(v string)

func (*GetFunctionVersionRequest) String

func (x *GetFunctionVersionRequest) String() string

type GetUsedNetworkRequest

type GetUsedNetworkRequest struct {

	// ID of the network to return.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsedNetworkRequest) Descriptor deprecated

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

Deprecated: Use GetUsedNetworkRequest.ProtoReflect.Descriptor instead.

func (*GetUsedNetworkRequest) GetNetworkId

func (x *GetUsedNetworkRequest) GetNetworkId() string

func (*GetUsedNetworkRequest) ProtoMessage

func (*GetUsedNetworkRequest) ProtoMessage()

func (*GetUsedNetworkRequest) ProtoReflect

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

func (*GetUsedNetworkRequest) Reset

func (x *GetUsedNetworkRequest) Reset()

func (*GetUsedNetworkRequest) SetNetworkId

func (m *GetUsedNetworkRequest) SetNetworkId(v string)

func (*GetUsedNetworkRequest) String

func (x *GetUsedNetworkRequest) String() string

type ListConnectedResourcesRequest

type ListConnectedResourcesRequest struct {

	// The maximum number of results per page to return. If the number of available
	// results is larger than `pageSize`, the service returns a [ListConnectedResourcesResponse.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,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `pageToken` to the
	// [ListConnectedResourcesResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Types that are assignable to NetworkScope:
	//
	//	*ListConnectedResourcesRequest_NetworkId
	//	*ListConnectedResourcesRequest_CloudId
	//	*ListConnectedResourcesRequest_FolderId
	NetworkScope isListConnectedResourcesRequest_NetworkScope `protobuf_oneof:"network_scope"`
	// contains filtered or unexported fields
}

func (*ListConnectedResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListConnectedResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListConnectedResourcesRequest) GetCloudId

func (x *ListConnectedResourcesRequest) GetCloudId() string

func (*ListConnectedResourcesRequest) GetFolderId

func (x *ListConnectedResourcesRequest) GetFolderId() string

func (*ListConnectedResourcesRequest) GetNetworkId

func (x *ListConnectedResourcesRequest) GetNetworkId() string

func (*ListConnectedResourcesRequest) GetNetworkScope

func (m *ListConnectedResourcesRequest) GetNetworkScope() isListConnectedResourcesRequest_NetworkScope

func (*ListConnectedResourcesRequest) GetPageSize

func (x *ListConnectedResourcesRequest) GetPageSize() int64

func (*ListConnectedResourcesRequest) GetPageToken

func (x *ListConnectedResourcesRequest) GetPageToken() string

func (*ListConnectedResourcesRequest) ProtoMessage

func (*ListConnectedResourcesRequest) ProtoMessage()

func (*ListConnectedResourcesRequest) ProtoReflect

func (*ListConnectedResourcesRequest) Reset

func (x *ListConnectedResourcesRequest) Reset()

func (*ListConnectedResourcesRequest) SetCloudId

func (m *ListConnectedResourcesRequest) SetCloudId(v string)

func (*ListConnectedResourcesRequest) SetFolderId

func (m *ListConnectedResourcesRequest) SetFolderId(v string)

func (*ListConnectedResourcesRequest) SetNetworkId

func (m *ListConnectedResourcesRequest) SetNetworkId(v string)

func (*ListConnectedResourcesRequest) SetNetworkScope

func (*ListConnectedResourcesRequest) SetPageSize

func (m *ListConnectedResourcesRequest) SetPageSize(v int64)

func (*ListConnectedResourcesRequest) SetPageToken

func (m *ListConnectedResourcesRequest) SetPageToken(v string)

func (*ListConnectedResourcesRequest) String

type ListConnectedResourcesRequest_CloudId

type ListConnectedResourcesRequest_CloudId struct {
	// ID of the cloud to list serverless resources connected to any network from it.
	CloudId string `protobuf:"bytes,4,opt,name=cloud_id,json=cloudId,proto3,oneof"`
}

type ListConnectedResourcesRequest_FolderId

type ListConnectedResourcesRequest_FolderId struct {
	// ID of the folder to list serverless resources connected to any network from it.
	FolderId string `protobuf:"bytes,5,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListConnectedResourcesRequest_NetworkId

type ListConnectedResourcesRequest_NetworkId struct {
	// ID of the network to list serverless resources connected to it.
	NetworkId string `protobuf:"bytes,3,opt,name=network_id,json=networkId,proto3,oneof"`
}

type ListConnectedResourcesRequest_NetworkScope

type ListConnectedResourcesRequest_NetworkScope = isListConnectedResourcesRequest_NetworkScope

type ListConnectedResourcesResponse

type ListConnectedResourcesResponse struct {

	// List of serverless resources connected to any network from the specified scope.
	Resources []*ListConnectedResourcesResponse_ConnectedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListConnectedResourcesRequest.page_size], use `nextPageToken` as the value
	// for the [ListConnectedResourcesRequest.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 (*ListConnectedResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListConnectedResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListConnectedResourcesResponse) GetNextPageToken

func (x *ListConnectedResourcesResponse) GetNextPageToken() string

func (*ListConnectedResourcesResponse) GetResources

func (*ListConnectedResourcesResponse) ProtoMessage

func (*ListConnectedResourcesResponse) ProtoMessage()

func (*ListConnectedResourcesResponse) ProtoReflect

func (*ListConnectedResourcesResponse) Reset

func (x *ListConnectedResourcesResponse) Reset()

func (*ListConnectedResourcesResponse) SetNextPageToken

func (m *ListConnectedResourcesResponse) SetNextPageToken(v string)

func (*ListConnectedResourcesResponse) SetResources

func (*ListConnectedResourcesResponse) String

type ListConnectedResourcesResponse_ConnectedResource

type ListConnectedResourcesResponse_ConnectedResource struct {

	// ID of the network to which the resource is connected.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Type of the serverless resource.
	ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// ID of the serverless resource.
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Type of the serverless subresource.
	SubresourceType string `protobuf:"bytes,4,opt,name=subresource_type,json=subresourceType,proto3" json:"subresource_type,omitempty"`
	// ID of the serverless subresource.
	SubresourceId string `protobuf:"bytes,5,opt,name=subresource_id,json=subresourceId,proto3" json:"subresource_id,omitempty"`
	// ID of the cloud that the resource belongs to.
	ResourceCloudId string `protobuf:"bytes,6,opt,name=resource_cloud_id,json=resourceCloudId,proto3" json:"resource_cloud_id,omitempty"`
	// ID of the folder thar the resource belongs to.
	ResourceFolderId string `protobuf:"bytes,7,opt,name=resource_folder_id,json=resourceFolderId,proto3" json:"resource_folder_id,omitempty"`
	// contains filtered or unexported fields
}

Serverless resource connected to VPC network.

func (*ListConnectedResourcesResponse_ConnectedResource) Descriptor deprecated

Deprecated: Use ListConnectedResourcesResponse_ConnectedResource.ProtoReflect.Descriptor instead.

func (*ListConnectedResourcesResponse_ConnectedResource) GetNetworkId

func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceCloudId

func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceFolderId

func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceId

func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceType

func (*ListConnectedResourcesResponse_ConnectedResource) GetSubresourceId

func (*ListConnectedResourcesResponse_ConnectedResource) GetSubresourceType

func (*ListConnectedResourcesResponse_ConnectedResource) ProtoMessage

func (*ListConnectedResourcesResponse_ConnectedResource) ProtoReflect

func (*ListConnectedResourcesResponse_ConnectedResource) Reset

func (*ListConnectedResourcesResponse_ConnectedResource) SetNetworkId

func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceCloudId

func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceFolderId

func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceFolderId(v string)

func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceId

func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceType

func (*ListConnectedResourcesResponse_ConnectedResource) SetSubresourceId

func (*ListConnectedResourcesResponse_ConnectedResource) SetSubresourceType

func (*ListConnectedResourcesResponse_ConnectedResource) String

type ListFunctionOperationsRequest

type ListFunctionOperationsRequest struct {

	// ID of the function to list operations for.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_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 [ListFunctionOperationsResponse.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
	// [ListFunctionOperationsResponse.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 be applied to the [operation.Operation.done], [operation.Operation.created_by] 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]`.
	// Examples of a filter: `done=false`, `created_by='John.Doe'`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFunctionOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListFunctionOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListFunctionOperationsRequest) GetFilter

func (x *ListFunctionOperationsRequest) GetFilter() string

func (*ListFunctionOperationsRequest) GetFunctionId

func (x *ListFunctionOperationsRequest) GetFunctionId() string

func (*ListFunctionOperationsRequest) GetPageSize

func (x *ListFunctionOperationsRequest) GetPageSize() int64

func (*ListFunctionOperationsRequest) GetPageToken

func (x *ListFunctionOperationsRequest) GetPageToken() string

func (*ListFunctionOperationsRequest) ProtoMessage

func (*ListFunctionOperationsRequest) ProtoMessage()

func (*ListFunctionOperationsRequest) ProtoReflect

func (*ListFunctionOperationsRequest) Reset

func (x *ListFunctionOperationsRequest) Reset()

func (*ListFunctionOperationsRequest) SetFilter

func (m *ListFunctionOperationsRequest) SetFilter(v string)

func (*ListFunctionOperationsRequest) SetFunctionId

func (m *ListFunctionOperationsRequest) SetFunctionId(v string)

func (*ListFunctionOperationsRequest) SetPageSize

func (m *ListFunctionOperationsRequest) SetPageSize(v int64)

func (*ListFunctionOperationsRequest) SetPageToken

func (m *ListFunctionOperationsRequest) SetPageToken(v string)

func (*ListFunctionOperationsRequest) String

type ListFunctionOperationsResponse

type ListFunctionOperationsResponse struct {

	// List of operations for the specified function.
	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 [ListFunctionOperationsRequest.page_size], use `nextPageToken` as the value
	// for the [ListFunctionOperationsRequest.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 (*ListFunctionOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListFunctionOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListFunctionOperationsResponse) GetNextPageToken

func (x *ListFunctionOperationsResponse) GetNextPageToken() string

func (*ListFunctionOperationsResponse) GetOperations

func (x *ListFunctionOperationsResponse) GetOperations() []*operation.Operation

func (*ListFunctionOperationsResponse) ProtoMessage

func (*ListFunctionOperationsResponse) ProtoMessage()

func (*ListFunctionOperationsResponse) ProtoReflect

func (*ListFunctionOperationsResponse) Reset

func (x *ListFunctionOperationsResponse) Reset()

func (*ListFunctionOperationsResponse) SetNextPageToken

func (m *ListFunctionOperationsResponse) SetNextPageToken(v string)

func (*ListFunctionOperationsResponse) SetOperations

func (m *ListFunctionOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListFunctionOperationsResponse) String

type ListFunctionTagHistoryRequest

type ListFunctionTagHistoryRequest struct {

	// ID of the function to retrieve tag history for.
	//
	// To get a function ID, make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Specific tag that history should be limited to.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,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 [ListFunctionOperationsResponse.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,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `pageToken` to the
	// [ListFunctionOperationsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,4,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 [FunctionTagHistoryRecord.effective_from] and [FunctionTagHistoryRecord.effective_to] fields.
	// 2. An `=` or `>` or `<` 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]`.
	// For example, `effective_to>2021-01-01T12:00:00Z`.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFunctionTagHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListFunctionTagHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListFunctionTagHistoryRequest) GetFilter

func (x *ListFunctionTagHistoryRequest) GetFilter() string

func (*ListFunctionTagHistoryRequest) GetFunctionId

func (x *ListFunctionTagHistoryRequest) GetFunctionId() string

func (*ListFunctionTagHistoryRequest) GetPageSize

func (x *ListFunctionTagHistoryRequest) GetPageSize() int64

func (*ListFunctionTagHistoryRequest) GetPageToken

func (x *ListFunctionTagHistoryRequest) GetPageToken() string

func (*ListFunctionTagHistoryRequest) GetTag

func (*ListFunctionTagHistoryRequest) ProtoMessage

func (*ListFunctionTagHistoryRequest) ProtoMessage()

func (*ListFunctionTagHistoryRequest) ProtoReflect

func (*ListFunctionTagHistoryRequest) Reset

func (x *ListFunctionTagHistoryRequest) Reset()

func (*ListFunctionTagHistoryRequest) SetFilter

func (m *ListFunctionTagHistoryRequest) SetFilter(v string)

func (*ListFunctionTagHistoryRequest) SetFunctionId

func (m *ListFunctionTagHistoryRequest) SetFunctionId(v string)

func (*ListFunctionTagHistoryRequest) SetPageSize

func (m *ListFunctionTagHistoryRequest) SetPageSize(v int64)

func (*ListFunctionTagHistoryRequest) SetPageToken

func (m *ListFunctionTagHistoryRequest) SetPageToken(v string)

func (*ListFunctionTagHistoryRequest) SetTag

func (*ListFunctionTagHistoryRequest) String

type ListFunctionTagHistoryResponse

type ListFunctionTagHistoryResponse struct {

	// Set of relevant tag history records.
	FunctionTagHistoryRecord []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord `` /* 137-byte string literal not displayed */
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListFunctionTagHistoryRequest.page_size], use `nextPageToken` as the value
	// for the [ListFunctionTagHistoryRequest.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 (*ListFunctionTagHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListFunctionTagHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListFunctionTagHistoryResponse) GetFunctionTagHistoryRecord

func (*ListFunctionTagHistoryResponse) GetNextPageToken

func (x *ListFunctionTagHistoryResponse) GetNextPageToken() string

func (*ListFunctionTagHistoryResponse) ProtoMessage

func (*ListFunctionTagHistoryResponse) ProtoMessage()

func (*ListFunctionTagHistoryResponse) ProtoReflect

func (*ListFunctionTagHistoryResponse) Reset

func (x *ListFunctionTagHistoryResponse) Reset()

func (*ListFunctionTagHistoryResponse) SetFunctionTagHistoryRecord

func (*ListFunctionTagHistoryResponse) SetNextPageToken

func (m *ListFunctionTagHistoryResponse) SetNextPageToken(v string)

func (*ListFunctionTagHistoryResponse) String

type ListFunctionTagHistoryResponse_FunctionTagHistoryRecord

type ListFunctionTagHistoryResponse_FunctionTagHistoryRecord struct {

	// ID of the function that the record is about.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// ID of the function version that the record is about.
	FunctionVersionId string `protobuf:"bytes,3,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// Tag that was set for the version at some point.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// Timestamp when the tag started being active for the function.
	EffectiveFrom *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=effective_from,json=effectiveFrom,proto3" json:"effective_from,omitempty"`
	// Timestamp when the tag stopped being active for the function.
	EffectiveTo *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=effective_to,json=effectiveTo,proto3" json:"effective_to,omitempty"`
	// contains filtered or unexported fields
}

A record in the tag history.

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Descriptor deprecated

Deprecated: Use ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.ProtoReflect.Descriptor instead.

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveFrom

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveTo

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionId

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionVersionId

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetTag

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoMessage

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoReflect

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Reset

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveFrom

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveTo

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionId

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionVersionId

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetTag

func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) String

type ListFunctionsRequest

type ListFunctionsRequest struct {

	// ID of the folder to list functions 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"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `pageSize`, the service returns a [ListFunctionsResponse.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
	// [ListFunctionsResponse.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 functions listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently filtering can only be applied to the [Function.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 (*ListFunctionsRequest) Descriptor deprecated

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

Deprecated: Use ListFunctionsRequest.ProtoReflect.Descriptor instead.

func (*ListFunctionsRequest) GetFilter

func (x *ListFunctionsRequest) GetFilter() string

func (*ListFunctionsRequest) GetFolderId

func (x *ListFunctionsRequest) GetFolderId() string

func (*ListFunctionsRequest) GetPageSize

func (x *ListFunctionsRequest) GetPageSize() int64

func (*ListFunctionsRequest) GetPageToken

func (x *ListFunctionsRequest) GetPageToken() string

func (*ListFunctionsRequest) ProtoMessage

func (*ListFunctionsRequest) ProtoMessage()

func (*ListFunctionsRequest) ProtoReflect

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

func (*ListFunctionsRequest) Reset

func (x *ListFunctionsRequest) Reset()

func (*ListFunctionsRequest) SetFilter

func (m *ListFunctionsRequest) SetFilter(v string)

func (*ListFunctionsRequest) SetFolderId

func (m *ListFunctionsRequest) SetFolderId(v string)

func (*ListFunctionsRequest) SetPageSize

func (m *ListFunctionsRequest) SetPageSize(v int64)

func (*ListFunctionsRequest) SetPageToken

func (m *ListFunctionsRequest) SetPageToken(v string)

func (*ListFunctionsRequest) String

func (x *ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {

	// List of functions in the specified folder.
	Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListFunctionsRequest.page_size], use `nextPageToken` as the value
	// for the [ListFunctionsRequest.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 (*ListFunctionsResponse) Descriptor deprecated

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

Deprecated: Use ListFunctionsResponse.ProtoReflect.Descriptor instead.

func (*ListFunctionsResponse) GetFunctions

func (x *ListFunctionsResponse) GetFunctions() []*Function

func (*ListFunctionsResponse) GetNextPageToken

func (x *ListFunctionsResponse) GetNextPageToken() string

func (*ListFunctionsResponse) ProtoMessage

func (*ListFunctionsResponse) ProtoMessage()

func (*ListFunctionsResponse) ProtoReflect

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

func (*ListFunctionsResponse) Reset

func (x *ListFunctionsResponse) Reset()

func (*ListFunctionsResponse) SetFunctions

func (m *ListFunctionsResponse) SetFunctions(v []*Function)

func (*ListFunctionsResponse) SetNextPageToken

func (m *ListFunctionsResponse) SetNextPageToken(v string)

func (*ListFunctionsResponse) String

func (x *ListFunctionsResponse) String() string

type ListFunctionsVersionsRequest

type ListFunctionsVersionsRequest struct {

	// Types that are assignable to Id:
	//
	//	*ListFunctionsVersionsRequest_FolderId
	//	*ListFunctionsVersionsRequest_FunctionId
	Id isListFunctionsVersionsRequest_Id `protobuf_oneof:"id"`
	// The maximum number of results per page to return. If the number of available results
	// is larger than `pageSize`, the service returns a [ListFunctionsVersionsResponse.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,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `pageToken` to the
	// [ListFunctionsVersionsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,4,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 [Version.status] and [Version.runtime] fields.
	// 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: `status="ACTIVE"`.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFunctionsVersionsRequest) Descriptor deprecated

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

Deprecated: Use ListFunctionsVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListFunctionsVersionsRequest) GetFilter

func (x *ListFunctionsVersionsRequest) GetFilter() string

func (*ListFunctionsVersionsRequest) GetFolderId

func (x *ListFunctionsVersionsRequest) GetFolderId() string

func (*ListFunctionsVersionsRequest) GetFunctionId

func (x *ListFunctionsVersionsRequest) GetFunctionId() string

func (*ListFunctionsVersionsRequest) GetId

func (m *ListFunctionsVersionsRequest) GetId() isListFunctionsVersionsRequest_Id

func (*ListFunctionsVersionsRequest) GetPageSize

func (x *ListFunctionsVersionsRequest) GetPageSize() int64

func (*ListFunctionsVersionsRequest) GetPageToken

func (x *ListFunctionsVersionsRequest) GetPageToken() string

func (*ListFunctionsVersionsRequest) ProtoMessage

func (*ListFunctionsVersionsRequest) ProtoMessage()

func (*ListFunctionsVersionsRequest) ProtoReflect

func (*ListFunctionsVersionsRequest) Reset

func (x *ListFunctionsVersionsRequest) Reset()

func (*ListFunctionsVersionsRequest) SetFilter

func (m *ListFunctionsVersionsRequest) SetFilter(v string)

func (*ListFunctionsVersionsRequest) SetFolderId

func (m *ListFunctionsVersionsRequest) SetFolderId(v string)

func (*ListFunctionsVersionsRequest) SetFunctionId

func (m *ListFunctionsVersionsRequest) SetFunctionId(v string)

func (*ListFunctionsVersionsRequest) SetId

func (*ListFunctionsVersionsRequest) SetPageSize

func (m *ListFunctionsVersionsRequest) SetPageSize(v int64)

func (*ListFunctionsVersionsRequest) SetPageToken

func (m *ListFunctionsVersionsRequest) SetPageToken(v string)

func (*ListFunctionsVersionsRequest) String

type ListFunctionsVersionsRequest_FolderId

type ListFunctionsVersionsRequest_FolderId struct {
	// ID of the folder to list function versions for.
	// 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,oneof"`
}

type ListFunctionsVersionsRequest_FunctionId

type ListFunctionsVersionsRequest_FunctionId struct {
	// ID of the function to list versions for.
	// To get a function ID use a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,2,opt,name=function_id,json=functionId,proto3,oneof"`
}

type ListFunctionsVersionsRequest_Id

type ListFunctionsVersionsRequest_Id = isListFunctionsVersionsRequest_Id

type ListFunctionsVersionsResponse

type ListFunctionsVersionsResponse struct {

	// List of versions for the specified folder or function.
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListFunctionsVersionsRequest.page_size], use `nextPageToken` as the value
	// for the [ListFunctionsVersionsRequest.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 (*ListFunctionsVersionsResponse) Descriptor deprecated

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

Deprecated: Use ListFunctionsVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListFunctionsVersionsResponse) GetNextPageToken

func (x *ListFunctionsVersionsResponse) GetNextPageToken() string

func (*ListFunctionsVersionsResponse) GetVersions

func (x *ListFunctionsVersionsResponse) GetVersions() []*Version

func (*ListFunctionsVersionsResponse) ProtoMessage

func (*ListFunctionsVersionsResponse) ProtoMessage()

func (*ListFunctionsVersionsResponse) ProtoReflect

func (*ListFunctionsVersionsResponse) Reset

func (x *ListFunctionsVersionsResponse) Reset()

func (*ListFunctionsVersionsResponse) SetNextPageToken

func (m *ListFunctionsVersionsResponse) SetNextPageToken(v string)

func (*ListFunctionsVersionsResponse) SetVersions

func (m *ListFunctionsVersionsResponse) SetVersions(v []*Version)

func (*ListFunctionsVersionsResponse) String

type ListRuntimesRequest

type ListRuntimesRequest struct {
	// contains filtered or unexported fields
}

func (*ListRuntimesRequest) Descriptor deprecated

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

Deprecated: Use ListRuntimesRequest.ProtoReflect.Descriptor instead.

func (*ListRuntimesRequest) ProtoMessage

func (*ListRuntimesRequest) ProtoMessage()

func (*ListRuntimesRequest) ProtoReflect

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

func (*ListRuntimesRequest) Reset

func (x *ListRuntimesRequest) Reset()

func (*ListRuntimesRequest) String

func (x *ListRuntimesRequest) String() string

type ListRuntimesResponse

type ListRuntimesResponse struct {

	// Runtime environments available for the specified function.
	Runtimes []string `protobuf:"bytes,1,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRuntimesResponse) Descriptor deprecated

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

Deprecated: Use ListRuntimesResponse.ProtoReflect.Descriptor instead.

func (*ListRuntimesResponse) GetRuntimes

func (x *ListRuntimesResponse) GetRuntimes() []string

func (*ListRuntimesResponse) ProtoMessage

func (*ListRuntimesResponse) ProtoMessage()

func (*ListRuntimesResponse) ProtoReflect

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

func (*ListRuntimesResponse) Reset

func (x *ListRuntimesResponse) Reset()

func (*ListRuntimesResponse) SetRuntimes

func (m *ListRuntimesResponse) SetRuntimes(v []string)

func (*ListRuntimesResponse) String

func (x *ListRuntimesResponse) String() string

type ListScalingPoliciesRequest

type ListScalingPoliciesRequest struct {

	// ID of the function to retrieve scaling policies for.
	//
	// To get a function ID, make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_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 [ListScalingPoliciesResponse.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
	// [ListScalingPoliciesResponse.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"`
	// contains filtered or unexported fields
}

func (*ListScalingPoliciesRequest) Descriptor deprecated

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

Deprecated: Use ListScalingPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListScalingPoliciesRequest) GetFunctionId

func (x *ListScalingPoliciesRequest) GetFunctionId() string

func (*ListScalingPoliciesRequest) GetPageSize

func (x *ListScalingPoliciesRequest) GetPageSize() int64

func (*ListScalingPoliciesRequest) GetPageToken

func (x *ListScalingPoliciesRequest) GetPageToken() string

func (*ListScalingPoliciesRequest) ProtoMessage

func (*ListScalingPoliciesRequest) ProtoMessage()

func (*ListScalingPoliciesRequest) ProtoReflect

func (*ListScalingPoliciesRequest) Reset

func (x *ListScalingPoliciesRequest) Reset()

func (*ListScalingPoliciesRequest) SetFunctionId

func (m *ListScalingPoliciesRequest) SetFunctionId(v string)

func (*ListScalingPoliciesRequest) SetPageSize

func (m *ListScalingPoliciesRequest) SetPageSize(v int64)

func (*ListScalingPoliciesRequest) SetPageToken

func (m *ListScalingPoliciesRequest) SetPageToken(v string)

func (*ListScalingPoliciesRequest) String

func (x *ListScalingPoliciesRequest) String() string

type ListScalingPoliciesResponse

type ListScalingPoliciesResponse struct {

	// Set of relevant scaling policies.
	ScalingPolicies []*ScalingPolicy `protobuf:"bytes,1,rep,name=scaling_policies,json=scalingPolicies,proto3" json:"scaling_policies,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListScalingPoliciesRequest.page_size], use `nextPageToken` as the value
	// for the [ListScalingPoliciesRequest.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 (*ListScalingPoliciesResponse) Descriptor deprecated

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

Deprecated: Use ListScalingPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListScalingPoliciesResponse) GetNextPageToken

func (x *ListScalingPoliciesResponse) GetNextPageToken() string

func (*ListScalingPoliciesResponse) GetScalingPolicies

func (x *ListScalingPoliciesResponse) GetScalingPolicies() []*ScalingPolicy

func (*ListScalingPoliciesResponse) ProtoMessage

func (*ListScalingPoliciesResponse) ProtoMessage()

func (*ListScalingPoliciesResponse) ProtoReflect

func (*ListScalingPoliciesResponse) Reset

func (x *ListScalingPoliciesResponse) Reset()

func (*ListScalingPoliciesResponse) SetNextPageToken

func (m *ListScalingPoliciesResponse) SetNextPageToken(v string)

func (*ListScalingPoliciesResponse) SetScalingPolicies

func (m *ListScalingPoliciesResponse) SetScalingPolicies(v []*ScalingPolicy)

func (*ListScalingPoliciesResponse) String

func (x *ListScalingPoliciesResponse) String() string

type ListUsedNetworksRequest

type ListUsedNetworksRequest struct {

	// The maximum number of results per page to return. If the number of available
	// results is larger than `pageSize`, the service returns a [ListUsedNetworksResponse.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,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `pageToken` to the
	// [ListUsedNetworksResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Types that are assignable to Scope:
	//
	//	*ListUsedNetworksRequest_CloudId
	//	*ListUsedNetworksRequest_FolderId
	Scope isListUsedNetworksRequest_Scope `protobuf_oneof:"scope"`
	// contains filtered or unexported fields
}

func (*ListUsedNetworksRequest) Descriptor deprecated

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

Deprecated: Use ListUsedNetworksRequest.ProtoReflect.Descriptor instead.

func (*ListUsedNetworksRequest) GetCloudId

func (x *ListUsedNetworksRequest) GetCloudId() string

func (*ListUsedNetworksRequest) GetFolderId

func (x *ListUsedNetworksRequest) GetFolderId() string

func (*ListUsedNetworksRequest) GetPageSize

func (x *ListUsedNetworksRequest) GetPageSize() int64

func (*ListUsedNetworksRequest) GetPageToken

func (x *ListUsedNetworksRequest) GetPageToken() string

func (*ListUsedNetworksRequest) GetScope

func (m *ListUsedNetworksRequest) GetScope() isListUsedNetworksRequest_Scope

func (*ListUsedNetworksRequest) ProtoMessage

func (*ListUsedNetworksRequest) ProtoMessage()

func (*ListUsedNetworksRequest) ProtoReflect

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

func (*ListUsedNetworksRequest) Reset

func (x *ListUsedNetworksRequest) Reset()

func (*ListUsedNetworksRequest) SetCloudId

func (m *ListUsedNetworksRequest) SetCloudId(v string)

func (*ListUsedNetworksRequest) SetFolderId

func (m *ListUsedNetworksRequest) SetFolderId(v string)

func (*ListUsedNetworksRequest) SetPageSize

func (m *ListUsedNetworksRequest) SetPageSize(v int64)

func (*ListUsedNetworksRequest) SetPageToken

func (m *ListUsedNetworksRequest) SetPageToken(v string)

func (*ListUsedNetworksRequest) SetScope

func (*ListUsedNetworksRequest) String

func (x *ListUsedNetworksRequest) String() string

type ListUsedNetworksRequest_CloudId

type ListUsedNetworksRequest_CloudId struct {
	// ID of the cloud to list used networks in.
	CloudId string `protobuf:"bytes,3,opt,name=cloud_id,json=cloudId,proto3,oneof"`
}

type ListUsedNetworksRequest_FolderId

type ListUsedNetworksRequest_FolderId struct {
	// ID of the folder to list used networks in.
	FolderId string `protobuf:"bytes,4,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListUsedNetworksRequest_Scope

type ListUsedNetworksRequest_Scope = isListUsedNetworksRequest_Scope

type ListUsedNetworksResponse

type ListUsedNetworksResponse struct {

	// List of used networks in the specified scope.
	Networks []*UsedNetwork `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListUsedNetworksRequest.page_size], use `nextPageToken` as the value
	// for the [ListUsedNetworksRequest.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 (*ListUsedNetworksResponse) Descriptor deprecated

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

Deprecated: Use ListUsedNetworksResponse.ProtoReflect.Descriptor instead.

func (*ListUsedNetworksResponse) GetNetworks

func (x *ListUsedNetworksResponse) GetNetworks() []*UsedNetwork

func (*ListUsedNetworksResponse) GetNextPageToken

func (x *ListUsedNetworksResponse) GetNextPageToken() string

func (*ListUsedNetworksResponse) ProtoMessage

func (*ListUsedNetworksResponse) ProtoMessage()

func (*ListUsedNetworksResponse) ProtoReflect

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

func (*ListUsedNetworksResponse) Reset

func (x *ListUsedNetworksResponse) Reset()

func (*ListUsedNetworksResponse) SetNetworks

func (m *ListUsedNetworksResponse) SetNetworks(v []*UsedNetwork)

func (*ListUsedNetworksResponse) SetNextPageToken

func (m *ListUsedNetworksResponse) SetNextPageToken(v string)

func (*ListUsedNetworksResponse) String

func (x *ListUsedNetworksResponse) String() string

type LogOptions

type LogOptions struct {

	// Is logging from function disabled.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Log entries destination.
	//
	// Types that are assignable to Destination:
	//
	//	*LogOptions_LogGroupId
	//	*LogOptions_FolderId
	Destination isLogOptions_Destination `protobuf_oneof:"destination"`
	// Minimum log entry level.
	//
	// See [LogLevel.Level] for details.
	MinLevel v1.LogLevel_Level `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogOptions) Descriptor deprecated

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

Deprecated: Use LogOptions.ProtoReflect.Descriptor instead.

func (*LogOptions) GetDestination

func (m *LogOptions) GetDestination() isLogOptions_Destination

func (*LogOptions) GetDisabled

func (x *LogOptions) GetDisabled() bool

func (*LogOptions) GetFolderId

func (x *LogOptions) GetFolderId() string

func (*LogOptions) GetLogGroupId

func (x *LogOptions) GetLogGroupId() string

func (*LogOptions) GetMinLevel

func (x *LogOptions) GetMinLevel() v1.LogLevel_Level

func (*LogOptions) ProtoMessage

func (*LogOptions) ProtoMessage()

func (*LogOptions) ProtoReflect

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

func (*LogOptions) Reset

func (x *LogOptions) Reset()

func (*LogOptions) SetDestination

func (m *LogOptions) SetDestination(v LogOptions_Destination)

func (*LogOptions) SetDisabled

func (m *LogOptions) SetDisabled(v bool)

func (*LogOptions) SetFolderId

func (m *LogOptions) SetFolderId(v string)

func (*LogOptions) SetLogGroupId

func (m *LogOptions) SetLogGroupId(v string)

func (*LogOptions) SetMinLevel

func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)

func (*LogOptions) String

func (x *LogOptions) String() string

type LogOptions_Destination

type LogOptions_Destination = isLogOptions_Destination

type LogOptions_FolderId

type LogOptions_FolderId struct {
	// Entry should be written to default log group for specified folder.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type LogOptions_LogGroupId

type LogOptions_LogGroupId struct {
	// Entry should be written to log group resolved by ID.
	LogGroupId string `protobuf:"bytes,2,opt,name=log_group_id,json=logGroupId,proto3,oneof"`
}

type NetworkServiceClient

type NetworkServiceClient interface {
	// Returns the specified network used in serverless resources.
	GetUsed(ctx context.Context, in *GetUsedNetworkRequest, opts ...grpc.CallOption) (*UsedNetwork, error)
	// Retrieves the list of networks in the specified scope that are used in serverless resources.
	ListUsed(ctx context.Context, in *ListUsedNetworksRequest, opts ...grpc.CallOption) (*ListUsedNetworksResponse, error)
	// Retrieves the list of serverless resources connected to any network from the specified scope.
	ListConnectedResources(ctx context.Context, in *ListConnectedResourcesRequest, opts ...grpc.CallOption) (*ListConnectedResourcesResponse, error)
	// Forces obsolete used network to start cleanup process as soon as possible.
	// Invocation does not wait for start or end of the cleanup process.
	// Second invocation with the same network does nothing until network is completely cleaned-up.
	TriggerUsedCleanup(ctx context.Context, in *TriggerUsedNetworkCleanupRequest, opts ...grpc.CallOption) (*TriggerUsedNetworkCleanupResponse, error)
}

NetworkServiceClient is the client API for NetworkService 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.

type NetworkServiceServer

type NetworkServiceServer interface {
	// Returns the specified network used in serverless resources.
	GetUsed(context.Context, *GetUsedNetworkRequest) (*UsedNetwork, error)
	// Retrieves the list of networks in the specified scope that are used in serverless resources.
	ListUsed(context.Context, *ListUsedNetworksRequest) (*ListUsedNetworksResponse, error)
	// Retrieves the list of serverless resources connected to any network from the specified scope.
	ListConnectedResources(context.Context, *ListConnectedResourcesRequest) (*ListConnectedResourcesResponse, error)
	// Forces obsolete used network to start cleanup process as soon as possible.
	// Invocation does not wait for start or end of the cleanup process.
	// Second invocation with the same network does nothing until network is completely cleaned-up.
	TriggerUsedCleanup(context.Context, *TriggerUsedNetworkCleanupRequest) (*TriggerUsedNetworkCleanupResponse, error)
}

NetworkServiceServer is the server API for NetworkService service. All implementations should embed UnimplementedNetworkServiceServer for forward compatibility

type Package

type Package struct {

	// Name of the bucket that stores the code for the version.
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// Name of the object in the bucket that stores the code for the version.
	ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// SHA256 hash of the version deployment package.
	Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// contains filtered or unexported fields
}

Version deployment package.

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetBucketName

func (x *Package) GetBucketName() string

func (*Package) GetObjectName

func (x *Package) GetObjectName() string

func (*Package) GetSha256

func (x *Package) GetSha256() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) SetBucketName

func (m *Package) SetBucketName(v string)

func (*Package) SetObjectName

func (m *Package) SetObjectName(v string)

func (*Package) SetSha256

func (m *Package) SetSha256(v string)

func (*Package) String

func (x *Package) String() string

type RemoveFunctionTagMetadata

type RemoveFunctionTagMetadata struct {

	// ID of the function versions that is being untagged.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFunctionTagMetadata) Descriptor deprecated

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

Deprecated: Use RemoveFunctionTagMetadata.ProtoReflect.Descriptor instead.

func (*RemoveFunctionTagMetadata) GetFunctionVersionId

func (x *RemoveFunctionTagMetadata) GetFunctionVersionId() string

func (*RemoveFunctionTagMetadata) ProtoMessage

func (*RemoveFunctionTagMetadata) ProtoMessage()

func (*RemoveFunctionTagMetadata) ProtoReflect

func (*RemoveFunctionTagMetadata) Reset

func (x *RemoveFunctionTagMetadata) Reset()

func (*RemoveFunctionTagMetadata) SetFunctionVersionId

func (m *RemoveFunctionTagMetadata) SetFunctionVersionId(v string)

func (*RemoveFunctionTagMetadata) String

func (x *RemoveFunctionTagMetadata) String() string

type RemoveFunctionTagRequest

type RemoveFunctionTagRequest struct {

	// ID of the version to remove a tag from.
	//
	// To get the a version ID make a [FunctionService.ListVersions] request.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// Tag to remove from the specified version.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFunctionTagRequest) Descriptor deprecated

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

Deprecated: Use RemoveFunctionTagRequest.ProtoReflect.Descriptor instead.

func (*RemoveFunctionTagRequest) GetFunctionVersionId

func (x *RemoveFunctionTagRequest) GetFunctionVersionId() string

func (*RemoveFunctionTagRequest) GetTag

func (x *RemoveFunctionTagRequest) GetTag() string

func (*RemoveFunctionTagRequest) ProtoMessage

func (*RemoveFunctionTagRequest) ProtoMessage()

func (*RemoveFunctionTagRequest) ProtoReflect

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

func (*RemoveFunctionTagRequest) Reset

func (x *RemoveFunctionTagRequest) Reset()

func (*RemoveFunctionTagRequest) SetFunctionVersionId

func (m *RemoveFunctionTagRequest) SetFunctionVersionId(v string)

func (*RemoveFunctionTagRequest) SetTag

func (m *RemoveFunctionTagRequest) SetTag(v string)

func (*RemoveFunctionTagRequest) String

func (x *RemoveFunctionTagRequest) String() string

type RemoveScalingPolicyMetadata

type RemoveScalingPolicyMetadata struct {

	// ID of the function for which scaling policy was removed.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveScalingPolicyMetadata) Descriptor deprecated

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

Deprecated: Use RemoveScalingPolicyMetadata.ProtoReflect.Descriptor instead.

func (*RemoveScalingPolicyMetadata) GetFunctionId

func (x *RemoveScalingPolicyMetadata) GetFunctionId() string

func (*RemoveScalingPolicyMetadata) ProtoMessage

func (*RemoveScalingPolicyMetadata) ProtoMessage()

func (*RemoveScalingPolicyMetadata) ProtoReflect

func (*RemoveScalingPolicyMetadata) Reset

func (x *RemoveScalingPolicyMetadata) Reset()

func (*RemoveScalingPolicyMetadata) SetFunctionId

func (m *RemoveScalingPolicyMetadata) SetFunctionId(v string)

func (*RemoveScalingPolicyMetadata) String

func (x *RemoveScalingPolicyMetadata) String() string

type RemoveScalingPolicyRequest

type RemoveScalingPolicyRequest struct {

	// ID of the function to remove scaling policies for.
	//
	// To get a function ID, make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Version tag.
	//
	// To get the history of version tags make a [FunctionService.ListTagHistory] request.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveScalingPolicyRequest) Descriptor deprecated

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

Deprecated: Use RemoveScalingPolicyRequest.ProtoReflect.Descriptor instead.

func (*RemoveScalingPolicyRequest) GetFunctionId

func (x *RemoveScalingPolicyRequest) GetFunctionId() string

func (*RemoveScalingPolicyRequest) GetTag

func (x *RemoveScalingPolicyRequest) GetTag() string

func (*RemoveScalingPolicyRequest) ProtoMessage

func (*RemoveScalingPolicyRequest) ProtoMessage()

func (*RemoveScalingPolicyRequest) ProtoReflect

func (*RemoveScalingPolicyRequest) Reset

func (x *RemoveScalingPolicyRequest) Reset()

func (*RemoveScalingPolicyRequest) SetFunctionId

func (m *RemoveScalingPolicyRequest) SetFunctionId(v string)

func (*RemoveScalingPolicyRequest) SetTag

func (m *RemoveScalingPolicyRequest) SetTag(v string)

func (*RemoveScalingPolicyRequest) String

func (x *RemoveScalingPolicyRequest) String() string

type Resources

type Resources struct {

	// Amount of memory available to the version, specified in bytes, multiple of 128MB.
	Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

Resources allocated to a version.

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetMemory

func (x *Resources) GetMemory() int64

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SetMemory

func (m *Resources) SetMemory(v int64)

func (*Resources) String

func (x *Resources) String() string

type ScalingPolicy

type ScalingPolicy struct {

	// ID of the function that the scaling policy belongs to.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Tag of the version that the scaling policy belongs to. For details, see [Version tag](/docs/functions/concepts/function#tag).
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// Creation timestamp for the scaling policy
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Modification timestamp for the scaling policy
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// Minimum guaranteed provisioned instances count for all zones in total.
	// Billed separately.
	ProvisionedInstancesCount int64 `` /* 139-byte string literal not displayed */
	// Upper limit for instance count in each zone.
	// 0 means no limit.
	ZoneInstancesLimit int64 `protobuf:"varint,7,opt,name=zone_instances_limit,json=zoneInstancesLimit,proto3" json:"zone_instances_limit,omitempty"`
	// Upper limit of requests count in each zone.
	// 0 means no limit.
	ZoneRequestsLimit int64 `protobuf:"varint,8,opt,name=zone_requests_limit,json=zoneRequestsLimit,proto3" json:"zone_requests_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ScalingPolicy) Descriptor deprecated

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

Deprecated: Use ScalingPolicy.ProtoReflect.Descriptor instead.

func (*ScalingPolicy) GetCreatedAt

func (x *ScalingPolicy) GetCreatedAt() *timestamppb.Timestamp

func (*ScalingPolicy) GetFunctionId

func (x *ScalingPolicy) GetFunctionId() string

func (*ScalingPolicy) GetModifiedAt

func (x *ScalingPolicy) GetModifiedAt() *timestamppb.Timestamp

func (*ScalingPolicy) GetProvisionedInstancesCount

func (x *ScalingPolicy) GetProvisionedInstancesCount() int64

func (*ScalingPolicy) GetTag

func (x *ScalingPolicy) GetTag() string

func (*ScalingPolicy) GetZoneInstancesLimit

func (x *ScalingPolicy) GetZoneInstancesLimit() int64

func (*ScalingPolicy) GetZoneRequestsLimit

func (x *ScalingPolicy) GetZoneRequestsLimit() int64

func (*ScalingPolicy) ProtoMessage

func (*ScalingPolicy) ProtoMessage()

func (*ScalingPolicy) ProtoReflect

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

func (*ScalingPolicy) Reset

func (x *ScalingPolicy) Reset()

func (*ScalingPolicy) SetCreatedAt

func (m *ScalingPolicy) SetCreatedAt(v *timestamppb.Timestamp)

func (*ScalingPolicy) SetFunctionId

func (m *ScalingPolicy) SetFunctionId(v string)

func (*ScalingPolicy) SetModifiedAt

func (m *ScalingPolicy) SetModifiedAt(v *timestamppb.Timestamp)

func (*ScalingPolicy) SetProvisionedInstancesCount

func (m *ScalingPolicy) SetProvisionedInstancesCount(v int64)

func (*ScalingPolicy) SetTag

func (m *ScalingPolicy) SetTag(v string)

func (*ScalingPolicy) SetZoneInstancesLimit

func (m *ScalingPolicy) SetZoneInstancesLimit(v int64)

func (*ScalingPolicy) SetZoneRequestsLimit

func (m *ScalingPolicy) SetZoneRequestsLimit(v int64)

func (*ScalingPolicy) String

func (x *ScalingPolicy) String() string

type Secret

type Secret struct {

	// ID of Yandex Lockbox secret.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of Yandex Lockbox version.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Key in secret's payload, which value to be delivered into function environment.
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are assignable to Reference:
	//
	//	*Secret_EnvironmentVariable
	Reference isSecret_Reference `protobuf_oneof:"reference"`
	// contains filtered or unexported fields
}

Secret for serverless function.

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetEnvironmentVariable

func (x *Secret) GetEnvironmentVariable() string

func (*Secret) GetId

func (x *Secret) GetId() string

func (*Secret) GetKey

func (x *Secret) GetKey() string

func (*Secret) GetReference

func (m *Secret) GetReference() isSecret_Reference

func (*Secret) GetVersionId

func (x *Secret) GetVersionId() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) SetEnvironmentVariable

func (m *Secret) SetEnvironmentVariable(v string)

func (*Secret) SetId

func (m *Secret) SetId(v string)

func (*Secret) SetKey

func (m *Secret) SetKey(v string)

func (*Secret) SetReference

func (m *Secret) SetReference(v Secret_Reference)

func (*Secret) SetVersionId

func (m *Secret) SetVersionId(v string)

func (*Secret) String

func (x *Secret) String() string

type Secret_EnvironmentVariable

type Secret_EnvironmentVariable struct {
	// environment variable in which secret's value to be delivered.
	EnvironmentVariable string `protobuf:"bytes,4,opt,name=environment_variable,json=environmentVariable,proto3,oneof"`
}

type Secret_Reference

type Secret_Reference = isSecret_Reference

type SetFunctionTagMetadata

type SetFunctionTagMetadata struct {

	// ID of the function versions that is being tagged.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFunctionTagMetadata) Descriptor deprecated

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

Deprecated: Use SetFunctionTagMetadata.ProtoReflect.Descriptor instead.

func (*SetFunctionTagMetadata) GetFunctionVersionId

func (x *SetFunctionTagMetadata) GetFunctionVersionId() string

func (*SetFunctionTagMetadata) ProtoMessage

func (*SetFunctionTagMetadata) ProtoMessage()

func (*SetFunctionTagMetadata) ProtoReflect

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

func (*SetFunctionTagMetadata) Reset

func (x *SetFunctionTagMetadata) Reset()

func (*SetFunctionTagMetadata) SetFunctionVersionId

func (m *SetFunctionTagMetadata) SetFunctionVersionId(v string)

func (*SetFunctionTagMetadata) String

func (x *SetFunctionTagMetadata) String() string

type SetFunctionTagRequest

type SetFunctionTagRequest struct {

	// ID of the version to set the tag for.
	//
	// To get a version ID make a [FunctionService.ListVersions] request.
	FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"`
	// Tag to set for the version.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFunctionTagRequest) Descriptor deprecated

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

Deprecated: Use SetFunctionTagRequest.ProtoReflect.Descriptor instead.

func (*SetFunctionTagRequest) GetFunctionVersionId

func (x *SetFunctionTagRequest) GetFunctionVersionId() string

func (*SetFunctionTagRequest) GetTag

func (x *SetFunctionTagRequest) GetTag() string

func (*SetFunctionTagRequest) ProtoMessage

func (*SetFunctionTagRequest) ProtoMessage()

func (*SetFunctionTagRequest) ProtoReflect

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

func (*SetFunctionTagRequest) Reset

func (x *SetFunctionTagRequest) Reset()

func (*SetFunctionTagRequest) SetFunctionVersionId

func (m *SetFunctionTagRequest) SetFunctionVersionId(v string)

func (*SetFunctionTagRequest) SetTag

func (m *SetFunctionTagRequest) SetTag(v string)

func (*SetFunctionTagRequest) String

func (x *SetFunctionTagRequest) String() string

type SetScalingPolicyMetadata

type SetScalingPolicyMetadata struct {

	// ID of the function for which scaling policy was set.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetScalingPolicyMetadata) Descriptor deprecated

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

Deprecated: Use SetScalingPolicyMetadata.ProtoReflect.Descriptor instead.

func (*SetScalingPolicyMetadata) GetFunctionId

func (x *SetScalingPolicyMetadata) GetFunctionId() string

func (*SetScalingPolicyMetadata) ProtoMessage

func (*SetScalingPolicyMetadata) ProtoMessage()

func (*SetScalingPolicyMetadata) ProtoReflect

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

func (*SetScalingPolicyMetadata) Reset

func (x *SetScalingPolicyMetadata) Reset()

func (*SetScalingPolicyMetadata) SetFunctionId

func (m *SetScalingPolicyMetadata) SetFunctionId(v string)

func (*SetScalingPolicyMetadata) String

func (x *SetScalingPolicyMetadata) String() string

type SetScalingPolicyRequest

type SetScalingPolicyRequest struct {

	// ID of the function to retrieve scaling policies for.
	//
	// To get a function ID, make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Version tag.
	//
	// To get the history of version tags make a [FunctionService.ListTagHistory] request.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// Minimum guaranteed provisioned instances count for all zones in total.
	// Billed separately.
	ProvisionedInstancesCount int64 `` /* 139-byte string literal not displayed */
	// Upper limit for instance count in each zone.
	// 0 means no limit.
	ZoneInstancesLimit int64 `protobuf:"varint,5,opt,name=zone_instances_limit,json=zoneInstancesLimit,proto3" json:"zone_instances_limit,omitempty"`
	// Upper limit of requests count in each zone.
	// 0 means no limit.
	ZoneRequestsLimit int64 `protobuf:"varint,6,opt,name=zone_requests_limit,json=zoneRequestsLimit,proto3" json:"zone_requests_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SetScalingPolicyRequest) Descriptor deprecated

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

Deprecated: Use SetScalingPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetScalingPolicyRequest) GetFunctionId

func (x *SetScalingPolicyRequest) GetFunctionId() string

func (*SetScalingPolicyRequest) GetProvisionedInstancesCount

func (x *SetScalingPolicyRequest) GetProvisionedInstancesCount() int64

func (*SetScalingPolicyRequest) GetTag

func (x *SetScalingPolicyRequest) GetTag() string

func (*SetScalingPolicyRequest) GetZoneInstancesLimit

func (x *SetScalingPolicyRequest) GetZoneInstancesLimit() int64

func (*SetScalingPolicyRequest) GetZoneRequestsLimit

func (x *SetScalingPolicyRequest) GetZoneRequestsLimit() int64

func (*SetScalingPolicyRequest) ProtoMessage

func (*SetScalingPolicyRequest) ProtoMessage()

func (*SetScalingPolicyRequest) ProtoReflect

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

func (*SetScalingPolicyRequest) Reset

func (x *SetScalingPolicyRequest) Reset()

func (*SetScalingPolicyRequest) SetFunctionId

func (m *SetScalingPolicyRequest) SetFunctionId(v string)

func (*SetScalingPolicyRequest) SetProvisionedInstancesCount

func (m *SetScalingPolicyRequest) SetProvisionedInstancesCount(v int64)

func (*SetScalingPolicyRequest) SetTag

func (m *SetScalingPolicyRequest) SetTag(v string)

func (*SetScalingPolicyRequest) SetZoneInstancesLimit

func (m *SetScalingPolicyRequest) SetZoneInstancesLimit(v int64)

func (*SetScalingPolicyRequest) SetZoneRequestsLimit

func (m *SetScalingPolicyRequest) SetZoneRequestsLimit(v int64)

func (*SetScalingPolicyRequest) String

func (x *SetScalingPolicyRequest) String() string

type StorageMount

type StorageMount struct {

	// S3 bucket name for mounting.
	BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	// S3 bucket prefix for mounting.
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Mount point directory name (not path) for mounting.
	MountPointName string `protobuf:"bytes,3,opt,name=mount_point_name,json=mountPointName,proto3" json:"mount_point_name,omitempty"`
	// Is mount read only.
	ReadOnly bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageMount) Descriptor deprecated

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

Deprecated: Use StorageMount.ProtoReflect.Descriptor instead.

func (*StorageMount) GetBucketId

func (x *StorageMount) GetBucketId() string

func (*StorageMount) GetMountPointName

func (x *StorageMount) GetMountPointName() string

func (*StorageMount) GetPrefix

func (x *StorageMount) GetPrefix() string

func (*StorageMount) GetReadOnly

func (x *StorageMount) GetReadOnly() bool

func (*StorageMount) ProtoMessage

func (*StorageMount) ProtoMessage()

func (*StorageMount) ProtoReflect

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

func (*StorageMount) Reset

func (x *StorageMount) Reset()

func (*StorageMount) SetBucketId

func (m *StorageMount) SetBucketId(v string)

func (*StorageMount) SetMountPointName

func (m *StorageMount) SetMountPointName(v string)

func (*StorageMount) SetPrefix

func (m *StorageMount) SetPrefix(v string)

func (*StorageMount) SetReadOnly

func (m *StorageMount) SetReadOnly(v bool)

func (*StorageMount) String

func (x *StorageMount) String() string

type TriggerUsedNetworkCleanupRequest

type TriggerUsedNetworkCleanupRequest struct {

	// ID of the obsolete network to start the cleanup process for.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerUsedNetworkCleanupRequest) Descriptor deprecated

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

Deprecated: Use TriggerUsedNetworkCleanupRequest.ProtoReflect.Descriptor instead.

func (*TriggerUsedNetworkCleanupRequest) GetNetworkId

func (x *TriggerUsedNetworkCleanupRequest) GetNetworkId() string

func (*TriggerUsedNetworkCleanupRequest) ProtoMessage

func (*TriggerUsedNetworkCleanupRequest) ProtoMessage()

func (*TriggerUsedNetworkCleanupRequest) ProtoReflect

func (*TriggerUsedNetworkCleanupRequest) Reset

func (*TriggerUsedNetworkCleanupRequest) SetNetworkId

func (m *TriggerUsedNetworkCleanupRequest) SetNetworkId(v string)

func (*TriggerUsedNetworkCleanupRequest) String

type TriggerUsedNetworkCleanupResponse

type TriggerUsedNetworkCleanupResponse struct {

	// Timestamp when cleanup of the specified network will be started.
	NetworkCleanupTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=network_cleanup_time,json=networkCleanupTime,proto3" json:"network_cleanup_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerUsedNetworkCleanupResponse) Descriptor deprecated

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

Deprecated: Use TriggerUsedNetworkCleanupResponse.ProtoReflect.Descriptor instead.

func (*TriggerUsedNetworkCleanupResponse) GetNetworkCleanupTime

func (x *TriggerUsedNetworkCleanupResponse) GetNetworkCleanupTime() *timestamppb.Timestamp

func (*TriggerUsedNetworkCleanupResponse) ProtoMessage

func (*TriggerUsedNetworkCleanupResponse) ProtoMessage()

func (*TriggerUsedNetworkCleanupResponse) ProtoReflect

func (*TriggerUsedNetworkCleanupResponse) Reset

func (*TriggerUsedNetworkCleanupResponse) SetNetworkCleanupTime

func (m *TriggerUsedNetworkCleanupResponse) SetNetworkCleanupTime(v *timestamppb.Timestamp)

func (*TriggerUsedNetworkCleanupResponse) String

type UnimplementedFunctionServiceServer

type UnimplementedFunctionServiceServer struct {
}

UnimplementedFunctionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedFunctionServiceServer) Create

func (UnimplementedFunctionServiceServer) CreateVersion

func (UnimplementedFunctionServiceServer) Delete

func (UnimplementedFunctionServiceServer) DeleteVersion

func (UnimplementedFunctionServiceServer) Get

func (UnimplementedFunctionServiceServer) GetVersion

func (UnimplementedFunctionServiceServer) GetVersionByTag

func (UnimplementedFunctionServiceServer) List

func (UnimplementedFunctionServiceServer) ListRuntimes

func (UnimplementedFunctionServiceServer) ListScalingPolicies

func (UnimplementedFunctionServiceServer) RemoveScalingPolicy

func (UnimplementedFunctionServiceServer) RemoveTag

func (UnimplementedFunctionServiceServer) SetAccessBindings

func (UnimplementedFunctionServiceServer) SetScalingPolicy

func (UnimplementedFunctionServiceServer) SetTag

func (UnimplementedFunctionServiceServer) Update

func (UnimplementedFunctionServiceServer) UpdateAccessBindings

type UnimplementedNetworkServiceServer

type UnimplementedNetworkServiceServer struct {
}

UnimplementedNetworkServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedNetworkServiceServer) GetUsed

func (UnimplementedNetworkServiceServer) ListUsed

type UnsafeFunctionServiceServer

type UnsafeFunctionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFunctionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FunctionServiceServer will result in compilation errors.

type UnsafeNetworkServiceServer

type UnsafeNetworkServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.

type UpdateFunctionMetadata

type UpdateFunctionMetadata struct {

	// ID of the function that is being updated.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFunctionMetadata) Descriptor deprecated

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

Deprecated: Use UpdateFunctionMetadata.ProtoReflect.Descriptor instead.

func (*UpdateFunctionMetadata) GetFunctionId

func (x *UpdateFunctionMetadata) GetFunctionId() string

func (*UpdateFunctionMetadata) ProtoMessage

func (*UpdateFunctionMetadata) ProtoMessage()

func (*UpdateFunctionMetadata) ProtoReflect

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

func (*UpdateFunctionMetadata) Reset

func (x *UpdateFunctionMetadata) Reset()

func (*UpdateFunctionMetadata) SetFunctionId

func (m *UpdateFunctionMetadata) SetFunctionId(v string)

func (*UpdateFunctionMetadata) String

func (x *UpdateFunctionMetadata) String() string

type UpdateFunctionRequest

type UpdateFunctionRequest struct {

	// ID of the function to update.
	//
	// To get a function ID make a [FunctionService.List] request.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Field mask that specifies which attributes of the function should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New name for the function.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// New description for the function.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Function 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 [FunctionService.Get] request.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateFunctionRequest) Descriptor deprecated

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

Deprecated: Use UpdateFunctionRequest.ProtoReflect.Descriptor instead.

func (*UpdateFunctionRequest) GetDescription

func (x *UpdateFunctionRequest) GetDescription() string

func (*UpdateFunctionRequest) GetFunctionId

func (x *UpdateFunctionRequest) GetFunctionId() string

func (*UpdateFunctionRequest) GetLabels

func (x *UpdateFunctionRequest) GetLabels() map[string]string

func (*UpdateFunctionRequest) GetName

func (x *UpdateFunctionRequest) GetName() string

func (*UpdateFunctionRequest) GetUpdateMask

func (x *UpdateFunctionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateFunctionRequest) ProtoMessage

func (*UpdateFunctionRequest) ProtoMessage()

func (*UpdateFunctionRequest) ProtoReflect

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

func (*UpdateFunctionRequest) Reset

func (x *UpdateFunctionRequest) Reset()

func (*UpdateFunctionRequest) SetDescription

func (m *UpdateFunctionRequest) SetDescription(v string)

func (*UpdateFunctionRequest) SetFunctionId

func (m *UpdateFunctionRequest) SetFunctionId(v string)

func (*UpdateFunctionRequest) SetLabels

func (m *UpdateFunctionRequest) SetLabels(v map[string]string)

func (*UpdateFunctionRequest) SetName

func (m *UpdateFunctionRequest) SetName(v string)

func (*UpdateFunctionRequest) SetUpdateMask

func (m *UpdateFunctionRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateFunctionRequest) String

func (x *UpdateFunctionRequest) String() string

type UsedNetwork

type UsedNetwork struct {

	// ID of the VPC network.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// ID of the cloud that the network belongs to.
	CloudId string `protobuf:"bytes,2,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
	// ID of the folder that the network belongs to.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Status of the network.
	Status UsedNetwork_Status `` /* 127-byte string literal not displayed */
	// Clean-up timestamp of the obsolete network.
	WillBeCleanedUpAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=will_be_cleaned_up_at,json=willBeCleanedUpAt,proto3" json:"will_be_cleaned_up_at,omitempty"`
	// Number of serverless resources connected to the network.
	ConnectionsCount int64 `protobuf:"varint,6,opt,name=connections_count,json=connectionsCount,proto3" json:"connections_count,omitempty"`
	// contains filtered or unexported fields
}

A VPC network used in serverless resources.

func (*UsedNetwork) Descriptor deprecated

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

Deprecated: Use UsedNetwork.ProtoReflect.Descriptor instead.

func (*UsedNetwork) GetCloudId

func (x *UsedNetwork) GetCloudId() string

func (*UsedNetwork) GetConnectionsCount

func (x *UsedNetwork) GetConnectionsCount() int64

func (*UsedNetwork) GetFolderId

func (x *UsedNetwork) GetFolderId() string

func (*UsedNetwork) GetNetworkId

func (x *UsedNetwork) GetNetworkId() string

func (*UsedNetwork) GetStatus

func (x *UsedNetwork) GetStatus() UsedNetwork_Status

func (*UsedNetwork) GetWillBeCleanedUpAt

func (x *UsedNetwork) GetWillBeCleanedUpAt() *timestamppb.Timestamp

func (*UsedNetwork) ProtoMessage

func (*UsedNetwork) ProtoMessage()

func (*UsedNetwork) ProtoReflect

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

func (*UsedNetwork) Reset

func (x *UsedNetwork) Reset()

func (*UsedNetwork) SetCloudId

func (m *UsedNetwork) SetCloudId(v string)

func (*UsedNetwork) SetConnectionsCount

func (m *UsedNetwork) SetConnectionsCount(v int64)

func (*UsedNetwork) SetFolderId

func (m *UsedNetwork) SetFolderId(v string)

func (*UsedNetwork) SetNetworkId

func (m *UsedNetwork) SetNetworkId(v string)

func (*UsedNetwork) SetStatus

func (m *UsedNetwork) SetStatus(v UsedNetwork_Status)

func (*UsedNetwork) SetWillBeCleanedUpAt

func (m *UsedNetwork) SetWillBeCleanedUpAt(v *timestamppb.Timestamp)

func (*UsedNetwork) String

func (x *UsedNetwork) String() string

type UsedNetwork_Status

type UsedNetwork_Status int32
const (
	UsedNetwork_STATUS_UNSPECIFIED UsedNetwork_Status = 0
	// Network is connecting to its first serverless resource.
	UsedNetwork_CREATING UsedNetwork_Status = 1
	// Network is already being used by some serverless resources.
	UsedNetwork_ACTIVE UsedNetwork_Status = 2
	// Network is no longer used by any serverless resources.
	// It will be cleaned-up after a while.
	UsedNetwork_OBSOLETE UsedNetwork_Status = 3
)

func (UsedNetwork_Status) Descriptor

func (UsedNetwork_Status) Enum

func (UsedNetwork_Status) EnumDescriptor deprecated

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

Deprecated: Use UsedNetwork_Status.Descriptor instead.

func (UsedNetwork_Status) Number

func (UsedNetwork_Status) String

func (x UsedNetwork_Status) String() string

func (UsedNetwork_Status) Type

type Version

type Version struct {

	// ID of the version.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the function that the version belongs to.
	FunctionId string `protobuf:"bytes,2,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Description of the version.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Creation timestamp for the version.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the runtime environment for the function.
	//
	// Supported environments and their identifiers are listed in the [Runtime environments](/docs/functions/concepts/runtime).
	Runtime string `protobuf:"bytes,6,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Entrypoint for the function: the name of the function to be called as the handler.
	//
	// Specified in the format `<function file name>.<handler name>`, for example, `index.myFunction`.
	Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Resources allocated to the version.
	Resources *Resources `protobuf:"bytes,8,opt,name=resources,proto3" json:"resources,omitempty"`
	// Timeout for the execution of the version.
	//
	// If the timeout is exceeded, Cloud Functions responds with a 504 HTTP code.
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	// ID of the service account associated with the version.
	ServiceAccountId string `protobuf:"bytes,10,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Final size of the deployment package after unpacking.
	ImageSize int64 `protobuf:"varint,12,opt,name=image_size,json=imageSize,proto3" json:"image_size,omitempty"`
	// Status of the version.
	Status Version_Status `protobuf:"varint,13,opt,name=status,proto3,enum=yandex.cloud.serverless.functions.v1.Version_Status" json:"status,omitempty"`
	// Version tags. For details, see [Version tag](/docs/functions/concepts/function#tag).
	Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	// ID of the log group for the version.
	LogGroupId string `protobuf:"bytes,15,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"`
	// Environment settings for the version.
	Environment map[string]string `` /* 164-byte string literal not displayed */
	// Network access. If specified the version will be attached to specified network/subnet(s).
	Connectivity *Connectivity `protobuf:"bytes,17,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
	// Additional service accounts to be used by the version.
	NamedServiceAccounts map[string]string `` /* 212-byte string literal not displayed */
	// Yandex Lockbox secrets to be used by the version.
	Secrets []*Secret `protobuf:"bytes,19,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// Options for logging from the function
	LogOptions *LogOptions `protobuf:"bytes,20,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"`
	// S3 mounts to be used by the version.
	StorageMounts []*StorageMount `protobuf:"bytes,21,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"`
	// Config for asynchronous invocations of the version
	AsyncInvocationConfig *AsyncInvocationConfig `` /* 127-byte string literal not displayed */
	// Optional size of in-memory mounted /tmp directory in bytes.
	TmpfsSize int64 `protobuf:"varint,23,opt,name=tmpfs_size,json=tmpfsSize,proto3" json:"tmpfs_size,omitempty"`
	// contains filtered or unexported fields
}

Version of a function. For details about the concept, see [Function versions](/docs/functions/concepts/function#version).

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetAsyncInvocationConfig

func (x *Version) GetAsyncInvocationConfig() *AsyncInvocationConfig

func (*Version) GetConnectivity

func (x *Version) GetConnectivity() *Connectivity

func (*Version) GetCreatedAt

func (x *Version) GetCreatedAt() *timestamppb.Timestamp

func (*Version) GetDescription

func (x *Version) GetDescription() string

func (*Version) GetEntrypoint

func (x *Version) GetEntrypoint() string

func (*Version) GetEnvironment

func (x *Version) GetEnvironment() map[string]string

func (*Version) GetExecutionTimeout

func (x *Version) GetExecutionTimeout() *durationpb.Duration

func (*Version) GetFunctionId

func (x *Version) GetFunctionId() string

func (*Version) GetId

func (x *Version) GetId() string

func (*Version) GetImageSize

func (x *Version) GetImageSize() int64

func (*Version) GetLogGroupId

func (x *Version) GetLogGroupId() string

func (*Version) GetLogOptions

func (x *Version) GetLogOptions() *LogOptions

func (*Version) GetNamedServiceAccounts

func (x *Version) GetNamedServiceAccounts() map[string]string

func (*Version) GetResources

func (x *Version) GetResources() *Resources

func (*Version) GetRuntime

func (x *Version) GetRuntime() string

func (*Version) GetSecrets

func (x *Version) GetSecrets() []*Secret

func (*Version) GetServiceAccountId

func (x *Version) GetServiceAccountId() string

func (*Version) GetStatus

func (x *Version) GetStatus() Version_Status

func (*Version) GetStorageMounts

func (x *Version) GetStorageMounts() []*StorageMount

func (*Version) GetTags

func (x *Version) GetTags() []string

func (*Version) GetTmpfsSize

func (x *Version) GetTmpfsSize() int64

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) SetAsyncInvocationConfig

func (m *Version) SetAsyncInvocationConfig(v *AsyncInvocationConfig)

func (*Version) SetConnectivity

func (m *Version) SetConnectivity(v *Connectivity)

func (*Version) SetCreatedAt

func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)

func (*Version) SetDescription

func (m *Version) SetDescription(v string)

func (*Version) SetEntrypoint

func (m *Version) SetEntrypoint(v string)

func (*Version) SetEnvironment

func (m *Version) SetEnvironment(v map[string]string)

func (*Version) SetExecutionTimeout

func (m *Version) SetExecutionTimeout(v *durationpb.Duration)

func (*Version) SetFunctionId

func (m *Version) SetFunctionId(v string)

func (*Version) SetId

func (m *Version) SetId(v string)

func (*Version) SetImageSize

func (m *Version) SetImageSize(v int64)

func (*Version) SetLogGroupId

func (m *Version) SetLogGroupId(v string)

func (*Version) SetLogOptions

func (m *Version) SetLogOptions(v *LogOptions)

func (*Version) SetNamedServiceAccounts

func (m *Version) SetNamedServiceAccounts(v map[string]string)

func (*Version) SetResources

func (m *Version) SetResources(v *Resources)

func (*Version) SetRuntime

func (m *Version) SetRuntime(v string)

func (*Version) SetSecrets

func (m *Version) SetSecrets(v []*Secret)

func (*Version) SetServiceAccountId

func (m *Version) SetServiceAccountId(v string)

func (*Version) SetStatus

func (m *Version) SetStatus(v Version_Status)

func (*Version) SetStorageMounts

func (m *Version) SetStorageMounts(v []*StorageMount)

func (*Version) SetTags

func (m *Version) SetTags(v []string)

func (*Version) SetTmpfsSize

func (m *Version) SetTmpfsSize(v int64)

func (*Version) String

func (x *Version) String() string

type Version_Status

type Version_Status int32
const (
	Version_STATUS_UNSPECIFIED Version_Status = 0
	// Version is being created.
	Version_CREATING Version_Status = 1
	// Version is ready to use.
	Version_ACTIVE Version_Status = 2
)

func (Version_Status) Descriptor

func (Version_Status) Enum

func (x Version_Status) Enum() *Version_Status

func (Version_Status) EnumDescriptor deprecated

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

Deprecated: Use Version_Status.Descriptor instead.

func (Version_Status) Number

func (Version_Status) String

func (x Version_Status) String() string

func (Version_Status) Type

type YMQTarget

type YMQTarget struct {

	// Queue ARN
	QueueArn string `protobuf:"bytes,1,opt,name=queue_arn,json=queueArn,proto3" json:"queue_arn,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 (*YMQTarget) Descriptor deprecated

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

Deprecated: Use YMQTarget.ProtoReflect.Descriptor instead.

func (*YMQTarget) GetQueueArn

func (x *YMQTarget) GetQueueArn() string

func (*YMQTarget) GetServiceAccountId

func (x *YMQTarget) GetServiceAccountId() string

func (*YMQTarget) ProtoMessage

func (*YMQTarget) ProtoMessage()

func (*YMQTarget) ProtoReflect

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

func (*YMQTarget) Reset

func (x *YMQTarget) Reset()

func (*YMQTarget) SetQueueArn

func (m *YMQTarget) SetQueueArn(v string)

func (*YMQTarget) SetServiceAccountId

func (m *YMQTarget) SetServiceAccountId(v string)

func (*YMQTarget) String

func (x *YMQTarget) String() string

Jump to

Keyboard shortcuts

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