-
Notifications
You must be signed in to change notification settings - Fork 353
/
common_069.proto
73 lines (59 loc) · 2.73 KB
/
common_069.proto
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Generated by the C++ microgenerator.
// If you make any local changes, they will be lost.
// file:///workspace/generator/discovery/compute_public_google_rest_v1.json
// revision: 20230920
syntax = "proto3";
package google.cloud.cpp.compute.v1;
// Represents a License Code resource. A License Code is a unique identifier
// used to represent a license resource. *Caution* This resource is intended for
// use only by third-party partners who are creating Cloud Marketplace images.
message LicenseCode {
// [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 1;
// [Output Only] Description of this License Code.
optional string description = 2;
// [Output Only] The unique identifier for the resource. This identifier is
// defined by the server.
optional string id = 3;
// [Output Only] Type of resource. Always compute#licenseCode for licenses.
optional string kind = 4;
// [Output Only] URL and description aliases of Licenses with the same License
// Code.
repeated LicenseCodeLicenseAlias license_alias = 5;
// [Output Only] Name of the resource. The name is 1-20 characters long and
// must be a valid 64 bit integer.
optional string name = 6;
// [Output Only] Server-defined URL for the resource.
optional string self_link = 7;
// [Output Only] Current state of this License Code.
// DISABLED: Machines are not allowed to attach boot disks with this License
// Code. Requests to create new resources with this license will be rejected.
// ENABLED: Use is allowed for anyone with USE_READ_ONLY access to this
// License Code.
// RESTRICTED: Use of this license is limited to a project whitelist.
// STATE_UNSPECIFIED:
// TERMINATED: Reserved state.
optional string state = 8;
// [Output Only] If true, the license will remain attached when creating
// images or snapshots from disks. Otherwise, the license is not transferred.
optional bool transferable = 9;
}
message LicenseCodeLicenseAlias {
// [Output Only] Description of this License Code.
optional string description = 1;
// [Output Only] URL of license corresponding to this License Code.
optional string self_link = 2;
}