Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterFunctionServiceServer(s grpc.ServiceRegistrar, srv FunctionServiceServer)
- func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
- type AsyncInvocationConfig
- func (*AsyncInvocationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AsyncInvocationConfig) GetFailureTarget() *AsyncInvocationConfig_ResponseTarget
- func (x *AsyncInvocationConfig) GetRetriesCount() int64
- func (x *AsyncInvocationConfig) GetServiceAccountId() string
- func (x *AsyncInvocationConfig) GetSuccessTarget() *AsyncInvocationConfig_ResponseTarget
- func (*AsyncInvocationConfig) ProtoMessage()
- func (x *AsyncInvocationConfig) ProtoReflect() protoreflect.Message
- func (x *AsyncInvocationConfig) Reset()
- func (m *AsyncInvocationConfig) SetFailureTarget(v *AsyncInvocationConfig_ResponseTarget)
- func (m *AsyncInvocationConfig) SetRetriesCount(v int64)
- func (m *AsyncInvocationConfig) SetServiceAccountId(v string)
- func (m *AsyncInvocationConfig) SetSuccessTarget(v *AsyncInvocationConfig_ResponseTarget)
- func (x *AsyncInvocationConfig) String() string
- type AsyncInvocationConfig_ResponseTarget
- func (*AsyncInvocationConfig_ResponseTarget) Descriptor() ([]byte, []int)deprecated
- func (x *AsyncInvocationConfig_ResponseTarget) GetEmptyTarget() *EmptyTarget
- func (m *AsyncInvocationConfig_ResponseTarget) GetTarget() isAsyncInvocationConfig_ResponseTarget_Target
- func (x *AsyncInvocationConfig_ResponseTarget) GetYmqTarget() *YMQTarget
- func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage()
- func (x *AsyncInvocationConfig_ResponseTarget) ProtoReflect() protoreflect.Message
- func (x *AsyncInvocationConfig_ResponseTarget) Reset()
- func (m *AsyncInvocationConfig_ResponseTarget) SetEmptyTarget(v *EmptyTarget)
- func (m *AsyncInvocationConfig_ResponseTarget) SetTarget(v AsyncInvocationConfig_ResponseTarget_Target)
- func (m *AsyncInvocationConfig_ResponseTarget) SetYmqTarget(v *YMQTarget)
- func (x *AsyncInvocationConfig_ResponseTarget) String() string
- type AsyncInvocationConfig_ResponseTarget_EmptyTarget
- type AsyncInvocationConfig_ResponseTarget_Target
- type AsyncInvocationConfig_ResponseTarget_YmqTarget
- type Connectivity
- func (*Connectivity) Descriptor() ([]byte, []int)deprecated
- func (x *Connectivity) GetNetworkId() string
- func (x *Connectivity) GetSubnetId() []string
- func (*Connectivity) ProtoMessage()
- func (x *Connectivity) ProtoReflect() protoreflect.Message
- func (x *Connectivity) Reset()
- func (m *Connectivity) SetNetworkId(v string)
- func (m *Connectivity) SetSubnetId(v []string)
- func (x *Connectivity) String() string
- type CreateFunctionMetadata
- func (*CreateFunctionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFunctionMetadata) GetFunctionId() string
- func (*CreateFunctionMetadata) ProtoMessage()
- func (x *CreateFunctionMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateFunctionMetadata) Reset()
- func (m *CreateFunctionMetadata) SetFunctionId(v string)
- func (x *CreateFunctionMetadata) String() string
- type CreateFunctionRequest
- func (*CreateFunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFunctionRequest) GetDescription() string
- func (x *CreateFunctionRequest) GetFolderId() string
- func (x *CreateFunctionRequest) GetLabels() map[string]string
- func (x *CreateFunctionRequest) GetName() string
- func (*CreateFunctionRequest) ProtoMessage()
- func (x *CreateFunctionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFunctionRequest) Reset()
- func (m *CreateFunctionRequest) SetDescription(v string)
- func (m *CreateFunctionRequest) SetFolderId(v string)
- func (m *CreateFunctionRequest) SetLabels(v map[string]string)
- func (m *CreateFunctionRequest) SetName(v string)
- func (x *CreateFunctionRequest) String() string
- type CreateFunctionVersionMetadata
- func (*CreateFunctionVersionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFunctionVersionMetadata) GetFunctionVersionId() string
- func (*CreateFunctionVersionMetadata) ProtoMessage()
- func (x *CreateFunctionVersionMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateFunctionVersionMetadata) Reset()
- func (m *CreateFunctionVersionMetadata) SetFunctionVersionId(v string)
- func (x *CreateFunctionVersionMetadata) String() string
- type CreateFunctionVersionRequest
- func (*CreateFunctionVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFunctionVersionRequest) GetAsyncInvocationConfig() *AsyncInvocationConfig
- func (x *CreateFunctionVersionRequest) GetConcurrency() int64
- func (x *CreateFunctionVersionRequest) GetConnectivity() *Connectivity
- func (x *CreateFunctionVersionRequest) GetContent() []byte
- func (x *CreateFunctionVersionRequest) GetDescription() string
- func (x *CreateFunctionVersionRequest) GetEntrypoint() string
- func (x *CreateFunctionVersionRequest) GetEnvironment() map[string]string
- func (x *CreateFunctionVersionRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *CreateFunctionVersionRequest) GetFunctionId() string
- func (x *CreateFunctionVersionRequest) GetLogOptions() *LogOptions
- func (x *CreateFunctionVersionRequest) GetMounts() []*Mount
- func (x *CreateFunctionVersionRequest) GetNamedServiceAccounts() map[string]string
- func (x *CreateFunctionVersionRequest) GetPackage() *Package
- func (m *CreateFunctionVersionRequest) GetPackageSource() isCreateFunctionVersionRequest_PackageSource
- func (x *CreateFunctionVersionRequest) GetResources() *Resources
- func (x *CreateFunctionVersionRequest) GetRuntime() string
- func (x *CreateFunctionVersionRequest) GetSecrets() []*Secret
- func (x *CreateFunctionVersionRequest) GetServiceAccountId() string
- func (x *CreateFunctionVersionRequest) GetStorageMounts() []*StorageMount
- func (x *CreateFunctionVersionRequest) GetTag() []string
- func (x *CreateFunctionVersionRequest) GetTmpfsSize() int64
- func (x *CreateFunctionVersionRequest) GetVersionId() string
- func (*CreateFunctionVersionRequest) ProtoMessage()
- func (x *CreateFunctionVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFunctionVersionRequest) Reset()
- func (m *CreateFunctionVersionRequest) SetAsyncInvocationConfig(v *AsyncInvocationConfig)
- func (m *CreateFunctionVersionRequest) SetConcurrency(v int64)
- func (m *CreateFunctionVersionRequest) SetConnectivity(v *Connectivity)
- func (m *CreateFunctionVersionRequest) SetContent(v []byte)
- func (m *CreateFunctionVersionRequest) SetDescription(v string)
- func (m *CreateFunctionVersionRequest) SetEntrypoint(v string)
- func (m *CreateFunctionVersionRequest) SetEnvironment(v map[string]string)
- func (m *CreateFunctionVersionRequest) SetExecutionTimeout(v *durationpb.Duration)
- func (m *CreateFunctionVersionRequest) SetFunctionId(v string)
- func (m *CreateFunctionVersionRequest) SetLogOptions(v *LogOptions)
- func (m *CreateFunctionVersionRequest) SetMounts(v []*Mount)
- func (m *CreateFunctionVersionRequest) SetNamedServiceAccounts(v map[string]string)
- func (m *CreateFunctionVersionRequest) SetPackage(v *Package)
- func (m *CreateFunctionVersionRequest) SetPackageSource(v CreateFunctionVersionRequest_PackageSource)
- func (m *CreateFunctionVersionRequest) SetResources(v *Resources)
- func (m *CreateFunctionVersionRequest) SetRuntime(v string)
- func (m *CreateFunctionVersionRequest) SetSecrets(v []*Secret)
- func (m *CreateFunctionVersionRequest) SetServiceAccountId(v string)
- func (m *CreateFunctionVersionRequest) SetStorageMounts(v []*StorageMount)
- func (m *CreateFunctionVersionRequest) SetTag(v []string)
- func (m *CreateFunctionVersionRequest) SetTmpfsSize(v int64)
- func (m *CreateFunctionVersionRequest) SetVersionId(v string)
- func (x *CreateFunctionVersionRequest) String() string
- type CreateFunctionVersionRequest_Content
- type CreateFunctionVersionRequest_Package
- type CreateFunctionVersionRequest_PackageSource
- type CreateFunctionVersionRequest_VersionId
- type DeleteFunctionMetadata
- func (*DeleteFunctionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFunctionMetadata) GetFunctionId() string
- func (*DeleteFunctionMetadata) ProtoMessage()
- func (x *DeleteFunctionMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteFunctionMetadata) Reset()
- func (m *DeleteFunctionMetadata) SetFunctionId(v string)
- func (x *DeleteFunctionMetadata) String() string
- type DeleteFunctionRequest
- func (*DeleteFunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFunctionRequest) GetFunctionId() string
- func (*DeleteFunctionRequest) ProtoMessage()
- func (x *DeleteFunctionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFunctionRequest) Reset()
- func (m *DeleteFunctionRequest) SetFunctionId(v string)
- func (x *DeleteFunctionRequest) String() string
- type DeleteFunctionVersionMetadata
- func (*DeleteFunctionVersionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFunctionVersionMetadata) GetFunctionVersionId() string
- func (*DeleteFunctionVersionMetadata) ProtoMessage()
- func (x *DeleteFunctionVersionMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteFunctionVersionMetadata) Reset()
- func (m *DeleteFunctionVersionMetadata) SetFunctionVersionId(v string)
- func (x *DeleteFunctionVersionMetadata) String() string
- type DeleteFunctionVersionRequest
- func (*DeleteFunctionVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFunctionVersionRequest) GetForce() bool
- func (x *DeleteFunctionVersionRequest) GetFunctionVersionId() string
- func (*DeleteFunctionVersionRequest) ProtoMessage()
- func (x *DeleteFunctionVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFunctionVersionRequest) Reset()
- func (m *DeleteFunctionVersionRequest) SetForce(v bool)
- func (m *DeleteFunctionVersionRequest) SetFunctionVersionId(v string)
- func (x *DeleteFunctionVersionRequest) String() string
- type EmptyTarget
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetCreatedAt() *timestamppb.Timestamp
- func (x *Function) GetDescription() string
- func (x *Function) GetFolderId() string
- func (x *Function) GetHttpInvokeUrl() string
- func (x *Function) GetId() string
- func (x *Function) GetLabels() map[string]string
- func (x *Function) GetName() string
- func (x *Function) GetStatus() Function_Status
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (m *Function) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Function) SetDescription(v string)
- func (m *Function) SetFolderId(v string)
- func (m *Function) SetHttpInvokeUrl(v string)
- func (m *Function) SetId(v string)
- func (m *Function) SetLabels(v map[string]string)
- func (m *Function) SetName(v string)
- func (m *Function) SetStatus(v Function_Status)
- func (x *Function) String() string
- type FunctionServiceClient
- type FunctionServiceServer
- type Function_Status
- func (Function_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Function_Status) Enum() *Function_Status
- func (Function_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Function_Status) Number() protoreflect.EnumNumber
- func (x Function_Status) String() string
- func (Function_Status) Type() protoreflect.EnumType
- type GetFunctionRequest
- func (*GetFunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionRequest) GetFunctionId() string
- func (*GetFunctionRequest) ProtoMessage()
- func (x *GetFunctionRequest) ProtoReflect() protoreflect.Message
- func (x *GetFunctionRequest) Reset()
- func (m *GetFunctionRequest) SetFunctionId(v string)
- func (x *GetFunctionRequest) String() string
- type GetFunctionVersionByTagRequest
- func (*GetFunctionVersionByTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionVersionByTagRequest) GetFunctionId() string
- func (x *GetFunctionVersionByTagRequest) GetTag() string
- func (*GetFunctionVersionByTagRequest) ProtoMessage()
- func (x *GetFunctionVersionByTagRequest) ProtoReflect() protoreflect.Message
- func (x *GetFunctionVersionByTagRequest) Reset()
- func (m *GetFunctionVersionByTagRequest) SetFunctionId(v string)
- func (m *GetFunctionVersionByTagRequest) SetTag(v string)
- func (x *GetFunctionVersionByTagRequest) String() string
- type GetFunctionVersionRequest
- func (*GetFunctionVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFunctionVersionRequest) GetFunctionVersionId() string
- func (*GetFunctionVersionRequest) ProtoMessage()
- func (x *GetFunctionVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetFunctionVersionRequest) Reset()
- func (m *GetFunctionVersionRequest) SetFunctionVersionId(v string)
- func (x *GetFunctionVersionRequest) String() string
- type GetUsedNetworkRequest
- func (*GetUsedNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsedNetworkRequest) GetNetworkId() string
- func (*GetUsedNetworkRequest) ProtoMessage()
- func (x *GetUsedNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsedNetworkRequest) Reset()
- func (m *GetUsedNetworkRequest) SetNetworkId(v string)
- func (x *GetUsedNetworkRequest) String() string
- type ListConnectedResourcesRequest
- func (*ListConnectedResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectedResourcesRequest) GetCloudId() string
- func (x *ListConnectedResourcesRequest) GetFolderId() string
- func (x *ListConnectedResourcesRequest) GetNetworkId() string
- func (m *ListConnectedResourcesRequest) GetNetworkScope() isListConnectedResourcesRequest_NetworkScope
- func (x *ListConnectedResourcesRequest) GetPageSize() int64
- func (x *ListConnectedResourcesRequest) GetPageToken() string
- func (*ListConnectedResourcesRequest) ProtoMessage()
- func (x *ListConnectedResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConnectedResourcesRequest) Reset()
- func (m *ListConnectedResourcesRequest) SetCloudId(v string)
- func (m *ListConnectedResourcesRequest) SetFolderId(v string)
- func (m *ListConnectedResourcesRequest) SetNetworkId(v string)
- func (m *ListConnectedResourcesRequest) SetNetworkScope(v ListConnectedResourcesRequest_NetworkScope)
- func (m *ListConnectedResourcesRequest) SetPageSize(v int64)
- func (m *ListConnectedResourcesRequest) SetPageToken(v string)
- func (x *ListConnectedResourcesRequest) String() string
- type ListConnectedResourcesRequest_CloudId
- type ListConnectedResourcesRequest_FolderId
- type ListConnectedResourcesRequest_NetworkId
- type ListConnectedResourcesRequest_NetworkScope
- type ListConnectedResourcesResponse
- func (*ListConnectedResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectedResourcesResponse) GetNextPageToken() string
- func (x *ListConnectedResourcesResponse) GetResources() []*ListConnectedResourcesResponse_ConnectedResource
- func (*ListConnectedResourcesResponse) ProtoMessage()
- func (x *ListConnectedResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConnectedResourcesResponse) Reset()
- func (m *ListConnectedResourcesResponse) SetNextPageToken(v string)
- func (m *ListConnectedResourcesResponse) SetResources(v []*ListConnectedResourcesResponse_ConnectedResource)
- func (x *ListConnectedResourcesResponse) String() string
- type ListConnectedResourcesResponse_ConnectedResource
- func (*ListConnectedResourcesResponse_ConnectedResource) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetNetworkId() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceCloudId() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceFolderId() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceId() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceType() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetSubresourceId() string
- func (x *ListConnectedResourcesResponse_ConnectedResource) GetSubresourceType() string
- func (*ListConnectedResourcesResponse_ConnectedResource) ProtoMessage()
- func (x *ListConnectedResourcesResponse_ConnectedResource) ProtoReflect() protoreflect.Message
- func (x *ListConnectedResourcesResponse_ConnectedResource) Reset()
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetNetworkId(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceCloudId(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceFolderId(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceId(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceType(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetSubresourceId(v string)
- func (m *ListConnectedResourcesResponse_ConnectedResource) SetSubresourceType(v string)
- func (x *ListConnectedResourcesResponse_ConnectedResource) String() string
- type ListFunctionOperationsRequest
- func (*ListFunctionOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionOperationsRequest) GetFilter() string
- func (x *ListFunctionOperationsRequest) GetFunctionId() string
- func (x *ListFunctionOperationsRequest) GetPageSize() int64
- func (x *ListFunctionOperationsRequest) GetPageToken() string
- func (*ListFunctionOperationsRequest) ProtoMessage()
- func (x *ListFunctionOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFunctionOperationsRequest) Reset()
- func (m *ListFunctionOperationsRequest) SetFilter(v string)
- func (m *ListFunctionOperationsRequest) SetFunctionId(v string)
- func (m *ListFunctionOperationsRequest) SetPageSize(v int64)
- func (m *ListFunctionOperationsRequest) SetPageToken(v string)
- func (x *ListFunctionOperationsRequest) String() string
- type ListFunctionOperationsResponse
- func (*ListFunctionOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionOperationsResponse) GetNextPageToken() string
- func (x *ListFunctionOperationsResponse) GetOperations() []*operation.Operation
- func (*ListFunctionOperationsResponse) ProtoMessage()
- func (x *ListFunctionOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFunctionOperationsResponse) Reset()
- func (m *ListFunctionOperationsResponse) SetNextPageToken(v string)
- func (m *ListFunctionOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListFunctionOperationsResponse) String() string
- type ListFunctionTagHistoryRequest
- func (*ListFunctionTagHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionTagHistoryRequest) GetFilter() string
- func (x *ListFunctionTagHistoryRequest) GetFunctionId() string
- func (x *ListFunctionTagHistoryRequest) GetPageSize() int64
- func (x *ListFunctionTagHistoryRequest) GetPageToken() string
- func (x *ListFunctionTagHistoryRequest) GetTag() string
- func (*ListFunctionTagHistoryRequest) ProtoMessage()
- func (x *ListFunctionTagHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListFunctionTagHistoryRequest) Reset()
- func (m *ListFunctionTagHistoryRequest) SetFilter(v string)
- func (m *ListFunctionTagHistoryRequest) SetFunctionId(v string)
- func (m *ListFunctionTagHistoryRequest) SetPageSize(v int64)
- func (m *ListFunctionTagHistoryRequest) SetPageToken(v string)
- func (m *ListFunctionTagHistoryRequest) SetTag(v string)
- func (x *ListFunctionTagHistoryRequest) String() string
- type ListFunctionTagHistoryResponse
- func (*ListFunctionTagHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionTagHistoryResponse) GetFunctionTagHistoryRecord() []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord
- func (x *ListFunctionTagHistoryResponse) GetNextPageToken() string
- func (*ListFunctionTagHistoryResponse) ProtoMessage()
- func (x *ListFunctionTagHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListFunctionTagHistoryResponse) Reset()
- func (m *ListFunctionTagHistoryResponse) SetFunctionTagHistoryRecord(v []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord)
- func (m *ListFunctionTagHistoryResponse) SetNextPageToken(v string)
- func (x *ListFunctionTagHistoryResponse) String() string
- type ListFunctionTagHistoryResponse_FunctionTagHistoryRecord
- func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveFrom() *timestamppb.Timestamp
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveTo() *timestamppb.Timestamp
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionId() string
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionVersionId() string
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetTag() string
- func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoMessage()
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoReflect() protoreflect.Message
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Reset()
- func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveFrom(v *timestamppb.Timestamp)
- func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveTo(v *timestamppb.Timestamp)
- func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionId(v string)
- func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionVersionId(v string)
- func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetTag(v string)
- func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) String() string
- type ListFunctionsRequest
- func (*ListFunctionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionsRequest) GetFilter() string
- func (x *ListFunctionsRequest) GetFolderId() string
- func (x *ListFunctionsRequest) GetPageSize() int64
- func (x *ListFunctionsRequest) GetPageToken() string
- func (*ListFunctionsRequest) ProtoMessage()
- func (x *ListFunctionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFunctionsRequest) Reset()
- func (m *ListFunctionsRequest) SetFilter(v string)
- func (m *ListFunctionsRequest) SetFolderId(v string)
- func (m *ListFunctionsRequest) SetPageSize(v int64)
- func (m *ListFunctionsRequest) SetPageToken(v string)
- func (x *ListFunctionsRequest) String() string
- type ListFunctionsResponse
- func (*ListFunctionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionsResponse) GetFunctions() []*Function
- func (x *ListFunctionsResponse) GetNextPageToken() string
- func (*ListFunctionsResponse) ProtoMessage()
- func (x *ListFunctionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFunctionsResponse) Reset()
- func (m *ListFunctionsResponse) SetFunctions(v []*Function)
- func (m *ListFunctionsResponse) SetNextPageToken(v string)
- func (x *ListFunctionsResponse) String() string
- type ListFunctionsVersionsRequest
- func (*ListFunctionsVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionsVersionsRequest) GetFilter() string
- func (x *ListFunctionsVersionsRequest) GetFolderId() string
- func (x *ListFunctionsVersionsRequest) GetFunctionId() string
- func (m *ListFunctionsVersionsRequest) GetId() isListFunctionsVersionsRequest_Id
- func (x *ListFunctionsVersionsRequest) GetPageSize() int64
- func (x *ListFunctionsVersionsRequest) GetPageToken() string
- func (*ListFunctionsVersionsRequest) ProtoMessage()
- func (x *ListFunctionsVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFunctionsVersionsRequest) Reset()
- func (m *ListFunctionsVersionsRequest) SetFilter(v string)
- func (m *ListFunctionsVersionsRequest) SetFolderId(v string)
- func (m *ListFunctionsVersionsRequest) SetFunctionId(v string)
- func (m *ListFunctionsVersionsRequest) SetId(v ListFunctionsVersionsRequest_Id)
- func (m *ListFunctionsVersionsRequest) SetPageSize(v int64)
- func (m *ListFunctionsVersionsRequest) SetPageToken(v string)
- func (x *ListFunctionsVersionsRequest) String() string
- type ListFunctionsVersionsRequest_FolderId
- type ListFunctionsVersionsRequest_FunctionId
- type ListFunctionsVersionsRequest_Id
- type ListFunctionsVersionsResponse
- func (*ListFunctionsVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFunctionsVersionsResponse) GetNextPageToken() string
- func (x *ListFunctionsVersionsResponse) GetVersions() []*Version
- func (*ListFunctionsVersionsResponse) ProtoMessage()
- func (x *ListFunctionsVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFunctionsVersionsResponse) Reset()
- func (m *ListFunctionsVersionsResponse) SetNextPageToken(v string)
- func (m *ListFunctionsVersionsResponse) SetVersions(v []*Version)
- func (x *ListFunctionsVersionsResponse) String() string
- type ListRuntimesRequest
- type ListRuntimesResponse
- func (*ListRuntimesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimesResponse) GetRuntimes() []string
- func (*ListRuntimesResponse) ProtoMessage()
- func (x *ListRuntimesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRuntimesResponse) Reset()
- func (m *ListRuntimesResponse) SetRuntimes(v []string)
- func (x *ListRuntimesResponse) String() string
- type ListScalingPoliciesRequest
- func (*ListScalingPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListScalingPoliciesRequest) GetFunctionId() string
- func (x *ListScalingPoliciesRequest) GetPageSize() int64
- func (x *ListScalingPoliciesRequest) GetPageToken() string
- func (*ListScalingPoliciesRequest) ProtoMessage()
- func (x *ListScalingPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListScalingPoliciesRequest) Reset()
- func (m *ListScalingPoliciesRequest) SetFunctionId(v string)
- func (m *ListScalingPoliciesRequest) SetPageSize(v int64)
- func (m *ListScalingPoliciesRequest) SetPageToken(v string)
- func (x *ListScalingPoliciesRequest) String() string
- type ListScalingPoliciesResponse
- func (*ListScalingPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListScalingPoliciesResponse) GetNextPageToken() string
- func (x *ListScalingPoliciesResponse) GetScalingPolicies() []*ScalingPolicy
- func (*ListScalingPoliciesResponse) ProtoMessage()
- func (x *ListScalingPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListScalingPoliciesResponse) Reset()
- func (m *ListScalingPoliciesResponse) SetNextPageToken(v string)
- func (m *ListScalingPoliciesResponse) SetScalingPolicies(v []*ScalingPolicy)
- func (x *ListScalingPoliciesResponse) String() string
- type ListUsedNetworksRequest
- func (*ListUsedNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsedNetworksRequest) GetCloudId() string
- func (x *ListUsedNetworksRequest) GetFolderId() string
- func (x *ListUsedNetworksRequest) GetPageSize() int64
- func (x *ListUsedNetworksRequest) GetPageToken() string
- func (m *ListUsedNetworksRequest) GetScope() isListUsedNetworksRequest_Scope
- func (*ListUsedNetworksRequest) ProtoMessage()
- func (x *ListUsedNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsedNetworksRequest) Reset()
- func (m *ListUsedNetworksRequest) SetCloudId(v string)
- func (m *ListUsedNetworksRequest) SetFolderId(v string)
- func (m *ListUsedNetworksRequest) SetPageSize(v int64)
- func (m *ListUsedNetworksRequest) SetPageToken(v string)
- func (m *ListUsedNetworksRequest) SetScope(v ListUsedNetworksRequest_Scope)
- func (x *ListUsedNetworksRequest) String() string
- type ListUsedNetworksRequest_CloudId
- type ListUsedNetworksRequest_FolderId
- type ListUsedNetworksRequest_Scope
- type ListUsedNetworksResponse
- func (*ListUsedNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsedNetworksResponse) GetNetworks() []*UsedNetwork
- func (x *ListUsedNetworksResponse) GetNextPageToken() string
- func (*ListUsedNetworksResponse) ProtoMessage()
- func (x *ListUsedNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsedNetworksResponse) Reset()
- func (m *ListUsedNetworksResponse) SetNetworks(v []*UsedNetwork)
- func (m *ListUsedNetworksResponse) SetNextPageToken(v string)
- func (x *ListUsedNetworksResponse) String() string
- type LogOptions
- func (*LogOptions) Descriptor() ([]byte, []int)deprecated
- func (m *LogOptions) GetDestination() isLogOptions_Destination
- func (x *LogOptions) GetDisabled() bool
- func (x *LogOptions) GetFolderId() string
- func (x *LogOptions) GetLogGroupId() string
- func (x *LogOptions) GetMinLevel() v1.LogLevel_Level
- func (*LogOptions) ProtoMessage()
- func (x *LogOptions) ProtoReflect() protoreflect.Message
- func (x *LogOptions) Reset()
- func (m *LogOptions) SetDestination(v LogOptions_Destination)
- func (m *LogOptions) SetDisabled(v bool)
- func (m *LogOptions) SetFolderId(v string)
- func (m *LogOptions) SetLogGroupId(v string)
- func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)
- func (x *LogOptions) String() string
- type LogOptions_Destination
- type LogOptions_FolderId
- type LogOptions_LogGroupId
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)deprecated
- func (x *Mount) GetEphemeralDiskSpec() *Mount_DiskSpec
- func (x *Mount) GetMode() Mount_Mode
- func (x *Mount) GetName() string
- func (x *Mount) GetObjectStorage() *Mount_ObjectStorage
- func (m *Mount) GetTarget() isMount_Target
- func (*Mount) ProtoMessage()
- func (x *Mount) ProtoReflect() protoreflect.Message
- func (x *Mount) Reset()
- func (m *Mount) SetEphemeralDiskSpec(v *Mount_DiskSpec)
- func (m *Mount) SetMode(v Mount_Mode)
- func (m *Mount) SetName(v string)
- func (m *Mount) SetObjectStorage(v *Mount_ObjectStorage)
- func (m *Mount) SetTarget(v Mount_Target)
- func (x *Mount) String() string
- type Mount_DiskSpec
- func (*Mount_DiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *Mount_DiskSpec) GetBlockSize() int64
- func (x *Mount_DiskSpec) GetSize() int64
- func (*Mount_DiskSpec) ProtoMessage()
- func (x *Mount_DiskSpec) ProtoReflect() protoreflect.Message
- func (x *Mount_DiskSpec) Reset()
- func (m *Mount_DiskSpec) SetBlockSize(v int64)
- func (m *Mount_DiskSpec) SetSize(v int64)
- func (x *Mount_DiskSpec) String() string
- type Mount_EphemeralDiskSpec
- type Mount_Mode
- type Mount_ObjectStorage
- func (*Mount_ObjectStorage) Descriptor() ([]byte, []int)deprecated
- func (x *Mount_ObjectStorage) GetBucketId() string
- func (x *Mount_ObjectStorage) GetPrefix() string
- func (*Mount_ObjectStorage) ProtoMessage()
- func (x *Mount_ObjectStorage) ProtoReflect() protoreflect.Message
- func (x *Mount_ObjectStorage) Reset()
- func (m *Mount_ObjectStorage) SetBucketId(v string)
- func (m *Mount_ObjectStorage) SetPrefix(v string)
- func (x *Mount_ObjectStorage) String() string
- type Mount_ObjectStorage_
- type Mount_Target
- type NetworkServiceClient
- type NetworkServiceServer
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetBucketName() string
- func (x *Package) GetObjectName() string
- func (x *Package) GetSha256() string
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (m *Package) SetBucketName(v string)
- func (m *Package) SetObjectName(v string)
- func (m *Package) SetSha256(v string)
- func (x *Package) String() string
- type RemoveFunctionTagMetadata
- func (*RemoveFunctionTagMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFunctionTagMetadata) GetFunctionVersionId() string
- func (*RemoveFunctionTagMetadata) ProtoMessage()
- func (x *RemoveFunctionTagMetadata) ProtoReflect() protoreflect.Message
- func (x *RemoveFunctionTagMetadata) Reset()
- func (m *RemoveFunctionTagMetadata) SetFunctionVersionId(v string)
- func (x *RemoveFunctionTagMetadata) String() string
- type RemoveFunctionTagRequest
- func (*RemoveFunctionTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFunctionTagRequest) GetFunctionVersionId() string
- func (x *RemoveFunctionTagRequest) GetTag() string
- func (*RemoveFunctionTagRequest) ProtoMessage()
- func (x *RemoveFunctionTagRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFunctionTagRequest) Reset()
- func (m *RemoveFunctionTagRequest) SetFunctionVersionId(v string)
- func (m *RemoveFunctionTagRequest) SetTag(v string)
- func (x *RemoveFunctionTagRequest) String() string
- type RemoveScalingPolicyMetadata
- func (*RemoveScalingPolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveScalingPolicyMetadata) GetFunctionId() string
- func (*RemoveScalingPolicyMetadata) ProtoMessage()
- func (x *RemoveScalingPolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *RemoveScalingPolicyMetadata) Reset()
- func (m *RemoveScalingPolicyMetadata) SetFunctionId(v string)
- func (x *RemoveScalingPolicyMetadata) String() string
- type RemoveScalingPolicyRequest
- func (*RemoveScalingPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveScalingPolicyRequest) GetFunctionId() string
- func (x *RemoveScalingPolicyRequest) GetTag() string
- func (*RemoveScalingPolicyRequest) ProtoMessage()
- func (x *RemoveScalingPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveScalingPolicyRequest) Reset()
- func (m *RemoveScalingPolicyRequest) SetFunctionId(v string)
- func (m *RemoveScalingPolicyRequest) SetTag(v string)
- func (x *RemoveScalingPolicyRequest) String() string
- type Resources
- type ScalingPolicy
- func (*ScalingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingPolicy) GetCreatedAt() *timestamppb.Timestamp
- func (x *ScalingPolicy) GetFunctionId() string
- func (x *ScalingPolicy) GetModifiedAt() *timestamppb.Timestamp
- func (x *ScalingPolicy) GetProvisionedInstancesCount() int64
- func (x *ScalingPolicy) GetTag() string
- func (x *ScalingPolicy) GetZoneInstancesLimit() int64
- func (x *ScalingPolicy) GetZoneRequestsLimit() int64
- func (*ScalingPolicy) ProtoMessage()
- func (x *ScalingPolicy) ProtoReflect() protoreflect.Message
- func (x *ScalingPolicy) Reset()
- func (m *ScalingPolicy) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *ScalingPolicy) SetFunctionId(v string)
- func (m *ScalingPolicy) SetModifiedAt(v *timestamppb.Timestamp)
- func (m *ScalingPolicy) SetProvisionedInstancesCount(v int64)
- func (m *ScalingPolicy) SetTag(v string)
- func (m *ScalingPolicy) SetZoneInstancesLimit(v int64)
- func (m *ScalingPolicy) SetZoneRequestsLimit(v int64)
- func (x *ScalingPolicy) String() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetEnvironmentVariable() string
- func (x *Secret) GetId() string
- func (x *Secret) GetKey() string
- func (m *Secret) GetReference() isSecret_Reference
- func (x *Secret) GetVersionId() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (m *Secret) SetEnvironmentVariable(v string)
- func (m *Secret) SetId(v string)
- func (m *Secret) SetKey(v string)
- func (m *Secret) SetReference(v Secret_Reference)
- func (m *Secret) SetVersionId(v string)
- func (x *Secret) String() string
- type Secret_EnvironmentVariable
- type Secret_Reference
- type SetFunctionTagMetadata
- func (*SetFunctionTagMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SetFunctionTagMetadata) GetFunctionVersionId() string
- func (*SetFunctionTagMetadata) ProtoMessage()
- func (x *SetFunctionTagMetadata) ProtoReflect() protoreflect.Message
- func (x *SetFunctionTagMetadata) Reset()
- func (m *SetFunctionTagMetadata) SetFunctionVersionId(v string)
- func (x *SetFunctionTagMetadata) String() string
- type SetFunctionTagRequest
- func (*SetFunctionTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetFunctionTagRequest) GetFunctionVersionId() string
- func (x *SetFunctionTagRequest) GetTag() string
- func (*SetFunctionTagRequest) ProtoMessage()
- func (x *SetFunctionTagRequest) ProtoReflect() protoreflect.Message
- func (x *SetFunctionTagRequest) Reset()
- func (m *SetFunctionTagRequest) SetFunctionVersionId(v string)
- func (m *SetFunctionTagRequest) SetTag(v string)
- func (x *SetFunctionTagRequest) String() string
- type SetScalingPolicyMetadata
- func (*SetScalingPolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SetScalingPolicyMetadata) GetFunctionId() string
- func (*SetScalingPolicyMetadata) ProtoMessage()
- func (x *SetScalingPolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *SetScalingPolicyMetadata) Reset()
- func (m *SetScalingPolicyMetadata) SetFunctionId(v string)
- func (x *SetScalingPolicyMetadata) String() string
- type SetScalingPolicyRequest
- func (*SetScalingPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetScalingPolicyRequest) GetFunctionId() string
- func (x *SetScalingPolicyRequest) GetProvisionedInstancesCount() int64
- func (x *SetScalingPolicyRequest) GetTag() string
- func (x *SetScalingPolicyRequest) GetZoneInstancesLimit() int64
- func (x *SetScalingPolicyRequest) GetZoneRequestsLimit() int64
- func (*SetScalingPolicyRequest) ProtoMessage()
- func (x *SetScalingPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *SetScalingPolicyRequest) Reset()
- func (m *SetScalingPolicyRequest) SetFunctionId(v string)
- func (m *SetScalingPolicyRequest) SetProvisionedInstancesCount(v int64)
- func (m *SetScalingPolicyRequest) SetTag(v string)
- func (m *SetScalingPolicyRequest) SetZoneInstancesLimit(v int64)
- func (m *SetScalingPolicyRequest) SetZoneRequestsLimit(v int64)
- func (x *SetScalingPolicyRequest) String() string
- type StorageMountdeprecated
- func (*StorageMount) Descriptor() ([]byte, []int)deprecated
- func (x *StorageMount) GetBucketId() string
- func (x *StorageMount) GetMountPointName() string
- func (x *StorageMount) GetPrefix() string
- func (x *StorageMount) GetReadOnly() bool
- func (*StorageMount) ProtoMessage()
- func (x *StorageMount) ProtoReflect() protoreflect.Message
- func (x *StorageMount) Reset()
- func (m *StorageMount) SetBucketId(v string)
- func (m *StorageMount) SetMountPointName(v string)
- func (m *StorageMount) SetPrefix(v string)
- func (m *StorageMount) SetReadOnly(v bool)
- func (x *StorageMount) String() string
- type TriggerUsedNetworkCleanupRequest
- func (*TriggerUsedNetworkCleanupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerUsedNetworkCleanupRequest) GetNetworkId() string
- func (*TriggerUsedNetworkCleanupRequest) ProtoMessage()
- func (x *TriggerUsedNetworkCleanupRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerUsedNetworkCleanupRequest) Reset()
- func (m *TriggerUsedNetworkCleanupRequest) SetNetworkId(v string)
- func (x *TriggerUsedNetworkCleanupRequest) String() string
- type TriggerUsedNetworkCleanupResponse
- func (*TriggerUsedNetworkCleanupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerUsedNetworkCleanupResponse) GetNetworkCleanupTime() *timestamppb.Timestamp
- func (*TriggerUsedNetworkCleanupResponse) ProtoMessage()
- func (x *TriggerUsedNetworkCleanupResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerUsedNetworkCleanupResponse) Reset()
- func (m *TriggerUsedNetworkCleanupResponse) SetNetworkCleanupTime(v *timestamppb.Timestamp)
- func (x *TriggerUsedNetworkCleanupResponse) String() string
- type UnimplementedFunctionServiceServer
- func (UnimplementedFunctionServiceServer) Create(context.Context, *CreateFunctionRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) CreateVersion(context.Context, *CreateFunctionVersionRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) Delete(context.Context, *DeleteFunctionRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) DeleteVersion(context.Context, *DeleteFunctionVersionRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) Get(context.Context, *GetFunctionRequest) (*Function, error)
- func (UnimplementedFunctionServiceServer) GetVersion(context.Context, *GetFunctionVersionRequest) (*Version, error)
- func (UnimplementedFunctionServiceServer) GetVersionByTag(context.Context, *GetFunctionVersionByTagRequest) (*Version, error)
- func (UnimplementedFunctionServiceServer) List(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
- func (UnimplementedFunctionServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedFunctionServiceServer) ListOperations(context.Context, *ListFunctionOperationsRequest) (*ListFunctionOperationsResponse, error)
- func (UnimplementedFunctionServiceServer) ListRuntimes(context.Context, *ListRuntimesRequest) (*ListRuntimesResponse, error)
- func (UnimplementedFunctionServiceServer) ListScalingPolicies(context.Context, *ListScalingPoliciesRequest) (*ListScalingPoliciesResponse, error)
- func (UnimplementedFunctionServiceServer) ListTagHistory(context.Context, *ListFunctionTagHistoryRequest) (*ListFunctionTagHistoryResponse, error)
- func (UnimplementedFunctionServiceServer) ListVersions(context.Context, *ListFunctionsVersionsRequest) (*ListFunctionsVersionsResponse, error)
- func (UnimplementedFunctionServiceServer) RemoveScalingPolicy(context.Context, *RemoveScalingPolicyRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) RemoveTag(context.Context, *RemoveFunctionTagRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) SetScalingPolicy(context.Context, *SetScalingPolicyRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) SetTag(context.Context, *SetFunctionTagRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) Update(context.Context, *UpdateFunctionRequest) (*operation.Operation, error)
- func (UnimplementedFunctionServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnimplementedNetworkServiceServer
- func (UnimplementedNetworkServiceServer) GetUsed(context.Context, *GetUsedNetworkRequest) (*UsedNetwork, error)
- func (UnimplementedNetworkServiceServer) ListConnectedResources(context.Context, *ListConnectedResourcesRequest) (*ListConnectedResourcesResponse, error)
- func (UnimplementedNetworkServiceServer) ListUsed(context.Context, *ListUsedNetworksRequest) (*ListUsedNetworksResponse, error)
- func (UnimplementedNetworkServiceServer) TriggerUsedCleanup(context.Context, *TriggerUsedNetworkCleanupRequest) (*TriggerUsedNetworkCleanupResponse, error)
- type UnsafeFunctionServiceServer
- type UnsafeNetworkServiceServer
- type UpdateFunctionMetadata
- func (*UpdateFunctionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFunctionMetadata) GetFunctionId() string
- func (*UpdateFunctionMetadata) ProtoMessage()
- func (x *UpdateFunctionMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateFunctionMetadata) Reset()
- func (m *UpdateFunctionMetadata) SetFunctionId(v string)
- func (x *UpdateFunctionMetadata) String() string
- type UpdateFunctionRequest
- func (*UpdateFunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFunctionRequest) GetDescription() string
- func (x *UpdateFunctionRequest) GetFunctionId() string
- func (x *UpdateFunctionRequest) GetLabels() map[string]string
- func (x *UpdateFunctionRequest) GetName() string
- func (x *UpdateFunctionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFunctionRequest) ProtoMessage()
- func (x *UpdateFunctionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFunctionRequest) Reset()
- func (m *UpdateFunctionRequest) SetDescription(v string)
- func (m *UpdateFunctionRequest) SetFunctionId(v string)
- func (m *UpdateFunctionRequest) SetLabels(v map[string]string)
- func (m *UpdateFunctionRequest) SetName(v string)
- func (m *UpdateFunctionRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateFunctionRequest) String() string
- type UsedNetwork
- func (*UsedNetwork) Descriptor() ([]byte, []int)deprecated
- func (x *UsedNetwork) GetCloudId() string
- func (x *UsedNetwork) GetConnectionsCount() int64
- func (x *UsedNetwork) GetFolderId() string
- func (x *UsedNetwork) GetNetworkId() string
- func (x *UsedNetwork) GetStatus() UsedNetwork_Status
- func (x *UsedNetwork) GetWillBeCleanedUpAt() *timestamppb.Timestamp
- func (*UsedNetwork) ProtoMessage()
- func (x *UsedNetwork) ProtoReflect() protoreflect.Message
- func (x *UsedNetwork) Reset()
- func (m *UsedNetwork) SetCloudId(v string)
- func (m *UsedNetwork) SetConnectionsCount(v int64)
- func (m *UsedNetwork) SetFolderId(v string)
- func (m *UsedNetwork) SetNetworkId(v string)
- func (m *UsedNetwork) SetStatus(v UsedNetwork_Status)
- func (m *UsedNetwork) SetWillBeCleanedUpAt(v *timestamppb.Timestamp)
- func (x *UsedNetwork) String() string
- type UsedNetwork_Status
- func (UsedNetwork_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UsedNetwork_Status) Enum() *UsedNetwork_Status
- func (UsedNetwork_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UsedNetwork_Status) Number() protoreflect.EnumNumber
- func (x UsedNetwork_Status) String() string
- func (UsedNetwork_Status) Type() protoreflect.EnumType
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetAsyncInvocationConfig() *AsyncInvocationConfig
- func (x *Version) GetConcurrency() int64
- func (x *Version) GetConnectivity() *Connectivity
- func (x *Version) GetCreatedAt() *timestamppb.Timestamp
- func (x *Version) GetDescription() string
- func (x *Version) GetEntrypoint() string
- func (x *Version) GetEnvironment() map[string]string
- func (x *Version) GetExecutionTimeout() *durationpb.Duration
- func (x *Version) GetFunctionId() string
- func (x *Version) GetId() string
- func (x *Version) GetImageSize() int64
- func (x *Version) GetLogOptions() *LogOptions
- func (x *Version) GetMounts() []*Mount
- func (x *Version) GetNamedServiceAccounts() map[string]string
- func (x *Version) GetResources() *Resources
- func (x *Version) GetRuntime() string
- func (x *Version) GetSecrets() []*Secret
- func (x *Version) GetServiceAccountId() string
- func (x *Version) GetStatus() Version_Status
- func (x *Version) GetStorageMounts() []*StorageMount
- func (x *Version) GetTags() []string
- func (x *Version) GetTmpfsSize() int64
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (m *Version) SetAsyncInvocationConfig(v *AsyncInvocationConfig)
- func (m *Version) SetConcurrency(v int64)
- func (m *Version) SetConnectivity(v *Connectivity)
- func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Version) SetDescription(v string)
- func (m *Version) SetEntrypoint(v string)
- func (m *Version) SetEnvironment(v map[string]string)
- func (m *Version) SetExecutionTimeout(v *durationpb.Duration)
- func (m *Version) SetFunctionId(v string)
- func (m *Version) SetId(v string)
- func (m *Version) SetImageSize(v int64)
- func (m *Version) SetLogOptions(v *LogOptions)
- func (m *Version) SetMounts(v []*Mount)
- func (m *Version) SetNamedServiceAccounts(v map[string]string)
- func (m *Version) SetResources(v *Resources)
- func (m *Version) SetRuntime(v string)
- func (m *Version) SetSecrets(v []*Secret)
- func (m *Version) SetServiceAccountId(v string)
- func (m *Version) SetStatus(v Version_Status)
- func (m *Version) SetStorageMounts(v []*StorageMount)
- func (m *Version) SetTags(v []string)
- func (m *Version) SetTmpfsSize(v int64)
- func (x *Version) String() string
- type Version_Status
- func (Version_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Version_Status) Enum() *Version_Status
- func (Version_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_Status) Number() protoreflect.EnumNumber
- func (x Version_Status) String() string
- func (Version_Status) Type() protoreflect.EnumType
- type YMQTarget
- func (*YMQTarget) Descriptor() ([]byte, []int)deprecated
- func (x *YMQTarget) GetQueueArn() string
- func (x *YMQTarget) GetServiceAccountId() string
- func (*YMQTarget) ProtoMessage()
- func (x *YMQTarget) ProtoReflect() protoreflect.Message
- func (x *YMQTarget) Reset()
- func (m *YMQTarget) SetQueueArn(v string)
- func (m *YMQTarget) SetServiceAccountId(v string)
- func (x *YMQTarget) String() string
Constants ¶
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" )
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 ¶
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.
var ( Version_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "OBSOLETE", 4: "DELETING", } Version_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "OBSOLETE": 3, "DELETING": 4, } )
Enum value maps for Version_Status.
var ( Mount_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } Mount_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for Mount_Mode.
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.
var File_yandex_cloud_serverless_functions_v1_function_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_functions_v1_function_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_functions_v1_network_service_proto protoreflect.FileDescriptor
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)
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 (x *AsyncInvocationConfig) GetFailureTarget() *AsyncInvocationConfig_ResponseTarget
func (*AsyncInvocationConfig) GetRetriesCount ¶
func (x *AsyncInvocationConfig) GetRetriesCount() int64
func (*AsyncInvocationConfig) GetServiceAccountId ¶
func (x *AsyncInvocationConfig) GetServiceAccountId() string
func (*AsyncInvocationConfig) GetSuccessTarget ¶
func (x *AsyncInvocationConfig) GetSuccessTarget() *AsyncInvocationConfig_ResponseTarget
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 (m *AsyncInvocationConfig) SetFailureTarget(v *AsyncInvocationConfig_ResponseTarget)
func (*AsyncInvocationConfig) SetRetriesCount ¶
func (m *AsyncInvocationConfig) SetRetriesCount(v int64)
func (*AsyncInvocationConfig) SetServiceAccountId ¶
func (m *AsyncInvocationConfig) SetServiceAccountId(v string)
func (*AsyncInvocationConfig) SetSuccessTarget ¶
func (m *AsyncInvocationConfig) SetSuccessTarget(v *AsyncInvocationConfig_ResponseTarget)
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 (x *AsyncInvocationConfig_ResponseTarget) GetEmptyTarget() *EmptyTarget
func (*AsyncInvocationConfig_ResponseTarget) GetTarget ¶
func (m *AsyncInvocationConfig_ResponseTarget) GetTarget() isAsyncInvocationConfig_ResponseTarget_Target
func (*AsyncInvocationConfig_ResponseTarget) GetYmqTarget ¶
func (x *AsyncInvocationConfig_ResponseTarget) GetYmqTarget() *YMQTarget
func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage ¶
func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage()
func (*AsyncInvocationConfig_ResponseTarget) ProtoReflect ¶
func (x *AsyncInvocationConfig_ResponseTarget) ProtoReflect() protoreflect.Message
func (*AsyncInvocationConfig_ResponseTarget) Reset ¶
func (x *AsyncInvocationConfig_ResponseTarget) Reset()
func (*AsyncInvocationConfig_ResponseTarget) SetEmptyTarget ¶
func (m *AsyncInvocationConfig_ResponseTarget) SetEmptyTarget(v *EmptyTarget)
func (*AsyncInvocationConfig_ResponseTarget) SetTarget ¶
func (m *AsyncInvocationConfig_ResponseTarget) SetTarget(v AsyncInvocationConfig_ResponseTarget_Target)
func (*AsyncInvocationConfig_ResponseTarget) SetYmqTarget ¶
func (m *AsyncInvocationConfig_ResponseTarget) SetYmqTarget(v *YMQTarget)
func (*AsyncInvocationConfig_ResponseTarget) String ¶
func (x *AsyncInvocationConfig_ResponseTarget) String() 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 (x *CreateFunctionVersionMetadata) ProtoReflect() protoreflect.Message
func (*CreateFunctionVersionMetadata) Reset ¶
func (x *CreateFunctionVersionMetadata) Reset()
func (*CreateFunctionVersionMetadata) SetFunctionVersionId ¶
func (m *CreateFunctionVersionMetadata) SetFunctionVersionId(v string)
func (*CreateFunctionVersionMetadata) String ¶
func (x *CreateFunctionVersionMetadata) String() 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"` // The maximum number of requests processed by a function instance at the same time Concurrency int64 `protobuf:"varint,24,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // Mounts to be used by the version. Mounts []*Mount `protobuf:"bytes,25,rep,name=mounts,proto3" json:"mounts,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) GetConcurrency ¶
func (x *CreateFunctionVersionRequest) GetConcurrency() int64
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) GetMounts ¶
func (x *CreateFunctionVersionRequest) GetMounts() []*Mount
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 (x *CreateFunctionVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateFunctionVersionRequest) Reset ¶
func (x *CreateFunctionVersionRequest) Reset()
func (*CreateFunctionVersionRequest) SetAsyncInvocationConfig ¶
func (m *CreateFunctionVersionRequest) SetAsyncInvocationConfig(v *AsyncInvocationConfig)
func (*CreateFunctionVersionRequest) SetConcurrency ¶
func (m *CreateFunctionVersionRequest) SetConcurrency(v int64)
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) SetMounts ¶
func (m *CreateFunctionVersionRequest) SetMounts(v []*Mount)
func (*CreateFunctionVersionRequest) SetNamedServiceAccounts ¶
func (m *CreateFunctionVersionRequest) SetNamedServiceAccounts(v map[string]string)
func (*CreateFunctionVersionRequest) SetPackage ¶
func (m *CreateFunctionVersionRequest) SetPackage(v *Package)
func (*CreateFunctionVersionRequest) SetPackageSource ¶
func (m *CreateFunctionVersionRequest) SetPackageSource(v CreateFunctionVersionRequest_PackageSource)
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 ¶
func (x *CreateFunctionVersionRequest) String() 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 (x *DeleteFunctionVersionMetadata) ProtoReflect() protoreflect.Message
func (*DeleteFunctionVersionMetadata) Reset ¶
func (x *DeleteFunctionVersionMetadata) Reset()
func (*DeleteFunctionVersionMetadata) SetFunctionVersionId ¶
func (m *DeleteFunctionVersionMetadata) SetFunctionVersionId(v string)
func (*DeleteFunctionVersionMetadata) String ¶
func (x *DeleteFunctionVersionMetadata) String() 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 (x *DeleteFunctionVersionRequest) ProtoReflect() protoreflect.Message
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 ¶
func (x *DeleteFunctionVersionRequest) String() 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 */ // 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) GetCreatedAt ¶
func (x *Function) GetCreatedAt() *timestamppb.Timestamp
func (*Function) GetDescription ¶
func (*Function) GetFolderId ¶
func (*Function) GetHttpInvokeUrl ¶
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) SetCreatedAt ¶
func (m *Function) SetCreatedAt(v *timestamppb.Timestamp)
func (*Function) SetDescription ¶
func (*Function) SetFolderId ¶
func (*Function) SetHttpInvokeUrl ¶
func (*Function) SetStatus ¶
func (m *Function) SetStatus(v Function_Status)
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.
A set of methods for managing serverless functions.
func NewFunctionServiceClient ¶
func NewFunctionServiceClient(cc grpc.ClientConnInterface) FunctionServiceClient
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.
A set of methods for managing serverless functions.
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) Descriptor() protoreflect.EnumDescriptor
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 (x Function_Status) Number() protoreflect.EnumNumber
func (Function_Status) String ¶
func (x Function_Status) String() string
func (Function_Status) Type ¶
func (Function_Status) Type() protoreflect.EnumType
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 (x *GetFunctionVersionByTagRequest) GetTag() string
func (*GetFunctionVersionByTagRequest) ProtoMessage ¶
func (*GetFunctionVersionByTagRequest) ProtoMessage()
func (*GetFunctionVersionByTagRequest) ProtoReflect ¶
func (x *GetFunctionVersionByTagRequest) ProtoReflect() protoreflect.Message
func (*GetFunctionVersionByTagRequest) Reset ¶
func (x *GetFunctionVersionByTagRequest) Reset()
func (*GetFunctionVersionByTagRequest) SetFunctionId ¶
func (m *GetFunctionVersionByTagRequest) SetFunctionId(v string)
func (*GetFunctionVersionByTagRequest) SetTag ¶
func (m *GetFunctionVersionByTagRequest) SetTag(v string)
func (*GetFunctionVersionByTagRequest) String ¶
func (x *GetFunctionVersionByTagRequest) String() 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 (x *GetFunctionVersionRequest) ProtoReflect() protoreflect.Message
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 (x *ListConnectedResourcesRequest) ProtoReflect() protoreflect.Message
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 (m *ListConnectedResourcesRequest) SetNetworkScope(v ListConnectedResourcesRequest_NetworkScope)
func (*ListConnectedResourcesRequest) SetPageSize ¶
func (m *ListConnectedResourcesRequest) SetPageSize(v int64)
func (*ListConnectedResourcesRequest) SetPageToken ¶
func (m *ListConnectedResourcesRequest) SetPageToken(v string)
func (*ListConnectedResourcesRequest) String ¶
func (x *ListConnectedResourcesRequest) String() 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 (x *ListConnectedResourcesResponse) GetResources() []*ListConnectedResourcesResponse_ConnectedResource
func (*ListConnectedResourcesResponse) ProtoMessage ¶
func (*ListConnectedResourcesResponse) ProtoMessage()
func (*ListConnectedResourcesResponse) ProtoReflect ¶
func (x *ListConnectedResourcesResponse) ProtoReflect() protoreflect.Message
func (*ListConnectedResourcesResponse) Reset ¶
func (x *ListConnectedResourcesResponse) Reset()
func (*ListConnectedResourcesResponse) SetNextPageToken ¶
func (m *ListConnectedResourcesResponse) SetNextPageToken(v string)
func (*ListConnectedResourcesResponse) SetResources ¶
func (m *ListConnectedResourcesResponse) SetResources(v []*ListConnectedResourcesResponse_ConnectedResource)
func (*ListConnectedResourcesResponse) String ¶
func (x *ListConnectedResourcesResponse) String() 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
func (*ListConnectedResourcesResponse_ConnectedResource) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectedResourcesResponse_ConnectedResource.ProtoReflect.Descriptor instead.
func (*ListConnectedResourcesResponse_ConnectedResource) GetNetworkId ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetNetworkId() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceCloudId ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceCloudId() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceFolderId ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceFolderId() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceId ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceId() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetResourceType ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetResourceType() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetSubresourceId ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetSubresourceId() string
func (*ListConnectedResourcesResponse_ConnectedResource) GetSubresourceType ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) GetSubresourceType() string
func (*ListConnectedResourcesResponse_ConnectedResource) ProtoMessage ¶
func (*ListConnectedResourcesResponse_ConnectedResource) ProtoMessage()
func (*ListConnectedResourcesResponse_ConnectedResource) ProtoReflect ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) ProtoReflect() protoreflect.Message
func (*ListConnectedResourcesResponse_ConnectedResource) Reset ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) Reset()
func (*ListConnectedResourcesResponse_ConnectedResource) SetNetworkId ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetNetworkId(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceCloudId ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceCloudId(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceFolderId ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceFolderId(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceId ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceId(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetResourceType ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetResourceType(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetSubresourceId ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetSubresourceId(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) SetSubresourceType ¶
func (m *ListConnectedResourcesResponse_ConnectedResource) SetSubresourceType(v string)
func (*ListConnectedResourcesResponse_ConnectedResource) String ¶
func (x *ListConnectedResourcesResponse_ConnectedResource) String() 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 (x *ListFunctionOperationsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListFunctionOperationsRequest) String() 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 (x *ListFunctionOperationsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListFunctionOperationsResponse) String() 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 (x *ListFunctionTagHistoryRequest) GetTag() string
func (*ListFunctionTagHistoryRequest) ProtoMessage ¶
func (*ListFunctionTagHistoryRequest) ProtoMessage()
func (*ListFunctionTagHistoryRequest) ProtoReflect ¶
func (x *ListFunctionTagHistoryRequest) ProtoReflect() protoreflect.Message
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 (m *ListFunctionTagHistoryRequest) SetTag(v string)
func (*ListFunctionTagHistoryRequest) String ¶
func (x *ListFunctionTagHistoryRequest) String() 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 (x *ListFunctionTagHistoryResponse) GetFunctionTagHistoryRecord() []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord
func (*ListFunctionTagHistoryResponse) GetNextPageToken ¶
func (x *ListFunctionTagHistoryResponse) GetNextPageToken() string
func (*ListFunctionTagHistoryResponse) ProtoMessage ¶
func (*ListFunctionTagHistoryResponse) ProtoMessage()
func (*ListFunctionTagHistoryResponse) ProtoReflect ¶
func (x *ListFunctionTagHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListFunctionTagHistoryResponse) Reset ¶
func (x *ListFunctionTagHistoryResponse) Reset()
func (*ListFunctionTagHistoryResponse) SetFunctionTagHistoryRecord ¶
func (m *ListFunctionTagHistoryResponse) SetFunctionTagHistoryRecord(v []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord)
func (*ListFunctionTagHistoryResponse) SetNextPageToken ¶
func (m *ListFunctionTagHistoryResponse) SetNextPageToken(v string)
func (*ListFunctionTagHistoryResponse) String ¶
func (x *ListFunctionTagHistoryResponse) String() 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
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Descriptor() ([]byte, []int)
Deprecated: Use ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.ProtoReflect.Descriptor instead.
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveFrom ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveFrom() *timestamppb.Timestamp
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveTo ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveTo() *timestamppb.Timestamp
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionId ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionId() string
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionVersionId ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionVersionId() string
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetTag ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetTag() string
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoMessage ¶
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoMessage()
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoReflect ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoReflect() protoreflect.Message
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Reset ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Reset()
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveFrom ¶
func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveFrom(v *timestamppb.Timestamp)
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveTo ¶
func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetEffectiveTo(v *timestamppb.Timestamp)
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionId ¶
func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionId(v string)
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionVersionId ¶
func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetFunctionVersionId(v string)
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetTag ¶
func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) SetTag(v string)
func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) String ¶
func (x *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) String() 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 (x *ListFunctionsVersionsRequest) ProtoReflect() protoreflect.Message
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 (m *ListFunctionsVersionsRequest) SetId(v ListFunctionsVersionsRequest_Id)
func (*ListFunctionsVersionsRequest) SetPageSize ¶
func (m *ListFunctionsVersionsRequest) SetPageSize(v int64)
func (*ListFunctionsVersionsRequest) SetPageToken ¶
func (m *ListFunctionsVersionsRequest) SetPageToken(v string)
func (*ListFunctionsVersionsRequest) String ¶
func (x *ListFunctionsVersionsRequest) String() 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 (x *ListFunctionsVersionsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListFunctionsVersionsResponse) String() 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 (x *ListScalingPoliciesRequest) ProtoReflect() protoreflect.Message
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 (x *ListScalingPoliciesResponse) ProtoReflect() protoreflect.Message
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 (m *ListUsedNetworksRequest) SetScope(v ListUsedNetworksRequest_Scope)
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 Mount ¶
type Mount struct { // Unique mount point name. Device will be mounted into /function/storage/<name> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mount's mode Mode Mount_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=yandex.cloud.serverless.functions.v1.Mount_Mode" json:"mode,omitempty"` // Target mount option // // Types that are assignable to Target: // // *Mount_ObjectStorage_ // *Mount_EphemeralDiskSpec Target isMount_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
Mount contains an information about version's external storage mount
func (*Mount) Descriptor
deprecated
func (*Mount) GetEphemeralDiskSpec ¶
func (x *Mount) GetEphemeralDiskSpec() *Mount_DiskSpec
func (*Mount) GetMode ¶
func (x *Mount) GetMode() Mount_Mode
func (*Mount) GetObjectStorage ¶
func (x *Mount) GetObjectStorage() *Mount_ObjectStorage
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) ProtoReflect ¶
func (x *Mount) ProtoReflect() protoreflect.Message
func (*Mount) SetEphemeralDiskSpec ¶
func (m *Mount) SetEphemeralDiskSpec(v *Mount_DiskSpec)
func (*Mount) SetMode ¶
func (m *Mount) SetMode(v Mount_Mode)
func (*Mount) SetObjectStorage ¶
func (m *Mount) SetObjectStorage(v *Mount_ObjectStorage)
func (*Mount) SetTarget ¶
func (m *Mount) SetTarget(v Mount_Target)
type Mount_DiskSpec ¶
type Mount_DiskSpec struct { // The size of disk for mount in bytes Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Optional block size of disk for mount in bytes BlockSize int64 `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"` // contains filtered or unexported fields }
Disk as a mount
func (*Mount_DiskSpec) Descriptor
deprecated
func (*Mount_DiskSpec) Descriptor() ([]byte, []int)
Deprecated: Use Mount_DiskSpec.ProtoReflect.Descriptor instead.
func (*Mount_DiskSpec) GetBlockSize ¶
func (x *Mount_DiskSpec) GetBlockSize() int64
func (*Mount_DiskSpec) GetSize ¶
func (x *Mount_DiskSpec) GetSize() int64
func (*Mount_DiskSpec) ProtoMessage ¶
func (*Mount_DiskSpec) ProtoMessage()
func (*Mount_DiskSpec) ProtoReflect ¶
func (x *Mount_DiskSpec) ProtoReflect() protoreflect.Message
func (*Mount_DiskSpec) Reset ¶
func (x *Mount_DiskSpec) Reset()
func (*Mount_DiskSpec) SetBlockSize ¶
func (m *Mount_DiskSpec) SetBlockSize(v int64)
func (*Mount_DiskSpec) SetSize ¶
func (m *Mount_DiskSpec) SetSize(v int64)
func (*Mount_DiskSpec) String ¶
func (x *Mount_DiskSpec) String() string
type Mount_EphemeralDiskSpec ¶
type Mount_EphemeralDiskSpec struct { // Working disk (worker-local non-shared read-write NBS disk templates) EphemeralDiskSpec *Mount_DiskSpec `protobuf:"bytes,11,opt,name=ephemeral_disk_spec,json=ephemeralDiskSpec,proto3,oneof"` }
type Mount_Mode ¶
type Mount_Mode int32
const ( Mount_MODE_UNSPECIFIED Mount_Mode = 0 Mount_READ_ONLY Mount_Mode = 1 Mount_READ_WRITE Mount_Mode = 2 )
func (Mount_Mode) Descriptor ¶
func (Mount_Mode) Descriptor() protoreflect.EnumDescriptor
func (Mount_Mode) Enum ¶
func (x Mount_Mode) Enum() *Mount_Mode
func (Mount_Mode) EnumDescriptor
deprecated
func (Mount_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Mount_Mode.Descriptor instead.
func (Mount_Mode) Number ¶
func (x Mount_Mode) Number() protoreflect.EnumNumber
func (Mount_Mode) String ¶
func (x Mount_Mode) String() string
func (Mount_Mode) Type ¶
func (Mount_Mode) Type() protoreflect.EnumType
type Mount_ObjectStorage ¶
type Mount_ObjectStorage struct { // ObjectStorage bucket name for mounting. BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // ObjectStorage bucket prefix for mounting. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
ObjectStorage as a mount
func (*Mount_ObjectStorage) Descriptor
deprecated
func (*Mount_ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use Mount_ObjectStorage.ProtoReflect.Descriptor instead.
func (*Mount_ObjectStorage) GetBucketId ¶
func (x *Mount_ObjectStorage) GetBucketId() string
func (*Mount_ObjectStorage) GetPrefix ¶
func (x *Mount_ObjectStorage) GetPrefix() string
func (*Mount_ObjectStorage) ProtoMessage ¶
func (*Mount_ObjectStorage) ProtoMessage()
func (*Mount_ObjectStorage) ProtoReflect ¶
func (x *Mount_ObjectStorage) ProtoReflect() protoreflect.Message
func (*Mount_ObjectStorage) Reset ¶
func (x *Mount_ObjectStorage) Reset()
func (*Mount_ObjectStorage) SetBucketId ¶
func (m *Mount_ObjectStorage) SetBucketId(v string)
func (*Mount_ObjectStorage) SetPrefix ¶
func (m *Mount_ObjectStorage) SetPrefix(v string)
func (*Mount_ObjectStorage) String ¶
func (x *Mount_ObjectStorage) String() string
type Mount_ObjectStorage_ ¶
type Mount_ObjectStorage_ struct { // Object storage mounts ObjectStorage *Mount_ObjectStorage `protobuf:"bytes,10,opt,name=object_storage,json=objectStorage,proto3,oneof"` }
type Mount_Target ¶
type Mount_Target = isMount_Target
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.
A set of methods for managing VPC networks connected to serverless resources.
func NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient
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.
A set of methods for managing VPC networks connected to serverless resources.
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) GetBucketName ¶
func (*Package) GetObjectName ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
func (*Package) SetBucketName ¶
func (*Package) SetObjectName ¶
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 (x *RemoveFunctionTagMetadata) ProtoReflect() protoreflect.Message
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 (x *RemoveScalingPolicyMetadata) ProtoReflect() protoreflect.Message
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 (x *RemoveScalingPolicyRequest) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
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) GetEnvironmentVariable ¶
func (*Secret) GetReference ¶
func (m *Secret) GetReference() isSecret_Reference
func (*Secret) GetVersionId ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) SetEnvironmentVariable ¶
func (*Secret) SetReference ¶
func (m *Secret) SetReference(v Secret_Reference)
func (*Secret) SetVersionId ¶
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
deprecated
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 }
Deprecated: Marked as deprecated in yandex/cloud/serverless/functions/v1/function.proto.
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 (x *TriggerUsedNetworkCleanupRequest) ProtoReflect() protoreflect.Message
func (*TriggerUsedNetworkCleanupRequest) Reset ¶
func (x *TriggerUsedNetworkCleanupRequest) Reset()
func (*TriggerUsedNetworkCleanupRequest) SetNetworkId ¶
func (m *TriggerUsedNetworkCleanupRequest) SetNetworkId(v string)
func (*TriggerUsedNetworkCleanupRequest) String ¶
func (x *TriggerUsedNetworkCleanupRequest) String() 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 (x *TriggerUsedNetworkCleanupResponse) ProtoReflect() protoreflect.Message
func (*TriggerUsedNetworkCleanupResponse) Reset ¶
func (x *TriggerUsedNetworkCleanupResponse) Reset()
func (*TriggerUsedNetworkCleanupResponse) SetNetworkCleanupTime ¶
func (m *TriggerUsedNetworkCleanupResponse) SetNetworkCleanupTime(v *timestamppb.Timestamp)
func (*TriggerUsedNetworkCleanupResponse) String ¶
func (x *TriggerUsedNetworkCleanupResponse) String() string
type UnimplementedFunctionServiceServer ¶
type UnimplementedFunctionServiceServer struct{}
UnimplementedFunctionServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFunctionServiceServer) Create ¶
func (UnimplementedFunctionServiceServer) Create(context.Context, *CreateFunctionRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) CreateVersion ¶
func (UnimplementedFunctionServiceServer) CreateVersion(context.Context, *CreateFunctionVersionRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) Delete ¶
func (UnimplementedFunctionServiceServer) Delete(context.Context, *DeleteFunctionRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) DeleteVersion ¶
func (UnimplementedFunctionServiceServer) DeleteVersion(context.Context, *DeleteFunctionVersionRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) Get ¶
func (UnimplementedFunctionServiceServer) Get(context.Context, *GetFunctionRequest) (*Function, error)
func (UnimplementedFunctionServiceServer) GetVersion ¶
func (UnimplementedFunctionServiceServer) GetVersion(context.Context, *GetFunctionVersionRequest) (*Version, error)
func (UnimplementedFunctionServiceServer) GetVersionByTag ¶
func (UnimplementedFunctionServiceServer) GetVersionByTag(context.Context, *GetFunctionVersionByTagRequest) (*Version, error)
func (UnimplementedFunctionServiceServer) List ¶
func (UnimplementedFunctionServiceServer) List(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
func (UnimplementedFunctionServiceServer) ListAccessBindings ¶
func (UnimplementedFunctionServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedFunctionServiceServer) ListOperations ¶
func (UnimplementedFunctionServiceServer) ListOperations(context.Context, *ListFunctionOperationsRequest) (*ListFunctionOperationsResponse, error)
func (UnimplementedFunctionServiceServer) ListRuntimes ¶
func (UnimplementedFunctionServiceServer) ListRuntimes(context.Context, *ListRuntimesRequest) (*ListRuntimesResponse, error)
func (UnimplementedFunctionServiceServer) ListScalingPolicies ¶
func (UnimplementedFunctionServiceServer) ListScalingPolicies(context.Context, *ListScalingPoliciesRequest) (*ListScalingPoliciesResponse, error)
func (UnimplementedFunctionServiceServer) ListTagHistory ¶
func (UnimplementedFunctionServiceServer) ListTagHistory(context.Context, *ListFunctionTagHistoryRequest) (*ListFunctionTagHistoryResponse, error)
func (UnimplementedFunctionServiceServer) ListVersions ¶
func (UnimplementedFunctionServiceServer) ListVersions(context.Context, *ListFunctionsVersionsRequest) (*ListFunctionsVersionsResponse, error)
func (UnimplementedFunctionServiceServer) RemoveScalingPolicy ¶
func (UnimplementedFunctionServiceServer) RemoveScalingPolicy(context.Context, *RemoveScalingPolicyRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) RemoveTag ¶
func (UnimplementedFunctionServiceServer) RemoveTag(context.Context, *RemoveFunctionTagRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) SetAccessBindings ¶
func (UnimplementedFunctionServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) SetScalingPolicy ¶
func (UnimplementedFunctionServiceServer) SetScalingPolicy(context.Context, *SetScalingPolicyRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) SetTag ¶
func (UnimplementedFunctionServiceServer) SetTag(context.Context, *SetFunctionTagRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) Update ¶
func (UnimplementedFunctionServiceServer) Update(context.Context, *UpdateFunctionRequest) (*operation.Operation, error)
func (UnimplementedFunctionServiceServer) UpdateAccessBindings ¶
func (UnimplementedFunctionServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnimplementedNetworkServiceServer ¶
type UnimplementedNetworkServiceServer struct{}
UnimplementedNetworkServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNetworkServiceServer) GetUsed ¶
func (UnimplementedNetworkServiceServer) GetUsed(context.Context, *GetUsedNetworkRequest) (*UsedNetwork, error)
func (UnimplementedNetworkServiceServer) ListConnectedResources ¶
func (UnimplementedNetworkServiceServer) ListConnectedResources(context.Context, *ListConnectedResourcesRequest) (*ListConnectedResourcesResponse, error)
func (UnimplementedNetworkServiceServer) ListUsed ¶
func (UnimplementedNetworkServiceServer) ListUsed(context.Context, *ListUsedNetworksRequest) (*ListUsedNetworksResponse, error)
func (UnimplementedNetworkServiceServer) TriggerUsedCleanup ¶
func (UnimplementedNetworkServiceServer) TriggerUsedCleanup(context.Context, *TriggerUsedNetworkCleanupRequest) (*TriggerUsedNetworkCleanupResponse, error)
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) Descriptor() protoreflect.EnumDescriptor
func (UsedNetwork_Status) Enum ¶
func (x UsedNetwork_Status) Enum() *UsedNetwork_Status
func (UsedNetwork_Status) EnumDescriptor
deprecated
func (UsedNetwork_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UsedNetwork_Status.Descriptor instead.
func (UsedNetwork_Status) Number ¶
func (x UsedNetwork_Status) Number() protoreflect.EnumNumber
func (UsedNetwork_Status) String ¶
func (x UsedNetwork_Status) String() string
func (UsedNetwork_Status) Type ¶
func (UsedNetwork_Status) Type() protoreflect.EnumType
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"` // 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"` // The maximum number of requests processed by a function instance at the same time Concurrency int64 `protobuf:"varint,24,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // Mounts to be used by the version. Mounts []*Mount `protobuf:"bytes,25,rep,name=mounts,proto3" json:"mounts,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) GetAsyncInvocationConfig ¶
func (x *Version) GetAsyncInvocationConfig() *AsyncInvocationConfig
func (*Version) GetConcurrency ¶
func (*Version) GetConnectivity ¶
func (x *Version) GetConnectivity() *Connectivity
func (*Version) GetCreatedAt ¶
func (x *Version) GetCreatedAt() *timestamppb.Timestamp
func (*Version) GetDescription ¶
func (*Version) GetEntrypoint ¶
func (*Version) GetEnvironment ¶
func (*Version) GetExecutionTimeout ¶
func (x *Version) GetExecutionTimeout() *durationpb.Duration
func (*Version) GetFunctionId ¶
func (*Version) GetImageSize ¶
func (*Version) GetLogOptions ¶
func (x *Version) GetLogOptions() *LogOptions
func (*Version) GetNamedServiceAccounts ¶
func (*Version) GetResources ¶
func (*Version) GetRuntime ¶
func (*Version) GetSecrets ¶
func (*Version) GetServiceAccountId ¶
func (*Version) GetStatus ¶
func (x *Version) GetStatus() Version_Status
func (*Version) GetStorageMounts ¶
func (x *Version) GetStorageMounts() []*StorageMount
func (*Version) GetTmpfsSize ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) SetAsyncInvocationConfig ¶
func (m *Version) SetAsyncInvocationConfig(v *AsyncInvocationConfig)
func (*Version) SetConcurrency ¶
func (*Version) SetConnectivity ¶
func (m *Version) SetConnectivity(v *Connectivity)
func (*Version) SetCreatedAt ¶
func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)
func (*Version) SetDescription ¶
func (*Version) SetEntrypoint ¶
func (*Version) SetEnvironment ¶
func (*Version) SetExecutionTimeout ¶
func (m *Version) SetExecutionTimeout(v *durationpb.Duration)
func (*Version) SetFunctionId ¶
func (*Version) SetImageSize ¶
func (*Version) SetLogOptions ¶
func (m *Version) SetLogOptions(v *LogOptions)
func (*Version) SetNamedServiceAccounts ¶
func (*Version) SetResources ¶
func (*Version) SetRuntime ¶
func (*Version) SetSecrets ¶
func (*Version) SetServiceAccountId ¶
func (*Version) SetStatus ¶
func (m *Version) SetStatus(v Version_Status)
func (*Version) SetStorageMounts ¶
func (m *Version) SetStorageMounts(v []*StorageMount)
func (*Version) SetTmpfsSize ¶
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 // Version will be deleted soon. Version_OBSOLETE Version_Status = 3 // Version is being deleted. Version_DELETING Version_Status = 4 )
func (Version_Status) Descriptor ¶
func (Version_Status) Descriptor() protoreflect.EnumDescriptor
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 (x Version_Status) Number() protoreflect.EnumNumber
func (Version_Status) String ¶
func (x Version_Status) String() string
func (Version_Status) Type ¶
func (Version_Status) Type() protoreflect.EnumType
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) GetQueueArn ¶
func (*YMQTarget) GetServiceAccountId ¶
func (*YMQTarget) ProtoMessage ¶
func (*YMQTarget) ProtoMessage()
func (*YMQTarget) ProtoReflect ¶
func (x *YMQTarget) ProtoReflect() protoreflect.Message