blob: ad432919bf77107c5c08ec914a5abf1e77d857fa (
plain)
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
|
// Copyright 2022 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
//
// http://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.
syntax = "proto3";
package google.cloud.channel.v1;
option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
option java_multiple_files = true;
option java_outer_classname = "OperationsProto";
option java_package = "com.google.cloud.channel.v1";
// Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation].
message OperationMetadata {
// RPCs that return a Long Running Operation.
enum OperationType {
// Not used.
OPERATION_TYPE_UNSPECIFIED = 0;
// Long Running Operation was triggered by CreateEntitlement.
CREATE_ENTITLEMENT = 1;
// Long Running Operation was triggered by ChangeRenewalSettings.
CHANGE_RENEWAL_SETTINGS = 3;
// Long Running Operation was triggered by StartPaidService.
START_PAID_SERVICE = 5;
// Long Running Operation was triggered by ActivateEntitlement.
ACTIVATE_ENTITLEMENT = 7;
// Long Running Operation was triggered by SuspendEntitlement.
SUSPEND_ENTITLEMENT = 8;
// Long Running Operation was triggered by CancelEntitlement.
CANCEL_ENTITLEMENT = 9;
// Long Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS = 10;
// Long Running Operation was triggered by TransferEntitlementsToGoogle.
TRANSFER_ENTITLEMENTS_TO_GOOGLE = 11;
// Long Running Operation was triggered by ChangeOffer.
CHANGE_OFFER = 14;
// Long Running Operation was triggered by ChangeParameters.
CHANGE_PARAMETERS = 15;
// Long Running Operation was triggered by ProvisionCloudIdentity.
PROVISION_CLOUD_IDENTITY = 16;
}
// The RPC that initiated this Long Running Operation.
OperationType operation_type = 1;
}
|