| 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 asset aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/asset/apiv1/assetpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package asset |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/asset/apiv1/assetpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/asset/apiv1/assetpb |
| 31 |
const ( |
| 32 |
AnalyzeMoveRequest_ANALYSIS_VIEW_UNSPECIFIED = src.AnalyzeMoveRequest_ANALYSIS_VIEW_UNSPECIFIED |
| 33 |
AnalyzeMoveRequest_BASIC = src.AnalyzeMoveRequest_BASIC |
| 34 |
AnalyzeMoveRequest_FULL = src.AnalyzeMoveRequest_FULL |
| 35 |
ConditionEvaluation_CONDITIONAL = src.ConditionEvaluation_CONDITIONAL |
| 36 |
ConditionEvaluation_EVALUATION_VALUE_UNSPECIFIED = src.ConditionEvaluation_EVALUATION_VALUE_UNSPECIFIED |
| 37 |
ConditionEvaluation_FALSE = src.ConditionEvaluation_FALSE |
| 38 |
ConditionEvaluation_TRUE = src.ConditionEvaluation_TRUE |
| 39 |
ContentType_ACCESS_POLICY = src.ContentType_ACCESS_POLICY |
| 40 |
ContentType_CONTENT_TYPE_UNSPECIFIED = src.ContentType_CONTENT_TYPE_UNSPECIFIED |
| 41 |
ContentType_IAM_POLICY = src.ContentType_IAM_POLICY |
| 42 |
ContentType_ORG_POLICY = src.ContentType_ORG_POLICY |
| 43 |
ContentType_OS_INVENTORY = src.ContentType_OS_INVENTORY |
| 44 |
ContentType_RELATIONSHIP = src.ContentType_RELATIONSHIP |
| 45 |
ContentType_RESOURCE = src.ContentType_RESOURCE |
| 46 |
IamPolicyAnalysisOutputConfig_BigQueryDestination_PARTITION_KEY_UNSPECIFIED = src.IamPolicyAnalysisOutputConfig_BigQueryDestination_PARTITION_KEY_UNSPECIFIED |
| 47 |
IamPolicyAnalysisOutputConfig_BigQueryDestination_REQUEST_TIME = src.IamPolicyAnalysisOutputConfig_BigQueryDestination_REQUEST_TIME |
| 48 |
PartitionSpec_PARTITION_KEY_UNSPECIFIED = src.PartitionSpec_PARTITION_KEY_UNSPECIFIED |
| 49 |
PartitionSpec_READ_TIME = src.PartitionSpec_READ_TIME |
| 50 |
PartitionSpec_REQUEST_TIME = src.PartitionSpec_REQUEST_TIME |
| 51 |
TemporalAsset_DELETED = src.TemporalAsset_DELETED |
| 52 |
TemporalAsset_DOES_NOT_EXIST = src.TemporalAsset_DOES_NOT_EXIST |
| 53 |
TemporalAsset_INVALID = src.TemporalAsset_INVALID |
| 54 |
TemporalAsset_PRESENT = src.TemporalAsset_PRESENT |
| 55 |
TemporalAsset_PRIOR_ASSET_STATE_UNSPECIFIED = src.TemporalAsset_PRIOR_ASSET_STATE_UNSPECIFIED |
| 56 |
) |
| 57 |
|
| 58 |
// Deprecated: Please use vars in: cloud.google.com/go/asset/apiv1/assetpb |
| 59 |
var ( |
| 60 |
AnalyzeMoveRequest_AnalysisView_name = src.AnalyzeMoveRequest_AnalysisView_name |
| 61 |
AnalyzeMoveRequest_AnalysisView_value = src.AnalyzeMoveRequest_AnalysisView_value |
| 62 |
ConditionEvaluation_EvaluationValue_name = src.ConditionEvaluation_EvaluationValue_name |
| 63 |
ConditionEvaluation_EvaluationValue_value = src.ConditionEvaluation_EvaluationValue_value |
| 64 |
ContentType_name = src.ContentType_name |
| 65 |
ContentType_value = src.ContentType_value |
| 66 |
File_google_cloud_asset_v1_asset_service_proto = src.File_google_cloud_asset_v1_asset_service_proto |
| 67 |
File_google_cloud_asset_v1_assets_proto = src.File_google_cloud_asset_v1_assets_proto |
| 68 |
IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey_name = src.IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey_name |
| 69 |
IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey_value = src.IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey_value |
| 70 |
PartitionSpec_PartitionKey_name = src.PartitionSpec_PartitionKey_name |
| 71 |
PartitionSpec_PartitionKey_value = src.PartitionSpec_PartitionKey_value |
| 72 |
TemporalAsset_PriorAssetState_name = src.TemporalAsset_PriorAssetState_name |
| 73 |
TemporalAsset_PriorAssetState_value = src.TemporalAsset_PriorAssetState_value |
| 74 |
) |
| 75 |
|
| 76 |
// Represents the metadata of the longrunning operation for the |
| 77 |
// AnalyzeIamPolicyLongrunning rpc. |
| 78 |
// |
| 79 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 80 |
type AnalyzeIamPolicyLongrunningMetadata = src.AnalyzeIamPolicyLongrunningMetadata |
| 81 |
|
| 82 |
// A request message for |
| 83 |
// [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]. |
| 84 |
// |
| 85 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 86 |
type AnalyzeIamPolicyLongrunningRequest = src.AnalyzeIamPolicyLongrunningRequest |
| 87 |
|
| 88 |
// A response message for |
| 89 |
// [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]. |
| 90 |
// |
| 91 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 92 |
type AnalyzeIamPolicyLongrunningResponse = src.AnalyzeIamPolicyLongrunningResponse |
| 93 |
|
| 94 |
// A request message for |
| 95 |
// [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]. |
| 96 |
// |
| 97 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 98 |
type AnalyzeIamPolicyRequest = src.AnalyzeIamPolicyRequest |
| 99 |
|
| 100 |
// A response message for |
| 101 |
// [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]. |
| 102 |
// |
| 103 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 104 |
type AnalyzeIamPolicyResponse = src.AnalyzeIamPolicyResponse |
| 105 |
|
| 106 |
// An analysis message to group the query and results. |
| 107 |
// |
| 108 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 109 |
type AnalyzeIamPolicyResponse_IamPolicyAnalysis = src.AnalyzeIamPolicyResponse_IamPolicyAnalysis |
| 110 |
|
| 111 |
// The request message for performing resource move analysis. |
| 112 |
// |
| 113 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 114 |
type AnalyzeMoveRequest = src.AnalyzeMoveRequest |
| 115 |
|
| 116 |
// View enum for supporting partial analysis responses. |
| 117 |
// |
| 118 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 119 |
type AnalyzeMoveRequest_AnalysisView = src.AnalyzeMoveRequest_AnalysisView |
| 120 |
|
| 121 |
// The response message for resource move analysis. |
| 122 |
// |
| 123 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 124 |
type AnalyzeMoveResponse = src.AnalyzeMoveResponse |
| 125 |
|
| 126 |
// An asset in Google Cloud. An asset can be any resource in the Google Cloud |
| 127 |
// [resource |
| 128 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 129 |
// a resource outside the Google Cloud resource hierarchy (such as Google |
| 130 |
// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM |
| 131 |
// policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). |
| 132 |
// See [Supported asset |
| 133 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 134 |
// for more information. |
| 135 |
// |
| 136 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 137 |
type Asset = src.Asset |
| 138 |
|
| 139 |
// AssetServiceClient is the client API for AssetService service. For |
| 140 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 141 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 142 |
// |
| 143 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 144 |
type AssetServiceClient = src.AssetServiceClient |
| 145 |
|
| 146 |
// AssetServiceServer is the server API for AssetService service. |
| 147 |
// |
| 148 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 149 |
type AssetServiceServer = src.AssetServiceServer |
| 150 |
type Asset_AccessLevel = src.Asset_AccessLevel |
| 151 |
type Asset_AccessPolicy = src.Asset_AccessPolicy |
| 152 |
type Asset_ServicePerimeter = src.Asset_ServicePerimeter |
| 153 |
|
| 154 |
// Attached resource representation, which is defined by the corresponding |
| 155 |
// service provider. It represents an attached resource's payload. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 158 |
type AttachedResource = src.AttachedResource |
| 159 |
|
| 160 |
// Batch get assets history request. |
| 161 |
// |
| 162 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 163 |
type BatchGetAssetsHistoryRequest = src.BatchGetAssetsHistoryRequest |
| 164 |
|
| 165 |
// Batch get assets history response. |
| 166 |
// |
| 167 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 168 |
type BatchGetAssetsHistoryResponse = src.BatchGetAssetsHistoryResponse |
| 169 |
|
| 170 |
// A request message for |
| 171 |
// [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies]. |
| 172 |
// |
| 173 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 174 |
type BatchGetEffectiveIamPoliciesRequest = src.BatchGetEffectiveIamPoliciesRequest |
| 175 |
|
| 176 |
// A response message for |
| 177 |
// [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies]. |
| 178 |
// |
| 179 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 180 |
type BatchGetEffectiveIamPoliciesResponse = src.BatchGetEffectiveIamPoliciesResponse |
| 181 |
|
| 182 |
// The effective IAM policies on one resource. |
| 183 |
// |
| 184 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 185 |
type BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy = src.BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy |
| 186 |
|
| 187 |
// The IAM policy and its attached resource. |
| 188 |
// |
| 189 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 190 |
type BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo = src.BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo |
| 191 |
|
| 192 |
// A BigQuery destination for exporting assets to. |
| 193 |
// |
| 194 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 195 |
type BigQueryDestination = src.BigQueryDestination |
| 196 |
|
| 197 |
// The Condition evaluation. |
| 198 |
// |
| 199 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 200 |
type ConditionEvaluation = src.ConditionEvaluation |
| 201 |
|
| 202 |
// Value of this expression. |
| 203 |
// |
| 204 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 205 |
type ConditionEvaluation_EvaluationValue = src.ConditionEvaluation_EvaluationValue |
| 206 |
|
| 207 |
// Asset content type. |
| 208 |
// |
| 209 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 210 |
type ContentType = src.ContentType |
| 211 |
|
| 212 |
// Create asset feed request. |
| 213 |
// |
| 214 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 215 |
type CreateFeedRequest = src.CreateFeedRequest |
| 216 |
|
| 217 |
// Request to create a saved query. |
| 218 |
// |
| 219 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 220 |
type CreateSavedQueryRequest = src.CreateSavedQueryRequest |
| 221 |
type DeleteFeedRequest = src.DeleteFeedRequest |
| 222 |
|
| 223 |
// Request to delete a saved query. |
| 224 |
// |
| 225 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 226 |
type DeleteSavedQueryRequest = src.DeleteSavedQueryRequest |
| 227 |
|
| 228 |
// Export asset request. |
| 229 |
// |
| 230 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 231 |
type ExportAssetsRequest = src.ExportAssetsRequest |
| 232 |
|
| 233 |
// The export asset response. This message is returned by the |
| 234 |
// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 235 |
// method in the returned |
| 236 |
// [google.longrunning.Operation.response][google.longrunning.Operation.response] |
| 237 |
// field. |
| 238 |
// |
| 239 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 240 |
type ExportAssetsResponse = src.ExportAssetsResponse |
| 241 |
|
| 242 |
// An asset feed used to export asset updates to a destinations. An asset feed |
| 243 |
// filter controls what updates are exported. The asset feed must be created |
| 244 |
// within a project, organization, or folder. Supported destinations are: |
| 245 |
// Pub/Sub topics. |
| 246 |
// |
| 247 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 248 |
type Feed = src.Feed |
| 249 |
|
| 250 |
// Output configuration for asset feed destination. |
| 251 |
// |
| 252 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 253 |
type FeedOutputConfig = src.FeedOutputConfig |
| 254 |
type FeedOutputConfig_PubsubDestination = src.FeedOutputConfig_PubsubDestination |
| 255 |
|
| 256 |
// A Cloud Storage location. |
| 257 |
// |
| 258 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 259 |
type GcsDestination = src.GcsDestination |
| 260 |
type GcsDestination_Uri = src.GcsDestination_Uri |
| 261 |
type GcsDestination_UriPrefix = src.GcsDestination_UriPrefix |
| 262 |
|
| 263 |
// A Cloud Storage output result. |
| 264 |
// |
| 265 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 266 |
type GcsOutputResult = src.GcsOutputResult |
| 267 |
|
| 268 |
// Get asset feed request. |
| 269 |
// |
| 270 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 271 |
type GetFeedRequest = src.GetFeedRequest |
| 272 |
|
| 273 |
// Request to get a saved query. |
| 274 |
// |
| 275 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 276 |
type GetSavedQueryRequest = src.GetSavedQueryRequest |
| 277 |
|
| 278 |
// Output configuration for export IAM policy analysis destination. |
| 279 |
// |
| 280 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 281 |
type IamPolicyAnalysisOutputConfig = src.IamPolicyAnalysisOutputConfig |
| 282 |
|
| 283 |
// A BigQuery destination. |
| 284 |
// |
| 285 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 286 |
type IamPolicyAnalysisOutputConfig_BigQueryDestination = src.IamPolicyAnalysisOutputConfig_BigQueryDestination |
| 287 |
|
| 288 |
// This enum determines the partition key column for the bigquery tables. |
| 289 |
// Partitioning can improve query performance and reduce query cost by |
| 290 |
// filtering partitions. Refer to |
| 291 |
// https://cloud.google.com/bigquery/docs/partitioned-tables for details. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 294 |
type IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey = src.IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey |
| 295 |
type IamPolicyAnalysisOutputConfig_BigqueryDestination = src.IamPolicyAnalysisOutputConfig_BigqueryDestination |
| 296 |
|
| 297 |
// A Cloud Storage location. |
| 298 |
// |
| 299 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 300 |
type IamPolicyAnalysisOutputConfig_GcsDestination = src.IamPolicyAnalysisOutputConfig_GcsDestination |
| 301 |
type IamPolicyAnalysisOutputConfig_GcsDestination_ = src.IamPolicyAnalysisOutputConfig_GcsDestination_ |
| 302 |
|
| 303 |
// IAM policy analysis query message. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 306 |
type IamPolicyAnalysisQuery = src.IamPolicyAnalysisQuery |
| 307 |
|
| 308 |
// Specifies roles and/or permissions to analyze, to determine both the |
| 309 |
// identities possessing them and the resources they control. If multiple |
| 310 |
// values are specified, results will include roles or permissions matching any |
| 311 |
// of them. The total number of roles and permissions should be equal or less |
| 312 |
// than 10. |
| 313 |
// |
| 314 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 315 |
type IamPolicyAnalysisQuery_AccessSelector = src.IamPolicyAnalysisQuery_AccessSelector |
| 316 |
|
| 317 |
// The IAM conditions context. |
| 318 |
// |
| 319 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 320 |
type IamPolicyAnalysisQuery_ConditionContext = src.IamPolicyAnalysisQuery_ConditionContext |
| 321 |
type IamPolicyAnalysisQuery_ConditionContext_AccessTime = src.IamPolicyAnalysisQuery_ConditionContext_AccessTime |
| 322 |
|
| 323 |
// Specifies an identity for which to determine resource access, based on |
| 324 |
// roles assigned either directly to them or to the groups they belong to, |
| 325 |
// directly or indirectly. |
| 326 |
// |
| 327 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 328 |
type IamPolicyAnalysisQuery_IdentitySelector = src.IamPolicyAnalysisQuery_IdentitySelector |
| 329 |
|
| 330 |
// Contains query options. |
| 331 |
// |
| 332 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 333 |
type IamPolicyAnalysisQuery_Options = src.IamPolicyAnalysisQuery_Options |
| 334 |
|
| 335 |
// Specifies the resource to analyze for access policies, which may be set |
| 336 |
// directly on the resource, or on ancestors such as organizations, folders or |
| 337 |
// projects. |
| 338 |
// |
| 339 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 340 |
type IamPolicyAnalysisQuery_ResourceSelector = src.IamPolicyAnalysisQuery_ResourceSelector |
| 341 |
|
| 342 |
// IAM Policy analysis result, consisting of one IAM policy binding and |
| 343 |
// derived access control lists. |
| 344 |
// |
| 345 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 346 |
type IamPolicyAnalysisResult = src.IamPolicyAnalysisResult |
| 347 |
|
| 348 |
// An IAM role or permission under analysis. |
| 349 |
// |
| 350 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 351 |
type IamPolicyAnalysisResult_Access = src.IamPolicyAnalysisResult_Access |
| 352 |
|
| 353 |
// An access control list, derived from the above IAM policy binding, which |
| 354 |
// contains a set of resources and accesses. May include one item from each set |
| 355 |
// to compose an access control entry. NOTICE that there could be multiple |
| 356 |
// access control lists for one IAM policy binding. The access control lists |
| 357 |
// are created based on resource and access combinations. For example, assume |
| 358 |
// we have the following cases in one IAM policy binding: - Permission P1 and |
| 359 |
// P2 apply to resource R1 and R2; - Permission P3 applies to resource R2 and |
| 360 |
// R3; This will result in the following access control lists: - |
| 361 |
// AccessControlList 1: [R1, R2], [P1, P2] - AccessControlList 2: [R2, R3], |
| 362 |
// [P3] |
| 363 |
// |
| 364 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 365 |
type IamPolicyAnalysisResult_AccessControlList = src.IamPolicyAnalysisResult_AccessControlList |
| 366 |
type IamPolicyAnalysisResult_Access_Permission = src.IamPolicyAnalysisResult_Access_Permission |
| 367 |
type IamPolicyAnalysisResult_Access_Role = src.IamPolicyAnalysisResult_Access_Role |
| 368 |
|
| 369 |
// A directional edge. |
| 370 |
// |
| 371 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 372 |
type IamPolicyAnalysisResult_Edge = src.IamPolicyAnalysisResult_Edge |
| 373 |
|
| 374 |
// An identity under analysis. |
| 375 |
// |
| 376 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 377 |
type IamPolicyAnalysisResult_Identity = src.IamPolicyAnalysisResult_Identity |
| 378 |
|
| 379 |
// The identities and group edges. |
| 380 |
// |
| 381 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 382 |
type IamPolicyAnalysisResult_IdentityList = src.IamPolicyAnalysisResult_IdentityList |
| 383 |
|
| 384 |
// A Google Cloud resource under analysis. |
| 385 |
// |
| 386 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 387 |
type IamPolicyAnalysisResult_Resource = src.IamPolicyAnalysisResult_Resource |
| 388 |
|
| 389 |
// Represents the detailed state of an entity under analysis, such as a |
| 390 |
// resource, an identity or an access. |
| 391 |
// |
| 392 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 393 |
type IamPolicyAnalysisState = src.IamPolicyAnalysisState |
| 394 |
|
| 395 |
// A result of IAM Policy search, containing information of an IAM policy. |
| 396 |
// |
| 397 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 398 |
type IamPolicySearchResult = src.IamPolicySearchResult |
| 399 |
|
| 400 |
// Explanation about the IAM policy search result. |
| 401 |
// |
| 402 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 403 |
type IamPolicySearchResult_Explanation = src.IamPolicySearchResult_Explanation |
| 404 |
|
| 405 |
// IAM permissions |
| 406 |
// |
| 407 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 408 |
type IamPolicySearchResult_Explanation_Permissions = src.IamPolicySearchResult_Explanation_Permissions |
| 409 |
|
| 410 |
// ListAssets request. |
| 411 |
// |
| 412 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 413 |
type ListAssetsRequest = src.ListAssetsRequest |
| 414 |
|
| 415 |
// ListAssets response. |
| 416 |
// |
| 417 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 418 |
type ListAssetsResponse = src.ListAssetsResponse |
| 419 |
|
| 420 |
// List asset feeds request. |
| 421 |
// |
| 422 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 423 |
type ListFeedsRequest = src.ListFeedsRequest |
| 424 |
type ListFeedsResponse = src.ListFeedsResponse |
| 425 |
|
| 426 |
// Request to list saved queries. |
| 427 |
// |
| 428 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 429 |
type ListSavedQueriesRequest = src.ListSavedQueriesRequest |
| 430 |
|
| 431 |
// Response of listing saved queries. |
| 432 |
// |
| 433 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 434 |
type ListSavedQueriesResponse = src.ListSavedQueriesResponse |
| 435 |
|
| 436 |
// A message to group the analysis information. |
| 437 |
// |
| 438 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 439 |
type MoveAnalysis = src.MoveAnalysis |
| 440 |
|
| 441 |
// An analysis result including blockers and warnings. |
| 442 |
// |
| 443 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 444 |
type MoveAnalysisResult = src.MoveAnalysisResult |
| 445 |
type MoveAnalysis_Analysis = src.MoveAnalysis_Analysis |
| 446 |
type MoveAnalysis_Error = src.MoveAnalysis_Error |
| 447 |
|
| 448 |
// A message to group impacts of moving the target resource. |
| 449 |
// |
| 450 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 451 |
type MoveImpact = src.MoveImpact |
| 452 |
|
| 453 |
// Output configuration for export assets destination. |
| 454 |
// |
| 455 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 456 |
type OutputConfig = src.OutputConfig |
| 457 |
type OutputConfig_BigqueryDestination = src.OutputConfig_BigqueryDestination |
| 458 |
type OutputConfig_GcsDestination = src.OutputConfig_GcsDestination |
| 459 |
|
| 460 |
// Output result of export assets. |
| 461 |
// |
| 462 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 463 |
type OutputResult = src.OutputResult |
| 464 |
type OutputResult_GcsResult = src.OutputResult_GcsResult |
| 465 |
|
| 466 |
// Specifications of BigQuery partitioned table as export destination. |
| 467 |
// |
| 468 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 469 |
type PartitionSpec = src.PartitionSpec |
| 470 |
|
| 471 |
// This enum is used to determine the partition key column when exporting |
| 472 |
// assets to BigQuery partitioned table(s). Note that, if the partition key is |
| 473 |
// a timestamp column, the actual partition is based on its date value |
| 474 |
// (expressed in UTC. see details in |
| 475 |
// https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables). |
| 476 |
// |
| 477 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 478 |
type PartitionSpec_PartitionKey = src.PartitionSpec_PartitionKey |
| 479 |
|
| 480 |
// A Pub/Sub destination. |
| 481 |
// |
| 482 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 483 |
type PubsubDestination = src.PubsubDestination |
| 484 |
|
| 485 |
// Output configuration query assets. |
| 486 |
// |
| 487 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 488 |
type QueryAssetsOutputConfig = src.QueryAssetsOutputConfig |
| 489 |
|
| 490 |
// BigQuery destination. |
| 491 |
// |
| 492 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 493 |
type QueryAssetsOutputConfig_BigQueryDestination = src.QueryAssetsOutputConfig_BigQueryDestination |
| 494 |
|
| 495 |
// QueryAssets request. |
| 496 |
// |
| 497 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 498 |
type QueryAssetsRequest = src.QueryAssetsRequest |
| 499 |
type QueryAssetsRequest_JobReference = src.QueryAssetsRequest_JobReference |
| 500 |
type QueryAssetsRequest_ReadTime = src.QueryAssetsRequest_ReadTime |
| 501 |
type QueryAssetsRequest_ReadTimeWindow = src.QueryAssetsRequest_ReadTimeWindow |
| 502 |
type QueryAssetsRequest_Statement = src.QueryAssetsRequest_Statement |
| 503 |
|
| 504 |
// QueryAssets response. |
| 505 |
// |
| 506 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 507 |
type QueryAssetsResponse = src.QueryAssetsResponse |
| 508 |
type QueryAssetsResponse_Error = src.QueryAssetsResponse_Error |
| 509 |
type QueryAssetsResponse_OutputConfig = src.QueryAssetsResponse_OutputConfig |
| 510 |
type QueryAssetsResponse_QueryResult = src.QueryAssetsResponse_QueryResult |
| 511 |
|
| 512 |
// Execution results of the query. The result is formatted as rows represented |
| 513 |
// by BigQuery compatible [schema]. When pagination is necessary, it will |
| 514 |
// contains the page token to retrieve the results of following pages. |
| 515 |
// |
| 516 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 517 |
type QueryResult = src.QueryResult |
| 518 |
|
| 519 |
// An asset identifier in Google Cloud which contains its name, type and |
| 520 |
// ancestors. An asset can be any resource in the Google Cloud [resource |
| 521 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 522 |
// a resource outside the Google Cloud resource hierarchy (such as Google |
| 523 |
// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM |
| 524 |
// policy). See [Supported asset |
| 525 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 526 |
// for more information. |
| 527 |
// |
| 528 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 529 |
type RelatedAsset = src.RelatedAsset |
| 530 |
|
| 531 |
// DEPRECATED. This message only presents for the purpose of |
| 532 |
// backward-compatibility. The server will never populate this message in |
| 533 |
// responses. The detailed related assets with the `relationship_type`. |
| 534 |
// Deprecated: Do not use. |
| 535 |
// |
| 536 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 537 |
type RelatedAssets = src.RelatedAssets |
| 538 |
|
| 539 |
// The detailed related resource. |
| 540 |
// |
| 541 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 542 |
type RelatedResource = src.RelatedResource |
| 543 |
|
| 544 |
// The related resources of the primary resource. |
| 545 |
// |
| 546 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 547 |
type RelatedResources = src.RelatedResources |
| 548 |
|
| 549 |
// DEPRECATED. This message only presents for the purpose of |
| 550 |
// backward-compatibility. The server will never populate this message in |
| 551 |
// responses. The relationship attributes which include `type`, |
| 552 |
// `source_resource_type`, `target_resource_type` and `action`. Deprecated: Do |
| 553 |
// not use. |
| 554 |
// |
| 555 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 556 |
type RelationshipAttributes = src.RelationshipAttributes |
| 557 |
|
| 558 |
// A representation of a Google Cloud resource. |
| 559 |
// |
| 560 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 561 |
type Resource = src.Resource |
| 562 |
|
| 563 |
// A result of Resource Search, containing information of a cloud resource. |
| 564 |
// Next ID: 31 |
| 565 |
// |
| 566 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 567 |
type ResourceSearchResult = src.ResourceSearchResult |
| 568 |
|
| 569 |
// A saved query which can be shared with others or used later. |
| 570 |
// |
| 571 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 572 |
type SavedQuery = src.SavedQuery |
| 573 |
|
| 574 |
// The query content. |
| 575 |
// |
| 576 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 577 |
type SavedQuery_QueryContent = src.SavedQuery_QueryContent |
| 578 |
type SavedQuery_QueryContent_IamPolicyAnalysisQuery = src.SavedQuery_QueryContent_IamPolicyAnalysisQuery |
| 579 |
|
| 580 |
// Search all IAM policies request. |
| 581 |
// |
| 582 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 583 |
type SearchAllIamPoliciesRequest = src.SearchAllIamPoliciesRequest |
| 584 |
|
| 585 |
// Search all IAM policies response. |
| 586 |
// |
| 587 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 588 |
type SearchAllIamPoliciesResponse = src.SearchAllIamPoliciesResponse |
| 589 |
|
| 590 |
// Search all resources request. |
| 591 |
// |
| 592 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 593 |
type SearchAllResourcesRequest = src.SearchAllResourcesRequest |
| 594 |
|
| 595 |
// Search all resources response. |
| 596 |
// |
| 597 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 598 |
type SearchAllResourcesResponse = src.SearchAllResourcesResponse |
| 599 |
|
| 600 |
// A field in TableSchema. |
| 601 |
// |
| 602 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 603 |
type TableFieldSchema = src.TableFieldSchema |
| 604 |
|
| 605 |
// BigQuery Compatible table schema. |
| 606 |
// |
| 607 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 608 |
type TableSchema = src.TableSchema |
| 609 |
|
| 610 |
// An asset in Google Cloud and its temporal metadata, including the time |
| 611 |
// window when it was observed and its status during that window. |
| 612 |
// |
| 613 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 614 |
type TemporalAsset = src.TemporalAsset |
| 615 |
|
| 616 |
// State of prior asset. |
| 617 |
// |
| 618 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 619 |
type TemporalAsset_PriorAssetState = src.TemporalAsset_PriorAssetState |
| 620 |
|
| 621 |
// A time window specified by its `start_time` and `end_time`. |
| 622 |
// |
| 623 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 624 |
type TimeWindow = src.TimeWindow |
| 625 |
|
| 626 |
// UnimplementedAssetServiceServer can be embedded to have forward compatible |
| 627 |
// implementations. |
| 628 |
// |
| 629 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 630 |
type UnimplementedAssetServiceServer = src.UnimplementedAssetServiceServer |
| 631 |
|
| 632 |
// Update asset feed request. |
| 633 |
// |
| 634 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 635 |
type UpdateFeedRequest = src.UpdateFeedRequest |
| 636 |
|
| 637 |
// Request to update a saved query. |
| 638 |
// |
| 639 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 640 |
type UpdateSavedQueryRequest = src.UpdateSavedQueryRequest |
| 641 |
|
| 642 |
// Resource representation as defined by the corresponding service providing |
| 643 |
// the resource for a given API version. |
| 644 |
// |
| 645 |
// Deprecated: Please use types in: cloud.google.com/go/asset/apiv1/assetpb |
| 646 |
type VersionedResource = src.VersionedResource |
| 647 |
|
| 648 |
// Deprecated: Please use funcs in: cloud.google.com/go/asset/apiv1/assetpb |
| 649 |
func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient { |
| 650 |
return src.NewAssetServiceClient(cc) |
| 651 |
} |
| 652 |
|
| 653 |
// Deprecated: Please use funcs in: cloud.google.com/go/asset/apiv1/assetpb |
| 654 |
func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) { |
| 655 |
src.RegisterAssetServiceServer(s, srv) |
| 656 |
} |