Debian Codegraph @

googleapis/cloud/policytroubleshooter/v1/alias.go

raw symbols SCIP
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package policytroubleshooter aliases all exported identifiers in package
18 // "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package policytroubleshooter
24
25 import (
26 src "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
31 const (
32 AccessState_ACCESS_STATE_UNSPECIFIED = src.AccessState_ACCESS_STATE_UNSPECIFIED
33 AccessState_GRANTED = src.AccessState_GRANTED
34 AccessState_NOT_GRANTED = src.AccessState_NOT_GRANTED
35 AccessState_UNKNOWN_CONDITIONAL = src.AccessState_UNKNOWN_CONDITIONAL
36 AccessState_UNKNOWN_INFO_DENIED = src.AccessState_UNKNOWN_INFO_DENIED
37 BindingExplanation_MEMBERSHIP_INCLUDED = src.BindingExplanation_MEMBERSHIP_INCLUDED
38 BindingExplanation_MEMBERSHIP_NOT_INCLUDED = src.BindingExplanation_MEMBERSHIP_NOT_INCLUDED
39 BindingExplanation_MEMBERSHIP_UNKNOWN_INFO_DENIED = src.BindingExplanation_MEMBERSHIP_UNKNOWN_INFO_DENIED
40 BindingExplanation_MEMBERSHIP_UNKNOWN_UNSUPPORTED = src.BindingExplanation_MEMBERSHIP_UNKNOWN_UNSUPPORTED
41 BindingExplanation_MEMBERSHIP_UNSPECIFIED = src.BindingExplanation_MEMBERSHIP_UNSPECIFIED
42 BindingExplanation_ROLE_PERMISSION_INCLUDED = src.BindingExplanation_ROLE_PERMISSION_INCLUDED
43 BindingExplanation_ROLE_PERMISSION_NOT_INCLUDED = src.BindingExplanation_ROLE_PERMISSION_NOT_INCLUDED
44 BindingExplanation_ROLE_PERMISSION_UNKNOWN_INFO_DENIED = src.BindingExplanation_ROLE_PERMISSION_UNKNOWN_INFO_DENIED
45 BindingExplanation_ROLE_PERMISSION_UNSPECIFIED = src.BindingExplanation_ROLE_PERMISSION_UNSPECIFIED
46 HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED = src.HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED
47 HeuristicRelevance_HIGH = src.HeuristicRelevance_HIGH
48 HeuristicRelevance_NORMAL = src.HeuristicRelevance_NORMAL
49 )
50
51 // Deprecated: Please use vars in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
52 var (
53 AccessState_name = src.AccessState_name
54 AccessState_value = src.AccessState_value
55 BindingExplanation_Membership_name = src.BindingExplanation_Membership_name
56 BindingExplanation_Membership_value = src.BindingExplanation_Membership_value
57 BindingExplanation_RolePermission_name = src.BindingExplanation_RolePermission_name
58 BindingExplanation_RolePermission_value = src.BindingExplanation_RolePermission_value
59 File_google_cloud_policytroubleshooter_v1_checker_proto = src.File_google_cloud_policytroubleshooter_v1_checker_proto
60 File_google_cloud_policytroubleshooter_v1_explanations_proto = src.File_google_cloud_policytroubleshooter_v1_explanations_proto
61 HeuristicRelevance_name = src.HeuristicRelevance_name
62 HeuristicRelevance_value = src.HeuristicRelevance_value
63 )
64
65 // Whether a member has a permission for a resource.
66 //
67 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
68 type AccessState = src.AccessState
69
70 // Information about the member, resource, and permission to check.
71 //
72 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
73 type AccessTuple = src.AccessTuple
74
75 // Details about how a binding in a policy affects a member's ability to use a
76 // permission.
77 //
78 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
79 type BindingExplanation = src.BindingExplanation
80
81 // Details about whether the binding includes the member.
82 //
83 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
84 type BindingExplanation_AnnotatedMembership = src.BindingExplanation_AnnotatedMembership
85
86 // Whether the binding includes the member.
87 //
88 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
89 type BindingExplanation_Membership = src.BindingExplanation_Membership
90
91 // Whether a role includes a specific permission.
92 //
93 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
94 type BindingExplanation_RolePermission = src.BindingExplanation_RolePermission
95
96 // Details about how a specific IAM [Policy][google.iam.v1.Policy] contributed
97 // to the access check.
98 //
99 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
100 type ExplainedPolicy = src.ExplainedPolicy
101
102 // The extent to which a single data point contributes to an overall
103 // determination.
104 //
105 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
106 type HeuristicRelevance = src.HeuristicRelevance
107
108 // IamCheckerClient is the client API for IamChecker service. For semantics
109 // around ctx use and closing/ending streaming RPCs, please refer to
110 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
111 //
112 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
113 type IamCheckerClient = src.IamCheckerClient
114
115 // IamCheckerServer is the server API for IamChecker service.
116 //
117 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
118 type IamCheckerServer = src.IamCheckerServer
119
120 // Request for
121 // [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
122 //
123 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
124 type TroubleshootIamPolicyRequest = src.TroubleshootIamPolicyRequest
125
126 // Response for
127 // [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
128 //
129 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
130 type TroubleshootIamPolicyResponse = src.TroubleshootIamPolicyResponse
131
132 // UnimplementedIamCheckerServer can be embedded to have forward compatible
133 // implementations.
134 //
135 // Deprecated: Please use types in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
136 type UnimplementedIamCheckerServer = src.UnimplementedIamCheckerServer
137
138 // Deprecated: Please use funcs in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
139 func NewIamCheckerClient(cc grpc.ClientConnInterface) IamCheckerClient {
140 return src.NewIamCheckerClient(cc)
141 }
142
143 // Deprecated: Please use funcs in: cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb
144 func RegisterIamCheckerServer(s *grpc.Server, srv IamCheckerServer) {
145 src.RegisterIamCheckerServer(s, srv)
146 }