aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/cdn/v1/origin_group.proto
blob: a10813f811578b8eb62a5893ee2fc03a22941039 (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
28
29
syntax = "proto3";

package yandex.cloud.cdn.v1;

import "yandex/cloud/cdn/v1/origin.proto";

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

// Origin group parameters. For details about the concept, see [documentation](/docs/cdn/concepts/origins#groups).
message OriginGroup {
    // ID of the origin group. Generated at creation time.
    int64 id = 1;
    
    // ID of the folder that the origin group belongs to.
    string folder_id = 2;

    // Name of the origin group.
    string name = 3;

    // This option have two possible conditions:
    // true - the option is active. In case the origin responds with 4XX or 5XX codes,
    //        use the next origin from the list.
    // false - the option is disabled.
    bool use_next = 4;

    // List of origins.
    repeated Origin origins = 5;
}