Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterApiGatewayServiceServer(s grpc.ServiceRegistrar, srv ApiGatewayServiceServer)
- type AddDomainMetadata
- func (*AddDomainMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddDomainMetadata) GetApiGatewayId() string
- func (x *AddDomainMetadata) GetCertificateId() string
- func (x *AddDomainMetadata) GetDomainId() string
- func (x *AddDomainMetadata) GetDomainName() string
- func (*AddDomainMetadata) ProtoMessage()
- func (x *AddDomainMetadata) ProtoReflect() protoreflect.Message
- func (x *AddDomainMetadata) Reset()
- func (m *AddDomainMetadata) SetApiGatewayId(v string)
- func (m *AddDomainMetadata) SetCertificateId(v string)
- func (m *AddDomainMetadata) SetDomainId(v string)
- func (m *AddDomainMetadata) SetDomainName(v string)
- func (x *AddDomainMetadata) String() string
- type AddDomainRequest
- func (*AddDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDomainRequest) GetApiGatewayId() string
- func (x *AddDomainRequest) GetCertificateId() string
- func (x *AddDomainRequest) GetDomainName() string
- func (*AddDomainRequest) ProtoMessage()
- func (x *AddDomainRequest) ProtoReflect() protoreflect.Message
- func (x *AddDomainRequest) Reset()
- func (m *AddDomainRequest) SetApiGatewayId(v string)
- func (m *AddDomainRequest) SetCertificateId(v string)
- func (m *AddDomainRequest) SetDomainName(v string)
- func (x *AddDomainRequest) String() string
- type ApiGateway
- func (*ApiGateway) Descriptor() ([]byte, []int)deprecated
- func (x *ApiGateway) GetAttachedDomains() []*AttachedDomain
- func (x *ApiGateway) GetCanary() *Canary
- func (x *ApiGateway) GetConnectivity() *Connectivity
- func (x *ApiGateway) GetCreatedAt() *timestamppb.Timestamp
- func (x *ApiGateway) GetDescription() string
- func (x *ApiGateway) GetDomain() string
- func (x *ApiGateway) GetExecutionTimeout() *durationpb.Duration
- func (x *ApiGateway) GetFolderId() string
- func (x *ApiGateway) GetId() string
- func (x *ApiGateway) GetLabels() map[string]string
- func (x *ApiGateway) GetLogGroupId() string
- func (x *ApiGateway) GetLogOptions() *LogOptions
- func (x *ApiGateway) GetName() string
- func (x *ApiGateway) GetStatus() ApiGateway_Status
- func (x *ApiGateway) GetVariables() map[string]*VariableInput
- func (*ApiGateway) ProtoMessage()
- func (x *ApiGateway) ProtoReflect() protoreflect.Message
- func (x *ApiGateway) Reset()
- func (m *ApiGateway) SetAttachedDomains(v []*AttachedDomain)
- func (m *ApiGateway) SetCanary(v *Canary)
- func (m *ApiGateway) SetConnectivity(v *Connectivity)
- func (m *ApiGateway) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *ApiGateway) SetDescription(v string)
- func (m *ApiGateway) SetDomain(v string)
- func (m *ApiGateway) SetExecutionTimeout(v *durationpb.Duration)
- func (m *ApiGateway) SetFolderId(v string)
- func (m *ApiGateway) SetId(v string)
- func (m *ApiGateway) SetLabels(v map[string]string)
- func (m *ApiGateway) SetLogGroupId(v string)
- func (m *ApiGateway) SetLogOptions(v *LogOptions)
- func (m *ApiGateway) SetName(v string)
- func (m *ApiGateway) SetStatus(v ApiGateway_Status)
- func (m *ApiGateway) SetVariables(v map[string]*VariableInput)
- func (x *ApiGateway) String() string
- type ApiGatewayServiceClient
- type ApiGatewayServiceServer
- type ApiGateway_Status
- func (ApiGateway_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ApiGateway_Status) Enum() *ApiGateway_Status
- func (ApiGateway_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApiGateway_Status) Number() protoreflect.EnumNumber
- func (x ApiGateway_Status) String() string
- func (ApiGateway_Status) Type() protoreflect.EnumType
- type AttachedDomain
- func (*AttachedDomain) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedDomain) GetCertificateId() string
- func (x *AttachedDomain) GetDomain() string
- func (x *AttachedDomain) GetDomainId() string
- func (x *AttachedDomain) GetEnabled() bool
- func (*AttachedDomain) ProtoMessage()
- func (x *AttachedDomain) ProtoReflect() protoreflect.Message
- func (x *AttachedDomain) Reset()
- func (m *AttachedDomain) SetCertificateId(v string)
- func (m *AttachedDomain) SetDomain(v string)
- func (m *AttachedDomain) SetDomainId(v string)
- func (m *AttachedDomain) SetEnabled(v bool)
- func (x *AttachedDomain) String() string
- type Canary
- func (*Canary) Descriptor() ([]byte, []int)deprecated
- func (x *Canary) GetVariables() map[string]*VariableInput
- func (x *Canary) GetWeight() int64
- func (*Canary) ProtoMessage()
- func (x *Canary) ProtoReflect() protoreflect.Message
- func (x *Canary) Reset()
- func (m *Canary) SetVariables(v map[string]*VariableInput)
- func (m *Canary) SetWeight(v int64)
- func (x *Canary) String() string
- 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 CreateApiGatewayMetadata
- func (*CreateApiGatewayMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiGatewayMetadata) GetApiGatewayId() string
- func (*CreateApiGatewayMetadata) ProtoMessage()
- func (x *CreateApiGatewayMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateApiGatewayMetadata) Reset()
- func (m *CreateApiGatewayMetadata) SetApiGatewayId(v string)
- func (x *CreateApiGatewayMetadata) String() string
- type CreateApiGatewayRequest
- func (*CreateApiGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiGatewayRequest) GetCanary() *Canary
- func (x *CreateApiGatewayRequest) GetConnectivity() *Connectivity
- func (x *CreateApiGatewayRequest) GetDescription() string
- func (x *CreateApiGatewayRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *CreateApiGatewayRequest) GetFolderId() string
- func (x *CreateApiGatewayRequest) GetLabels() map[string]string
- func (x *CreateApiGatewayRequest) GetLogOptions() *LogOptions
- func (x *CreateApiGatewayRequest) GetName() string
- func (x *CreateApiGatewayRequest) GetOpenapiSpec() string
- func (m *CreateApiGatewayRequest) GetSpec() isCreateApiGatewayRequest_Spec
- func (x *CreateApiGatewayRequest) GetVariables() map[string]*VariableInput
- func (*CreateApiGatewayRequest) ProtoMessage()
- func (x *CreateApiGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *CreateApiGatewayRequest) Reset()
- func (m *CreateApiGatewayRequest) SetCanary(v *Canary)
- func (m *CreateApiGatewayRequest) SetConnectivity(v *Connectivity)
- func (m *CreateApiGatewayRequest) SetDescription(v string)
- func (m *CreateApiGatewayRequest) SetExecutionTimeout(v *durationpb.Duration)
- func (m *CreateApiGatewayRequest) SetFolderId(v string)
- func (m *CreateApiGatewayRequest) SetLabels(v map[string]string)
- func (m *CreateApiGatewayRequest) SetLogOptions(v *LogOptions)
- func (m *CreateApiGatewayRequest) SetName(v string)
- func (m *CreateApiGatewayRequest) SetOpenapiSpec(v string)
- func (m *CreateApiGatewayRequest) SetSpec(v CreateApiGatewayRequest_Spec)
- func (m *CreateApiGatewayRequest) SetVariables(v map[string]*VariableInput)
- func (x *CreateApiGatewayRequest) String() string
- type CreateApiGatewayRequest_OpenapiSpec
- type CreateApiGatewayRequest_Spec
- type DeleteApiGatewayMetadata
- func (*DeleteApiGatewayMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteApiGatewayMetadata) GetApiGatewayId() string
- func (*DeleteApiGatewayMetadata) ProtoMessage()
- func (x *DeleteApiGatewayMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteApiGatewayMetadata) Reset()
- func (m *DeleteApiGatewayMetadata) SetApiGatewayId(v string)
- func (x *DeleteApiGatewayMetadata) String() string
- type DeleteApiGatewayRequest
- func (*DeleteApiGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteApiGatewayRequest) GetApiGatewayId() string
- func (*DeleteApiGatewayRequest) ProtoMessage()
- func (x *DeleteApiGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteApiGatewayRequest) Reset()
- func (m *DeleteApiGatewayRequest) SetApiGatewayId(v string)
- func (x *DeleteApiGatewayRequest) String() string
- type GetApiGatewayRequest
- func (*GetApiGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiGatewayRequest) GetApiGatewayId() string
- func (*GetApiGatewayRequest) ProtoMessage()
- func (x *GetApiGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *GetApiGatewayRequest) Reset()
- func (m *GetApiGatewayRequest) SetApiGatewayId(v string)
- func (x *GetApiGatewayRequest) String() string
- type GetOpenapiSpecRequest
- func (*GetOpenapiSpecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpenapiSpecRequest) GetApiGatewayId() string
- func (x *GetOpenapiSpecRequest) GetFormat() GetOpenapiSpecRequest_Format
- func (*GetOpenapiSpecRequest) ProtoMessage()
- func (x *GetOpenapiSpecRequest) ProtoReflect() protoreflect.Message
- func (x *GetOpenapiSpecRequest) Reset()
- func (m *GetOpenapiSpecRequest) SetApiGatewayId(v string)
- func (m *GetOpenapiSpecRequest) SetFormat(v GetOpenapiSpecRequest_Format)
- func (x *GetOpenapiSpecRequest) String() string
- type GetOpenapiSpecRequest_Format
- func (GetOpenapiSpecRequest_Format) Descriptor() protoreflect.EnumDescriptor
- func (x GetOpenapiSpecRequest_Format) Enum() *GetOpenapiSpecRequest_Format
- func (GetOpenapiSpecRequest_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetOpenapiSpecRequest_Format) Number() protoreflect.EnumNumber
- func (x GetOpenapiSpecRequest_Format) String() string
- func (GetOpenapiSpecRequest_Format) Type() protoreflect.EnumType
- type GetOpenapiSpecResponse
- func (*GetOpenapiSpecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpenapiSpecResponse) GetApiGatewayId() string
- func (x *GetOpenapiSpecResponse) GetOpenapiSpec() string
- func (*GetOpenapiSpecResponse) ProtoMessage()
- func (x *GetOpenapiSpecResponse) ProtoReflect() protoreflect.Message
- func (x *GetOpenapiSpecResponse) Reset()
- func (m *GetOpenapiSpecResponse) SetApiGatewayId(v string)
- func (m *GetOpenapiSpecResponse) SetOpenapiSpec(v string)
- func (x *GetOpenapiSpecResponse) String() string
- type ListApiGatewayRequest
- func (*ListApiGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiGatewayRequest) GetFilter() string
- func (x *ListApiGatewayRequest) GetFolderId() string
- func (x *ListApiGatewayRequest) GetPageSize() int64
- func (x *ListApiGatewayRequest) GetPageToken() string
- func (*ListApiGatewayRequest) ProtoMessage()
- func (x *ListApiGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *ListApiGatewayRequest) Reset()
- func (m *ListApiGatewayRequest) SetFilter(v string)
- func (m *ListApiGatewayRequest) SetFolderId(v string)
- func (m *ListApiGatewayRequest) SetPageSize(v int64)
- func (m *ListApiGatewayRequest) SetPageToken(v string)
- func (x *ListApiGatewayRequest) String() string
- type ListApiGatewayResponse
- func (*ListApiGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiGatewayResponse) GetApiGateways() []*ApiGateway
- func (x *ListApiGatewayResponse) GetNextPageToken() string
- func (*ListApiGatewayResponse) ProtoMessage()
- func (x *ListApiGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *ListApiGatewayResponse) Reset()
- func (m *ListApiGatewayResponse) SetApiGateways(v []*ApiGateway)
- func (m *ListApiGatewayResponse) SetNextPageToken(v string)
- func (x *ListApiGatewayResponse) String() string
- type ListOperationsRequest
- func (*ListOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOperationsRequest) GetApiGatewayId() string
- func (x *ListOperationsRequest) GetFilter() string
- func (x *ListOperationsRequest) GetPageSize() int64
- func (x *ListOperationsRequest) GetPageToken() string
- func (*ListOperationsRequest) ProtoMessage()
- func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOperationsRequest) Reset()
- func (m *ListOperationsRequest) SetApiGatewayId(v string)
- func (m *ListOperationsRequest) SetFilter(v string)
- func (m *ListOperationsRequest) SetPageSize(v int64)
- func (m *ListOperationsRequest) SetPageToken(v string)
- func (x *ListOperationsRequest) String() string
- type ListOperationsResponse
- func (*ListOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOperationsResponse) GetNextPageToken() string
- func (x *ListOperationsResponse) GetOperations() []*operation.Operation
- func (*ListOperationsResponse) ProtoMessage()
- func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOperationsResponse) Reset()
- func (m *ListOperationsResponse) SetNextPageToken(v string)
- func (m *ListOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListOperationsResponse) 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 RemoveDomainMetadata
- func (*RemoveDomainMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDomainMetadata) GetApiGatewayId() string
- func (x *RemoveDomainMetadata) GetDomainId() string
- func (*RemoveDomainMetadata) ProtoMessage()
- func (x *RemoveDomainMetadata) ProtoReflect() protoreflect.Message
- func (x *RemoveDomainMetadata) Reset()
- func (m *RemoveDomainMetadata) SetApiGatewayId(v string)
- func (m *RemoveDomainMetadata) SetDomainId(v string)
- func (x *RemoveDomainMetadata) String() string
- type RemoveDomainRequest
- func (*RemoveDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDomainRequest) GetApiGatewayId() string
- func (x *RemoveDomainRequest) GetDomainId() string
- func (*RemoveDomainRequest) ProtoMessage()
- func (x *RemoveDomainRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDomainRequest) Reset()
- func (m *RemoveDomainRequest) SetApiGatewayId(v string)
- func (m *RemoveDomainRequest) SetDomainId(v string)
- func (x *RemoveDomainRequest) String() string
- type UnimplementedApiGatewayServiceServer
- func (UnimplementedApiGatewayServiceServer) AddDomain(context.Context, *AddDomainRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) Create(context.Context, *CreateApiGatewayRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) Delete(context.Context, *DeleteApiGatewayRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) Get(context.Context, *GetApiGatewayRequest) (*ApiGateway, error)
- func (UnimplementedApiGatewayServiceServer) GetOpenapiSpec(context.Context, *GetOpenapiSpecRequest) (*GetOpenapiSpecResponse, error)
- func (UnimplementedApiGatewayServiceServer) List(context.Context, *ListApiGatewayRequest) (*ListApiGatewayResponse, error)
- func (UnimplementedApiGatewayServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedApiGatewayServiceServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
- func (UnimplementedApiGatewayServiceServer) RemoveDomain(context.Context, *RemoveDomainRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) Update(context.Context, *UpdateApiGatewayRequest) (*operation.Operation, error)
- func (UnimplementedApiGatewayServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnsafeApiGatewayServiceServer
- type UpdateApiGatewayMetadata
- func (*UpdateApiGatewayMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiGatewayMetadata) GetApiGatewayId() string
- func (*UpdateApiGatewayMetadata) ProtoMessage()
- func (x *UpdateApiGatewayMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateApiGatewayMetadata) Reset()
- func (m *UpdateApiGatewayMetadata) SetApiGatewayId(v string)
- func (x *UpdateApiGatewayMetadata) String() string
- type UpdateApiGatewayRequest
- func (*UpdateApiGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiGatewayRequest) GetApiGatewayId() string
- func (x *UpdateApiGatewayRequest) GetCanary() *Canary
- func (x *UpdateApiGatewayRequest) GetConnectivity() *Connectivity
- func (x *UpdateApiGatewayRequest) GetDescription() string
- func (x *UpdateApiGatewayRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *UpdateApiGatewayRequest) GetLabels() map[string]string
- func (x *UpdateApiGatewayRequest) GetLogOptions() *LogOptions
- func (x *UpdateApiGatewayRequest) GetName() string
- func (x *UpdateApiGatewayRequest) GetOpenapiSpec() string
- func (m *UpdateApiGatewayRequest) GetSpec() isUpdateApiGatewayRequest_Spec
- func (x *UpdateApiGatewayRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateApiGatewayRequest) GetVariables() map[string]*VariableInput
- func (*UpdateApiGatewayRequest) ProtoMessage()
- func (x *UpdateApiGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateApiGatewayRequest) Reset()
- func (m *UpdateApiGatewayRequest) SetApiGatewayId(v string)
- func (m *UpdateApiGatewayRequest) SetCanary(v *Canary)
- func (m *UpdateApiGatewayRequest) SetConnectivity(v *Connectivity)
- func (m *UpdateApiGatewayRequest) SetDescription(v string)
- func (m *UpdateApiGatewayRequest) SetExecutionTimeout(v *durationpb.Duration)
- func (m *UpdateApiGatewayRequest) SetLabels(v map[string]string)
- func (m *UpdateApiGatewayRequest) SetLogOptions(v *LogOptions)
- func (m *UpdateApiGatewayRequest) SetName(v string)
- func (m *UpdateApiGatewayRequest) SetOpenapiSpec(v string)
- func (m *UpdateApiGatewayRequest) SetSpec(v UpdateApiGatewayRequest_Spec)
- func (m *UpdateApiGatewayRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (m *UpdateApiGatewayRequest) SetVariables(v map[string]*VariableInput)
- func (x *UpdateApiGatewayRequest) String() string
- type UpdateApiGatewayRequest_OpenapiSpec
- type UpdateApiGatewayRequest_Spec
- type VariableInput
- func (*VariableInput) Descriptor() ([]byte, []int)deprecated
- func (x *VariableInput) GetBoolValue() bool
- func (x *VariableInput) GetDoubleValue() float64
- func (x *VariableInput) GetIntValue() int64
- func (x *VariableInput) GetStringValue() string
- func (m *VariableInput) GetVariableValue() isVariableInput_VariableValue
- func (*VariableInput) ProtoMessage()
- func (x *VariableInput) ProtoReflect() protoreflect.Message
- func (x *VariableInput) Reset()
- func (m *VariableInput) SetBoolValue(v bool)
- func (m *VariableInput) SetDoubleValue(v float64)
- func (m *VariableInput) SetIntValue(v int64)
- func (m *VariableInput) SetStringValue(v string)
- func (m *VariableInput) SetVariableValue(v VariableInput_VariableValue)
- func (x *VariableInput) String() string
- type VariableInput_BoolValue
- type VariableInput_DoubleValue
- type VariableInput_IntValue
- type VariableInput_StringValue
- type VariableInput_VariableValue
Constants ¶
const ( ApiGatewayService_Get_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/Get" ApiGatewayService_List_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/List" ApiGatewayService_Create_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/Create" ApiGatewayService_Update_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/Update" ApiGatewayService_Delete_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/Delete" ApiGatewayService_AddDomain_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/AddDomain" ApiGatewayService_RemoveDomain_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/RemoveDomain" ApiGatewayService_GetOpenapiSpec_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/GetOpenapiSpec" ApiGatewayService_ListOperations_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/ListOperations" ApiGatewayService_ListAccessBindings_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/ListAccessBindings" ApiGatewayService_SetAccessBindings_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/SetAccessBindings" ApiGatewayService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.serverless.apigateway.v1.ApiGatewayService/UpdateAccessBindings" )
Variables ¶
var ( ApiGateway_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 4: "ERROR", 5: "UPDATING", } ApiGateway_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "ERROR": 4, "UPDATING": 5, } )
Enum value maps for ApiGateway_Status.
var ( GetOpenapiSpecRequest_Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "JSON", 2: "YAML", } GetOpenapiSpecRequest_Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "JSON": 1, "YAML": 2, } )
Enum value maps for GetOpenapiSpecRequest_Format.
var ApiGatewayService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.serverless.apigateway.v1.ApiGatewayService", HandlerType: (*ApiGatewayServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ApiGatewayService_Get_Handler, }, { MethodName: "List", Handler: _ApiGatewayService_List_Handler, }, { MethodName: "Create", Handler: _ApiGatewayService_Create_Handler, }, { MethodName: "Update", Handler: _ApiGatewayService_Update_Handler, }, { MethodName: "Delete", Handler: _ApiGatewayService_Delete_Handler, }, { MethodName: "AddDomain", Handler: _ApiGatewayService_AddDomain_Handler, }, { MethodName: "RemoveDomain", Handler: _ApiGatewayService_RemoveDomain_Handler, }, { MethodName: "GetOpenapiSpec", Handler: _ApiGatewayService_GetOpenapiSpec_Handler, }, { MethodName: "ListOperations", Handler: _ApiGatewayService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _ApiGatewayService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _ApiGatewayService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _ApiGatewayService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/serverless/apigateway/v1/apigateway_service.proto", }
ApiGatewayService_ServiceDesc is the grpc.ServiceDesc for ApiGatewayService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_serverless_apigateway_v1_apigateway_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_apigateway_v1_apigateway_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiGatewayServiceServer ¶
func RegisterApiGatewayServiceServer(s grpc.ServiceRegistrar, srv ApiGatewayServiceServer)
Types ¶
type AddDomainMetadata ¶
type AddDomainMetadata struct { // ID of the API gateway that the domain is attached to. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // ID of the attached domain. DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // Name of the attaching domain. DomainName string `protobuf:"bytes,3,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` // ID of the certificate for provided domain. CertificateId string `protobuf:"bytes,4,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*AddDomainMetadata) Descriptor
deprecated
func (*AddDomainMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddDomainMetadata.ProtoReflect.Descriptor instead.
func (*AddDomainMetadata) GetApiGatewayId ¶
func (x *AddDomainMetadata) GetApiGatewayId() string
func (*AddDomainMetadata) GetCertificateId ¶
func (x *AddDomainMetadata) GetCertificateId() string
func (*AddDomainMetadata) GetDomainId ¶
func (x *AddDomainMetadata) GetDomainId() string
func (*AddDomainMetadata) GetDomainName ¶
func (x *AddDomainMetadata) GetDomainName() string
func (*AddDomainMetadata) ProtoMessage ¶
func (*AddDomainMetadata) ProtoMessage()
func (*AddDomainMetadata) ProtoReflect ¶
func (x *AddDomainMetadata) ProtoReflect() protoreflect.Message
func (*AddDomainMetadata) Reset ¶
func (x *AddDomainMetadata) Reset()
func (*AddDomainMetadata) SetApiGatewayId ¶
func (m *AddDomainMetadata) SetApiGatewayId(v string)
func (*AddDomainMetadata) SetCertificateId ¶
func (m *AddDomainMetadata) SetCertificateId(v string)
func (*AddDomainMetadata) SetDomainId ¶
func (m *AddDomainMetadata) SetDomainId(v string)
func (*AddDomainMetadata) SetDomainName ¶
func (m *AddDomainMetadata) SetDomainName(v string)
func (*AddDomainMetadata) String ¶
func (x *AddDomainMetadata) String() string
type AddDomainRequest ¶
type AddDomainRequest struct { // ID of the API gateway that the domain is attached to. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // Name of the attaching domain. DomainName string `protobuf:"bytes,3,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` // ID of certificate for the attaching domain. CertificateId string `protobuf:"bytes,4,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*AddDomainRequest) Descriptor
deprecated
func (*AddDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDomainRequest.ProtoReflect.Descriptor instead.
func (*AddDomainRequest) GetApiGatewayId ¶
func (x *AddDomainRequest) GetApiGatewayId() string
func (*AddDomainRequest) GetCertificateId ¶
func (x *AddDomainRequest) GetCertificateId() string
func (*AddDomainRequest) GetDomainName ¶
func (x *AddDomainRequest) GetDomainName() string
func (*AddDomainRequest) ProtoMessage ¶
func (*AddDomainRequest) ProtoMessage()
func (*AddDomainRequest) ProtoReflect ¶
func (x *AddDomainRequest) ProtoReflect() protoreflect.Message
func (*AddDomainRequest) Reset ¶
func (x *AddDomainRequest) Reset()
func (*AddDomainRequest) SetApiGatewayId ¶
func (m *AddDomainRequest) SetApiGatewayId(v string)
func (*AddDomainRequest) SetCertificateId ¶
func (m *AddDomainRequest) SetCertificateId(v string)
func (*AddDomainRequest) SetDomainName ¶
func (m *AddDomainRequest) SetDomainName(v string)
func (*AddDomainRequest) String ¶
func (x *AddDomainRequest) String() string
type ApiGateway ¶
type ApiGateway struct { // ID of the API gateway. Generated at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the API gateway belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp for the API-gateway. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the API gateway. The name is unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the API gateway. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // API gateway labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Status of the API gateway. Status ApiGateway_Status `` /* 127-byte string literal not displayed */ // Default domain for the API gateway. Generated at creation time. Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain,omitempty"` // ID of the log group for the API gateway. LogGroupId string `protobuf:"bytes,10,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` // List of domains attached to API gateway. AttachedDomains []*AttachedDomain `protobuf:"bytes,11,rep,name=attached_domains,json=attachedDomains,proto3" json:"attached_domains,omitempty"` // Network access. If specified the gateway will be attached to specified network/subnet(s). Connectivity *Connectivity `protobuf:"bytes,12,opt,name=connectivity,proto3" json:"connectivity,omitempty"` // Options for logging from the API gateway. LogOptions *LogOptions `protobuf:"bytes,13,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // Values of variables defined in the specification. Variables map[string]*VariableInput `` /* 160-byte string literal not displayed */ // Canary release of the gateway. Canary *Canary `protobuf:"bytes,15,opt,name=canary,proto3" json:"canary,omitempty"` // Timeout for gateway call execution ExecutionTimeout *durationpb.Duration `protobuf:"bytes,16,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // contains filtered or unexported fields }
func (*ApiGateway) Descriptor
deprecated
func (*ApiGateway) Descriptor() ([]byte, []int)
Deprecated: Use ApiGateway.ProtoReflect.Descriptor instead.
func (*ApiGateway) GetAttachedDomains ¶
func (x *ApiGateway) GetAttachedDomains() []*AttachedDomain
func (*ApiGateway) GetCanary ¶
func (x *ApiGateway) GetCanary() *Canary
func (*ApiGateway) GetConnectivity ¶
func (x *ApiGateway) GetConnectivity() *Connectivity
func (*ApiGateway) GetCreatedAt ¶
func (x *ApiGateway) GetCreatedAt() *timestamppb.Timestamp
func (*ApiGateway) GetDescription ¶
func (x *ApiGateway) GetDescription() string
func (*ApiGateway) GetDomain ¶
func (x *ApiGateway) GetDomain() string
func (*ApiGateway) GetExecutionTimeout ¶
func (x *ApiGateway) GetExecutionTimeout() *durationpb.Duration
func (*ApiGateway) GetFolderId ¶
func (x *ApiGateway) GetFolderId() string
func (*ApiGateway) GetId ¶
func (x *ApiGateway) GetId() string
func (*ApiGateway) GetLabels ¶
func (x *ApiGateway) GetLabels() map[string]string
func (*ApiGateway) GetLogGroupId ¶
func (x *ApiGateway) GetLogGroupId() string
func (*ApiGateway) GetLogOptions ¶
func (x *ApiGateway) GetLogOptions() *LogOptions
func (*ApiGateway) GetName ¶
func (x *ApiGateway) GetName() string
func (*ApiGateway) GetStatus ¶
func (x *ApiGateway) GetStatus() ApiGateway_Status
func (*ApiGateway) GetVariables ¶
func (x *ApiGateway) GetVariables() map[string]*VariableInput
func (*ApiGateway) ProtoMessage ¶
func (*ApiGateway) ProtoMessage()
func (*ApiGateway) ProtoReflect ¶
func (x *ApiGateway) ProtoReflect() protoreflect.Message
func (*ApiGateway) Reset ¶
func (x *ApiGateway) Reset()
func (*ApiGateway) SetAttachedDomains ¶
func (m *ApiGateway) SetAttachedDomains(v []*AttachedDomain)
func (*ApiGateway) SetCanary ¶
func (m *ApiGateway) SetCanary(v *Canary)
func (*ApiGateway) SetConnectivity ¶
func (m *ApiGateway) SetConnectivity(v *Connectivity)
func (*ApiGateway) SetCreatedAt ¶
func (m *ApiGateway) SetCreatedAt(v *timestamppb.Timestamp)
func (*ApiGateway) SetDescription ¶
func (m *ApiGateway) SetDescription(v string)
func (*ApiGateway) SetDomain ¶
func (m *ApiGateway) SetDomain(v string)
func (*ApiGateway) SetExecutionTimeout ¶
func (m *ApiGateway) SetExecutionTimeout(v *durationpb.Duration)
func (*ApiGateway) SetFolderId ¶
func (m *ApiGateway) SetFolderId(v string)
func (*ApiGateway) SetId ¶
func (m *ApiGateway) SetId(v string)
func (*ApiGateway) SetLabels ¶
func (m *ApiGateway) SetLabels(v map[string]string)
func (*ApiGateway) SetLogGroupId ¶
func (m *ApiGateway) SetLogGroupId(v string)
func (*ApiGateway) SetLogOptions ¶
func (m *ApiGateway) SetLogOptions(v *LogOptions)
func (*ApiGateway) SetName ¶
func (m *ApiGateway) SetName(v string)
func (*ApiGateway) SetStatus ¶
func (m *ApiGateway) SetStatus(v ApiGateway_Status)
func (*ApiGateway) SetVariables ¶
func (m *ApiGateway) SetVariables(v map[string]*VariableInput)
func (*ApiGateway) String ¶
func (x *ApiGateway) String() string
type ApiGatewayServiceClient ¶
type ApiGatewayServiceClient interface { // Returns the specified API gateway. Note that only API gateway basic attributes are returned. // To get associated openapi specification, make a [GetOpenapiSpec] request. // // To get the list of all available API gateways, make a [List] request. Get(ctx context.Context, in *GetApiGatewayRequest, opts ...grpc.CallOption) (*ApiGateway, error) // Retrieves the list of API gateways in the specified folder. List(ctx context.Context, in *ListApiGatewayRequest, opts ...grpc.CallOption) (*ListApiGatewayResponse, error) // Creates an API gateway in the specified folder. Create(ctx context.Context, in *CreateApiGatewayRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified API gateway. Update(ctx context.Context, in *UpdateApiGatewayRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified API gateway. Delete(ctx context.Context, in *DeleteApiGatewayRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Attaches domain to the specified API gateway. AddDomain(ctx context.Context, in *AddDomainRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Detaches domain from the specified API gateway. RemoveDomain(ctx context.Context, in *RemoveDomainRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the OpenAPI specification of specified API gateway. GetOpenapiSpec(ctx context.Context, in *GetOpenapiSpecRequest, opts ...grpc.CallOption) (*GetOpenapiSpecResponse, error) // Lists operations for the specified API gateway. ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) // Lists existing access bindings for the specified API gateway. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified API gateway. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified API gateway. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
ApiGatewayServiceClient is the client API for ApiGatewayService 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 API gateways.
func NewApiGatewayServiceClient ¶
func NewApiGatewayServiceClient(cc grpc.ClientConnInterface) ApiGatewayServiceClient
type ApiGatewayServiceServer ¶
type ApiGatewayServiceServer interface { // Returns the specified API gateway. Note that only API gateway basic attributes are returned. // To get associated openapi specification, make a [GetOpenapiSpec] request. // // To get the list of all available API gateways, make a [List] request. Get(context.Context, *GetApiGatewayRequest) (*ApiGateway, error) // Retrieves the list of API gateways in the specified folder. List(context.Context, *ListApiGatewayRequest) (*ListApiGatewayResponse, error) // Creates an API gateway in the specified folder. Create(context.Context, *CreateApiGatewayRequest) (*operation.Operation, error) // Updates the specified API gateway. Update(context.Context, *UpdateApiGatewayRequest) (*operation.Operation, error) // Deletes the specified API gateway. Delete(context.Context, *DeleteApiGatewayRequest) (*operation.Operation, error) // Attaches domain to the specified API gateway. AddDomain(context.Context, *AddDomainRequest) (*operation.Operation, error) // Detaches domain from the specified API gateway. RemoveDomain(context.Context, *RemoveDomainRequest) (*operation.Operation, error) // Returns the OpenAPI specification of specified API gateway. GetOpenapiSpec(context.Context, *GetOpenapiSpecRequest) (*GetOpenapiSpecResponse, error) // Lists operations for the specified API gateway. ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) // Lists existing access bindings for the specified API gateway. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified API gateway. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified API gateway. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
ApiGatewayServiceServer is the server API for ApiGatewayService service. All implementations should embed UnimplementedApiGatewayServiceServer for forward compatibility.
A set of methods for managing API gateways.
type ApiGateway_Status ¶
type ApiGateway_Status int32
const ( ApiGateway_STATUS_UNSPECIFIED ApiGateway_Status = 0 // API gateway is being created. ApiGateway_CREATING ApiGateway_Status = 1 // API gateway is ready for use. ApiGateway_ACTIVE ApiGateway_Status = 2 // API gateway is being deleted. ApiGateway_DELETING ApiGateway_Status = 3 // API gateway failed. The only allowed action is delete. ApiGateway_ERROR ApiGateway_Status = 4 // API gateway is being updated. ApiGateway_UPDATING ApiGateway_Status = 5 )
func (ApiGateway_Status) Descriptor ¶
func (ApiGateway_Status) Descriptor() protoreflect.EnumDescriptor
func (ApiGateway_Status) Enum ¶
func (x ApiGateway_Status) Enum() *ApiGateway_Status
func (ApiGateway_Status) EnumDescriptor
deprecated
func (ApiGateway_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApiGateway_Status.Descriptor instead.
func (ApiGateway_Status) Number ¶
func (x ApiGateway_Status) Number() protoreflect.EnumNumber
func (ApiGateway_Status) String ¶
func (x ApiGateway_Status) String() string
func (ApiGateway_Status) Type ¶
func (ApiGateway_Status) Type() protoreflect.EnumType
type AttachedDomain ¶
type AttachedDomain struct { // ID of the domain. DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // ID of the domain certificate. CertificateId string `protobuf:"bytes,2,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // Enabling flag. Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // Name of the domain. Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*AttachedDomain) Descriptor
deprecated
func (*AttachedDomain) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDomain.ProtoReflect.Descriptor instead.
func (*AttachedDomain) GetCertificateId ¶
func (x *AttachedDomain) GetCertificateId() string
func (*AttachedDomain) GetDomain ¶
func (x *AttachedDomain) GetDomain() string
func (*AttachedDomain) GetDomainId ¶
func (x *AttachedDomain) GetDomainId() string
func (*AttachedDomain) GetEnabled ¶
func (x *AttachedDomain) GetEnabled() bool
func (*AttachedDomain) ProtoMessage ¶
func (*AttachedDomain) ProtoMessage()
func (*AttachedDomain) ProtoReflect ¶
func (x *AttachedDomain) ProtoReflect() protoreflect.Message
func (*AttachedDomain) Reset ¶
func (x *AttachedDomain) Reset()
func (*AttachedDomain) SetCertificateId ¶
func (m *AttachedDomain) SetCertificateId(v string)
func (*AttachedDomain) SetDomain ¶
func (m *AttachedDomain) SetDomain(v string)
func (*AttachedDomain) SetDomainId ¶
func (m *AttachedDomain) SetDomainId(v string)
func (*AttachedDomain) SetEnabled ¶
func (m *AttachedDomain) SetEnabled(v bool)
func (*AttachedDomain) String ¶
func (x *AttachedDomain) String() string
type Canary ¶
type Canary struct { // It describes percentage of requests, which will be processed by canary. Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"` // Values specification variables, associated with canary. Variables map[string]*VariableInput `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Canary) Descriptor
deprecated
func (*Canary) GetVariables ¶
func (x *Canary) GetVariables() map[string]*VariableInput
func (*Canary) ProtoMessage ¶
func (*Canary) ProtoMessage()
func (*Canary) ProtoReflect ¶
func (x *Canary) ProtoReflect() protoreflect.Message
func (*Canary) SetVariables ¶
func (m *Canary) SetVariables(v map[string]*VariableInput)
type Connectivity ¶
type Connectivity struct { // Network the gateway 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 gateway 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 }
Gateway 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 CreateApiGatewayMetadata ¶
type CreateApiGatewayMetadata struct { // ID of the API gateway that is being created. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // contains filtered or unexported fields }
func (*CreateApiGatewayMetadata) Descriptor
deprecated
func (*CreateApiGatewayMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiGatewayMetadata.ProtoReflect.Descriptor instead.
func (*CreateApiGatewayMetadata) GetApiGatewayId ¶
func (x *CreateApiGatewayMetadata) GetApiGatewayId() string
func (*CreateApiGatewayMetadata) ProtoMessage ¶
func (*CreateApiGatewayMetadata) ProtoMessage()
func (*CreateApiGatewayMetadata) ProtoReflect ¶
func (x *CreateApiGatewayMetadata) ProtoReflect() protoreflect.Message
func (*CreateApiGatewayMetadata) Reset ¶
func (x *CreateApiGatewayMetadata) Reset()
func (*CreateApiGatewayMetadata) SetApiGatewayId ¶
func (m *CreateApiGatewayMetadata) SetApiGatewayId(v string)
func (*CreateApiGatewayMetadata) String ¶
func (x *CreateApiGatewayMetadata) String() string
type CreateApiGatewayRequest ¶
type CreateApiGatewayRequest struct { // ID of the folder to create an API gateway 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 API gateway. // The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the API gateway. 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 */ // OpenAPI specification of API gateway. // // Types that are assignable to Spec: // // *CreateApiGatewayRequest_OpenapiSpec Spec isCreateApiGatewayRequest_Spec `protobuf_oneof:"spec"` // Gateway connectivity. If specified the gateway will be attached to specified network/subnet(s). Connectivity *Connectivity `protobuf:"bytes,6,opt,name=connectivity,proto3" json:"connectivity,omitempty"` // Options for logging from the API gateway. LogOptions *LogOptions `protobuf:"bytes,7,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // Values of variables defined in the specification. Variables map[string]*VariableInput `` /* 159-byte string literal not displayed */ // Canary release of the gateway. Canary *Canary `protobuf:"bytes,9,opt,name=canary,proto3" json:"canary,omitempty"` // Timeout for gateway call execution ExecutionTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // contains filtered or unexported fields }
func (*CreateApiGatewayRequest) Descriptor
deprecated
func (*CreateApiGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiGatewayRequest.ProtoReflect.Descriptor instead.
func (*CreateApiGatewayRequest) GetCanary ¶
func (x *CreateApiGatewayRequest) GetCanary() *Canary
func (*CreateApiGatewayRequest) GetConnectivity ¶
func (x *CreateApiGatewayRequest) GetConnectivity() *Connectivity
func (*CreateApiGatewayRequest) GetDescription ¶
func (x *CreateApiGatewayRequest) GetDescription() string
func (*CreateApiGatewayRequest) GetExecutionTimeout ¶
func (x *CreateApiGatewayRequest) GetExecutionTimeout() *durationpb.Duration
func (*CreateApiGatewayRequest) GetFolderId ¶
func (x *CreateApiGatewayRequest) GetFolderId() string
func (*CreateApiGatewayRequest) GetLabels ¶
func (x *CreateApiGatewayRequest) GetLabels() map[string]string
func (*CreateApiGatewayRequest) GetLogOptions ¶
func (x *CreateApiGatewayRequest) GetLogOptions() *LogOptions
func (*CreateApiGatewayRequest) GetName ¶
func (x *CreateApiGatewayRequest) GetName() string
func (*CreateApiGatewayRequest) GetOpenapiSpec ¶
func (x *CreateApiGatewayRequest) GetOpenapiSpec() string
func (*CreateApiGatewayRequest) GetSpec ¶
func (m *CreateApiGatewayRequest) GetSpec() isCreateApiGatewayRequest_Spec
func (*CreateApiGatewayRequest) GetVariables ¶
func (x *CreateApiGatewayRequest) GetVariables() map[string]*VariableInput
func (*CreateApiGatewayRequest) ProtoMessage ¶
func (*CreateApiGatewayRequest) ProtoMessage()
func (*CreateApiGatewayRequest) ProtoReflect ¶
func (x *CreateApiGatewayRequest) ProtoReflect() protoreflect.Message
func (*CreateApiGatewayRequest) Reset ¶
func (x *CreateApiGatewayRequest) Reset()
func (*CreateApiGatewayRequest) SetCanary ¶
func (m *CreateApiGatewayRequest) SetCanary(v *Canary)
func (*CreateApiGatewayRequest) SetConnectivity ¶
func (m *CreateApiGatewayRequest) SetConnectivity(v *Connectivity)
func (*CreateApiGatewayRequest) SetDescription ¶
func (m *CreateApiGatewayRequest) SetDescription(v string)
func (*CreateApiGatewayRequest) SetExecutionTimeout ¶
func (m *CreateApiGatewayRequest) SetExecutionTimeout(v *durationpb.Duration)
func (*CreateApiGatewayRequest) SetFolderId ¶
func (m *CreateApiGatewayRequest) SetFolderId(v string)
func (*CreateApiGatewayRequest) SetLabels ¶
func (m *CreateApiGatewayRequest) SetLabels(v map[string]string)
func (*CreateApiGatewayRequest) SetLogOptions ¶
func (m *CreateApiGatewayRequest) SetLogOptions(v *LogOptions)
func (*CreateApiGatewayRequest) SetName ¶
func (m *CreateApiGatewayRequest) SetName(v string)
func (*CreateApiGatewayRequest) SetOpenapiSpec ¶
func (m *CreateApiGatewayRequest) SetOpenapiSpec(v string)
func (*CreateApiGatewayRequest) SetSpec ¶
func (m *CreateApiGatewayRequest) SetSpec(v CreateApiGatewayRequest_Spec)
func (*CreateApiGatewayRequest) SetVariables ¶
func (m *CreateApiGatewayRequest) SetVariables(v map[string]*VariableInput)
func (*CreateApiGatewayRequest) String ¶
func (x *CreateApiGatewayRequest) String() string
type CreateApiGatewayRequest_OpenapiSpec ¶
type CreateApiGatewayRequest_OpenapiSpec struct { // The text of specification, JSON or YAML. OpenapiSpec string `protobuf:"bytes,5,opt,name=openapi_spec,json=openapiSpec,proto3,oneof"` }
type CreateApiGatewayRequest_Spec ¶
type CreateApiGatewayRequest_Spec = isCreateApiGatewayRequest_Spec
type DeleteApiGatewayMetadata ¶
type DeleteApiGatewayMetadata struct { // ID of the API gateway that is being deleted. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteApiGatewayMetadata) Descriptor
deprecated
func (*DeleteApiGatewayMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiGatewayMetadata.ProtoReflect.Descriptor instead.
func (*DeleteApiGatewayMetadata) GetApiGatewayId ¶
func (x *DeleteApiGatewayMetadata) GetApiGatewayId() string
func (*DeleteApiGatewayMetadata) ProtoMessage ¶
func (*DeleteApiGatewayMetadata) ProtoMessage()
func (*DeleteApiGatewayMetadata) ProtoReflect ¶
func (x *DeleteApiGatewayMetadata) ProtoReflect() protoreflect.Message
func (*DeleteApiGatewayMetadata) Reset ¶
func (x *DeleteApiGatewayMetadata) Reset()
func (*DeleteApiGatewayMetadata) SetApiGatewayId ¶
func (m *DeleteApiGatewayMetadata) SetApiGatewayId(v string)
func (*DeleteApiGatewayMetadata) String ¶
func (x *DeleteApiGatewayMetadata) String() string
type DeleteApiGatewayRequest ¶
type DeleteApiGatewayRequest struct { // ID of the API gateway to update. // // To get a API gateway ID make a [ApiGatewayService.List] request. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteApiGatewayRequest) Descriptor
deprecated
func (*DeleteApiGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiGatewayRequest.ProtoReflect.Descriptor instead.
func (*DeleteApiGatewayRequest) GetApiGatewayId ¶
func (x *DeleteApiGatewayRequest) GetApiGatewayId() string
func (*DeleteApiGatewayRequest) ProtoMessage ¶
func (*DeleteApiGatewayRequest) ProtoMessage()
func (*DeleteApiGatewayRequest) ProtoReflect ¶
func (x *DeleteApiGatewayRequest) ProtoReflect() protoreflect.Message
func (*DeleteApiGatewayRequest) Reset ¶
func (x *DeleteApiGatewayRequest) Reset()
func (*DeleteApiGatewayRequest) SetApiGatewayId ¶
func (m *DeleteApiGatewayRequest) SetApiGatewayId(v string)
func (*DeleteApiGatewayRequest) String ¶
func (x *DeleteApiGatewayRequest) String() string
type GetApiGatewayRequest ¶
type GetApiGatewayRequest struct { // ID of the API gateway to return. // // To get a API gateway ID make a [ApiGatewayService.List] request. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // contains filtered or unexported fields }
func (*GetApiGatewayRequest) Descriptor
deprecated
func (*GetApiGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApiGatewayRequest.ProtoReflect.Descriptor instead.
func (*GetApiGatewayRequest) GetApiGatewayId ¶
func (x *GetApiGatewayRequest) GetApiGatewayId() string
func (*GetApiGatewayRequest) ProtoMessage ¶
func (*GetApiGatewayRequest) ProtoMessage()
func (*GetApiGatewayRequest) ProtoReflect ¶
func (x *GetApiGatewayRequest) ProtoReflect() protoreflect.Message
func (*GetApiGatewayRequest) Reset ¶
func (x *GetApiGatewayRequest) Reset()
func (*GetApiGatewayRequest) SetApiGatewayId ¶
func (m *GetApiGatewayRequest) SetApiGatewayId(v string)
func (*GetApiGatewayRequest) String ¶
func (x *GetApiGatewayRequest) String() string
type GetOpenapiSpecRequest ¶
type GetOpenapiSpecRequest struct { // ID of the API gateway to get specification from. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // Format of returned specification. Default is the original format used in [CreateApiGatewayRequest]. Format GetOpenapiSpecRequest_Format `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetOpenapiSpecRequest) Descriptor
deprecated
func (*GetOpenapiSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenapiSpecRequest.ProtoReflect.Descriptor instead.
func (*GetOpenapiSpecRequest) GetApiGatewayId ¶
func (x *GetOpenapiSpecRequest) GetApiGatewayId() string
func (*GetOpenapiSpecRequest) GetFormat ¶
func (x *GetOpenapiSpecRequest) GetFormat() GetOpenapiSpecRequest_Format
func (*GetOpenapiSpecRequest) ProtoMessage ¶
func (*GetOpenapiSpecRequest) ProtoMessage()
func (*GetOpenapiSpecRequest) ProtoReflect ¶
func (x *GetOpenapiSpecRequest) ProtoReflect() protoreflect.Message
func (*GetOpenapiSpecRequest) Reset ¶
func (x *GetOpenapiSpecRequest) Reset()
func (*GetOpenapiSpecRequest) SetApiGatewayId ¶
func (m *GetOpenapiSpecRequest) SetApiGatewayId(v string)
func (*GetOpenapiSpecRequest) SetFormat ¶
func (m *GetOpenapiSpecRequest) SetFormat(v GetOpenapiSpecRequest_Format)
func (*GetOpenapiSpecRequest) String ¶
func (x *GetOpenapiSpecRequest) String() string
type GetOpenapiSpecRequest_Format ¶
type GetOpenapiSpecRequest_Format int32
const ( GetOpenapiSpecRequest_FORMAT_UNSPECIFIED GetOpenapiSpecRequest_Format = 0 GetOpenapiSpecRequest_JSON GetOpenapiSpecRequest_Format = 1 GetOpenapiSpecRequest_YAML GetOpenapiSpecRequest_Format = 2 )
func (GetOpenapiSpecRequest_Format) Descriptor ¶
func (GetOpenapiSpecRequest_Format) Descriptor() protoreflect.EnumDescriptor
func (GetOpenapiSpecRequest_Format) Enum ¶
func (x GetOpenapiSpecRequest_Format) Enum() *GetOpenapiSpecRequest_Format
func (GetOpenapiSpecRequest_Format) EnumDescriptor
deprecated
func (GetOpenapiSpecRequest_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetOpenapiSpecRequest_Format.Descriptor instead.
func (GetOpenapiSpecRequest_Format) Number ¶
func (x GetOpenapiSpecRequest_Format) Number() protoreflect.EnumNumber
func (GetOpenapiSpecRequest_Format) String ¶
func (x GetOpenapiSpecRequest_Format) String() string
func (GetOpenapiSpecRequest_Format) Type ¶
func (GetOpenapiSpecRequest_Format) Type() protoreflect.EnumType
type GetOpenapiSpecResponse ¶
type GetOpenapiSpecResponse struct { // ID of the API gateway. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // The text of specification, JSON or YAML. OpenapiSpec string `protobuf:"bytes,2,opt,name=openapi_spec,json=openapiSpec,proto3" json:"openapi_spec,omitempty"` // contains filtered or unexported fields }
func (*GetOpenapiSpecResponse) Descriptor
deprecated
func (*GetOpenapiSpecResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenapiSpecResponse.ProtoReflect.Descriptor instead.
func (*GetOpenapiSpecResponse) GetApiGatewayId ¶
func (x *GetOpenapiSpecResponse) GetApiGatewayId() string
func (*GetOpenapiSpecResponse) GetOpenapiSpec ¶
func (x *GetOpenapiSpecResponse) GetOpenapiSpec() string
func (*GetOpenapiSpecResponse) ProtoMessage ¶
func (*GetOpenapiSpecResponse) ProtoMessage()
func (*GetOpenapiSpecResponse) ProtoReflect ¶
func (x *GetOpenapiSpecResponse) ProtoReflect() protoreflect.Message
func (*GetOpenapiSpecResponse) Reset ¶
func (x *GetOpenapiSpecResponse) Reset()
func (*GetOpenapiSpecResponse) SetApiGatewayId ¶
func (m *GetOpenapiSpecResponse) SetApiGatewayId(v string)
func (*GetOpenapiSpecResponse) SetOpenapiSpec ¶
func (m *GetOpenapiSpecResponse) SetOpenapiSpec(v string)
func (*GetOpenapiSpecResponse) String ¶
func (x *GetOpenapiSpecResponse) String() string
type ListApiGatewayRequest ¶
type ListApiGatewayRequest struct { // ID of the folder to list API gateways 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 [ListApiGatewayResponse.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 // [ListApiGatewayResponse.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 [ApiGateway.name](index) 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]{0,61}[a-z0-9])?`. // Example of a filter: `name=my-apigw`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListApiGatewayRequest) Descriptor
deprecated
func (*ListApiGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApiGatewayRequest.ProtoReflect.Descriptor instead.
func (*ListApiGatewayRequest) GetFilter ¶
func (x *ListApiGatewayRequest) GetFilter() string
func (*ListApiGatewayRequest) GetFolderId ¶
func (x *ListApiGatewayRequest) GetFolderId() string
func (*ListApiGatewayRequest) GetPageSize ¶
func (x *ListApiGatewayRequest) GetPageSize() int64
func (*ListApiGatewayRequest) GetPageToken ¶
func (x *ListApiGatewayRequest) GetPageToken() string
func (*ListApiGatewayRequest) ProtoMessage ¶
func (*ListApiGatewayRequest) ProtoMessage()
func (*ListApiGatewayRequest) ProtoReflect ¶
func (x *ListApiGatewayRequest) ProtoReflect() protoreflect.Message
func (*ListApiGatewayRequest) Reset ¶
func (x *ListApiGatewayRequest) Reset()
func (*ListApiGatewayRequest) SetFilter ¶
func (m *ListApiGatewayRequest) SetFilter(v string)
func (*ListApiGatewayRequest) SetFolderId ¶
func (m *ListApiGatewayRequest) SetFolderId(v string)
func (*ListApiGatewayRequest) SetPageSize ¶
func (m *ListApiGatewayRequest) SetPageSize(v int64)
func (*ListApiGatewayRequest) SetPageToken ¶
func (m *ListApiGatewayRequest) SetPageToken(v string)
func (*ListApiGatewayRequest) String ¶
func (x *ListApiGatewayRequest) String() string
type ListApiGatewayResponse ¶
type ListApiGatewayResponse struct { // List of API gateways in the specified folder. ApiGateways []*ApiGateway `protobuf:"bytes,1,rep,name=api_gateways,json=apiGateways,proto3" json:"api_gateways,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListApiGatewayRequest.page_size], use `nextPageToken` as the value // for the [ListApiGatewayRequest.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 (*ListApiGatewayResponse) Descriptor
deprecated
func (*ListApiGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApiGatewayResponse.ProtoReflect.Descriptor instead.
func (*ListApiGatewayResponse) GetApiGateways ¶
func (x *ListApiGatewayResponse) GetApiGateways() []*ApiGateway
func (*ListApiGatewayResponse) GetNextPageToken ¶
func (x *ListApiGatewayResponse) GetNextPageToken() string
func (*ListApiGatewayResponse) ProtoMessage ¶
func (*ListApiGatewayResponse) ProtoMessage()
func (*ListApiGatewayResponse) ProtoReflect ¶
func (x *ListApiGatewayResponse) ProtoReflect() protoreflect.Message
func (*ListApiGatewayResponse) Reset ¶
func (x *ListApiGatewayResponse) Reset()
func (*ListApiGatewayResponse) SetApiGateways ¶
func (m *ListApiGatewayResponse) SetApiGateways(v []*ApiGateway)
func (*ListApiGatewayResponse) SetNextPageToken ¶
func (m *ListApiGatewayResponse) SetNextPageToken(v string)
func (*ListApiGatewayResponse) String ¶
func (x *ListApiGatewayResponse) String() string
type ListOperationsRequest ¶
type ListOperationsRequest struct { // ID of the API gateway to list operations for. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_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 [ListOperationsResponse.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 // [ListOperationsResponse.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 (*ListOperationsRequest) Descriptor
deprecated
func (*ListOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest) GetApiGatewayId ¶
func (x *ListOperationsRequest) GetApiGatewayId() string
func (*ListOperationsRequest) GetFilter ¶
func (x *ListOperationsRequest) GetFilter() string
func (*ListOperationsRequest) GetPageSize ¶
func (x *ListOperationsRequest) GetPageSize() int64
func (*ListOperationsRequest) GetPageToken ¶
func (x *ListOperationsRequest) GetPageToken() string
func (*ListOperationsRequest) ProtoMessage ¶
func (*ListOperationsRequest) ProtoMessage()
func (*ListOperationsRequest) ProtoReflect ¶
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListOperationsRequest) Reset ¶
func (x *ListOperationsRequest) Reset()
func (*ListOperationsRequest) SetApiGatewayId ¶
func (m *ListOperationsRequest) SetApiGatewayId(v string)
func (*ListOperationsRequest) SetFilter ¶
func (m *ListOperationsRequest) SetFilter(v string)
func (*ListOperationsRequest) SetPageSize ¶
func (m *ListOperationsRequest) SetPageSize(v int64)
func (*ListOperationsRequest) SetPageToken ¶
func (m *ListOperationsRequest) SetPageToken(v string)
func (*ListOperationsRequest) String ¶
func (x *ListOperationsRequest) String() string
type ListOperationsResponse ¶
type ListOperationsResponse struct { // List of operations for the specified API gateway. 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 [ListOperationsRequest.page_size], use `nextPageToken` as the value // for the [ListOperationsRequest.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 (*ListOperationsResponse) Descriptor
deprecated
func (*ListOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListOperationsResponse) GetNextPageToken ¶
func (x *ListOperationsResponse) GetNextPageToken() string
func (*ListOperationsResponse) GetOperations ¶
func (x *ListOperationsResponse) GetOperations() []*operation.Operation
func (*ListOperationsResponse) ProtoMessage ¶
func (*ListOperationsResponse) ProtoMessage()
func (*ListOperationsResponse) ProtoReflect ¶
func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListOperationsResponse) Reset ¶
func (x *ListOperationsResponse) Reset()
func (*ListOperationsResponse) SetNextPageToken ¶
func (m *ListOperationsResponse) SetNextPageToken(v string)
func (*ListOperationsResponse) SetOperations ¶
func (m *ListOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListOperationsResponse) String ¶
func (x *ListOperationsResponse) String() string
type LogOptions ¶
type LogOptions struct { // Is logging from API gateway 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 RemoveDomainMetadata ¶
type RemoveDomainMetadata struct { // ID of the API gateway from which the domain is being detached. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // ID of the detaching domain. DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveDomainMetadata) Descriptor
deprecated
func (*RemoveDomainMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDomainMetadata.ProtoReflect.Descriptor instead.
func (*RemoveDomainMetadata) GetApiGatewayId ¶
func (x *RemoveDomainMetadata) GetApiGatewayId() string
func (*RemoveDomainMetadata) GetDomainId ¶
func (x *RemoveDomainMetadata) GetDomainId() string
func (*RemoveDomainMetadata) ProtoMessage ¶
func (*RemoveDomainMetadata) ProtoMessage()
func (*RemoveDomainMetadata) ProtoReflect ¶
func (x *RemoveDomainMetadata) ProtoReflect() protoreflect.Message
func (*RemoveDomainMetadata) Reset ¶
func (x *RemoveDomainMetadata) Reset()
func (*RemoveDomainMetadata) SetApiGatewayId ¶
func (m *RemoveDomainMetadata) SetApiGatewayId(v string)
func (*RemoveDomainMetadata) SetDomainId ¶
func (m *RemoveDomainMetadata) SetDomainId(v string)
func (*RemoveDomainMetadata) String ¶
func (x *RemoveDomainMetadata) String() string
type RemoveDomainRequest ¶
type RemoveDomainRequest struct { // ID of the API gateway from which the domain is being detached. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // ID of the detaching domain. DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveDomainRequest) Descriptor
deprecated
func (*RemoveDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDomainRequest.ProtoReflect.Descriptor instead.
func (*RemoveDomainRequest) GetApiGatewayId ¶
func (x *RemoveDomainRequest) GetApiGatewayId() string
func (*RemoveDomainRequest) GetDomainId ¶
func (x *RemoveDomainRequest) GetDomainId() string
func (*RemoveDomainRequest) ProtoMessage ¶
func (*RemoveDomainRequest) ProtoMessage()
func (*RemoveDomainRequest) ProtoReflect ¶
func (x *RemoveDomainRequest) ProtoReflect() protoreflect.Message
func (*RemoveDomainRequest) Reset ¶
func (x *RemoveDomainRequest) Reset()
func (*RemoveDomainRequest) SetApiGatewayId ¶
func (m *RemoveDomainRequest) SetApiGatewayId(v string)
func (*RemoveDomainRequest) SetDomainId ¶
func (m *RemoveDomainRequest) SetDomainId(v string)
func (*RemoveDomainRequest) String ¶
func (x *RemoveDomainRequest) String() string
type UnimplementedApiGatewayServiceServer ¶
type UnimplementedApiGatewayServiceServer struct{}
UnimplementedApiGatewayServiceServer 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 (UnimplementedApiGatewayServiceServer) AddDomain ¶
func (UnimplementedApiGatewayServiceServer) AddDomain(context.Context, *AddDomainRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) Create ¶
func (UnimplementedApiGatewayServiceServer) Create(context.Context, *CreateApiGatewayRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) Delete ¶
func (UnimplementedApiGatewayServiceServer) Delete(context.Context, *DeleteApiGatewayRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) Get ¶
func (UnimplementedApiGatewayServiceServer) Get(context.Context, *GetApiGatewayRequest) (*ApiGateway, error)
func (UnimplementedApiGatewayServiceServer) GetOpenapiSpec ¶
func (UnimplementedApiGatewayServiceServer) GetOpenapiSpec(context.Context, *GetOpenapiSpecRequest) (*GetOpenapiSpecResponse, error)
func (UnimplementedApiGatewayServiceServer) ListAccessBindings ¶
func (UnimplementedApiGatewayServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedApiGatewayServiceServer) ListOperations ¶
func (UnimplementedApiGatewayServiceServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
func (UnimplementedApiGatewayServiceServer) RemoveDomain ¶
func (UnimplementedApiGatewayServiceServer) RemoveDomain(context.Context, *RemoveDomainRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) SetAccessBindings ¶
func (UnimplementedApiGatewayServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) Update ¶
func (UnimplementedApiGatewayServiceServer) Update(context.Context, *UpdateApiGatewayRequest) (*operation.Operation, error)
func (UnimplementedApiGatewayServiceServer) UpdateAccessBindings ¶
func (UnimplementedApiGatewayServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnsafeApiGatewayServiceServer ¶
type UnsafeApiGatewayServiceServer interface {
// contains filtered or unexported methods
}
UnsafeApiGatewayServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiGatewayServiceServer will result in compilation errors.
type UpdateApiGatewayMetadata ¶
type UpdateApiGatewayMetadata struct { // ID of the API gateway that is being updated. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateApiGatewayMetadata) Descriptor
deprecated
func (*UpdateApiGatewayMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiGatewayMetadata.ProtoReflect.Descriptor instead.
func (*UpdateApiGatewayMetadata) GetApiGatewayId ¶
func (x *UpdateApiGatewayMetadata) GetApiGatewayId() string
func (*UpdateApiGatewayMetadata) ProtoMessage ¶
func (*UpdateApiGatewayMetadata) ProtoMessage()
func (*UpdateApiGatewayMetadata) ProtoReflect ¶
func (x *UpdateApiGatewayMetadata) ProtoReflect() protoreflect.Message
func (*UpdateApiGatewayMetadata) Reset ¶
func (x *UpdateApiGatewayMetadata) Reset()
func (*UpdateApiGatewayMetadata) SetApiGatewayId ¶
func (m *UpdateApiGatewayMetadata) SetApiGatewayId(v string)
func (*UpdateApiGatewayMetadata) String ¶
func (x *UpdateApiGatewayMetadata) String() string
type UpdateApiGatewayRequest ¶
type UpdateApiGatewayRequest struct { // ID of the API gateway to update. // // To get a API gateway ID make a [ApiGatewayService.List] request. ApiGatewayId string `protobuf:"bytes,1,opt,name=api_gateway_id,json=apiGatewayId,proto3" json:"api_gateway_id,omitempty"` // Field mask that specifies which attributes of the API gateway should be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New name for the API gateway. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New description for the API gateway. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // API gateway 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 [yandex.cloud.serverless.apigateway.v1.ApiGatewayService.Get] request. Labels map[string]string `` /* 153-byte string literal not displayed */ // New OpenAPI specification of API gateway. // // Types that are assignable to Spec: // // *UpdateApiGatewayRequest_OpenapiSpec Spec isUpdateApiGatewayRequest_Spec `protobuf_oneof:"spec"` // Gateway connectivity. If specified the gateway will be attached to specified network/subnet(s). Connectivity *Connectivity `protobuf:"bytes,7,opt,name=connectivity,proto3" json:"connectivity,omitempty"` // Options for logging from the API gateway. LogOptions *LogOptions `protobuf:"bytes,8,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // Values of variables defined in the specification. Variables map[string]*VariableInput `` /* 159-byte string literal not displayed */ // Canary release of the gateway. Canary *Canary `protobuf:"bytes,10,opt,name=canary,proto3" json:"canary,omitempty"` // Timeout for gateway call execution ExecutionTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // contains filtered or unexported fields }
func (*UpdateApiGatewayRequest) Descriptor
deprecated
func (*UpdateApiGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiGatewayRequest.ProtoReflect.Descriptor instead.
func (*UpdateApiGatewayRequest) GetApiGatewayId ¶
func (x *UpdateApiGatewayRequest) GetApiGatewayId() string
func (*UpdateApiGatewayRequest) GetCanary ¶
func (x *UpdateApiGatewayRequest) GetCanary() *Canary
func (*UpdateApiGatewayRequest) GetConnectivity ¶
func (x *UpdateApiGatewayRequest) GetConnectivity() *Connectivity
func (*UpdateApiGatewayRequest) GetDescription ¶
func (x *UpdateApiGatewayRequest) GetDescription() string
func (*UpdateApiGatewayRequest) GetExecutionTimeout ¶
func (x *UpdateApiGatewayRequest) GetExecutionTimeout() *durationpb.Duration
func (*UpdateApiGatewayRequest) GetLabels ¶
func (x *UpdateApiGatewayRequest) GetLabels() map[string]string
func (*UpdateApiGatewayRequest) GetLogOptions ¶
func (x *UpdateApiGatewayRequest) GetLogOptions() *LogOptions
func (*UpdateApiGatewayRequest) GetName ¶
func (x *UpdateApiGatewayRequest) GetName() string
func (*UpdateApiGatewayRequest) GetOpenapiSpec ¶
func (x *UpdateApiGatewayRequest) GetOpenapiSpec() string
func (*UpdateApiGatewayRequest) GetSpec ¶
func (m *UpdateApiGatewayRequest) GetSpec() isUpdateApiGatewayRequest_Spec
func (*UpdateApiGatewayRequest) GetUpdateMask ¶
func (x *UpdateApiGatewayRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateApiGatewayRequest) GetVariables ¶
func (x *UpdateApiGatewayRequest) GetVariables() map[string]*VariableInput
func (*UpdateApiGatewayRequest) ProtoMessage ¶
func (*UpdateApiGatewayRequest) ProtoMessage()
func (*UpdateApiGatewayRequest) ProtoReflect ¶
func (x *UpdateApiGatewayRequest) ProtoReflect() protoreflect.Message
func (*UpdateApiGatewayRequest) Reset ¶
func (x *UpdateApiGatewayRequest) Reset()
func (*UpdateApiGatewayRequest) SetApiGatewayId ¶
func (m *UpdateApiGatewayRequest) SetApiGatewayId(v string)
func (*UpdateApiGatewayRequest) SetCanary ¶
func (m *UpdateApiGatewayRequest) SetCanary(v *Canary)
func (*UpdateApiGatewayRequest) SetConnectivity ¶
func (m *UpdateApiGatewayRequest) SetConnectivity(v *Connectivity)
func (*UpdateApiGatewayRequest) SetDescription ¶
func (m *UpdateApiGatewayRequest) SetDescription(v string)
func (*UpdateApiGatewayRequest) SetExecutionTimeout ¶
func (m *UpdateApiGatewayRequest) SetExecutionTimeout(v *durationpb.Duration)
func (*UpdateApiGatewayRequest) SetLabels ¶
func (m *UpdateApiGatewayRequest) SetLabels(v map[string]string)
func (*UpdateApiGatewayRequest) SetLogOptions ¶
func (m *UpdateApiGatewayRequest) SetLogOptions(v *LogOptions)
func (*UpdateApiGatewayRequest) SetName ¶
func (m *UpdateApiGatewayRequest) SetName(v string)
func (*UpdateApiGatewayRequest) SetOpenapiSpec ¶
func (m *UpdateApiGatewayRequest) SetOpenapiSpec(v string)
func (*UpdateApiGatewayRequest) SetSpec ¶
func (m *UpdateApiGatewayRequest) SetSpec(v UpdateApiGatewayRequest_Spec)
func (*UpdateApiGatewayRequest) SetUpdateMask ¶
func (m *UpdateApiGatewayRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateApiGatewayRequest) SetVariables ¶
func (m *UpdateApiGatewayRequest) SetVariables(v map[string]*VariableInput)
func (*UpdateApiGatewayRequest) String ¶
func (x *UpdateApiGatewayRequest) String() string
type UpdateApiGatewayRequest_OpenapiSpec ¶
type UpdateApiGatewayRequest_OpenapiSpec struct { // The text of specification, JSON or YAML. OpenapiSpec string `protobuf:"bytes,6,opt,name=openapi_spec,json=openapiSpec,proto3,oneof"` }
type UpdateApiGatewayRequest_Spec ¶
type UpdateApiGatewayRequest_Spec = isUpdateApiGatewayRequest_Spec
type VariableInput ¶
type VariableInput struct { // Variable value that can has only primitive type // // Types that are assignable to VariableValue: // // *VariableInput_StringValue // *VariableInput_IntValue // *VariableInput_DoubleValue // *VariableInput_BoolValue VariableValue isVariableInput_VariableValue `protobuf_oneof:"variable_value"` // contains filtered or unexported fields }
func (*VariableInput) Descriptor
deprecated
func (*VariableInput) Descriptor() ([]byte, []int)
Deprecated: Use VariableInput.ProtoReflect.Descriptor instead.
func (*VariableInput) GetBoolValue ¶
func (x *VariableInput) GetBoolValue() bool
func (*VariableInput) GetDoubleValue ¶
func (x *VariableInput) GetDoubleValue() float64
func (*VariableInput) GetIntValue ¶
func (x *VariableInput) GetIntValue() int64
func (*VariableInput) GetStringValue ¶
func (x *VariableInput) GetStringValue() string
func (*VariableInput) GetVariableValue ¶
func (m *VariableInput) GetVariableValue() isVariableInput_VariableValue
func (*VariableInput) ProtoMessage ¶
func (*VariableInput) ProtoMessage()
func (*VariableInput) ProtoReflect ¶
func (x *VariableInput) ProtoReflect() protoreflect.Message
func (*VariableInput) Reset ¶
func (x *VariableInput) Reset()
func (*VariableInput) SetBoolValue ¶
func (m *VariableInput) SetBoolValue(v bool)
func (*VariableInput) SetDoubleValue ¶
func (m *VariableInput) SetDoubleValue(v float64)
func (*VariableInput) SetIntValue ¶
func (m *VariableInput) SetIntValue(v int64)
func (*VariableInput) SetStringValue ¶
func (m *VariableInput) SetStringValue(v string)
func (*VariableInput) SetVariableValue ¶
func (m *VariableInput) SetVariableValue(v VariableInput_VariableValue)
func (*VariableInput) String ¶
func (x *VariableInput) String() string
type VariableInput_BoolValue ¶
type VariableInput_BoolValue struct {
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type VariableInput_DoubleValue ¶
type VariableInput_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type VariableInput_IntValue ¶
type VariableInput_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type VariableInput_StringValue ¶
type VariableInput_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type VariableInput_VariableValue ¶
type VariableInput_VariableValue = isVariableInput_VariableValue