aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/datasphere/v2/docker_image_service.proto
blob: 24fef49b9e89209c85d4ccbb5ca83486ad2827a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
syntax = "proto3";

package yandex.cloud.datasphere.v2;

import "google/api/annotations.proto";
import "yandex/cloud/api/operation.proto";
import "yandex/cloud/operation/operation.proto";
import "yandex/cloud/validation.proto";

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/datasphere/v2;datasphere";
option java_package = "yandex.cloud.api.datasphere.v2";

// A set of methods for managing Docker Images.
service DockerImageService {
  // Activates shared docker image in project
  rpc Activate (ActivateDockerImageRequest) returns (operation.Operation) {
    option (google.api.http) = {post: "/datasphere/v2/docker/activate" body: "*"};
    option (yandex.cloud.api.operation) = {
      response: "google.protobuf.Empty"
    };
  };
}

message ActivateDockerImageRequest {
  string project_id = 1 [(required) = true, (length) = "<=50"];
  string docker_id = 2 [(required) = true, (length) = "<=50"];
}