| 1 |
// Copyright 2025 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 protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/asset/v1/assets.proto |
| 20 |
|
| 21 |
package assetpb |
| 22 |
|
| 23 |
import ( |
| 24 |
accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" |
| 25 |
iampb "cloud.google.com/go/iam/apiv1/iampb" |
| 26 |
orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" |
| 27 |
osconfigpb "cloud.google.com/go/osconfig/apiv1/osconfigpb" |
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
code "google.golang.org/genproto/googleapis/rpc/code" |
| 30 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 31 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 32 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 33 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 34 |
reflect "reflect" |
| 35 |
sync "sync" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// State of prior asset. |
| 46 |
type TemporalAsset_PriorAssetState int32 |
| 47 |
|
| 48 |
const ( |
| 49 |
// prior_asset is not applicable for the current asset. |
| 50 |
TemporalAsset_PRIOR_ASSET_STATE_UNSPECIFIED TemporalAsset_PriorAssetState = 0 |
| 51 |
// prior_asset is populated correctly. |
| 52 |
TemporalAsset_PRESENT TemporalAsset_PriorAssetState = 1 |
| 53 |
// Failed to set prior_asset. |
| 54 |
TemporalAsset_INVALID TemporalAsset_PriorAssetState = 2 |
| 55 |
// Current asset is the first known state. |
| 56 |
TemporalAsset_DOES_NOT_EXIST TemporalAsset_PriorAssetState = 3 |
| 57 |
// prior_asset is a deletion. |
| 58 |
TemporalAsset_DELETED TemporalAsset_PriorAssetState = 4 |
| 59 |
) |
| 60 |
|
| 61 |
// Enum value maps for TemporalAsset_PriorAssetState. |
| 62 |
var ( |
| 63 |
TemporalAsset_PriorAssetState_name = map[int32]string{ |
| 64 |
0: "PRIOR_ASSET_STATE_UNSPECIFIED", |
| 65 |
1: "PRESENT", |
| 66 |
2: "INVALID", |
| 67 |
3: "DOES_NOT_EXIST", |
| 68 |
4: "DELETED", |
| 69 |
} |
| 70 |
TemporalAsset_PriorAssetState_value = map[string]int32{ |
| 71 |
"PRIOR_ASSET_STATE_UNSPECIFIED": 0, |
| 72 |
"PRESENT": 1, |
| 73 |
"INVALID": 2, |
| 74 |
"DOES_NOT_EXIST": 3, |
| 75 |
"DELETED": 4, |
| 76 |
} |
| 77 |
) |
| 78 |
|
| 79 |
func (x TemporalAsset_PriorAssetState) Enum() *TemporalAsset_PriorAssetState { |
| 80 |
p := new(TemporalAsset_PriorAssetState) |
| 81 |
*p = x |
| 82 |
return p |
| 83 |
} |
| 84 |
|
| 85 |
func (x TemporalAsset_PriorAssetState) String() string { |
| 86 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 87 |
} |
| 88 |
|
| 89 |
func (TemporalAsset_PriorAssetState) Descriptor() protoreflect.EnumDescriptor { |
| 90 |
return file_google_cloud_asset_v1_assets_proto_enumTypes[0].Descriptor() |
| 91 |
} |
| 92 |
|
| 93 |
func (TemporalAsset_PriorAssetState) Type() protoreflect.EnumType { |
| 94 |
return &file_google_cloud_asset_v1_assets_proto_enumTypes[0] |
| 95 |
} |
| 96 |
|
| 97 |
func (x TemporalAsset_PriorAssetState) Number() protoreflect.EnumNumber { |
| 98 |
return protoreflect.EnumNumber(x) |
| 99 |
} |
| 100 |
|
| 101 |
// Deprecated: Use TemporalAsset_PriorAssetState.Descriptor instead. |
| 102 |
func (TemporalAsset_PriorAssetState) EnumDescriptor() ([]byte, []int) { |
| 103 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{0, 0} |
| 104 |
} |
| 105 |
|
| 106 |
// Value of this expression. |
| 107 |
type ConditionEvaluation_EvaluationValue int32 |
| 108 |
|
| 109 |
const ( |
| 110 |
// Reserved for future use. |
| 111 |
ConditionEvaluation_EVALUATION_VALUE_UNSPECIFIED ConditionEvaluation_EvaluationValue = 0 |
| 112 |
// The evaluation result is `true`. |
| 113 |
ConditionEvaluation_TRUE ConditionEvaluation_EvaluationValue = 1 |
| 114 |
// The evaluation result is `false`. |
| 115 |
ConditionEvaluation_FALSE ConditionEvaluation_EvaluationValue = 2 |
| 116 |
// The evaluation result is `conditional` when the condition expression |
| 117 |
// contains variables that are either missing input values or have not been |
| 118 |
// supported by Policy Analyzer yet. |
| 119 |
ConditionEvaluation_CONDITIONAL ConditionEvaluation_EvaluationValue = 3 |
| 120 |
) |
| 121 |
|
| 122 |
// Enum value maps for ConditionEvaluation_EvaluationValue. |
| 123 |
var ( |
| 124 |
ConditionEvaluation_EvaluationValue_name = map[int32]string{ |
| 125 |
0: "EVALUATION_VALUE_UNSPECIFIED", |
| 126 |
1: "TRUE", |
| 127 |
2: "FALSE", |
| 128 |
3: "CONDITIONAL", |
| 129 |
} |
| 130 |
ConditionEvaluation_EvaluationValue_value = map[string]int32{ |
| 131 |
"EVALUATION_VALUE_UNSPECIFIED": 0, |
| 132 |
"TRUE": 1, |
| 133 |
"FALSE": 2, |
| 134 |
"CONDITIONAL": 3, |
| 135 |
} |
| 136 |
) |
| 137 |
|
| 138 |
func (x ConditionEvaluation_EvaluationValue) Enum() *ConditionEvaluation_EvaluationValue { |
| 139 |
p := new(ConditionEvaluation_EvaluationValue) |
| 140 |
*p = x |
| 141 |
return p |
| 142 |
} |
| 143 |
|
| 144 |
func (x ConditionEvaluation_EvaluationValue) String() string { |
| 145 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 146 |
} |
| 147 |
|
| 148 |
func (ConditionEvaluation_EvaluationValue) Descriptor() protoreflect.EnumDescriptor { |
| 149 |
return file_google_cloud_asset_v1_assets_proto_enumTypes[1].Descriptor() |
| 150 |
} |
| 151 |
|
| 152 |
func (ConditionEvaluation_EvaluationValue) Type() protoreflect.EnumType { |
| 153 |
return &file_google_cloud_asset_v1_assets_proto_enumTypes[1] |
| 154 |
} |
| 155 |
|
| 156 |
func (x ConditionEvaluation_EvaluationValue) Number() protoreflect.EnumNumber { |
| 157 |
return protoreflect.EnumNumber(x) |
| 158 |
} |
| 159 |
|
| 160 |
// Deprecated: Use ConditionEvaluation_EvaluationValue.Descriptor instead. |
| 161 |
func (ConditionEvaluation_EvaluationValue) EnumDescriptor() ([]byte, []int) { |
| 162 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{17, 0} |
| 163 |
} |
| 164 |
|
| 165 |
// An asset in Google Cloud and its temporal metadata, including the time window |
| 166 |
// when it was observed and its status during that window. |
| 167 |
type TemporalAsset struct { |
| 168 |
state protoimpl.MessageState |
| 169 |
sizeCache protoimpl.SizeCache |
| 170 |
unknownFields protoimpl.UnknownFields |
| 171 |
|
| 172 |
// The time window when the asset data and state was observed. |
| 173 |
Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` |
| 174 |
// Whether the asset has been deleted or not. |
| 175 |
Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` |
| 176 |
// An asset in Google Cloud. |
| 177 |
Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` |
| 178 |
// State of prior_asset. |
| 179 |
PriorAssetState TemporalAsset_PriorAssetState `protobuf:"varint,4,opt,name=prior_asset_state,json=priorAssetState,proto3,enum=google.cloud.asset.v1.TemporalAsset_PriorAssetState" json:"prior_asset_state,omitempty"` |
| 180 |
// Prior copy of the asset. Populated if prior_asset_state is PRESENT. |
| 181 |
// Currently this is only set for responses in Real-Time Feed. |
| 182 |
PriorAsset *Asset `protobuf:"bytes,5,opt,name=prior_asset,json=priorAsset,proto3" json:"prior_asset,omitempty"` |
| 183 |
} |
| 184 |
|
| 185 |
func (x *TemporalAsset) Reset() { |
| 186 |
*x = TemporalAsset{} |
| 187 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[0] |
| 188 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 189 |
ms.StoreMessageInfo(mi) |
| 190 |
} |
| 191 |
|
| 192 |
func (x *TemporalAsset) String() string { |
| 193 |
return protoimpl.X.MessageStringOf(x) |
| 194 |
} |
| 195 |
|
| 196 |
func (*TemporalAsset) ProtoMessage() {} |
| 197 |
|
| 198 |
func (x *TemporalAsset) ProtoReflect() protoreflect.Message { |
| 199 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[0] |
| 200 |
if x != nil { |
| 201 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 202 |
if ms.LoadMessageInfo() == nil { |
| 203 |
ms.StoreMessageInfo(mi) |
| 204 |
} |
| 205 |
return ms |
| 206 |
} |
| 207 |
return mi.MessageOf(x) |
| 208 |
} |
| 209 |
|
| 210 |
// Deprecated: Use TemporalAsset.ProtoReflect.Descriptor instead. |
| 211 |
func (*TemporalAsset) Descriptor() ([]byte, []int) { |
| 212 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{0} |
| 213 |
} |
| 214 |
|
| 215 |
func (x *TemporalAsset) GetWindow() *TimeWindow { |
| 216 |
if x != nil { |
| 217 |
return x.Window |
| 218 |
} |
| 219 |
return nil |
| 220 |
} |
| 221 |
|
| 222 |
func (x *TemporalAsset) GetDeleted() bool { |
| 223 |
if x != nil { |
| 224 |
return x.Deleted |
| 225 |
} |
| 226 |
return false |
| 227 |
} |
| 228 |
|
| 229 |
func (x *TemporalAsset) GetAsset() *Asset { |
| 230 |
if x != nil { |
| 231 |
return x.Asset |
| 232 |
} |
| 233 |
return nil |
| 234 |
} |
| 235 |
|
| 236 |
func (x *TemporalAsset) GetPriorAssetState() TemporalAsset_PriorAssetState { |
| 237 |
if x != nil { |
| 238 |
return x.PriorAssetState |
| 239 |
} |
| 240 |
return TemporalAsset_PRIOR_ASSET_STATE_UNSPECIFIED |
| 241 |
} |
| 242 |
|
| 243 |
func (x *TemporalAsset) GetPriorAsset() *Asset { |
| 244 |
if x != nil { |
| 245 |
return x.PriorAsset |
| 246 |
} |
| 247 |
return nil |
| 248 |
} |
| 249 |
|
| 250 |
// A time window specified by its `start_time` and `end_time`. |
| 251 |
type TimeWindow struct { |
| 252 |
state protoimpl.MessageState |
| 253 |
sizeCache protoimpl.SizeCache |
| 254 |
unknownFields protoimpl.UnknownFields |
| 255 |
|
| 256 |
// Start time of the time window (exclusive). |
| 257 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 258 |
// End time of the time window (inclusive). If not specified, the current |
| 259 |
// timestamp is used instead. |
| 260 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 261 |
} |
| 262 |
|
| 263 |
func (x *TimeWindow) Reset() { |
| 264 |
*x = TimeWindow{} |
| 265 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[1] |
| 266 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 267 |
ms.StoreMessageInfo(mi) |
| 268 |
} |
| 269 |
|
| 270 |
func (x *TimeWindow) String() string { |
| 271 |
return protoimpl.X.MessageStringOf(x) |
| 272 |
} |
| 273 |
|
| 274 |
func (*TimeWindow) ProtoMessage() {} |
| 275 |
|
| 276 |
func (x *TimeWindow) ProtoReflect() protoreflect.Message { |
| 277 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[1] |
| 278 |
if x != nil { |
| 279 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 280 |
if ms.LoadMessageInfo() == nil { |
| 281 |
ms.StoreMessageInfo(mi) |
| 282 |
} |
| 283 |
return ms |
| 284 |
} |
| 285 |
return mi.MessageOf(x) |
| 286 |
} |
| 287 |
|
| 288 |
// Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead. |
| 289 |
func (*TimeWindow) Descriptor() ([]byte, []int) { |
| 290 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{1} |
| 291 |
} |
| 292 |
|
| 293 |
func (x *TimeWindow) GetStartTime() *timestamppb.Timestamp { |
| 294 |
if x != nil { |
| 295 |
return x.StartTime |
| 296 |
} |
| 297 |
return nil |
| 298 |
} |
| 299 |
|
| 300 |
func (x *TimeWindow) GetEndTime() *timestamppb.Timestamp { |
| 301 |
if x != nil { |
| 302 |
return x.EndTime |
| 303 |
} |
| 304 |
return nil |
| 305 |
} |
| 306 |
|
| 307 |
// The enhanced metadata information for a resource. |
| 308 |
type AssetEnrichment struct { |
| 309 |
state protoimpl.MessageState |
| 310 |
sizeCache protoimpl.SizeCache |
| 311 |
unknownFields protoimpl.UnknownFields |
| 312 |
|
| 313 |
// Types that are assignable to EnrichmentData: |
| 314 |
// |
| 315 |
// *AssetEnrichment_ResourceOwners |
| 316 |
EnrichmentData isAssetEnrichment_EnrichmentData `protobuf_oneof:"EnrichmentData"` |
| 317 |
} |
| 318 |
|
| 319 |
func (x *AssetEnrichment) Reset() { |
| 320 |
*x = AssetEnrichment{} |
| 321 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[2] |
| 322 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 323 |
ms.StoreMessageInfo(mi) |
| 324 |
} |
| 325 |
|
| 326 |
func (x *AssetEnrichment) String() string { |
| 327 |
return protoimpl.X.MessageStringOf(x) |
| 328 |
} |
| 329 |
|
| 330 |
func (*AssetEnrichment) ProtoMessage() {} |
| 331 |
|
| 332 |
func (x *AssetEnrichment) ProtoReflect() protoreflect.Message { |
| 333 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[2] |
| 334 |
if x != nil { |
| 335 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 336 |
if ms.LoadMessageInfo() == nil { |
| 337 |
ms.StoreMessageInfo(mi) |
| 338 |
} |
| 339 |
return ms |
| 340 |
} |
| 341 |
return mi.MessageOf(x) |
| 342 |
} |
| 343 |
|
| 344 |
// Deprecated: Use AssetEnrichment.ProtoReflect.Descriptor instead. |
| 345 |
func (*AssetEnrichment) Descriptor() ([]byte, []int) { |
| 346 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{2} |
| 347 |
} |
| 348 |
|
| 349 |
func (m *AssetEnrichment) GetEnrichmentData() isAssetEnrichment_EnrichmentData { |
| 350 |
if m != nil { |
| 351 |
return m.EnrichmentData |
| 352 |
} |
| 353 |
return nil |
| 354 |
} |
| 355 |
|
| 356 |
func (x *AssetEnrichment) GetResourceOwners() *ResourceOwners { |
| 357 |
if x, ok := x.GetEnrichmentData().(*AssetEnrichment_ResourceOwners); ok { |
| 358 |
return x.ResourceOwners |
| 359 |
} |
| 360 |
return nil |
| 361 |
} |
| 362 |
|
| 363 |
type isAssetEnrichment_EnrichmentData interface { |
| 364 |
isAssetEnrichment_EnrichmentData() |
| 365 |
} |
| 366 |
|
| 367 |
type AssetEnrichment_ResourceOwners struct { |
| 368 |
// The resource owners for a resource. |
| 369 |
// |
| 370 |
// Note that this field only contains the members that have "roles/owner" |
| 371 |
// role in the resource's IAM Policy. |
| 372 |
ResourceOwners *ResourceOwners `protobuf:"bytes,7,opt,name=resource_owners,json=resourceOwners,proto3,oneof"` |
| 373 |
} |
| 374 |
|
| 375 |
func (*AssetEnrichment_ResourceOwners) isAssetEnrichment_EnrichmentData() {} |
| 376 |
|
| 377 |
// An asset in Google Cloud. An asset can be any resource in the Google Cloud |
| 378 |
// [resource |
| 379 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 380 |
// a resource outside the Google Cloud resource hierarchy (such as Google |
| 381 |
// Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), |
| 382 |
// or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). |
| 383 |
// See [Supported asset |
| 384 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 385 |
// for more information. |
| 386 |
type Asset struct { |
| 387 |
state protoimpl.MessageState |
| 388 |
sizeCache protoimpl.SizeCache |
| 389 |
unknownFields protoimpl.UnknownFields |
| 390 |
|
| 391 |
// The last update timestamp of an asset. update_time is updated when |
| 392 |
// create/update/delete operation is performed. |
| 393 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 394 |
// The full name of the asset. Example: |
| 395 |
// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` |
| 396 |
// |
| 397 |
// See [Resource |
| 398 |
// names](https://cloud.google.com/apis/design/resource_names#full_resource_name) |
| 399 |
// for more information. |
| 400 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 401 |
// The type of the asset. Example: `compute.googleapis.com/Disk` |
| 402 |
// |
| 403 |
// See [Supported asset |
| 404 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 405 |
// for more information. |
| 406 |
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 407 |
// A representation of the resource. |
| 408 |
Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` |
| 409 |
// A representation of the IAM policy set on a Google Cloud resource. |
| 410 |
// There can be a maximum of one IAM policy set on any given resource. |
| 411 |
// In addition, IAM policies inherit their granted access scope from any |
| 412 |
// policies set on parent resources in the resource hierarchy. Therefore, the |
| 413 |
// effectively policy is the union of both the policy set on this resource |
| 414 |
// and each policy set on all of the resource's ancestry resource levels in |
| 415 |
// the hierarchy. See |
| 416 |
// [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) |
| 417 |
// for more information. |
| 418 |
IamPolicy *iampb.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"` |
| 419 |
// A representation of an [organization |
| 420 |
// policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). |
| 421 |
// There can be more than one organization policy with different constraints |
| 422 |
// set on a given resource. |
| 423 |
OrgPolicy []*orgpolicypb.Policy `protobuf:"bytes,6,rep,name=org_policy,json=orgPolicy,proto3" json:"org_policy,omitempty"` |
| 424 |
// A representation of an [access |
| 425 |
// policy](https://cloud.google.com/access-context-manager/docs/overview#access-policies). |
| 426 |
// |
| 427 |
// Types that are assignable to AccessContextPolicy: |
| 428 |
// |
| 429 |
// *Asset_AccessPolicy |
| 430 |
// *Asset_AccessLevel |
| 431 |
// *Asset_ServicePerimeter |
| 432 |
AccessContextPolicy isAsset_AccessContextPolicy `protobuf_oneof:"access_context_policy"` |
| 433 |
// A representation of runtime OS Inventory information. See [this |
| 434 |
// topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) |
| 435 |
// for more information. |
| 436 |
OsInventory *osconfigpb.Inventory `protobuf:"bytes,12,opt,name=os_inventory,json=osInventory,proto3" json:"os_inventory,omitempty"` |
| 437 |
// DEPRECATED. This field only presents for the purpose of |
| 438 |
// backward-compatibility. The server will never generate responses with this |
| 439 |
// field. |
| 440 |
// The related assets of the asset of one relationship type. One asset |
| 441 |
// only represents one type of relationship. |
| 442 |
// |
| 443 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 444 |
RelatedAssets *RelatedAssets `protobuf:"bytes,13,opt,name=related_assets,json=relatedAssets,proto3" json:"related_assets,omitempty"` |
| 445 |
// One related asset of the current asset. |
| 446 |
RelatedAsset *RelatedAsset `protobuf:"bytes,15,opt,name=related_asset,json=relatedAsset,proto3" json:"related_asset,omitempty"` |
| 447 |
// The ancestry path of an asset in Google Cloud [resource |
| 448 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 449 |
// represented as a list of relative resource names. An ancestry path starts |
| 450 |
// with the closest ancestor in the hierarchy and ends at root. If the asset |
| 451 |
// is a project, folder, or organization, the ancestry path starts from the |
| 452 |
// asset itself. |
| 453 |
// |
| 454 |
// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` |
| 455 |
Ancestors []string `protobuf:"bytes,10,rep,name=ancestors,proto3" json:"ancestors,omitempty"` |
| 456 |
} |
| 457 |
|
| 458 |
func (x *Asset) Reset() { |
| 459 |
*x = Asset{} |
| 460 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[3] |
| 461 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 462 |
ms.StoreMessageInfo(mi) |
| 463 |
} |
| 464 |
|
| 465 |
func (x *Asset) String() string { |
| 466 |
return protoimpl.X.MessageStringOf(x) |
| 467 |
} |
| 468 |
|
| 469 |
func (*Asset) ProtoMessage() {} |
| 470 |
|
| 471 |
func (x *Asset) ProtoReflect() protoreflect.Message { |
| 472 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[3] |
| 473 |
if x != nil { |
| 474 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 475 |
if ms.LoadMessageInfo() == nil { |
| 476 |
ms.StoreMessageInfo(mi) |
| 477 |
} |
| 478 |
return ms |
| 479 |
} |
| 480 |
return mi.MessageOf(x) |
| 481 |
} |
| 482 |
|
| 483 |
// Deprecated: Use Asset.ProtoReflect.Descriptor instead. |
| 484 |
func (*Asset) Descriptor() ([]byte, []int) { |
| 485 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{3} |
| 486 |
} |
| 487 |
|
| 488 |
func (x *Asset) GetUpdateTime() *timestamppb.Timestamp { |
| 489 |
if x != nil { |
| 490 |
return x.UpdateTime |
| 491 |
} |
| 492 |
return nil |
| 493 |
} |
| 494 |
|
| 495 |
func (x *Asset) GetName() string { |
| 496 |
if x != nil { |
| 497 |
return x.Name |
| 498 |
} |
| 499 |
return "" |
| 500 |
} |
| 501 |
|
| 502 |
func (x *Asset) GetAssetType() string { |
| 503 |
if x != nil { |
| 504 |
return x.AssetType |
| 505 |
} |
| 506 |
return "" |
| 507 |
} |
| 508 |
|
| 509 |
func (x *Asset) GetResource() *Resource { |
| 510 |
if x != nil { |
| 511 |
return x.Resource |
| 512 |
} |
| 513 |
return nil |
| 514 |
} |
| 515 |
|
| 516 |
func (x *Asset) GetIamPolicy() *iampb.Policy { |
| 517 |
if x != nil { |
| 518 |
return x.IamPolicy |
| 519 |
} |
| 520 |
return nil |
| 521 |
} |
| 522 |
|
| 523 |
func (x *Asset) GetOrgPolicy() []*orgpolicypb.Policy { |
| 524 |
if x != nil { |
| 525 |
return x.OrgPolicy |
| 526 |
} |
| 527 |
return nil |
| 528 |
} |
| 529 |
|
| 530 |
func (m *Asset) GetAccessContextPolicy() isAsset_AccessContextPolicy { |
| 531 |
if m != nil { |
| 532 |
return m.AccessContextPolicy |
| 533 |
} |
| 534 |
return nil |
| 535 |
} |
| 536 |
|
| 537 |
func (x *Asset) GetAccessPolicy() *accesscontextmanagerpb.AccessPolicy { |
| 538 |
if x, ok := x.GetAccessContextPolicy().(*Asset_AccessPolicy); ok { |
| 539 |
return x.AccessPolicy |
| 540 |
} |
| 541 |
return nil |
| 542 |
} |
| 543 |
|
| 544 |
func (x *Asset) GetAccessLevel() *accesscontextmanagerpb.AccessLevel { |
| 545 |
if x, ok := x.GetAccessContextPolicy().(*Asset_AccessLevel); ok { |
| 546 |
return x.AccessLevel |
| 547 |
} |
| 548 |
return nil |
| 549 |
} |
| 550 |
|
| 551 |
func (x *Asset) GetServicePerimeter() *accesscontextmanagerpb.ServicePerimeter { |
| 552 |
if x, ok := x.GetAccessContextPolicy().(*Asset_ServicePerimeter); ok { |
| 553 |
return x.ServicePerimeter |
| 554 |
} |
| 555 |
return nil |
| 556 |
} |
| 557 |
|
| 558 |
func (x *Asset) GetOsInventory() *osconfigpb.Inventory { |
| 559 |
if x != nil { |
| 560 |
return x.OsInventory |
| 561 |
} |
| 562 |
return nil |
| 563 |
} |
| 564 |
|
| 565 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 566 |
func (x *Asset) GetRelatedAssets() *RelatedAssets { |
| 567 |
if x != nil { |
| 568 |
return x.RelatedAssets |
| 569 |
} |
| 570 |
return nil |
| 571 |
} |
| 572 |
|
| 573 |
func (x *Asset) GetRelatedAsset() *RelatedAsset { |
| 574 |
if x != nil { |
| 575 |
return x.RelatedAsset |
| 576 |
} |
| 577 |
return nil |
| 578 |
} |
| 579 |
|
| 580 |
func (x *Asset) GetAncestors() []string { |
| 581 |
if x != nil { |
| 582 |
return x.Ancestors |
| 583 |
} |
| 584 |
return nil |
| 585 |
} |
| 586 |
|
| 587 |
type isAsset_AccessContextPolicy interface { |
| 588 |
isAsset_AccessContextPolicy() |
| 589 |
} |
| 590 |
|
| 591 |
type Asset_AccessPolicy struct { |
| 592 |
// Also refer to the [access policy user |
| 593 |
// guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies). |
| 594 |
AccessPolicy *accesscontextmanagerpb.AccessPolicy `protobuf:"bytes,7,opt,name=access_policy,json=accessPolicy,proto3,oneof"` |
| 595 |
} |
| 596 |
|
| 597 |
type Asset_AccessLevel struct { |
| 598 |
// Also refer to the [access level user |
| 599 |
// guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels). |
| 600 |
AccessLevel *accesscontextmanagerpb.AccessLevel `protobuf:"bytes,8,opt,name=access_level,json=accessLevel,proto3,oneof"` |
| 601 |
} |
| 602 |
|
| 603 |
type Asset_ServicePerimeter struct { |
| 604 |
// Also refer to the [service perimeter user |
| 605 |
// guide](https://cloud.google.com/vpc-service-controls/docs/overview). |
| 606 |
ServicePerimeter *accesscontextmanagerpb.ServicePerimeter `protobuf:"bytes,9,opt,name=service_perimeter,json=servicePerimeter,proto3,oneof"` |
| 607 |
} |
| 608 |
|
| 609 |
func (*Asset_AccessPolicy) isAsset_AccessContextPolicy() {} |
| 610 |
|
| 611 |
func (*Asset_AccessLevel) isAsset_AccessContextPolicy() {} |
| 612 |
|
| 613 |
func (*Asset_ServicePerimeter) isAsset_AccessContextPolicy() {} |
| 614 |
|
| 615 |
// A representation of a Google Cloud resource. |
| 616 |
type Resource struct { |
| 617 |
state protoimpl.MessageState |
| 618 |
sizeCache protoimpl.SizeCache |
| 619 |
unknownFields protoimpl.UnknownFields |
| 620 |
|
| 621 |
// The API version. Example: `v1` |
| 622 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 623 |
// The URL of the discovery document containing the resource's JSON schema. |
| 624 |
// Example: |
| 625 |
// `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` |
| 626 |
// |
| 627 |
// This value is unspecified for resources that do not have an API based on a |
| 628 |
// discovery document, such as Cloud Bigtable. |
| 629 |
DiscoveryDocumentUri string `protobuf:"bytes,2,opt,name=discovery_document_uri,json=discoveryDocumentUri,proto3" json:"discovery_document_uri,omitempty"` |
| 630 |
// The JSON schema name listed in the discovery document. Example: |
| 631 |
// `Project` |
| 632 |
// |
| 633 |
// This value is unspecified for resources that do not have an API based on a |
| 634 |
// discovery document, such as Cloud Bigtable. |
| 635 |
DiscoveryName string `protobuf:"bytes,3,opt,name=discovery_name,json=discoveryName,proto3" json:"discovery_name,omitempty"` |
| 636 |
// The REST URL for accessing the resource. An HTTP `GET` request using this |
| 637 |
// URL returns the resource itself. Example: |
| 638 |
// `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` |
| 639 |
// |
| 640 |
// This value is unspecified for resources without a REST API. |
| 641 |
ResourceUrl string `protobuf:"bytes,4,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` |
| 642 |
// The full name of the immediate parent of this resource. See |
| 643 |
// [Resource |
| 644 |
// Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) |
| 645 |
// for more information. |
| 646 |
// |
| 647 |
// For Google Cloud assets, this value is the parent resource defined in the |
| 648 |
// [IAM policy |
| 649 |
// hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). |
| 650 |
// Example: |
| 651 |
// `//cloudresourcemanager.googleapis.com/projects/my_project_123` |
| 652 |
Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` |
| 653 |
// The content of the resource, in which some sensitive fields are removed |
| 654 |
// and may not be present. |
| 655 |
Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` |
| 656 |
// The location of the resource in Google Cloud, such as its zone and region. |
| 657 |
// For more information, see https://cloud.google.com/about/locations/. |
| 658 |
Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` |
| 659 |
} |
| 660 |
|
| 661 |
func (x *Resource) Reset() { |
| 662 |
*x = Resource{} |
| 663 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[4] |
| 664 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 665 |
ms.StoreMessageInfo(mi) |
| 666 |
} |
| 667 |
|
| 668 |
func (x *Resource) String() string { |
| 669 |
return protoimpl.X.MessageStringOf(x) |
| 670 |
} |
| 671 |
|
| 672 |
func (*Resource) ProtoMessage() {} |
| 673 |
|
| 674 |
func (x *Resource) ProtoReflect() protoreflect.Message { |
| 675 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[4] |
| 676 |
if x != nil { |
| 677 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 678 |
if ms.LoadMessageInfo() == nil { |
| 679 |
ms.StoreMessageInfo(mi) |
| 680 |
} |
| 681 |
return ms |
| 682 |
} |
| 683 |
return mi.MessageOf(x) |
| 684 |
} |
| 685 |
|
| 686 |
// Deprecated: Use Resource.ProtoReflect.Descriptor instead. |
| 687 |
func (*Resource) Descriptor() ([]byte, []int) { |
| 688 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{4} |
| 689 |
} |
| 690 |
|
| 691 |
func (x *Resource) GetVersion() string { |
| 692 |
if x != nil { |
| 693 |
return x.Version |
| 694 |
} |
| 695 |
return "" |
| 696 |
} |
| 697 |
|
| 698 |
func (x *Resource) GetDiscoveryDocumentUri() string { |
| 699 |
if x != nil { |
| 700 |
return x.DiscoveryDocumentUri |
| 701 |
} |
| 702 |
return "" |
| 703 |
} |
| 704 |
|
| 705 |
func (x *Resource) GetDiscoveryName() string { |
| 706 |
if x != nil { |
| 707 |
return x.DiscoveryName |
| 708 |
} |
| 709 |
return "" |
| 710 |
} |
| 711 |
|
| 712 |
func (x *Resource) GetResourceUrl() string { |
| 713 |
if x != nil { |
| 714 |
return x.ResourceUrl |
| 715 |
} |
| 716 |
return "" |
| 717 |
} |
| 718 |
|
| 719 |
func (x *Resource) GetParent() string { |
| 720 |
if x != nil { |
| 721 |
return x.Parent |
| 722 |
} |
| 723 |
return "" |
| 724 |
} |
| 725 |
|
| 726 |
func (x *Resource) GetData() *structpb.Struct { |
| 727 |
if x != nil { |
| 728 |
return x.Data |
| 729 |
} |
| 730 |
return nil |
| 731 |
} |
| 732 |
|
| 733 |
func (x *Resource) GetLocation() string { |
| 734 |
if x != nil { |
| 735 |
return x.Location |
| 736 |
} |
| 737 |
return "" |
| 738 |
} |
| 739 |
|
| 740 |
// DEPRECATED. This message only presents for the purpose of |
| 741 |
// backward-compatibility. The server will never populate this message in |
| 742 |
// responses. |
| 743 |
// The detailed related assets with the `relationship_type`. |
| 744 |
// |
| 745 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 746 |
type RelatedAssets struct { |
| 747 |
state protoimpl.MessageState |
| 748 |
sizeCache protoimpl.SizeCache |
| 749 |
unknownFields protoimpl.UnknownFields |
| 750 |
|
| 751 |
// The detailed relationship attributes. |
| 752 |
RelationshipAttributes *RelationshipAttributes `protobuf:"bytes,1,opt,name=relationship_attributes,json=relationshipAttributes,proto3" json:"relationship_attributes,omitempty"` |
| 753 |
// The peer resources of the relationship. |
| 754 |
Assets []*RelatedAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"` |
| 755 |
} |
| 756 |
|
| 757 |
func (x *RelatedAssets) Reset() { |
| 758 |
*x = RelatedAssets{} |
| 759 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[5] |
| 760 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 761 |
ms.StoreMessageInfo(mi) |
| 762 |
} |
| 763 |
|
| 764 |
func (x *RelatedAssets) String() string { |
| 765 |
return protoimpl.X.MessageStringOf(x) |
| 766 |
} |
| 767 |
|
| 768 |
func (*RelatedAssets) ProtoMessage() {} |
| 769 |
|
| 770 |
func (x *RelatedAssets) ProtoReflect() protoreflect.Message { |
| 771 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[5] |
| 772 |
if x != nil { |
| 773 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 774 |
if ms.LoadMessageInfo() == nil { |
| 775 |
ms.StoreMessageInfo(mi) |
| 776 |
} |
| 777 |
return ms |
| 778 |
} |
| 779 |
return mi.MessageOf(x) |
| 780 |
} |
| 781 |
|
| 782 |
// Deprecated: Use RelatedAssets.ProtoReflect.Descriptor instead. |
| 783 |
func (*RelatedAssets) Descriptor() ([]byte, []int) { |
| 784 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{5} |
| 785 |
} |
| 786 |
|
| 787 |
func (x *RelatedAssets) GetRelationshipAttributes() *RelationshipAttributes { |
| 788 |
if x != nil { |
| 789 |
return x.RelationshipAttributes |
| 790 |
} |
| 791 |
return nil |
| 792 |
} |
| 793 |
|
| 794 |
func (x *RelatedAssets) GetAssets() []*RelatedAsset { |
| 795 |
if x != nil { |
| 796 |
return x.Assets |
| 797 |
} |
| 798 |
return nil |
| 799 |
} |
| 800 |
|
| 801 |
// DEPRECATED. This message only presents for the purpose of |
| 802 |
// backward-compatibility. The server will never populate this message in |
| 803 |
// responses. |
| 804 |
// The relationship attributes which include `type`, `source_resource_type`, |
| 805 |
// `target_resource_type` and `action`. |
| 806 |
// |
| 807 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 808 |
type RelationshipAttributes struct { |
| 809 |
state protoimpl.MessageState |
| 810 |
sizeCache protoimpl.SizeCache |
| 811 |
unknownFields protoimpl.UnknownFields |
| 812 |
|
| 813 |
// The unique identifier of the relationship type. Example: |
| 814 |
// `INSTANCE_TO_INSTANCEGROUP` |
| 815 |
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` |
| 816 |
// The source asset type. Example: `compute.googleapis.com/Instance` |
| 817 |
SourceResourceType string `protobuf:"bytes,1,opt,name=source_resource_type,json=sourceResourceType,proto3" json:"source_resource_type,omitempty"` |
| 818 |
// The target asset type. Example: `compute.googleapis.com/Disk` |
| 819 |
TargetResourceType string `protobuf:"bytes,2,opt,name=target_resource_type,json=targetResourceType,proto3" json:"target_resource_type,omitempty"` |
| 820 |
// The detail of the relationship, e.g. `contains`, `attaches` |
| 821 |
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` |
| 822 |
} |
| 823 |
|
| 824 |
func (x *RelationshipAttributes) Reset() { |
| 825 |
*x = RelationshipAttributes{} |
| 826 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[6] |
| 827 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 828 |
ms.StoreMessageInfo(mi) |
| 829 |
} |
| 830 |
|
| 831 |
func (x *RelationshipAttributes) String() string { |
| 832 |
return protoimpl.X.MessageStringOf(x) |
| 833 |
} |
| 834 |
|
| 835 |
func (*RelationshipAttributes) ProtoMessage() {} |
| 836 |
|
| 837 |
func (x *RelationshipAttributes) ProtoReflect() protoreflect.Message { |
| 838 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[6] |
| 839 |
if x != nil { |
| 840 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 841 |
if ms.LoadMessageInfo() == nil { |
| 842 |
ms.StoreMessageInfo(mi) |
| 843 |
} |
| 844 |
return ms |
| 845 |
} |
| 846 |
return mi.MessageOf(x) |
| 847 |
} |
| 848 |
|
| 849 |
// Deprecated: Use RelationshipAttributes.ProtoReflect.Descriptor instead. |
| 850 |
func (*RelationshipAttributes) Descriptor() ([]byte, []int) { |
| 851 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{6} |
| 852 |
} |
| 853 |
|
| 854 |
func (x *RelationshipAttributes) GetType() string { |
| 855 |
if x != nil { |
| 856 |
return x.Type |
| 857 |
} |
| 858 |
return "" |
| 859 |
} |
| 860 |
|
| 861 |
func (x *RelationshipAttributes) GetSourceResourceType() string { |
| 862 |
if x != nil { |
| 863 |
return x.SourceResourceType |
| 864 |
} |
| 865 |
return "" |
| 866 |
} |
| 867 |
|
| 868 |
func (x *RelationshipAttributes) GetTargetResourceType() string { |
| 869 |
if x != nil { |
| 870 |
return x.TargetResourceType |
| 871 |
} |
| 872 |
return "" |
| 873 |
} |
| 874 |
|
| 875 |
func (x *RelationshipAttributes) GetAction() string { |
| 876 |
if x != nil { |
| 877 |
return x.Action |
| 878 |
} |
| 879 |
return "" |
| 880 |
} |
| 881 |
|
| 882 |
// An asset identifier in Google Cloud which contains its name, type and |
| 883 |
// ancestors. An asset can be any resource in the Google Cloud [resource |
| 884 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 885 |
// a resource outside the Google Cloud resource hierarchy (such as Google |
| 886 |
// Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). |
| 887 |
// See [Supported asset |
| 888 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 889 |
// for more information. |
| 890 |
type RelatedAsset struct { |
| 891 |
state protoimpl.MessageState |
| 892 |
sizeCache protoimpl.SizeCache |
| 893 |
unknownFields protoimpl.UnknownFields |
| 894 |
|
| 895 |
// The full name of the asset. Example: |
| 896 |
// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` |
| 897 |
// |
| 898 |
// See [Resource |
| 899 |
// names](https://cloud.google.com/apis/design/resource_names#full_resource_name) |
| 900 |
// for more information. |
| 901 |
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` |
| 902 |
// The type of the asset. Example: `compute.googleapis.com/Disk` |
| 903 |
// |
| 904 |
// See [Supported asset |
| 905 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 906 |
// for more information. |
| 907 |
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 908 |
// The ancestors of an asset in Google Cloud [resource |
| 909 |
// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), |
| 910 |
// represented as a list of relative resource names. An ancestry path starts |
| 911 |
// with the closest ancestor in the hierarchy and ends at root. |
| 912 |
// |
| 913 |
// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` |
| 914 |
Ancestors []string `protobuf:"bytes,3,rep,name=ancestors,proto3" json:"ancestors,omitempty"` |
| 915 |
// The unique identifier of the relationship type. Example: |
| 916 |
// `INSTANCE_TO_INSTANCEGROUP` |
| 917 |
RelationshipType string `protobuf:"bytes,4,opt,name=relationship_type,json=relationshipType,proto3" json:"relationship_type,omitempty"` |
| 918 |
} |
| 919 |
|
| 920 |
func (x *RelatedAsset) Reset() { |
| 921 |
*x = RelatedAsset{} |
| 922 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[7] |
| 923 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 924 |
ms.StoreMessageInfo(mi) |
| 925 |
} |
| 926 |
|
| 927 |
func (x *RelatedAsset) String() string { |
| 928 |
return protoimpl.X.MessageStringOf(x) |
| 929 |
} |
| 930 |
|
| 931 |
func (*RelatedAsset) ProtoMessage() {} |
| 932 |
|
| 933 |
func (x *RelatedAsset) ProtoReflect() protoreflect.Message { |
| 934 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[7] |
| 935 |
if x != nil { |
| 936 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 937 |
if ms.LoadMessageInfo() == nil { |
| 938 |
ms.StoreMessageInfo(mi) |
| 939 |
} |
| 940 |
return ms |
| 941 |
} |
| 942 |
return mi.MessageOf(x) |
| 943 |
} |
| 944 |
|
| 945 |
// Deprecated: Use RelatedAsset.ProtoReflect.Descriptor instead. |
| 946 |
func (*RelatedAsset) Descriptor() ([]byte, []int) { |
| 947 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{7} |
| 948 |
} |
| 949 |
|
| 950 |
func (x *RelatedAsset) GetAsset() string { |
| 951 |
if x != nil { |
| 952 |
return x.Asset |
| 953 |
} |
| 954 |
return "" |
| 955 |
} |
| 956 |
|
| 957 |
func (x *RelatedAsset) GetAssetType() string { |
| 958 |
if x != nil { |
| 959 |
return x.AssetType |
| 960 |
} |
| 961 |
return "" |
| 962 |
} |
| 963 |
|
| 964 |
func (x *RelatedAsset) GetAncestors() []string { |
| 965 |
if x != nil { |
| 966 |
return x.Ancestors |
| 967 |
} |
| 968 |
return nil |
| 969 |
} |
| 970 |
|
| 971 |
func (x *RelatedAsset) GetRelationshipType() string { |
| 972 |
if x != nil { |
| 973 |
return x.RelationshipType |
| 974 |
} |
| 975 |
return "" |
| 976 |
} |
| 977 |
|
| 978 |
// The key and value for a |
| 979 |
// [tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview). |
| 980 |
type Tag struct { |
| 981 |
state protoimpl.MessageState |
| 982 |
sizeCache protoimpl.SizeCache |
| 983 |
unknownFields protoimpl.UnknownFields |
| 984 |
|
| 985 |
// TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. |
| 986 |
TagKey *string `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3,oneof" json:"tag_key,omitempty"` |
| 987 |
// TagKey ID, in the format of tagKeys/{TAG_KEY_ID}. |
| 988 |
TagKeyId *string `protobuf:"bytes,2,opt,name=tag_key_id,json=tagKeyId,proto3,oneof" json:"tag_key_id,omitempty"` |
| 989 |
// TagValue namespaced name, in the format of |
| 990 |
// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. |
| 991 |
TagValue *string `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3,oneof" json:"tag_value,omitempty"` |
| 992 |
// TagValue ID, in the format of tagValues/{TAG_VALUE_ID}. |
| 993 |
TagValueId *string `protobuf:"bytes,4,opt,name=tag_value_id,json=tagValueId,proto3,oneof" json:"tag_value_id,omitempty"` |
| 994 |
} |
| 995 |
|
| 996 |
func (x *Tag) Reset() { |
| 997 |
*x = Tag{} |
| 998 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[8] |
| 999 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1000 |
ms.StoreMessageInfo(mi) |
| 1001 |
} |
| 1002 |
|
| 1003 |
func (x *Tag) String() string { |
| 1004 |
return protoimpl.X.MessageStringOf(x) |
| 1005 |
} |
| 1006 |
|
| 1007 |
func (*Tag) ProtoMessage() {} |
| 1008 |
|
| 1009 |
func (x *Tag) ProtoReflect() protoreflect.Message { |
| 1010 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[8] |
| 1011 |
if x != nil { |
| 1012 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1013 |
if ms.LoadMessageInfo() == nil { |
| 1014 |
ms.StoreMessageInfo(mi) |
| 1015 |
} |
| 1016 |
return ms |
| 1017 |
} |
| 1018 |
return mi.MessageOf(x) |
| 1019 |
} |
| 1020 |
|
| 1021 |
// Deprecated: Use Tag.ProtoReflect.Descriptor instead. |
| 1022 |
func (*Tag) Descriptor() ([]byte, []int) { |
| 1023 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{8} |
| 1024 |
} |
| 1025 |
|
| 1026 |
func (x *Tag) GetTagKey() string { |
| 1027 |
if x != nil && x.TagKey != nil { |
| 1028 |
return *x.TagKey |
| 1029 |
} |
| 1030 |
return "" |
| 1031 |
} |
| 1032 |
|
| 1033 |
func (x *Tag) GetTagKeyId() string { |
| 1034 |
if x != nil && x.TagKeyId != nil { |
| 1035 |
return *x.TagKeyId |
| 1036 |
} |
| 1037 |
return "" |
| 1038 |
} |
| 1039 |
|
| 1040 |
func (x *Tag) GetTagValue() string { |
| 1041 |
if x != nil && x.TagValue != nil { |
| 1042 |
return *x.TagValue |
| 1043 |
} |
| 1044 |
return "" |
| 1045 |
} |
| 1046 |
|
| 1047 |
func (x *Tag) GetTagValueId() string { |
| 1048 |
if x != nil && x.TagValueId != nil { |
| 1049 |
return *x.TagValueId |
| 1050 |
} |
| 1051 |
return "" |
| 1052 |
} |
| 1053 |
|
| 1054 |
// The effective tags and the ancestor resources from which they were inherited. |
| 1055 |
type EffectiveTagDetails struct { |
| 1056 |
state protoimpl.MessageState |
| 1057 |
sizeCache protoimpl.SizeCache |
| 1058 |
unknownFields protoimpl.UnknownFields |
| 1059 |
|
| 1060 |
// The [full resource |
| 1061 |
// name](https://cloud.google.com/asset-inventory/docs/resource-name-format) |
| 1062 |
// of the ancestor from which |
| 1063 |
// [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] |
| 1064 |
// are inherited, according to [tag |
| 1065 |
// inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). |
| 1066 |
AttachedResource *string `protobuf:"bytes,1,opt,name=attached_resource,json=attachedResource,proto3,oneof" json:"attached_resource,omitempty"` |
| 1067 |
// The effective tags inherited from the |
| 1068 |
// [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource]. |
| 1069 |
// Note that tags with the same key but different values may attach to |
| 1070 |
// resources at a different hierarchy levels. The lower hierarchy tag value |
| 1071 |
// will overwrite the higher hierarchy tag value of the same tag key. In this |
| 1072 |
// case, the tag value at the higher hierarchy level will be removed. For more |
| 1073 |
// information, see [tag |
| 1074 |
// inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). |
| 1075 |
EffectiveTags []*Tag `protobuf:"bytes,2,rep,name=effective_tags,json=effectiveTags,proto3" json:"effective_tags,omitempty"` |
| 1076 |
} |
| 1077 |
|
| 1078 |
func (x *EffectiveTagDetails) Reset() { |
| 1079 |
*x = EffectiveTagDetails{} |
| 1080 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[9] |
| 1081 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1082 |
ms.StoreMessageInfo(mi) |
| 1083 |
} |
| 1084 |
|
| 1085 |
func (x *EffectiveTagDetails) String() string { |
| 1086 |
return protoimpl.X.MessageStringOf(x) |
| 1087 |
} |
| 1088 |
|
| 1089 |
func (*EffectiveTagDetails) ProtoMessage() {} |
| 1090 |
|
| 1091 |
func (x *EffectiveTagDetails) ProtoReflect() protoreflect.Message { |
| 1092 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[9] |
| 1093 |
if x != nil { |
| 1094 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1095 |
if ms.LoadMessageInfo() == nil { |
| 1096 |
ms.StoreMessageInfo(mi) |
| 1097 |
} |
| 1098 |
return ms |
| 1099 |
} |
| 1100 |
return mi.MessageOf(x) |
| 1101 |
} |
| 1102 |
|
| 1103 |
// Deprecated: Use EffectiveTagDetails.ProtoReflect.Descriptor instead. |
| 1104 |
func (*EffectiveTagDetails) Descriptor() ([]byte, []int) { |
| 1105 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{9} |
| 1106 |
} |
| 1107 |
|
| 1108 |
func (x *EffectiveTagDetails) GetAttachedResource() string { |
| 1109 |
if x != nil && x.AttachedResource != nil { |
| 1110 |
return *x.AttachedResource |
| 1111 |
} |
| 1112 |
return "" |
| 1113 |
} |
| 1114 |
|
| 1115 |
func (x *EffectiveTagDetails) GetEffectiveTags() []*Tag { |
| 1116 |
if x != nil { |
| 1117 |
return x.EffectiveTags |
| 1118 |
} |
| 1119 |
return nil |
| 1120 |
} |
| 1121 |
|
| 1122 |
// A result of Resource Search, containing information of a cloud resource. |
| 1123 |
type ResourceSearchResult struct { |
| 1124 |
state protoimpl.MessageState |
| 1125 |
sizeCache protoimpl.SizeCache |
| 1126 |
unknownFields protoimpl.UnknownFields |
| 1127 |
|
| 1128 |
// The full resource name of this resource. Example: |
| 1129 |
// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. |
| 1130 |
// See [Cloud Asset Inventory Resource Name |
| 1131 |
// Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) |
| 1132 |
// for more information. |
| 1133 |
// |
| 1134 |
// To search against the `name`: |
| 1135 |
// |
| 1136 |
// * Use a field query. Example: `name:instance1` |
| 1137 |
// * Use a free text query. Example: `instance1` |
| 1138 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 1139 |
// The type of this resource. Example: `compute.googleapis.com/Disk`. |
| 1140 |
// |
| 1141 |
// To search against the `asset_type`: |
| 1142 |
// |
| 1143 |
// * Specify the `asset_type` field in your search request. |
| 1144 |
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 1145 |
// The project that this resource belongs to, in the form of |
| 1146 |
// projects/{PROJECT_NUMBER}. This field is available when the resource |
| 1147 |
// belongs to a project. |
| 1148 |
// |
| 1149 |
// To search against `project`: |
| 1150 |
// |
| 1151 |
// * Use a field query. Example: `project:12345` |
| 1152 |
// * Use a free text query. Example: `12345` |
| 1153 |
// * Specify the `scope` field as this project in your search request. |
| 1154 |
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` |
| 1155 |
// The folder(s) that this resource belongs to, in the form of |
| 1156 |
// folders/{FOLDER_NUMBER}. This field is available when the resource |
| 1157 |
// belongs to one or more folders. |
| 1158 |
// |
| 1159 |
// To search against `folders`: |
| 1160 |
// |
| 1161 |
// * Use a field query. Example: `folders:(123 OR 456)` |
| 1162 |
// * Use a free text query. Example: `123` |
| 1163 |
// * Specify the `scope` field as this folder in your search request. |
| 1164 |
Folders []string `protobuf:"bytes,17,rep,name=folders,proto3" json:"folders,omitempty"` |
| 1165 |
// The organization that this resource belongs to, in the form of |
| 1166 |
// organizations/{ORGANIZATION_NUMBER}. This field is available when the |
| 1167 |
// resource belongs to an organization. |
| 1168 |
// |
| 1169 |
// To search against `organization`: |
| 1170 |
// |
| 1171 |
// * Use a field query. Example: `organization:123` |
| 1172 |
// * Use a free text query. Example: `123` |
| 1173 |
// * Specify the `scope` field as this organization in your search request. |
| 1174 |
Organization string `protobuf:"bytes,18,opt,name=organization,proto3" json:"organization,omitempty"` |
| 1175 |
// The display name of this resource. This field is available only when the |
| 1176 |
// resource's Protobuf contains it. |
| 1177 |
// |
| 1178 |
// To search against the `display_name`: |
| 1179 |
// |
| 1180 |
// * Use a field query. Example: `displayName:"My Instance"` |
| 1181 |
// * Use a free text query. Example: `"My Instance"` |
| 1182 |
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 1183 |
// One or more paragraphs of text description of this resource. Maximum length |
| 1184 |
// could be up to 1M bytes. This field is available only when the resource's |
| 1185 |
// Protobuf contains it. |
| 1186 |
// |
| 1187 |
// To search against the `description`: |
| 1188 |
// |
| 1189 |
// * Use a field query. Example: `description:"important instance"` |
| 1190 |
// * Use a free text query. Example: `"important instance"` |
| 1191 |
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| 1192 |
// Location can be `global`, regional like `us-east1`, or zonal like |
| 1193 |
// `us-west1-b`. This field is available only when the resource's Protobuf |
| 1194 |
// contains it. |
| 1195 |
// |
| 1196 |
// To search against the `location`: |
| 1197 |
// |
| 1198 |
// * Use a field query. Example: `location:us-west*` |
| 1199 |
// * Use a free text query. Example: `us-west*` |
| 1200 |
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` |
| 1201 |
// User labels associated with this resource. See [Labelling and grouping |
| 1202 |
// Google Cloud |
| 1203 |
// resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) |
| 1204 |
// for more information. This field is available only when the resource's |
| 1205 |
// Protobuf contains it. |
| 1206 |
// |
| 1207 |
// To search against the `labels`: |
| 1208 |
// |
| 1209 |
// * Use a field query: |
| 1210 |
// - query on any label's key or value. Example: `labels:prod` |
| 1211 |
// - query by a given label. Example: `labels.env:prod` |
| 1212 |
// - query by a given label's existence. Example: `labels.env:*` |
| 1213 |
// |
| 1214 |
// * Use a free text query. Example: `prod` |
| 1215 |
Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1216 |
// Network tags associated with this resource. Like labels, network tags are a |
| 1217 |
// type of annotations used to group Google Cloud resources. See [Labelling |
| 1218 |
// Google Cloud |
| 1219 |
// resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) |
| 1220 |
// for more information. This field is available only when the resource's |
| 1221 |
// Protobuf contains it. |
| 1222 |
// |
| 1223 |
// To search against the `network_tags`: |
| 1224 |
// |
| 1225 |
// * Use a field query. Example: `networkTags:internal` |
| 1226 |
// * Use a free text query. Example: `internal` |
| 1227 |
NetworkTags []string `protobuf:"bytes,8,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"` |
| 1228 |
// The Cloud KMS |
| 1229 |
// [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) |
| 1230 |
// name or |
| 1231 |
// [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) |
| 1232 |
// name. |
| 1233 |
// |
| 1234 |
// This field only presents for the purpose of backward compatibility. |
| 1235 |
// Use the `kms_keys` field to retrieve Cloud KMS key information. This field |
| 1236 |
// is available only when the resource's Protobuf contains it and will only be |
| 1237 |
// populated for [these resource |
| 1238 |
// types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) |
| 1239 |
// for backward compatible purposes. |
| 1240 |
// |
| 1241 |
// To search against the `kms_key`: |
| 1242 |
// |
| 1243 |
// * Use a field query. Example: `kmsKey:key` |
| 1244 |
// * Use a free text query. Example: `key` |
| 1245 |
// |
| 1246 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1247 |
KmsKey string `protobuf:"bytes,10,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"` |
| 1248 |
// The Cloud KMS |
| 1249 |
// [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) |
| 1250 |
// names or |
| 1251 |
// [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) |
| 1252 |
// names. This field is available only when the resource's Protobuf contains |
| 1253 |
// it. |
| 1254 |
// |
| 1255 |
// To search against the `kms_keys`: |
| 1256 |
// |
| 1257 |
// * Use a field query. Example: `kmsKeys:key` |
| 1258 |
// * Use a free text query. Example: `key` |
| 1259 |
KmsKeys []string `protobuf:"bytes,28,rep,name=kms_keys,json=kmsKeys,proto3" json:"kms_keys,omitempty"` |
| 1260 |
// The create timestamp of this resource, at which the resource was created. |
| 1261 |
// The granularity is in seconds. Timestamp.nanos will always be 0. This field |
| 1262 |
// is available only when the resource's Protobuf contains it. |
| 1263 |
// |
| 1264 |
// To search against `create_time`: |
| 1265 |
// |
| 1266 |
// * Use a field query. |
| 1267 |
// - value in seconds since unix epoch. Example: `createTime > 1609459200` |
| 1268 |
// - value in date string. Example: `createTime > 2021-01-01` |
| 1269 |
// - value in date-time string (must be quoted). Example: `createTime > |
| 1270 |
// "2021-01-01T00:00:00"` |
| 1271 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 1272 |
// The last update timestamp of this resource, at which the resource was last |
| 1273 |
// modified or deleted. The granularity is in seconds. Timestamp.nanos will |
| 1274 |
// always be 0. This field is available only when the resource's Protobuf |
| 1275 |
// contains it. |
| 1276 |
// |
| 1277 |
// To search against `update_time`: |
| 1278 |
// |
| 1279 |
// * Use a field query. |
| 1280 |
// - value in seconds since unix epoch. Example: `updateTime < 1609459200` |
| 1281 |
// - value in date string. Example: `updateTime < 2021-01-01` |
| 1282 |
// - value in date-time string (must be quoted). Example: `updateTime < |
| 1283 |
// "2021-01-01T00:00:00"` |
| 1284 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 1285 |
// The state of this resource. Different resources types have different state |
| 1286 |
// definitions that are mapped from various fields of different resource |
| 1287 |
// types. This field is available only when the resource's Protobuf contains |
| 1288 |
// it. |
| 1289 |
// |
| 1290 |
// Example: |
| 1291 |
// If the resource is an instance provided by Compute Engine, |
| 1292 |
// its state will include PROVISIONING, STAGING, RUNNING, STOPPING, |
| 1293 |
// SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition |
| 1294 |
// in [API |
| 1295 |
// Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). |
| 1296 |
// If the resource is a project provided by Resource Manager, its state |
| 1297 |
// will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and |
| 1298 |
// DELETE_IN_PROGRESS. See `lifecycleState` definition in [API |
| 1299 |
// Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). |
| 1300 |
// |
| 1301 |
// To search against the `state`: |
| 1302 |
// |
| 1303 |
// * Use a field query. Example: `state:RUNNING` |
| 1304 |
// * Use a free text query. Example: `RUNNING` |
| 1305 |
State string `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty"` |
| 1306 |
// The additional searchable attributes of this resource. The attributes may |
| 1307 |
// vary from one resource type to another. Examples: `projectId` for Project, |
| 1308 |
// `dnsName` for DNS ManagedZone. This field contains a subset of the resource |
| 1309 |
// metadata fields that are returned by the List or Get APIs provided by the |
| 1310 |
// corresponding Google Cloud service (e.g., Compute Engine). see [API |
| 1311 |
// references and supported searchable |
| 1312 |
// attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 1313 |
// to see which fields are included. |
| 1314 |
// |
| 1315 |
// You can search values of these fields through free text search. However, |
| 1316 |
// you should not consume the field programically as the field names and |
| 1317 |
// values may change as the Google Cloud service updates to a new incompatible |
| 1318 |
// API version. |
| 1319 |
// |
| 1320 |
// To search against the `additional_attributes`: |
| 1321 |
// |
| 1322 |
// - Use a free text query to match the attributes values. Example: to search |
| 1323 |
// `additional_attributes = { dnsName: "foobar" }`, you can issue a query |
| 1324 |
// `foobar`. |
| 1325 |
AdditionalAttributes *structpb.Struct `protobuf:"bytes,9,opt,name=additional_attributes,json=additionalAttributes,proto3" json:"additional_attributes,omitempty"` |
| 1326 |
// The full resource name of this resource's parent, if it has one. |
| 1327 |
// To search against the `parent_full_resource_name`: |
| 1328 |
// |
| 1329 |
// * Use a field query. Example: |
| 1330 |
// `parentFullResourceName:"project-name"` |
| 1331 |
// * Use a free text query. Example: |
| 1332 |
// `project-name` |
| 1333 |
ParentFullResourceName string `protobuf:"bytes,19,opt,name=parent_full_resource_name,json=parentFullResourceName,proto3" json:"parent_full_resource_name,omitempty"` |
| 1334 |
// Versioned resource representations of this resource. This is repeated |
| 1335 |
// because there could be multiple versions of resource representations during |
| 1336 |
// version migration. |
| 1337 |
// |
| 1338 |
// This `versioned_resources` field is not searchable. Some attributes of the |
| 1339 |
// resource representations are exposed in `additional_attributes` field, so |
| 1340 |
// as to allow users to search on them. |
| 1341 |
VersionedResources []*VersionedResource `protobuf:"bytes,16,rep,name=versioned_resources,json=versionedResources,proto3" json:"versioned_resources,omitempty"` |
| 1342 |
// Attached resources of this resource. For example, an OSConfig |
| 1343 |
// Inventory is an attached resource of a Compute Instance. This field is |
| 1344 |
// repeated because a resource could have multiple attached resources. |
| 1345 |
// |
| 1346 |
// This `attached_resources` field is not searchable. Some attributes |
| 1347 |
// of the attached resources are exposed in `additional_attributes` field, so |
| 1348 |
// as to allow users to search on them. |
| 1349 |
AttachedResources []*AttachedResource `protobuf:"bytes,20,rep,name=attached_resources,json=attachedResources,proto3" json:"attached_resources,omitempty"` |
| 1350 |
// A map of related resources of this resource, keyed by the |
| 1351 |
// relationship type. A relationship type is in the format of |
| 1352 |
// {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, |
| 1353 |
// `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. |
| 1354 |
// See [supported relationship |
| 1355 |
// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types). |
| 1356 |
Relationships map[string]*RelatedResources `protobuf:"bytes,21,rep,name=relationships,proto3" json:"relationships,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1357 |
// This field is only present for the purpose of backward compatibility. |
| 1358 |
// Use the `tags` field instead. |
| 1359 |
// |
| 1360 |
// TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. |
| 1361 |
// To search against the `tagKeys`: |
| 1362 |
// |
| 1363 |
// * Use a field query. Example: |
| 1364 |
// - `tagKeys:"123456789/env*"` |
| 1365 |
// - `tagKeys="123456789/env"` |
| 1366 |
// - `tagKeys:"env"` |
| 1367 |
// |
| 1368 |
// * Use a free text query. Example: |
| 1369 |
// - `env` |
| 1370 |
// |
| 1371 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1372 |
TagKeys []string `protobuf:"bytes,23,rep,name=tag_keys,json=tagKeys,proto3" json:"tag_keys,omitempty"` |
| 1373 |
// This field is only present for the purpose of backward compatibility. |
| 1374 |
// Use the `tags` field instead. |
| 1375 |
// |
| 1376 |
// TagValue namespaced names, in the format of |
| 1377 |
// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. |
| 1378 |
// To search against the `tagValues`: |
| 1379 |
// |
| 1380 |
// * Use a field query. Example: |
| 1381 |
// - `tagValues:"env"` |
| 1382 |
// - `tagValues:"env/prod"` |
| 1383 |
// - `tagValues:"123456789/env/prod*"` |
| 1384 |
// - `tagValues="123456789/env/prod"` |
| 1385 |
// |
| 1386 |
// * Use a free text query. Example: |
| 1387 |
// - `prod` |
| 1388 |
// |
| 1389 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1390 |
TagValues []string `protobuf:"bytes,25,rep,name=tag_values,json=tagValues,proto3" json:"tag_values,omitempty"` |
| 1391 |
// This field is only present for the purpose of backward compatibility. |
| 1392 |
// Use the `tags` field instead. |
| 1393 |
// |
| 1394 |
// TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. |
| 1395 |
// To search against the `tagValueIds`: |
| 1396 |
// |
| 1397 |
// * Use a field query. Example: |
| 1398 |
// - `tagValueIds="tagValues/456"` |
| 1399 |
// |
| 1400 |
// * Use a free text query. Example: |
| 1401 |
// - `456` |
| 1402 |
// |
| 1403 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1404 |
TagValueIds []string `protobuf:"bytes,26,rep,name=tag_value_ids,json=tagValueIds,proto3" json:"tag_value_ids,omitempty"` |
| 1405 |
// The tags directly attached to this resource. |
| 1406 |
// |
| 1407 |
// To search against the `tags`: |
| 1408 |
// |
| 1409 |
// * Use a field query. Example: |
| 1410 |
// - `tagKeys:"123456789/env*"` |
| 1411 |
// - `tagKeys="123456789/env"` |
| 1412 |
// - `tagKeys:"env"` |
| 1413 |
// - `tagKeyIds="tagKeys/123"` |
| 1414 |
// - `tagValues:"env"` |
| 1415 |
// - `tagValues:"env/prod"` |
| 1416 |
// - `tagValues:"123456789/env/prod*"` |
| 1417 |
// - `tagValues="123456789/env/prod"` |
| 1418 |
// - `tagValueIds="tagValues/456"` |
| 1419 |
// |
| 1420 |
// * Use a free text query. Example: |
| 1421 |
// - `env/prod` |
| 1422 |
Tags []*Tag `protobuf:"bytes,29,rep,name=tags,proto3" json:"tags,omitempty"` |
| 1423 |
// The effective tags on this resource. All of the tags that are both attached |
| 1424 |
// to and inherited by a resource are collectively called the effective |
| 1425 |
// tags. For more information, see [tag |
| 1426 |
// inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). |
| 1427 |
// |
| 1428 |
// To search against the `effective_tags`: |
| 1429 |
// |
| 1430 |
// * Use a field query. Example: |
| 1431 |
// - `effectiveTagKeys:"123456789/env*"` |
| 1432 |
// - `effectiveTagKeys="123456789/env"` |
| 1433 |
// - `effectiveTagKeys:"env"` |
| 1434 |
// - `effectiveTagKeyIds="tagKeys/123"` |
| 1435 |
// - `effectiveTagValues:"env"` |
| 1436 |
// - `effectiveTagValues:"env/prod"` |
| 1437 |
// - `effectiveTagValues:"123456789/env/prod*"` |
| 1438 |
// - `effectiveTagValues="123456789/env/prod"` |
| 1439 |
// - `effectiveTagValueIds="tagValues/456"` |
| 1440 |
EffectiveTags []*EffectiveTagDetails `protobuf:"bytes,30,rep,name=effective_tags,json=effectiveTags,proto3" json:"effective_tags,omitempty"` |
| 1441 |
// Enrichments of the asset. Currently supported enrichment types with |
| 1442 |
// SearchAllResources API: |
| 1443 |
// |
| 1444 |
// * RESOURCE_OWNERS |
| 1445 |
// |
| 1446 |
// The corresponding read masks in order to get the enrichment: |
| 1447 |
// |
| 1448 |
// * enrichments.resource_owners |
| 1449 |
// |
| 1450 |
// The corresponding required permissions: |
| 1451 |
// |
| 1452 |
// * cloudasset.assets.searchEnrichmentResourceOwners |
| 1453 |
// |
| 1454 |
// Example query to get resource owner enrichment: |
| 1455 |
// ``` |
| 1456 |
// |
| 1457 |
// scope: "projects/my-project" |
| 1458 |
// query: "name: my-project" |
| 1459 |
// assetTypes: "cloudresourcemanager.googleapis.com/Project" |
| 1460 |
// readMask: { |
| 1461 |
// paths: "asset_type" |
| 1462 |
// paths: "name" |
| 1463 |
// paths: "enrichments.resource_owners" |
| 1464 |
// } |
| 1465 |
// |
| 1466 |
// ``` |
| 1467 |
Enrichments []*AssetEnrichment `protobuf:"bytes,31,rep,name=enrichments,proto3" json:"enrichments,omitempty"` |
| 1468 |
// The type of this resource's immediate parent, if there is one. |
| 1469 |
// |
| 1470 |
// To search against the `parent_asset_type`: |
| 1471 |
// |
| 1472 |
// * Use a field query. Example: |
| 1473 |
// `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` |
| 1474 |
// * Use a free text query. Example: |
| 1475 |
// `cloudresourcemanager.googleapis.com/Project` |
| 1476 |
ParentAssetType string `protobuf:"bytes,103,opt,name=parent_asset_type,json=parentAssetType,proto3" json:"parent_asset_type,omitempty"` |
| 1477 |
// The actual content of Security Command Center security marks associated |
| 1478 |
// with the asset. |
| 1479 |
// |
| 1480 |
// To search against SCC SecurityMarks field: |
| 1481 |
// |
| 1482 |
// - Use a field query: |
| 1483 |
// - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` |
| 1484 |
// - query by a given key's existence. Example: `sccSecurityMarks.foo:*` |
| 1485 |
SccSecurityMarks map[string]string `protobuf:"bytes,32,rep,name=scc_security_marks,json=sccSecurityMarks,proto3" json:"scc_security_marks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1486 |
} |
| 1487 |
|
| 1488 |
func (x *ResourceSearchResult) Reset() { |
| 1489 |
*x = ResourceSearchResult{} |
| 1490 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[10] |
| 1491 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1492 |
ms.StoreMessageInfo(mi) |
| 1493 |
} |
| 1494 |
|
| 1495 |
func (x *ResourceSearchResult) String() string { |
| 1496 |
return protoimpl.X.MessageStringOf(x) |
| 1497 |
} |
| 1498 |
|
| 1499 |
func (*ResourceSearchResult) ProtoMessage() {} |
| 1500 |
|
| 1501 |
func (x *ResourceSearchResult) ProtoReflect() protoreflect.Message { |
| 1502 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[10] |
| 1503 |
if x != nil { |
| 1504 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1505 |
if ms.LoadMessageInfo() == nil { |
| 1506 |
ms.StoreMessageInfo(mi) |
| 1507 |
} |
| 1508 |
return ms |
| 1509 |
} |
| 1510 |
return mi.MessageOf(x) |
| 1511 |
} |
| 1512 |
|
| 1513 |
// Deprecated: Use ResourceSearchResult.ProtoReflect.Descriptor instead. |
| 1514 |
func (*ResourceSearchResult) Descriptor() ([]byte, []int) { |
| 1515 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{10} |
| 1516 |
} |
| 1517 |
|
| 1518 |
func (x *ResourceSearchResult) GetName() string { |
| 1519 |
if x != nil { |
| 1520 |
return x.Name |
| 1521 |
} |
| 1522 |
return "" |
| 1523 |
} |
| 1524 |
|
| 1525 |
func (x *ResourceSearchResult) GetAssetType() string { |
| 1526 |
if x != nil { |
| 1527 |
return x.AssetType |
| 1528 |
} |
| 1529 |
return "" |
| 1530 |
} |
| 1531 |
|
| 1532 |
func (x *ResourceSearchResult) GetProject() string { |
| 1533 |
if x != nil { |
| 1534 |
return x.Project |
| 1535 |
} |
| 1536 |
return "" |
| 1537 |
} |
| 1538 |
|
| 1539 |
func (x *ResourceSearchResult) GetFolders() []string { |
| 1540 |
if x != nil { |
| 1541 |
return x.Folders |
| 1542 |
} |
| 1543 |
return nil |
| 1544 |
} |
| 1545 |
|
| 1546 |
func (x *ResourceSearchResult) GetOrganization() string { |
| 1547 |
if x != nil { |
| 1548 |
return x.Organization |
| 1549 |
} |
| 1550 |
return "" |
| 1551 |
} |
| 1552 |
|
| 1553 |
func (x *ResourceSearchResult) GetDisplayName() string { |
| 1554 |
if x != nil { |
| 1555 |
return x.DisplayName |
| 1556 |
} |
| 1557 |
return "" |
| 1558 |
} |
| 1559 |
|
| 1560 |
func (x *ResourceSearchResult) GetDescription() string { |
| 1561 |
if x != nil { |
| 1562 |
return x.Description |
| 1563 |
} |
| 1564 |
return "" |
| 1565 |
} |
| 1566 |
|
| 1567 |
func (x *ResourceSearchResult) GetLocation() string { |
| 1568 |
if x != nil { |
| 1569 |
return x.Location |
| 1570 |
} |
| 1571 |
return "" |
| 1572 |
} |
| 1573 |
|
| 1574 |
func (x *ResourceSearchResult) GetLabels() map[string]string { |
| 1575 |
if x != nil { |
| 1576 |
return x.Labels |
| 1577 |
} |
| 1578 |
return nil |
| 1579 |
} |
| 1580 |
|
| 1581 |
func (x *ResourceSearchResult) GetNetworkTags() []string { |
| 1582 |
if x != nil { |
| 1583 |
return x.NetworkTags |
| 1584 |
} |
| 1585 |
return nil |
| 1586 |
} |
| 1587 |
|
| 1588 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1589 |
func (x *ResourceSearchResult) GetKmsKey() string { |
| 1590 |
if x != nil { |
| 1591 |
return x.KmsKey |
| 1592 |
} |
| 1593 |
return "" |
| 1594 |
} |
| 1595 |
|
| 1596 |
func (x *ResourceSearchResult) GetKmsKeys() []string { |
| 1597 |
if x != nil { |
| 1598 |
return x.KmsKeys |
| 1599 |
} |
| 1600 |
return nil |
| 1601 |
} |
| 1602 |
|
| 1603 |
func (x *ResourceSearchResult) GetCreateTime() *timestamppb.Timestamp { |
| 1604 |
if x != nil { |
| 1605 |
return x.CreateTime |
| 1606 |
} |
| 1607 |
return nil |
| 1608 |
} |
| 1609 |
|
| 1610 |
func (x *ResourceSearchResult) GetUpdateTime() *timestamppb.Timestamp { |
| 1611 |
if x != nil { |
| 1612 |
return x.UpdateTime |
| 1613 |
} |
| 1614 |
return nil |
| 1615 |
} |
| 1616 |
|
| 1617 |
func (x *ResourceSearchResult) GetState() string { |
| 1618 |
if x != nil { |
| 1619 |
return x.State |
| 1620 |
} |
| 1621 |
return "" |
| 1622 |
} |
| 1623 |
|
| 1624 |
func (x *ResourceSearchResult) GetAdditionalAttributes() *structpb.Struct { |
| 1625 |
if x != nil { |
| 1626 |
return x.AdditionalAttributes |
| 1627 |
} |
| 1628 |
return nil |
| 1629 |
} |
| 1630 |
|
| 1631 |
func (x *ResourceSearchResult) GetParentFullResourceName() string { |
| 1632 |
if x != nil { |
| 1633 |
return x.ParentFullResourceName |
| 1634 |
} |
| 1635 |
return "" |
| 1636 |
} |
| 1637 |
|
| 1638 |
func (x *ResourceSearchResult) GetVersionedResources() []*VersionedResource { |
| 1639 |
if x != nil { |
| 1640 |
return x.VersionedResources |
| 1641 |
} |
| 1642 |
return nil |
| 1643 |
} |
| 1644 |
|
| 1645 |
func (x *ResourceSearchResult) GetAttachedResources() []*AttachedResource { |
| 1646 |
if x != nil { |
| 1647 |
return x.AttachedResources |
| 1648 |
} |
| 1649 |
return nil |
| 1650 |
} |
| 1651 |
|
| 1652 |
func (x *ResourceSearchResult) GetRelationships() map[string]*RelatedResources { |
| 1653 |
if x != nil { |
| 1654 |
return x.Relationships |
| 1655 |
} |
| 1656 |
return nil |
| 1657 |
} |
| 1658 |
|
| 1659 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1660 |
func (x *ResourceSearchResult) GetTagKeys() []string { |
| 1661 |
if x != nil { |
| 1662 |
return x.TagKeys |
| 1663 |
} |
| 1664 |
return nil |
| 1665 |
} |
| 1666 |
|
| 1667 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1668 |
func (x *ResourceSearchResult) GetTagValues() []string { |
| 1669 |
if x != nil { |
| 1670 |
return x.TagValues |
| 1671 |
} |
| 1672 |
return nil |
| 1673 |
} |
| 1674 |
|
| 1675 |
// Deprecated: Marked as deprecated in google/cloud/asset/v1/assets.proto. |
| 1676 |
func (x *ResourceSearchResult) GetTagValueIds() []string { |
| 1677 |
if x != nil { |
| 1678 |
return x.TagValueIds |
| 1679 |
} |
| 1680 |
return nil |
| 1681 |
} |
| 1682 |
|
| 1683 |
func (x *ResourceSearchResult) GetTags() []*Tag { |
| 1684 |
if x != nil { |
| 1685 |
return x.Tags |
| 1686 |
} |
| 1687 |
return nil |
| 1688 |
} |
| 1689 |
|
| 1690 |
func (x *ResourceSearchResult) GetEffectiveTags() []*EffectiveTagDetails { |
| 1691 |
if x != nil { |
| 1692 |
return x.EffectiveTags |
| 1693 |
} |
| 1694 |
return nil |
| 1695 |
} |
| 1696 |
|
| 1697 |
func (x *ResourceSearchResult) GetEnrichments() []*AssetEnrichment { |
| 1698 |
if x != nil { |
| 1699 |
return x.Enrichments |
| 1700 |
} |
| 1701 |
return nil |
| 1702 |
} |
| 1703 |
|
| 1704 |
func (x *ResourceSearchResult) GetParentAssetType() string { |
| 1705 |
if x != nil { |
| 1706 |
return x.ParentAssetType |
| 1707 |
} |
| 1708 |
return "" |
| 1709 |
} |
| 1710 |
|
| 1711 |
func (x *ResourceSearchResult) GetSccSecurityMarks() map[string]string { |
| 1712 |
if x != nil { |
| 1713 |
return x.SccSecurityMarks |
| 1714 |
} |
| 1715 |
return nil |
| 1716 |
} |
| 1717 |
|
| 1718 |
// Resource representation as defined by the corresponding service providing the |
| 1719 |
// resource for a given API version. |
| 1720 |
type VersionedResource struct { |
| 1721 |
state protoimpl.MessageState |
| 1722 |
sizeCache protoimpl.SizeCache |
| 1723 |
unknownFields protoimpl.UnknownFields |
| 1724 |
|
| 1725 |
// API version of the resource. |
| 1726 |
// |
| 1727 |
// Example: |
| 1728 |
// If the resource is an instance provided by Compute Engine v1 API as defined |
| 1729 |
// in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`, |
| 1730 |
// version will be "v1". |
| 1731 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1732 |
// JSON representation of the resource as defined by the corresponding |
| 1733 |
// service providing this resource. |
| 1734 |
// |
| 1735 |
// Example: |
| 1736 |
// If the resource is an instance provided by Compute Engine, this field will |
| 1737 |
// contain the JSON representation of the instance as defined by Compute |
| 1738 |
// Engine: |
| 1739 |
// `https://cloud.google.com/compute/docs/reference/rest/v1/instances`. |
| 1740 |
// |
| 1741 |
// You can find the resource definition for each supported resource type in |
| 1742 |
// this table: |
| 1743 |
// `https://cloud.google.com/asset-inventory/docs/supported-asset-types` |
| 1744 |
Resource *structpb.Struct `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` |
| 1745 |
} |
| 1746 |
|
| 1747 |
func (x *VersionedResource) Reset() { |
| 1748 |
*x = VersionedResource{} |
| 1749 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[11] |
| 1750 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1751 |
ms.StoreMessageInfo(mi) |
| 1752 |
} |
| 1753 |
|
| 1754 |
func (x *VersionedResource) String() string { |
| 1755 |
return protoimpl.X.MessageStringOf(x) |
| 1756 |
} |
| 1757 |
|
| 1758 |
func (*VersionedResource) ProtoMessage() {} |
| 1759 |
|
| 1760 |
func (x *VersionedResource) ProtoReflect() protoreflect.Message { |
| 1761 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[11] |
| 1762 |
if x != nil { |
| 1763 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1764 |
if ms.LoadMessageInfo() == nil { |
| 1765 |
ms.StoreMessageInfo(mi) |
| 1766 |
} |
| 1767 |
return ms |
| 1768 |
} |
| 1769 |
return mi.MessageOf(x) |
| 1770 |
} |
| 1771 |
|
| 1772 |
// Deprecated: Use VersionedResource.ProtoReflect.Descriptor instead. |
| 1773 |
func (*VersionedResource) Descriptor() ([]byte, []int) { |
| 1774 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{11} |
| 1775 |
} |
| 1776 |
|
| 1777 |
func (x *VersionedResource) GetVersion() string { |
| 1778 |
if x != nil { |
| 1779 |
return x.Version |
| 1780 |
} |
| 1781 |
return "" |
| 1782 |
} |
| 1783 |
|
| 1784 |
func (x *VersionedResource) GetResource() *structpb.Struct { |
| 1785 |
if x != nil { |
| 1786 |
return x.Resource |
| 1787 |
} |
| 1788 |
return nil |
| 1789 |
} |
| 1790 |
|
| 1791 |
// Attached resource representation, which is defined by the corresponding |
| 1792 |
// service provider. It represents an attached resource's payload. |
| 1793 |
type AttachedResource struct { |
| 1794 |
state protoimpl.MessageState |
| 1795 |
sizeCache protoimpl.SizeCache |
| 1796 |
unknownFields protoimpl.UnknownFields |
| 1797 |
|
| 1798 |
// The type of this attached resource. |
| 1799 |
// |
| 1800 |
// Example: `osconfig.googleapis.com/Inventory` |
| 1801 |
// |
| 1802 |
// You can find the supported attached asset types of each resource in this |
| 1803 |
// table: |
| 1804 |
// `https://cloud.google.com/asset-inventory/docs/supported-asset-types` |
| 1805 |
AssetType string `protobuf:"bytes,1,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 1806 |
// Versioned resource representations of this attached resource. This is |
| 1807 |
// repeated because there could be multiple versions of the attached resource |
| 1808 |
// representations during version migration. |
| 1809 |
VersionedResources []*VersionedResource `protobuf:"bytes,3,rep,name=versioned_resources,json=versionedResources,proto3" json:"versioned_resources,omitempty"` |
| 1810 |
} |
| 1811 |
|
| 1812 |
func (x *AttachedResource) Reset() { |
| 1813 |
*x = AttachedResource{} |
| 1814 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[12] |
| 1815 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1816 |
ms.StoreMessageInfo(mi) |
| 1817 |
} |
| 1818 |
|
| 1819 |
func (x *AttachedResource) String() string { |
| 1820 |
return protoimpl.X.MessageStringOf(x) |
| 1821 |
} |
| 1822 |
|
| 1823 |
func (*AttachedResource) ProtoMessage() {} |
| 1824 |
|
| 1825 |
func (x *AttachedResource) ProtoReflect() protoreflect.Message { |
| 1826 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[12] |
| 1827 |
if x != nil { |
| 1828 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1829 |
if ms.LoadMessageInfo() == nil { |
| 1830 |
ms.StoreMessageInfo(mi) |
| 1831 |
} |
| 1832 |
return ms |
| 1833 |
} |
| 1834 |
return mi.MessageOf(x) |
| 1835 |
} |
| 1836 |
|
| 1837 |
// Deprecated: Use AttachedResource.ProtoReflect.Descriptor instead. |
| 1838 |
func (*AttachedResource) Descriptor() ([]byte, []int) { |
| 1839 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{12} |
| 1840 |
} |
| 1841 |
|
| 1842 |
func (x *AttachedResource) GetAssetType() string { |
| 1843 |
if x != nil { |
| 1844 |
return x.AssetType |
| 1845 |
} |
| 1846 |
return "" |
| 1847 |
} |
| 1848 |
|
| 1849 |
func (x *AttachedResource) GetVersionedResources() []*VersionedResource { |
| 1850 |
if x != nil { |
| 1851 |
return x.VersionedResources |
| 1852 |
} |
| 1853 |
return nil |
| 1854 |
} |
| 1855 |
|
| 1856 |
// The related resources of the primary resource. |
| 1857 |
type RelatedResources struct { |
| 1858 |
state protoimpl.MessageState |
| 1859 |
sizeCache protoimpl.SizeCache |
| 1860 |
unknownFields protoimpl.UnknownFields |
| 1861 |
|
| 1862 |
// The detailed related resources of the primary resource. |
| 1863 |
RelatedResources []*RelatedResource `protobuf:"bytes,1,rep,name=related_resources,json=relatedResources,proto3" json:"related_resources,omitempty"` |
| 1864 |
} |
| 1865 |
|
| 1866 |
func (x *RelatedResources) Reset() { |
| 1867 |
*x = RelatedResources{} |
| 1868 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[13] |
| 1869 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1870 |
ms.StoreMessageInfo(mi) |
| 1871 |
} |
| 1872 |
|
| 1873 |
func (x *RelatedResources) String() string { |
| 1874 |
return protoimpl.X.MessageStringOf(x) |
| 1875 |
} |
| 1876 |
|
| 1877 |
func (*RelatedResources) ProtoMessage() {} |
| 1878 |
|
| 1879 |
func (x *RelatedResources) ProtoReflect() protoreflect.Message { |
| 1880 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[13] |
| 1881 |
if x != nil { |
| 1882 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1883 |
if ms.LoadMessageInfo() == nil { |
| 1884 |
ms.StoreMessageInfo(mi) |
| 1885 |
} |
| 1886 |
return ms |
| 1887 |
} |
| 1888 |
return mi.MessageOf(x) |
| 1889 |
} |
| 1890 |
|
| 1891 |
// Deprecated: Use RelatedResources.ProtoReflect.Descriptor instead. |
| 1892 |
func (*RelatedResources) Descriptor() ([]byte, []int) { |
| 1893 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{13} |
| 1894 |
} |
| 1895 |
|
| 1896 |
func (x *RelatedResources) GetRelatedResources() []*RelatedResource { |
| 1897 |
if x != nil { |
| 1898 |
return x.RelatedResources |
| 1899 |
} |
| 1900 |
return nil |
| 1901 |
} |
| 1902 |
|
| 1903 |
// The detailed related resource. |
| 1904 |
type RelatedResource struct { |
| 1905 |
state protoimpl.MessageState |
| 1906 |
sizeCache protoimpl.SizeCache |
| 1907 |
unknownFields protoimpl.UnknownFields |
| 1908 |
|
| 1909 |
// The type of the asset. Example: `compute.googleapis.com/Instance` |
| 1910 |
AssetType string `protobuf:"bytes,1,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 1911 |
// The full resource name of the related resource. Example: |
| 1912 |
// `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123` |
| 1913 |
FullResourceName string `protobuf:"bytes,2,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` |
| 1914 |
} |
| 1915 |
|
| 1916 |
func (x *RelatedResource) Reset() { |
| 1917 |
*x = RelatedResource{} |
| 1918 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[14] |
| 1919 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1920 |
ms.StoreMessageInfo(mi) |
| 1921 |
} |
| 1922 |
|
| 1923 |
func (x *RelatedResource) String() string { |
| 1924 |
return protoimpl.X.MessageStringOf(x) |
| 1925 |
} |
| 1926 |
|
| 1927 |
func (*RelatedResource) ProtoMessage() {} |
| 1928 |
|
| 1929 |
func (x *RelatedResource) ProtoReflect() protoreflect.Message { |
| 1930 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[14] |
| 1931 |
if x != nil { |
| 1932 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1933 |
if ms.LoadMessageInfo() == nil { |
| 1934 |
ms.StoreMessageInfo(mi) |
| 1935 |
} |
| 1936 |
return ms |
| 1937 |
} |
| 1938 |
return mi.MessageOf(x) |
| 1939 |
} |
| 1940 |
|
| 1941 |
// Deprecated: Use RelatedResource.ProtoReflect.Descriptor instead. |
| 1942 |
func (*RelatedResource) Descriptor() ([]byte, []int) { |
| 1943 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{14} |
| 1944 |
} |
| 1945 |
|
| 1946 |
func (x *RelatedResource) GetAssetType() string { |
| 1947 |
if x != nil { |
| 1948 |
return x.AssetType |
| 1949 |
} |
| 1950 |
return "" |
| 1951 |
} |
| 1952 |
|
| 1953 |
func (x *RelatedResource) GetFullResourceName() string { |
| 1954 |
if x != nil { |
| 1955 |
return x.FullResourceName |
| 1956 |
} |
| 1957 |
return "" |
| 1958 |
} |
| 1959 |
|
| 1960 |
// A result of IAM Policy search, containing information of an IAM policy. |
| 1961 |
type IamPolicySearchResult struct { |
| 1962 |
state protoimpl.MessageState |
| 1963 |
sizeCache protoimpl.SizeCache |
| 1964 |
unknownFields protoimpl.UnknownFields |
| 1965 |
|
| 1966 |
// The full resource name of the resource associated with this IAM policy. |
| 1967 |
// Example: |
| 1968 |
// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. |
| 1969 |
// See [Cloud Asset Inventory Resource Name |
| 1970 |
// Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) |
| 1971 |
// for more information. |
| 1972 |
// |
| 1973 |
// To search against the `resource`: |
| 1974 |
// |
| 1975 |
// * use a field query. Example: `resource:organizations/123` |
| 1976 |
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| 1977 |
// The type of the resource associated with this IAM policy. Example: |
| 1978 |
// `compute.googleapis.com/Disk`. |
| 1979 |
// |
| 1980 |
// To search against the `asset_type`: |
| 1981 |
// |
| 1982 |
// * specify the `asset_types` field in your search request. |
| 1983 |
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` |
| 1984 |
// The project that the associated Google Cloud resource belongs to, in the |
| 1985 |
// form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource |
| 1986 |
// (like VM instance, Cloud Storage bucket), the project field will indicate |
| 1987 |
// the project that contains the resource. If an IAM policy is set on a folder |
| 1988 |
// or organization, this field will be empty. |
| 1989 |
// |
| 1990 |
// To search against the `project`: |
| 1991 |
// |
| 1992 |
// * specify the `scope` field as this project in your search request. |
| 1993 |
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| 1994 |
// The folder(s) that the IAM policy belongs to, in the form of |
| 1995 |
// folders/{FOLDER_NUMBER}. This field is available when the IAM policy |
| 1996 |
// belongs to one or more folders. |
| 1997 |
// |
| 1998 |
// To search against `folders`: |
| 1999 |
// |
| 2000 |
// * use a field query. Example: `folders:(123 OR 456)` |
| 2001 |
// * use a free text query. Example: `123` |
| 2002 |
// * specify the `scope` field as this folder in your search request. |
| 2003 |
Folders []string `protobuf:"bytes,6,rep,name=folders,proto3" json:"folders,omitempty"` |
| 2004 |
// The organization that the IAM policy belongs to, in the form |
| 2005 |
// of organizations/{ORGANIZATION_NUMBER}. This field is available when the |
| 2006 |
// IAM policy belongs to an organization. |
| 2007 |
// |
| 2008 |
// To search against `organization`: |
| 2009 |
// |
| 2010 |
// * use a field query. Example: `organization:123` |
| 2011 |
// * use a free text query. Example: `123` |
| 2012 |
// * specify the `scope` field as this organization in your search request. |
| 2013 |
Organization string `protobuf:"bytes,7,opt,name=organization,proto3" json:"organization,omitempty"` |
| 2014 |
// The IAM policy directly set on the given resource. Note that the original |
| 2015 |
// IAM policy can contain multiple bindings. This only contains the bindings |
| 2016 |
// that match the given query. For queries that don't contain a constrain on |
| 2017 |
// policies (e.g., an empty query), this contains all the bindings. |
| 2018 |
// |
| 2019 |
// To search against the `policy` bindings: |
| 2020 |
// |
| 2021 |
// * use a field query: |
| 2022 |
// - query by the policy contained members. Example: |
| 2023 |
// `policy:[email protected]` |
| 2024 |
// - query by the policy contained roles. Example: |
| 2025 |
// `policy:roles/compute.admin` |
| 2026 |
// - query by the policy contained roles' included permissions. Example: |
| 2027 |
// `policy.role.permissions:compute.instances.create` |
| 2028 |
Policy *iampb.Policy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` |
| 2029 |
// Explanation about the IAM policy search result. It contains additional |
| 2030 |
// information to explain why the search result matches the query. |
| 2031 |
Explanation *IamPolicySearchResult_Explanation `protobuf:"bytes,4,opt,name=explanation,proto3" json:"explanation,omitempty"` |
| 2032 |
} |
| 2033 |
|
| 2034 |
func (x *IamPolicySearchResult) Reset() { |
| 2035 |
*x = IamPolicySearchResult{} |
| 2036 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[15] |
| 2037 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2038 |
ms.StoreMessageInfo(mi) |
| 2039 |
} |
| 2040 |
|
| 2041 |
func (x *IamPolicySearchResult) String() string { |
| 2042 |
return protoimpl.X.MessageStringOf(x) |
| 2043 |
} |
| 2044 |
|
| 2045 |
func (*IamPolicySearchResult) ProtoMessage() {} |
| 2046 |
|
| 2047 |
func (x *IamPolicySearchResult) ProtoReflect() protoreflect.Message { |
| 2048 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[15] |
| 2049 |
if x != nil { |
| 2050 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2051 |
if ms.LoadMessageInfo() == nil { |
| 2052 |
ms.StoreMessageInfo(mi) |
| 2053 |
} |
| 2054 |
return ms |
| 2055 |
} |
| 2056 |
return mi.MessageOf(x) |
| 2057 |
} |
| 2058 |
|
| 2059 |
// Deprecated: Use IamPolicySearchResult.ProtoReflect.Descriptor instead. |
| 2060 |
func (*IamPolicySearchResult) Descriptor() ([]byte, []int) { |
| 2061 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{15} |
| 2062 |
} |
| 2063 |
|
| 2064 |
func (x *IamPolicySearchResult) GetResource() string { |
| 2065 |
if x != nil { |
| 2066 |
return x.Resource |
| 2067 |
} |
| 2068 |
return "" |
| 2069 |
} |
| 2070 |
|
| 2071 |
func (x *IamPolicySearchResult) GetAssetType() string { |
| 2072 |
if x != nil { |
| 2073 |
return x.AssetType |
| 2074 |
} |
| 2075 |
return "" |
| 2076 |
} |
| 2077 |
|
| 2078 |
func (x *IamPolicySearchResult) GetProject() string { |
| 2079 |
if x != nil { |
| 2080 |
return x.Project |
| 2081 |
} |
| 2082 |
return "" |
| 2083 |
} |
| 2084 |
|
| 2085 |
func (x *IamPolicySearchResult) GetFolders() []string { |
| 2086 |
if x != nil { |
| 2087 |
return x.Folders |
| 2088 |
} |
| 2089 |
return nil |
| 2090 |
} |
| 2091 |
|
| 2092 |
func (x *IamPolicySearchResult) GetOrganization() string { |
| 2093 |
if x != nil { |
| 2094 |
return x.Organization |
| 2095 |
} |
| 2096 |
return "" |
| 2097 |
} |
| 2098 |
|
| 2099 |
func (x *IamPolicySearchResult) GetPolicy() *iampb.Policy { |
| 2100 |
if x != nil { |
| 2101 |
return x.Policy |
| 2102 |
} |
| 2103 |
return nil |
| 2104 |
} |
| 2105 |
|
| 2106 |
func (x *IamPolicySearchResult) GetExplanation() *IamPolicySearchResult_Explanation { |
| 2107 |
if x != nil { |
| 2108 |
return x.Explanation |
| 2109 |
} |
| 2110 |
return nil |
| 2111 |
} |
| 2112 |
|
| 2113 |
// Represents the detailed state of an entity under analysis, such as a |
| 2114 |
// resource, an identity or an access. |
| 2115 |
type IamPolicyAnalysisState struct { |
| 2116 |
state protoimpl.MessageState |
| 2117 |
sizeCache protoimpl.SizeCache |
| 2118 |
unknownFields protoimpl.UnknownFields |
| 2119 |
|
| 2120 |
// The Google standard error code that best describes the state. |
| 2121 |
// For example: |
| 2122 |
// - OK means the analysis on this entity has been successfully finished; |
| 2123 |
// - PERMISSION_DENIED means an access denied error is encountered; |
| 2124 |
// - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started |
| 2125 |
// in time; |
| 2126 |
Code code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"` |
| 2127 |
// The human-readable description of the cause of failure. |
| 2128 |
Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` |
| 2129 |
} |
| 2130 |
|
| 2131 |
func (x *IamPolicyAnalysisState) Reset() { |
| 2132 |
*x = IamPolicyAnalysisState{} |
| 2133 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[16] |
| 2134 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2135 |
ms.StoreMessageInfo(mi) |
| 2136 |
} |
| 2137 |
|
| 2138 |
func (x *IamPolicyAnalysisState) String() string { |
| 2139 |
return protoimpl.X.MessageStringOf(x) |
| 2140 |
} |
| 2141 |
|
| 2142 |
func (*IamPolicyAnalysisState) ProtoMessage() {} |
| 2143 |
|
| 2144 |
func (x *IamPolicyAnalysisState) ProtoReflect() protoreflect.Message { |
| 2145 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[16] |
| 2146 |
if x != nil { |
| 2147 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2148 |
if ms.LoadMessageInfo() == nil { |
| 2149 |
ms.StoreMessageInfo(mi) |
| 2150 |
} |
| 2151 |
return ms |
| 2152 |
} |
| 2153 |
return mi.MessageOf(x) |
| 2154 |
} |
| 2155 |
|
| 2156 |
// Deprecated: Use IamPolicyAnalysisState.ProtoReflect.Descriptor instead. |
| 2157 |
func (*IamPolicyAnalysisState) Descriptor() ([]byte, []int) { |
| 2158 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{16} |
| 2159 |
} |
| 2160 |
|
| 2161 |
func (x *IamPolicyAnalysisState) GetCode() code.Code { |
| 2162 |
if x != nil { |
| 2163 |
return x.Code |
| 2164 |
} |
| 2165 |
return code.Code(0) |
| 2166 |
} |
| 2167 |
|
| 2168 |
func (x *IamPolicyAnalysisState) GetCause() string { |
| 2169 |
if x != nil { |
| 2170 |
return x.Cause |
| 2171 |
} |
| 2172 |
return "" |
| 2173 |
} |
| 2174 |
|
| 2175 |
// The condition evaluation. |
| 2176 |
type ConditionEvaluation struct { |
| 2177 |
state protoimpl.MessageState |
| 2178 |
sizeCache protoimpl.SizeCache |
| 2179 |
unknownFields protoimpl.UnknownFields |
| 2180 |
|
| 2181 |
// The evaluation result. |
| 2182 |
EvaluationValue ConditionEvaluation_EvaluationValue `protobuf:"varint,1,opt,name=evaluation_value,json=evaluationValue,proto3,enum=google.cloud.asset.v1.ConditionEvaluation_EvaluationValue" json:"evaluation_value,omitempty"` |
| 2183 |
} |
| 2184 |
|
| 2185 |
func (x *ConditionEvaluation) Reset() { |
| 2186 |
*x = ConditionEvaluation{} |
| 2187 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[17] |
| 2188 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2189 |
ms.StoreMessageInfo(mi) |
| 2190 |
} |
| 2191 |
|
| 2192 |
func (x *ConditionEvaluation) String() string { |
| 2193 |
return protoimpl.X.MessageStringOf(x) |
| 2194 |
} |
| 2195 |
|
| 2196 |
func (*ConditionEvaluation) ProtoMessage() {} |
| 2197 |
|
| 2198 |
func (x *ConditionEvaluation) ProtoReflect() protoreflect.Message { |
| 2199 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[17] |
| 2200 |
if x != nil { |
| 2201 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2202 |
if ms.LoadMessageInfo() == nil { |
| 2203 |
ms.StoreMessageInfo(mi) |
| 2204 |
} |
| 2205 |
return ms |
| 2206 |
} |
| 2207 |
return mi.MessageOf(x) |
| 2208 |
} |
| 2209 |
|
| 2210 |
// Deprecated: Use ConditionEvaluation.ProtoReflect.Descriptor instead. |
| 2211 |
func (*ConditionEvaluation) Descriptor() ([]byte, []int) { |
| 2212 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{17} |
| 2213 |
} |
| 2214 |
|
| 2215 |
func (x *ConditionEvaluation) GetEvaluationValue() ConditionEvaluation_EvaluationValue { |
| 2216 |
if x != nil { |
| 2217 |
return x.EvaluationValue |
| 2218 |
} |
| 2219 |
return ConditionEvaluation_EVALUATION_VALUE_UNSPECIFIED |
| 2220 |
} |
| 2221 |
|
| 2222 |
// IAM Policy analysis result, consisting of one IAM policy binding and derived |
| 2223 |
// access control lists. |
| 2224 |
type IamPolicyAnalysisResult struct { |
| 2225 |
state protoimpl.MessageState |
| 2226 |
sizeCache protoimpl.SizeCache |
| 2227 |
unknownFields protoimpl.UnknownFields |
| 2228 |
|
| 2229 |
// The [full resource |
| 2230 |
// name](https://cloud.google.com/asset-inventory/docs/resource-name-format) |
| 2231 |
// of the resource to which the |
| 2232 |
// [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] |
| 2233 |
// policy attaches. |
| 2234 |
AttachedResourceFullName string `protobuf:"bytes,1,opt,name=attached_resource_full_name,json=attachedResourceFullName,proto3" json:"attached_resource_full_name,omitempty"` |
| 2235 |
// The IAM policy binding under analysis. |
| 2236 |
IamBinding *iampb.Binding `protobuf:"bytes,2,opt,name=iam_binding,json=iamBinding,proto3" json:"iam_binding,omitempty"` |
| 2237 |
// The access control lists derived from the |
| 2238 |
// [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] |
| 2239 |
// that match or potentially match resource and access selectors specified in |
| 2240 |
// the request. |
| 2241 |
AccessControlLists []*IamPolicyAnalysisResult_AccessControlList `protobuf:"bytes,3,rep,name=access_control_lists,json=accessControlLists,proto3" json:"access_control_lists,omitempty"` |
| 2242 |
// The identity list derived from members of the |
| 2243 |
// [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] |
| 2244 |
// that match or potentially match identity selector specified in the request. |
| 2245 |
IdentityList *IamPolicyAnalysisResult_IdentityList `protobuf:"bytes,4,opt,name=identity_list,json=identityList,proto3" json:"identity_list,omitempty"` |
| 2246 |
// Represents whether all analyses on the |
| 2247 |
// [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] |
| 2248 |
// have successfully finished. |
| 2249 |
FullyExplored bool `protobuf:"varint,5,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"` |
| 2250 |
} |
| 2251 |
|
| 2252 |
func (x *IamPolicyAnalysisResult) Reset() { |
| 2253 |
*x = IamPolicyAnalysisResult{} |
| 2254 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[18] |
| 2255 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2256 |
ms.StoreMessageInfo(mi) |
| 2257 |
} |
| 2258 |
|
| 2259 |
func (x *IamPolicyAnalysisResult) String() string { |
| 2260 |
return protoimpl.X.MessageStringOf(x) |
| 2261 |
} |
| 2262 |
|
| 2263 |
func (*IamPolicyAnalysisResult) ProtoMessage() {} |
| 2264 |
|
| 2265 |
func (x *IamPolicyAnalysisResult) ProtoReflect() protoreflect.Message { |
| 2266 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[18] |
| 2267 |
if x != nil { |
| 2268 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2269 |
if ms.LoadMessageInfo() == nil { |
| 2270 |
ms.StoreMessageInfo(mi) |
| 2271 |
} |
| 2272 |
return ms |
| 2273 |
} |
| 2274 |
return mi.MessageOf(x) |
| 2275 |
} |
| 2276 |
|
| 2277 |
// Deprecated: Use IamPolicyAnalysisResult.ProtoReflect.Descriptor instead. |
| 2278 |
func (*IamPolicyAnalysisResult) Descriptor() ([]byte, []int) { |
| 2279 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18} |
| 2280 |
} |
| 2281 |
|
| 2282 |
func (x *IamPolicyAnalysisResult) GetAttachedResourceFullName() string { |
| 2283 |
if x != nil { |
| 2284 |
return x.AttachedResourceFullName |
| 2285 |
} |
| 2286 |
return "" |
| 2287 |
} |
| 2288 |
|
| 2289 |
func (x *IamPolicyAnalysisResult) GetIamBinding() *iampb.Binding { |
| 2290 |
if x != nil { |
| 2291 |
return x.IamBinding |
| 2292 |
} |
| 2293 |
return nil |
| 2294 |
} |
| 2295 |
|
| 2296 |
func (x *IamPolicyAnalysisResult) GetAccessControlLists() []*IamPolicyAnalysisResult_AccessControlList { |
| 2297 |
if x != nil { |
| 2298 |
return x.AccessControlLists |
| 2299 |
} |
| 2300 |
return nil |
| 2301 |
} |
| 2302 |
|
| 2303 |
func (x *IamPolicyAnalysisResult) GetIdentityList() *IamPolicyAnalysisResult_IdentityList { |
| 2304 |
if x != nil { |
| 2305 |
return x.IdentityList |
| 2306 |
} |
| 2307 |
return nil |
| 2308 |
} |
| 2309 |
|
| 2310 |
func (x *IamPolicyAnalysisResult) GetFullyExplored() bool { |
| 2311 |
if x != nil { |
| 2312 |
return x.FullyExplored |
| 2313 |
} |
| 2314 |
return false |
| 2315 |
} |
| 2316 |
|
| 2317 |
// Explanation about the IAM policy search result. |
| 2318 |
type IamPolicySearchResult_Explanation struct { |
| 2319 |
state protoimpl.MessageState |
| 2320 |
sizeCache protoimpl.SizeCache |
| 2321 |
unknownFields protoimpl.UnknownFields |
| 2322 |
|
| 2323 |
// The map from roles to their included permissions that match the |
| 2324 |
// permission query (i.e., a query containing `policy.role.permissions:`). |
| 2325 |
// Example: if query `policy.role.permissions:compute.disk.get` |
| 2326 |
// matches a policy binding that contains owner role, the |
| 2327 |
// matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The |
| 2328 |
// roles can also be found in the returned `policy` bindings. Note that the |
| 2329 |
// map is populated only for requests with permission queries. |
| 2330 |
MatchedPermissions map[string]*IamPolicySearchResult_Explanation_Permissions `protobuf:"bytes,1,rep,name=matched_permissions,json=matchedPermissions,proto3" json:"matched_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 2331 |
} |
| 2332 |
|
| 2333 |
func (x *IamPolicySearchResult_Explanation) Reset() { |
| 2334 |
*x = IamPolicySearchResult_Explanation{} |
| 2335 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[22] |
| 2336 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2337 |
ms.StoreMessageInfo(mi) |
| 2338 |
} |
| 2339 |
|
| 2340 |
func (x *IamPolicySearchResult_Explanation) String() string { |
| 2341 |
return protoimpl.X.MessageStringOf(x) |
| 2342 |
} |
| 2343 |
|
| 2344 |
func (*IamPolicySearchResult_Explanation) ProtoMessage() {} |
| 2345 |
|
| 2346 |
func (x *IamPolicySearchResult_Explanation) ProtoReflect() protoreflect.Message { |
| 2347 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[22] |
| 2348 |
if x != nil { |
| 2349 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2350 |
if ms.LoadMessageInfo() == nil { |
| 2351 |
ms.StoreMessageInfo(mi) |
| 2352 |
} |
| 2353 |
return ms |
| 2354 |
} |
| 2355 |
return mi.MessageOf(x) |
| 2356 |
} |
| 2357 |
|
| 2358 |
// Deprecated: Use IamPolicySearchResult_Explanation.ProtoReflect.Descriptor instead. |
| 2359 |
func (*IamPolicySearchResult_Explanation) Descriptor() ([]byte, []int) { |
| 2360 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{15, 0} |
| 2361 |
} |
| 2362 |
|
| 2363 |
func (x *IamPolicySearchResult_Explanation) GetMatchedPermissions() map[string]*IamPolicySearchResult_Explanation_Permissions { |
| 2364 |
if x != nil { |
| 2365 |
return x.MatchedPermissions |
| 2366 |
} |
| 2367 |
return nil |
| 2368 |
} |
| 2369 |
|
| 2370 |
// IAM permissions |
| 2371 |
type IamPolicySearchResult_Explanation_Permissions struct { |
| 2372 |
state protoimpl.MessageState |
| 2373 |
sizeCache protoimpl.SizeCache |
| 2374 |
unknownFields protoimpl.UnknownFields |
| 2375 |
|
| 2376 |
// A list of permissions. A sample permission string: `compute.disk.get`. |
| 2377 |
Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` |
| 2378 |
} |
| 2379 |
|
| 2380 |
func (x *IamPolicySearchResult_Explanation_Permissions) Reset() { |
| 2381 |
*x = IamPolicySearchResult_Explanation_Permissions{} |
| 2382 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[23] |
| 2383 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2384 |
ms.StoreMessageInfo(mi) |
| 2385 |
} |
| 2386 |
|
| 2387 |
func (x *IamPolicySearchResult_Explanation_Permissions) String() string { |
| 2388 |
return protoimpl.X.MessageStringOf(x) |
| 2389 |
} |
| 2390 |
|
| 2391 |
func (*IamPolicySearchResult_Explanation_Permissions) ProtoMessage() {} |
| 2392 |
|
| 2393 |
func (x *IamPolicySearchResult_Explanation_Permissions) ProtoReflect() protoreflect.Message { |
| 2394 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[23] |
| 2395 |
if x != nil { |
| 2396 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2397 |
if ms.LoadMessageInfo() == nil { |
| 2398 |
ms.StoreMessageInfo(mi) |
| 2399 |
} |
| 2400 |
return ms |
| 2401 |
} |
| 2402 |
return mi.MessageOf(x) |
| 2403 |
} |
| 2404 |
|
| 2405 |
// Deprecated: Use IamPolicySearchResult_Explanation_Permissions.ProtoReflect.Descriptor instead. |
| 2406 |
func (*IamPolicySearchResult_Explanation_Permissions) Descriptor() ([]byte, []int) { |
| 2407 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{15, 0, 0} |
| 2408 |
} |
| 2409 |
|
| 2410 |
func (x *IamPolicySearchResult_Explanation_Permissions) GetPermissions() []string { |
| 2411 |
if x != nil { |
| 2412 |
return x.Permissions |
| 2413 |
} |
| 2414 |
return nil |
| 2415 |
} |
| 2416 |
|
| 2417 |
// A Google Cloud resource under analysis. |
| 2418 |
type IamPolicyAnalysisResult_Resource struct { |
| 2419 |
state protoimpl.MessageState |
| 2420 |
sizeCache protoimpl.SizeCache |
| 2421 |
unknownFields protoimpl.UnknownFields |
| 2422 |
|
| 2423 |
// The [full resource |
| 2424 |
// name](https://cloud.google.com/asset-inventory/docs/resource-name-format) |
| 2425 |
FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` |
| 2426 |
// The analysis state of this resource. |
| 2427 |
AnalysisState *IamPolicyAnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| 2428 |
} |
| 2429 |
|
| 2430 |
func (x *IamPolicyAnalysisResult_Resource) Reset() { |
| 2431 |
*x = IamPolicyAnalysisResult_Resource{} |
| 2432 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[25] |
| 2433 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2434 |
ms.StoreMessageInfo(mi) |
| 2435 |
} |
| 2436 |
|
| 2437 |
func (x *IamPolicyAnalysisResult_Resource) String() string { |
| 2438 |
return protoimpl.X.MessageStringOf(x) |
| 2439 |
} |
| 2440 |
|
| 2441 |
func (*IamPolicyAnalysisResult_Resource) ProtoMessage() {} |
| 2442 |
|
| 2443 |
func (x *IamPolicyAnalysisResult_Resource) ProtoReflect() protoreflect.Message { |
| 2444 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[25] |
| 2445 |
if x != nil { |
| 2446 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2447 |
if ms.LoadMessageInfo() == nil { |
| 2448 |
ms.StoreMessageInfo(mi) |
| 2449 |
} |
| 2450 |
return ms |
| 2451 |
} |
| 2452 |
return mi.MessageOf(x) |
| 2453 |
} |
| 2454 |
|
| 2455 |
// Deprecated: Use IamPolicyAnalysisResult_Resource.ProtoReflect.Descriptor instead. |
| 2456 |
func (*IamPolicyAnalysisResult_Resource) Descriptor() ([]byte, []int) { |
| 2457 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 0} |
| 2458 |
} |
| 2459 |
|
| 2460 |
func (x *IamPolicyAnalysisResult_Resource) GetFullResourceName() string { |
| 2461 |
if x != nil { |
| 2462 |
return x.FullResourceName |
| 2463 |
} |
| 2464 |
return "" |
| 2465 |
} |
| 2466 |
|
| 2467 |
func (x *IamPolicyAnalysisResult_Resource) GetAnalysisState() *IamPolicyAnalysisState { |
| 2468 |
if x != nil { |
| 2469 |
return x.AnalysisState |
| 2470 |
} |
| 2471 |
return nil |
| 2472 |
} |
| 2473 |
|
| 2474 |
// An IAM role or permission under analysis. |
| 2475 |
type IamPolicyAnalysisResult_Access struct { |
| 2476 |
state protoimpl.MessageState |
| 2477 |
sizeCache protoimpl.SizeCache |
| 2478 |
unknownFields protoimpl.UnknownFields |
| 2479 |
|
| 2480 |
// Types that are assignable to OneofAccess: |
| 2481 |
// |
| 2482 |
// *IamPolicyAnalysisResult_Access_Role |
| 2483 |
// *IamPolicyAnalysisResult_Access_Permission |
| 2484 |
OneofAccess isIamPolicyAnalysisResult_Access_OneofAccess `protobuf_oneof:"oneof_access"` |
| 2485 |
// The analysis state of this access. |
| 2486 |
AnalysisState *IamPolicyAnalysisState `protobuf:"bytes,3,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| 2487 |
} |
| 2488 |
|
| 2489 |
func (x *IamPolicyAnalysisResult_Access) Reset() { |
| 2490 |
*x = IamPolicyAnalysisResult_Access{} |
| 2491 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[26] |
| 2492 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2493 |
ms.StoreMessageInfo(mi) |
| 2494 |
} |
| 2495 |
|
| 2496 |
func (x *IamPolicyAnalysisResult_Access) String() string { |
| 2497 |
return protoimpl.X.MessageStringOf(x) |
| 2498 |
} |
| 2499 |
|
| 2500 |
func (*IamPolicyAnalysisResult_Access) ProtoMessage() {} |
| 2501 |
|
| 2502 |
func (x *IamPolicyAnalysisResult_Access) ProtoReflect() protoreflect.Message { |
| 2503 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[26] |
| 2504 |
if x != nil { |
| 2505 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2506 |
if ms.LoadMessageInfo() == nil { |
| 2507 |
ms.StoreMessageInfo(mi) |
| 2508 |
} |
| 2509 |
return ms |
| 2510 |
} |
| 2511 |
return mi.MessageOf(x) |
| 2512 |
} |
| 2513 |
|
| 2514 |
// Deprecated: Use IamPolicyAnalysisResult_Access.ProtoReflect.Descriptor instead. |
| 2515 |
func (*IamPolicyAnalysisResult_Access) Descriptor() ([]byte, []int) { |
| 2516 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 1} |
| 2517 |
} |
| 2518 |
|
| 2519 |
func (m *IamPolicyAnalysisResult_Access) GetOneofAccess() isIamPolicyAnalysisResult_Access_OneofAccess { |
| 2520 |
if m != nil { |
| 2521 |
return m.OneofAccess |
| 2522 |
} |
| 2523 |
return nil |
| 2524 |
} |
| 2525 |
|
| 2526 |
func (x *IamPolicyAnalysisResult_Access) GetRole() string { |
| 2527 |
if x, ok := x.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Role); ok { |
| 2528 |
return x.Role |
| 2529 |
} |
| 2530 |
return "" |
| 2531 |
} |
| 2532 |
|
| 2533 |
func (x *IamPolicyAnalysisResult_Access) GetPermission() string { |
| 2534 |
if x, ok := x.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Permission); ok { |
| 2535 |
return x.Permission |
| 2536 |
} |
| 2537 |
return "" |
| 2538 |
} |
| 2539 |
|
| 2540 |
func (x *IamPolicyAnalysisResult_Access) GetAnalysisState() *IamPolicyAnalysisState { |
| 2541 |
if x != nil { |
| 2542 |
return x.AnalysisState |
| 2543 |
} |
| 2544 |
return nil |
| 2545 |
} |
| 2546 |
|
| 2547 |
type isIamPolicyAnalysisResult_Access_OneofAccess interface { |
| 2548 |
isIamPolicyAnalysisResult_Access_OneofAccess() |
| 2549 |
} |
| 2550 |
|
| 2551 |
type IamPolicyAnalysisResult_Access_Role struct { |
| 2552 |
// The role. |
| 2553 |
Role string `protobuf:"bytes,1,opt,name=role,proto3,oneof"` |
| 2554 |
} |
| 2555 |
|
| 2556 |
type IamPolicyAnalysisResult_Access_Permission struct { |
| 2557 |
// The permission. |
| 2558 |
Permission string `protobuf:"bytes,2,opt,name=permission,proto3,oneof"` |
| 2559 |
} |
| 2560 |
|
| 2561 |
func (*IamPolicyAnalysisResult_Access_Role) isIamPolicyAnalysisResult_Access_OneofAccess() {} |
| 2562 |
|
| 2563 |
func (*IamPolicyAnalysisResult_Access_Permission) isIamPolicyAnalysisResult_Access_OneofAccess() {} |
| 2564 |
|
| 2565 |
// An identity under analysis. |
| 2566 |
type IamPolicyAnalysisResult_Identity struct { |
| 2567 |
state protoimpl.MessageState |
| 2568 |
sizeCache protoimpl.SizeCache |
| 2569 |
unknownFields protoimpl.UnknownFields |
| 2570 |
|
| 2571 |
// The identity of members, formatted as appear in an |
| 2572 |
// [IAM policy |
| 2573 |
// binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For |
| 2574 |
// example, they might be formatted like the following: |
| 2575 |
// |
| 2576 |
// - user:[email protected] |
| 2577 |
// - group:[email protected] |
| 2578 |
// - serviceAccount:[email protected] |
| 2579 |
// - projectOwner:some_project_id |
| 2580 |
// - domain:google.com |
| 2581 |
// - allUsers |
| 2582 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 2583 |
// The analysis state of this identity. |
| 2584 |
AnalysisState *IamPolicyAnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| 2585 |
} |
| 2586 |
|
| 2587 |
func (x *IamPolicyAnalysisResult_Identity) Reset() { |
| 2588 |
*x = IamPolicyAnalysisResult_Identity{} |
| 2589 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[27] |
| 2590 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2591 |
ms.StoreMessageInfo(mi) |
| 2592 |
} |
| 2593 |
|
| 2594 |
func (x *IamPolicyAnalysisResult_Identity) String() string { |
| 2595 |
return protoimpl.X.MessageStringOf(x) |
| 2596 |
} |
| 2597 |
|
| 2598 |
func (*IamPolicyAnalysisResult_Identity) ProtoMessage() {} |
| 2599 |
|
| 2600 |
func (x *IamPolicyAnalysisResult_Identity) ProtoReflect() protoreflect.Message { |
| 2601 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[27] |
| 2602 |
if x != nil { |
| 2603 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2604 |
if ms.LoadMessageInfo() == nil { |
| 2605 |
ms.StoreMessageInfo(mi) |
| 2606 |
} |
| 2607 |
return ms |
| 2608 |
} |
| 2609 |
return mi.MessageOf(x) |
| 2610 |
} |
| 2611 |
|
| 2612 |
// Deprecated: Use IamPolicyAnalysisResult_Identity.ProtoReflect.Descriptor instead. |
| 2613 |
func (*IamPolicyAnalysisResult_Identity) Descriptor() ([]byte, []int) { |
| 2614 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 2} |
| 2615 |
} |
| 2616 |
|
| 2617 |
func (x *IamPolicyAnalysisResult_Identity) GetName() string { |
| 2618 |
if x != nil { |
| 2619 |
return x.Name |
| 2620 |
} |
| 2621 |
return "" |
| 2622 |
} |
| 2623 |
|
| 2624 |
func (x *IamPolicyAnalysisResult_Identity) GetAnalysisState() *IamPolicyAnalysisState { |
| 2625 |
if x != nil { |
| 2626 |
return x.AnalysisState |
| 2627 |
} |
| 2628 |
return nil |
| 2629 |
} |
| 2630 |
|
| 2631 |
// A directional edge. |
| 2632 |
type IamPolicyAnalysisResult_Edge struct { |
| 2633 |
state protoimpl.MessageState |
| 2634 |
sizeCache protoimpl.SizeCache |
| 2635 |
unknownFields protoimpl.UnknownFields |
| 2636 |
|
| 2637 |
// The source node of the edge. For example, it could be a full resource |
| 2638 |
// name for a resource node or an email of an identity. |
| 2639 |
SourceNode string `protobuf:"bytes,1,opt,name=source_node,json=sourceNode,proto3" json:"source_node,omitempty"` |
| 2640 |
// The target node of the edge. For example, it could be a full resource |
| 2641 |
// name for a resource node or an email of an identity. |
| 2642 |
TargetNode string `protobuf:"bytes,2,opt,name=target_node,json=targetNode,proto3" json:"target_node,omitempty"` |
| 2643 |
} |
| 2644 |
|
| 2645 |
func (x *IamPolicyAnalysisResult_Edge) Reset() { |
| 2646 |
*x = IamPolicyAnalysisResult_Edge{} |
| 2647 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[28] |
| 2648 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2649 |
ms.StoreMessageInfo(mi) |
| 2650 |
} |
| 2651 |
|
| 2652 |
func (x *IamPolicyAnalysisResult_Edge) String() string { |
| 2653 |
return protoimpl.X.MessageStringOf(x) |
| 2654 |
} |
| 2655 |
|
| 2656 |
func (*IamPolicyAnalysisResult_Edge) ProtoMessage() {} |
| 2657 |
|
| 2658 |
func (x *IamPolicyAnalysisResult_Edge) ProtoReflect() protoreflect.Message { |
| 2659 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[28] |
| 2660 |
if x != nil { |
| 2661 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2662 |
if ms.LoadMessageInfo() == nil { |
| 2663 |
ms.StoreMessageInfo(mi) |
| 2664 |
} |
| 2665 |
return ms |
| 2666 |
} |
| 2667 |
return mi.MessageOf(x) |
| 2668 |
} |
| 2669 |
|
| 2670 |
// Deprecated: Use IamPolicyAnalysisResult_Edge.ProtoReflect.Descriptor instead. |
| 2671 |
func (*IamPolicyAnalysisResult_Edge) Descriptor() ([]byte, []int) { |
| 2672 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 3} |
| 2673 |
} |
| 2674 |
|
| 2675 |
func (x *IamPolicyAnalysisResult_Edge) GetSourceNode() string { |
| 2676 |
if x != nil { |
| 2677 |
return x.SourceNode |
| 2678 |
} |
| 2679 |
return "" |
| 2680 |
} |
| 2681 |
|
| 2682 |
func (x *IamPolicyAnalysisResult_Edge) GetTargetNode() string { |
| 2683 |
if x != nil { |
| 2684 |
return x.TargetNode |
| 2685 |
} |
| 2686 |
return "" |
| 2687 |
} |
| 2688 |
|
| 2689 |
// An access control list, derived from the above IAM policy binding, which |
| 2690 |
// contains a set of resources and accesses. May include one |
| 2691 |
// item from each set to compose an access control entry. |
| 2692 |
// |
| 2693 |
// NOTICE that there could be multiple access control lists for one IAM policy |
| 2694 |
// binding. The access control lists are created based on resource and access |
| 2695 |
// combinations. |
| 2696 |
// |
| 2697 |
// For example, assume we have the following cases in one IAM policy binding: |
| 2698 |
// - Permission P1 and P2 apply to resource R1 and R2; |
| 2699 |
// - Permission P3 applies to resource R2 and R3; |
| 2700 |
// |
| 2701 |
// This will result in the following access control lists: |
| 2702 |
// - AccessControlList 1: [R1, R2], [P1, P2] |
| 2703 |
// - AccessControlList 2: [R2, R3], [P3] |
| 2704 |
type IamPolicyAnalysisResult_AccessControlList struct { |
| 2705 |
state protoimpl.MessageState |
| 2706 |
sizeCache protoimpl.SizeCache |
| 2707 |
unknownFields protoimpl.UnknownFields |
| 2708 |
|
| 2709 |
// The resources that match one of the following conditions: |
| 2710 |
// - The resource_selector, if it is specified in request; |
| 2711 |
// - Otherwise, resources reachable from the policy attached resource. |
| 2712 |
Resources []*IamPolicyAnalysisResult_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` |
| 2713 |
// The accesses that match one of the following conditions: |
| 2714 |
// - The access_selector, if it is specified in request; |
| 2715 |
// - Otherwise, access specifiers reachable from the policy binding's role. |
| 2716 |
Accesses []*IamPolicyAnalysisResult_Access `protobuf:"bytes,2,rep,name=accesses,proto3" json:"accesses,omitempty"` |
| 2717 |
// Resource edges of the graph starting from the policy attached |
| 2718 |
// resource to any descendant resources. The |
| 2719 |
// [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] |
| 2720 |
// contains the full resource name of a parent resource and |
| 2721 |
// [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node] |
| 2722 |
// contains the full resource name of a child resource. This field is |
| 2723 |
// present only if the output_resource_edges option is enabled in request. |
| 2724 |
ResourceEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,3,rep,name=resource_edges,json=resourceEdges,proto3" json:"resource_edges,omitempty"` |
| 2725 |
// Condition evaluation for this AccessControlList, if there is a condition |
| 2726 |
// defined in the above IAM policy binding. |
| 2727 |
ConditionEvaluation *ConditionEvaluation `protobuf:"bytes,4,opt,name=condition_evaluation,json=conditionEvaluation,proto3" json:"condition_evaluation,omitempty"` |
| 2728 |
} |
| 2729 |
|
| 2730 |
func (x *IamPolicyAnalysisResult_AccessControlList) Reset() { |
| 2731 |
*x = IamPolicyAnalysisResult_AccessControlList{} |
| 2732 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[29] |
| 2733 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2734 |
ms.StoreMessageInfo(mi) |
| 2735 |
} |
| 2736 |
|
| 2737 |
func (x *IamPolicyAnalysisResult_AccessControlList) String() string { |
| 2738 |
return protoimpl.X.MessageStringOf(x) |
| 2739 |
} |
| 2740 |
|
| 2741 |
func (*IamPolicyAnalysisResult_AccessControlList) ProtoMessage() {} |
| 2742 |
|
| 2743 |
func (x *IamPolicyAnalysisResult_AccessControlList) ProtoReflect() protoreflect.Message { |
| 2744 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[29] |
| 2745 |
if x != nil { |
| 2746 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2747 |
if ms.LoadMessageInfo() == nil { |
| 2748 |
ms.StoreMessageInfo(mi) |
| 2749 |
} |
| 2750 |
return ms |
| 2751 |
} |
| 2752 |
return mi.MessageOf(x) |
| 2753 |
} |
| 2754 |
|
| 2755 |
// Deprecated: Use IamPolicyAnalysisResult_AccessControlList.ProtoReflect.Descriptor instead. |
| 2756 |
func (*IamPolicyAnalysisResult_AccessControlList) Descriptor() ([]byte, []int) { |
| 2757 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 4} |
| 2758 |
} |
| 2759 |
|
| 2760 |
func (x *IamPolicyAnalysisResult_AccessControlList) GetResources() []*IamPolicyAnalysisResult_Resource { |
| 2761 |
if x != nil { |
| 2762 |
return x.Resources |
| 2763 |
} |
| 2764 |
return nil |
| 2765 |
} |
| 2766 |
|
| 2767 |
func (x *IamPolicyAnalysisResult_AccessControlList) GetAccesses() []*IamPolicyAnalysisResult_Access { |
| 2768 |
if x != nil { |
| 2769 |
return x.Accesses |
| 2770 |
} |
| 2771 |
return nil |
| 2772 |
} |
| 2773 |
|
| 2774 |
func (x *IamPolicyAnalysisResult_AccessControlList) GetResourceEdges() []*IamPolicyAnalysisResult_Edge { |
| 2775 |
if x != nil { |
| 2776 |
return x.ResourceEdges |
| 2777 |
} |
| 2778 |
return nil |
| 2779 |
} |
| 2780 |
|
| 2781 |
func (x *IamPolicyAnalysisResult_AccessControlList) GetConditionEvaluation() *ConditionEvaluation { |
| 2782 |
if x != nil { |
| 2783 |
return x.ConditionEvaluation |
| 2784 |
} |
| 2785 |
return nil |
| 2786 |
} |
| 2787 |
|
| 2788 |
// The identities and group edges. |
| 2789 |
type IamPolicyAnalysisResult_IdentityList struct { |
| 2790 |
state protoimpl.MessageState |
| 2791 |
sizeCache protoimpl.SizeCache |
| 2792 |
unknownFields protoimpl.UnknownFields |
| 2793 |
|
| 2794 |
// Only the identities that match one of the following conditions will be |
| 2795 |
// presented: |
| 2796 |
// - The identity_selector, if it is specified in request; |
| 2797 |
// - Otherwise, identities reachable from the policy binding's members. |
| 2798 |
Identities []*IamPolicyAnalysisResult_Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"` |
| 2799 |
// Group identity edges of the graph starting from the binding's |
| 2800 |
// group members to any node of the |
| 2801 |
// [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities]. |
| 2802 |
// The |
| 2803 |
// [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] |
| 2804 |
// contains a group, such as `group:[email protected]`. The |
| 2805 |
// [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node] |
| 2806 |
// contains a member of the group, such as `group:[email protected]` or |
| 2807 |
// `user:[email protected]`. This field is present only if the |
| 2808 |
// output_group_edges option is enabled in request. |
| 2809 |
GroupEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,2,rep,name=group_edges,json=groupEdges,proto3" json:"group_edges,omitempty"` |
| 2810 |
} |
| 2811 |
|
| 2812 |
func (x *IamPolicyAnalysisResult_IdentityList) Reset() { |
| 2813 |
*x = IamPolicyAnalysisResult_IdentityList{} |
| 2814 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[30] |
| 2815 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2816 |
ms.StoreMessageInfo(mi) |
| 2817 |
} |
| 2818 |
|
| 2819 |
func (x *IamPolicyAnalysisResult_IdentityList) String() string { |
| 2820 |
return protoimpl.X.MessageStringOf(x) |
| 2821 |
} |
| 2822 |
|
| 2823 |
func (*IamPolicyAnalysisResult_IdentityList) ProtoMessage() {} |
| 2824 |
|
| 2825 |
func (x *IamPolicyAnalysisResult_IdentityList) ProtoReflect() protoreflect.Message { |
| 2826 |
mi := &file_google_cloud_asset_v1_assets_proto_msgTypes[30] |
| 2827 |
if x != nil { |
| 2828 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2829 |
if ms.LoadMessageInfo() == nil { |
| 2830 |
ms.StoreMessageInfo(mi) |
| 2831 |
} |
| 2832 |
return ms |
| 2833 |
} |
| 2834 |
return mi.MessageOf(x) |
| 2835 |
} |
| 2836 |
|
| 2837 |
// Deprecated: Use IamPolicyAnalysisResult_IdentityList.ProtoReflect.Descriptor instead. |
| 2838 |
func (*IamPolicyAnalysisResult_IdentityList) Descriptor() ([]byte, []int) { |
| 2839 |
return file_google_cloud_asset_v1_assets_proto_rawDescGZIP(), []int{18, 5} |
| 2840 |
} |
| 2841 |
|
| 2842 |
func (x *IamPolicyAnalysisResult_IdentityList) GetIdentities() []*IamPolicyAnalysisResult_Identity { |
| 2843 |
if x != nil { |
| 2844 |
return x.Identities |
| 2845 |
} |
| 2846 |
return nil |
| 2847 |
} |
| 2848 |
|
| 2849 |
func (x *IamPolicyAnalysisResult_IdentityList) GetGroupEdges() []*IamPolicyAnalysisResult_Edge { |
| 2850 |
if x != nil { |
| 2851 |
return x.GroupEdges |
| 2852 |
} |
| 2853 |
return nil |
| 2854 |
} |
| 2855 |
|
| 2856 |
var File_google_cloud_asset_v1_assets_proto protoreflect.FileDescriptor |
| 2857 |
|
| 2858 |
var file_google_cloud_asset_v1_assets_proto_rawDesc = []byte{ |
| 2859 |
0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 2860 |
0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, |
| 2861 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 2862 |
0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, |
| 2863 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 2864 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, |
| 2865 |
0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, |
| 2866 |
0x73, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, |
| 2867 |
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, |
| 2868 |
0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, |
| 2869 |
0x64, 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6f, |
| 2870 |
0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, |
| 2871 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, |
| 2872 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, |
| 2873 |
0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2874 |
0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, |
| 2875 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, |
| 2876 |
0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, |
| 2877 |
0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, |
| 2878 |
0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 2879 |
0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, |
| 2880 |
0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, |
| 2881 |
0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, |
| 2882 |
0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, |
| 2883 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, |
| 2884 |
0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, |
| 2885 |
0x67, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, |
| 2886 |
0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, |
| 2887 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 2888 |
0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, |
| 2889 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, |
| 2890 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, |
| 2891 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, |
| 2892 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x03, 0x0a, 0x0d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, |
| 2893 |
0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, |
| 2894 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2895 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, |
| 2896 |
0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x64, 0x6f, |
| 2897 |
0x77, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, |
| 2898 |
0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x61, |
| 2899 |
0x73, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, |
| 2900 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 2901 |
0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, |
| 2902 |
0x60, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, |
| 2903 |
0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, |
| 2904 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 2905 |
0x76, 0x31, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, |
| 2906 |
0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 2907 |
0x52, 0x0f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, |
| 2908 |
0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 2909 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2910 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, |
| 2911 |
0x73, 0x73, 0x65, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, |
| 2912 |
0x22, 0x6f, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x74, |
| 2913 |
0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x5f, 0x41, 0x53, 0x53, |
| 2914 |
0x45, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 2915 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, |
| 2916 |
0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, |
| 2917 |
0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x45, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, |
| 2918 |
0x53, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, |
| 2919 |
0x04, 0x22, 0x7e, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, |
| 2920 |
0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 2921 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 2922 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, |
| 2923 |
0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, |
| 2924 |
0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 2925 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 2926 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, |
| 2927 |
0x65, 0x22, 0x75, 0x0a, 0x0f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, |
| 2928 |
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 2929 |
0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, |
| 2930 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, |
| 2931 |
0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, |
| 2932 |
0x6e, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 2933 |
0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, |
| 2934 |
0x6d, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x22, 0x92, 0x07, 0x0a, 0x05, 0x41, 0x73, 0x73, |
| 2935 |
0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, |
| 2936 |
0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2937 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 2938 |
0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 2939 |
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 2940 |
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, |
| 2941 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, |
| 2942 |
0x70, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, |
| 2943 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 2944 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, |
| 2945 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, |
| 2946 |
0x34, 0x0a, 0x0a, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, |
| 2947 |
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, |
| 2948 |
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x69, 0x61, 0x6d, 0x50, |
| 2949 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x40, 0x0a, 0x0a, 0x6f, 0x72, 0x67, 0x5f, 0x70, 0x6f, 0x6c, |
| 2950 |
0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2951 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, |
| 2952 |
0x63, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x6f, 0x72, |
| 2953 |
0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5c, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, |
| 2954 |
0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, |
| 2955 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, |
| 2956 |
0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, |
| 2957 |
0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, |
| 2958 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, |
| 2959 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x59, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, |
| 2960 |
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, |
| 2961 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, |
| 2962 |
0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, |
| 2963 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, |
| 2964 |
0x6c, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, |
| 2965 |
0x12, 0x68, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, |
| 2966 |
0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, |
| 2967 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, |
| 2968 |
0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, |
| 2969 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x65, 0x72, |
| 2970 |
0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 2971 |
0x65, 0x50, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0c, 0x6f, 0x73, |
| 2972 |
0x5f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, |
| 2973 |
0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 2974 |
0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x65, |
| 2975 |
0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0b, 0x6f, 0x73, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, |
| 2976 |
0x72, 0x79, 0x12, 0x4f, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x73, |
| 2977 |
0x73, 0x65, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, |
| 2978 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 2979 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, |
| 2980 |
0x42, 0x02, 0x18, 0x01, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, |
| 2981 |
0x65, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, |
| 2982 |
0x73, 0x73, 0x65, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, |
| 2983 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 2984 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, |
| 2985 |
0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1c, 0x0a, |
| 2986 |
0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, |
| 2987 |
0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x3a, 0x27, 0xea, 0x41, 0x24, |
| 2988 |
0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, |
| 2989 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, |
| 2990 |
0x74, 0x12, 0x01, 0x2a, 0x42, 0x17, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, |
| 2991 |
0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x85, 0x02, |
| 2992 |
0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, |
| 2993 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, |
| 2994 |
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, |
| 2995 |
0x79, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, |
| 2996 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, |
| 2997 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, |
| 2998 |
0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 2999 |
0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, |
| 3000 |
0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, |
| 3001 |
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 3002 |
0x65, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x05, |
| 3003 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, |
| 3004 |
0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, |
| 3005 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, |
| 3006 |
0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, |
| 3007 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, |
| 3008 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb8, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, |
| 3009 |
0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x66, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x61, 0x74, |
| 3010 |
0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 3011 |
0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3012 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, |
| 3013 |
0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x41, 0x74, 0x74, |
| 3014 |
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x16, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, |
| 3015 |
0x6e, 0x73, 0x68, 0x69, 0x70, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, |
| 3016 |
0x3b, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 3017 |
0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, |
| 3018 |
0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, |
| 3019 |
0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x3a, 0x02, 0x18, 0x01, |
| 3020 |
0x22, 0xac, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, |
| 3021 |
0x70, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, |
| 3022 |
0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, |
| 3023 |
0x30, 0x0a, 0x14, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 3024 |
0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, |
| 3025 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, |
| 3026 |
0x65, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, |
| 3027 |
0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 3028 |
0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, |
| 3029 |
0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, |
| 3030 |
0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x02, 0x18, 0x01, 0x22, |
| 3031 |
0xb4, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, |
| 3032 |
0x12, 0x3a, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 3033 |
0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 3034 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 3035 |
0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, |
| 3036 |
0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 3037 |
0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, |
| 3038 |
0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, |
| 3039 |
0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x6c, |
| 3040 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, |
| 3041 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, |
| 3042 |
0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, 0xc9, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x1c, |
| 3043 |
0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, |
| 3044 |
0x00, 0x52, 0x06, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x0a, |
| 3045 |
0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 3046 |
0x48, 0x01, 0x52, 0x08, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, |
| 3047 |
0x20, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 3048 |
0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, |
| 3049 |
0x01, 0x12, 0x25, 0x0a, 0x0c, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, |
| 3050 |
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x56, 0x61, |
| 3051 |
0x6c, 0x75, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, |
| 3052 |
0x5f, 0x6b, 0x65, 0x79, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, |
| 3053 |
0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, |
| 3054 |
0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, |
| 3055 |
0x69, 0x64, 0x22, 0xa0, 0x01, 0x0a, 0x13, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, |
| 3056 |
0x54, 0x61, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x61, 0x74, |
| 3057 |
0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, |
| 3058 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, |
| 3059 |
0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x0e, |
| 3060 |
0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, |
| 3061 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3062 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, |
| 3063 |
0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x42, |
| 3064 |
0x14, 0x0a, 0x12, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, |
| 3065 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x9f, 0x0d, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 3066 |
0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, |
| 3067 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, |
| 3068 |
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 3069 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, |
| 3070 |
0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, |
| 3071 |
0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, |
| 3072 |
0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, |
| 3073 |
0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, |
| 3074 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, |
| 3075 |
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, |
| 3076 |
0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 3077 |
0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, |
| 3078 |
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 3079 |
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, |
| 3080 |
0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, |
| 3081 |
0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x6c, 0x61, |
| 3082 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, |
| 3083 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 3084 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, |
| 3085 |
0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, |
| 3086 |
0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, |
| 3087 |
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, |
| 3088 |
0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1b, |
| 3089 |
0x0a, 0x07, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 3090 |
0x02, 0x18, 0x01, 0x52, 0x06, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6b, |
| 3091 |
0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6b, |
| 3092 |
0x6d, 0x73, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 3093 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 3094 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 3095 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, |
| 3096 |
0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, |
| 3097 |
0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3098 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, |
| 3099 |
0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, |
| 3100 |
0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 3101 |
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, |
| 3102 |
0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, |
| 3103 |
0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 3104 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x14, |
| 3105 |
0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, |
| 3106 |
0x75, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, |
| 3107 |
0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, |
| 3108 |
0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, |
| 3109 |
0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, |
| 3110 |
0x59, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, |
| 3111 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, |
| 3112 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, |
| 3113 |
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, |
| 3114 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, |
| 3115 |
0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x61, 0x74, |
| 3116 |
0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, |
| 3117 |
0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 3118 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, |
| 3119 |
0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, |
| 3120 |
0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 3121 |
0x65, 0x73, 0x12, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, |
| 3122 |
0x69, 0x70, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 3123 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, |
| 3124 |
0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, |
| 3125 |
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 3126 |
0x68, 0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, |
| 3127 |
0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, |
| 3128 |
0x6b, 0x65, 0x79, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, |
| 3129 |
0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, 0x76, |
| 3130 |
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, |
| 3131 |
0x09, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x74, 0x61, |
| 3132 |
0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, |
| 3133 |
0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, |
| 3134 |
0x64, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, |
| 3135 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 3136 |
0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, |
| 3137 |
0x67, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, |
| 3138 |
0x74, 0x61, 0x67, 0x73, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, |
| 3139 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 3140 |
0x76, 0x31, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x44, |
| 3141 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, |
| 3142 |
0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, |
| 3143 |
0x65, 0x6e, 0x74, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, |
| 3144 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 3145 |
0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, |
| 3146 |
0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, |
| 3147 |
0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, |
| 3148 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x65, |
| 3149 |
0x6e, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6f, 0x0a, 0x12, 0x73, |
| 3150 |
0x63, 0x63, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, |
| 3151 |
0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 3152 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, |
| 3153 |
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, |
| 3154 |
0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, |
| 3155 |
0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x63, 0x63, 0x53, |
| 3156 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x1a, 0x39, 0x0a, 0x0b, |
| 3157 |
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 3158 |
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, |
| 3159 |
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, |
| 3160 |
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x69, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x61, 0x74, |
| 3161 |
0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, |
| 3162 |
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, |
| 3163 |
0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, |
| 3164 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, |
| 3165 |
0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, |
| 3166 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 3167 |
0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, |
| 3168 |
0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 3169 |
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, |
| 3170 |
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, |
| 3171 |
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x73, 0x69, |
| 3172 |
0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| 3173 |
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, |
| 3174 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 3175 |
0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3176 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, |
| 3177 |
0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x10, |
| 3178 |
0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 3179 |
0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, |
| 3180 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 3181 |
0x59, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, |
| 3182 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, |
| 3183 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, |
| 3184 |
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, |
| 3185 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, |
| 3186 |
0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x10, 0x52, 0x65, |
| 3187 |
0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x53, |
| 3188 |
0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 3189 |
0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 3190 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, |
| 3191 |
0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 3192 |
0x65, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 3193 |
0x63, 0x65, 0x73, 0x22, 0x5e, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, |
| 3194 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, |
| 3195 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, |
| 3196 |
0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, |
| 3197 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 3198 |
0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, |
| 3199 |
0x61, 0x6d, 0x65, 0x22, 0x88, 0x05, 0x0a, 0x15, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 3200 |
0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, |
| 3201 |
0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 3202 |
0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, |
| 3203 |
0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, |
| 3204 |
0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, |
| 3205 |
0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 3206 |
0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, |
| 3207 |
0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0c, |
| 3208 |
0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, |
| 3209 |
0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 3210 |
0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 3211 |
0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, |
| 3212 |
0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, |
| 3213 |
0x5a, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, |
| 3214 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3215 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, |
| 3216 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, |
| 3217 |
0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, |
| 3218 |
0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd0, 0x02, 0x0a, 0x0b, |
| 3219 |
0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x81, 0x01, 0x0a, 0x13, |
| 3220 |
0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, |
| 3221 |
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 3222 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, |
| 3223 |
0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, |
| 3224 |
0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, |
| 3225 |
0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, |
| 3226 |
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x61, 0x74, |
| 3227 |
0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, |
| 3228 |
0x2f, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, |
| 3229 |
0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, |
| 3230 |
0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, |
| 3231 |
0x1a, 0x8b, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, |
| 3232 |
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, |
| 3233 |
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5a, |
| 3234 |
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, |
| 3235 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, |
| 3236 |
0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, |
| 3237 |
0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, |
| 3238 |
0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, |
| 3239 |
0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54, |
| 3240 |
0x0a, 0x16, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, |
| 3241 |
0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, |
| 3242 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 3243 |
0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, |
| 3244 |
0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, |
| 3245 |
0x61, 0x75, 0x73, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, |
| 3246 |
0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x10, |
| 3247 |
0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 3248 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 3249 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, |
| 3250 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, |
| 3251 |
0x6f, 0x6e, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, |
| 3252 |
0x75, 0x65, 0x52, 0x0f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, |
| 3253 |
0x6c, 0x75, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, |
| 3254 |
0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x56, 0x41, 0x4c, 0x55, 0x41, |
| 3255 |
0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 3256 |
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x55, 0x45, |
| 3257 |
0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x4c, 0x53, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, |
| 3258 |
0x0b, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x22, 0xc3, |
| 3259 |
0x0b, 0x0a, 0x17, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, |
| 3260 |
0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x74, |
| 3261 |
0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, |
| 3262 |
0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 3263 |
0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 3264 |
0x65, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x69, 0x61, 0x6d, |
| 3265 |
0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, |
| 3266 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, |
| 3267 |
0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x69, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, |
| 3268 |
0x6e, 0x67, 0x12, 0x72, 0x0a, 0x14, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, |
| 3269 |
0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, |
| 3270 |
0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 3271 |
0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, |
| 3272 |
0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 3273 |
0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, |
| 3274 |
0x73, 0x74, 0x52, 0x12, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, |
| 3275 |
0x6c, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, |
| 3276 |
0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, |
| 3277 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, |
| 3278 |
0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, |
| 3279 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, |
| 3280 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, |
| 3281 |
0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75, 0x6c, 0x6c, |
| 3282 |
0x79, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, |
| 3283 |
0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x1a, |
| 3284 |
0x8e, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x12, |
| 3285 |
0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, |
| 3286 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, |
| 3287 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, |
| 3288 |
0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 3289 |
0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 3290 |
0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, |
| 3291 |
0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, |
| 3292 |
0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 3293 |
0x1a, 0xa6, 0x01, 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x72, |
| 3294 |
0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, |
| 3295 |
0x65, 0x12, 0x20, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, |
| 3296 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, |
| 3297 |
0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, |
| 3298 |
0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, |
| 3299 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 3300 |
0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, |
| 3301 |
0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, |
| 3302 |
0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, |
| 3303 |
0x6f, 0x66, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x1a, 0x74, 0x0a, 0x08, 0x49, 0x64, 0x65, |
| 3304 |
0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 3305 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, 0x61, |
| 3306 |
0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 3307 |
0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 3308 |
0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, |
| 3309 |
0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 3310 |
0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, |
| 3311 |
0x48, 0x0a, 0x04, 0x45, 0x64, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 3312 |
0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, |
| 3313 |
0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, |
| 3314 |
0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, |
| 3315 |
0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0xf8, 0x02, 0x0a, 0x11, 0x41, 0x63, |
| 3316 |
0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, |
| 3317 |
0x55, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 3318 |
0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 3319 |
0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, |
| 3320 |
0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, |
| 3321 |
0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, |
| 3322 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, |
| 3323 |
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3324 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, |
| 3325 |
0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, |
| 3326 |
0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, |
| 3327 |
0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x0e, 0x72, 0x65, 0x73, |
| 3328 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, |
| 3329 |
0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 3330 |
0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, |
| 3331 |
0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, |
| 3332 |
0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 3333 |
0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, |
| 3334 |
0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, |
| 3335 |
0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 3336 |
0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, |
| 3337 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 3338 |
0x13, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, |
| 3339 |
0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, |
| 3340 |
0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, |
| 3341 |
0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 3342 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, |
| 3343 |
0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, |
| 3344 |
0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, |
| 3345 |
0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x54, |
| 3346 |
0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, |
| 3347 |
0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 3348 |
0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, |
| 3349 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, |
| 3350 |
0x75, 0x6c, 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x45, |
| 3351 |
0x64, 0x67, 0x65, 0x73, 0x42, 0x8a, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 3352 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 3353 |
0x76, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 3354 |
0x5a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 3355 |
0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, |
| 3356 |
0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, |
| 3357 |
0x62, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 3358 |
0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, |
| 3359 |
0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c, 0x56, |
| 3360 |
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 3361 |
} |
| 3362 |
|
| 3363 |
var ( |
| 3364 |
file_google_cloud_asset_v1_assets_proto_rawDescOnce sync.Once |
| 3365 |
file_google_cloud_asset_v1_assets_proto_rawDescData = file_google_cloud_asset_v1_assets_proto_rawDesc |
| 3366 |
) |
| 3367 |
|
| 3368 |
func file_google_cloud_asset_v1_assets_proto_rawDescGZIP() []byte { |
| 3369 |
file_google_cloud_asset_v1_assets_proto_rawDescOnce.Do(func() { |
| 3370 |
file_google_cloud_asset_v1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1_assets_proto_rawDescData) |
| 3371 |
}) |
| 3372 |
return file_google_cloud_asset_v1_assets_proto_rawDescData |
| 3373 |
} |
| 3374 |
|
| 3375 |
var file_google_cloud_asset_v1_assets_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 3376 |
var file_google_cloud_asset_v1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 31) |
| 3377 |
var file_google_cloud_asset_v1_assets_proto_goTypes = []any{ |
| 3378 |
(TemporalAsset_PriorAssetState)(0), // 0: google.cloud.asset.v1.TemporalAsset.PriorAssetState |
| 3379 |
(ConditionEvaluation_EvaluationValue)(0), // 1: google.cloud.asset.v1.ConditionEvaluation.EvaluationValue |
| 3380 |
(*TemporalAsset)(nil), // 2: google.cloud.asset.v1.TemporalAsset |
| 3381 |
(*TimeWindow)(nil), // 3: google.cloud.asset.v1.TimeWindow |
| 3382 |
(*AssetEnrichment)(nil), // 4: google.cloud.asset.v1.AssetEnrichment |
| 3383 |
(*Asset)(nil), // 5: google.cloud.asset.v1.Asset |
| 3384 |
(*Resource)(nil), // 6: google.cloud.asset.v1.Resource |
| 3385 |
(*RelatedAssets)(nil), // 7: google.cloud.asset.v1.RelatedAssets |
| 3386 |
(*RelationshipAttributes)(nil), // 8: google.cloud.asset.v1.RelationshipAttributes |
| 3387 |
(*RelatedAsset)(nil), // 9: google.cloud.asset.v1.RelatedAsset |
| 3388 |
(*Tag)(nil), // 10: google.cloud.asset.v1.Tag |
| 3389 |
(*EffectiveTagDetails)(nil), // 11: google.cloud.asset.v1.EffectiveTagDetails |
| 3390 |
(*ResourceSearchResult)(nil), // 12: google.cloud.asset.v1.ResourceSearchResult |
| 3391 |
(*VersionedResource)(nil), // 13: google.cloud.asset.v1.VersionedResource |
| 3392 |
(*AttachedResource)(nil), // 14: google.cloud.asset.v1.AttachedResource |
| 3393 |
(*RelatedResources)(nil), // 15: google.cloud.asset.v1.RelatedResources |
| 3394 |
(*RelatedResource)(nil), // 16: google.cloud.asset.v1.RelatedResource |
| 3395 |
(*IamPolicySearchResult)(nil), // 17: google.cloud.asset.v1.IamPolicySearchResult |
| 3396 |
(*IamPolicyAnalysisState)(nil), // 18: google.cloud.asset.v1.IamPolicyAnalysisState |
| 3397 |
(*ConditionEvaluation)(nil), // 19: google.cloud.asset.v1.ConditionEvaluation |
| 3398 |
(*IamPolicyAnalysisResult)(nil), // 20: google.cloud.asset.v1.IamPolicyAnalysisResult |
| 3399 |
nil, // 21: google.cloud.asset.v1.ResourceSearchResult.LabelsEntry |
| 3400 |
nil, // 22: google.cloud.asset.v1.ResourceSearchResult.RelationshipsEntry |
| 3401 |
nil, // 23: google.cloud.asset.v1.ResourceSearchResult.SccSecurityMarksEntry |
| 3402 |
(*IamPolicySearchResult_Explanation)(nil), // 24: google.cloud.asset.v1.IamPolicySearchResult.Explanation |
| 3403 |
(*IamPolicySearchResult_Explanation_Permissions)(nil), // 25: google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions |
| 3404 |
nil, // 26: google.cloud.asset.v1.IamPolicySearchResult.Explanation.MatchedPermissionsEntry |
| 3405 |
(*IamPolicyAnalysisResult_Resource)(nil), // 27: google.cloud.asset.v1.IamPolicyAnalysisResult.Resource |
| 3406 |
(*IamPolicyAnalysisResult_Access)(nil), // 28: google.cloud.asset.v1.IamPolicyAnalysisResult.Access |
| 3407 |
(*IamPolicyAnalysisResult_Identity)(nil), // 29: google.cloud.asset.v1.IamPolicyAnalysisResult.Identity |
| 3408 |
(*IamPolicyAnalysisResult_Edge)(nil), // 30: google.cloud.asset.v1.IamPolicyAnalysisResult.Edge |
| 3409 |
(*IamPolicyAnalysisResult_AccessControlList)(nil), // 31: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList |
| 3410 |
(*IamPolicyAnalysisResult_IdentityList)(nil), // 32: google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList |
| 3411 |
(*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp |
| 3412 |
(*ResourceOwners)(nil), // 34: google.cloud.asset.v1.ResourceOwners |
| 3413 |
(*iampb.Policy)(nil), // 35: google.iam.v1.Policy |
| 3414 |
(*orgpolicypb.Policy)(nil), // 36: google.cloud.orgpolicy.v1.Policy |
| 3415 |
(*accesscontextmanagerpb.AccessPolicy)(nil), // 37: google.identity.accesscontextmanager.v1.AccessPolicy |
| 3416 |
(*accesscontextmanagerpb.AccessLevel)(nil), // 38: google.identity.accesscontextmanager.v1.AccessLevel |
| 3417 |
(*accesscontextmanagerpb.ServicePerimeter)(nil), // 39: google.identity.accesscontextmanager.v1.ServicePerimeter |
| 3418 |
(*osconfigpb.Inventory)(nil), // 40: google.cloud.osconfig.v1.Inventory |
| 3419 |
(*structpb.Struct)(nil), // 41: google.protobuf.Struct |
| 3420 |
(code.Code)(0), // 42: google.rpc.Code |
| 3421 |
(*iampb.Binding)(nil), // 43: google.iam.v1.Binding |
| 3422 |
} |
| 3423 |
var file_google_cloud_asset_v1_assets_proto_depIdxs = []int32{ |
| 3424 |
3, // 0: google.cloud.asset.v1.TemporalAsset.window:type_name -> google.cloud.asset.v1.TimeWindow |
| 3425 |
5, // 1: google.cloud.asset.v1.TemporalAsset.asset:type_name -> google.cloud.asset.v1.Asset |
| 3426 |
0, // 2: google.cloud.asset.v1.TemporalAsset.prior_asset_state:type_name -> google.cloud.asset.v1.TemporalAsset.PriorAssetState |
| 3427 |
5, // 3: google.cloud.asset.v1.TemporalAsset.prior_asset:type_name -> google.cloud.asset.v1.Asset |
| 3428 |
33, // 4: google.cloud.asset.v1.TimeWindow.start_time:type_name -> google.protobuf.Timestamp |
| 3429 |
33, // 5: google.cloud.asset.v1.TimeWindow.end_time:type_name -> google.protobuf.Timestamp |
| 3430 |
34, // 6: google.cloud.asset.v1.AssetEnrichment.resource_owners:type_name -> google.cloud.asset.v1.ResourceOwners |
| 3431 |
33, // 7: google.cloud.asset.v1.Asset.update_time:type_name -> google.protobuf.Timestamp |
| 3432 |
6, // 8: google.cloud.asset.v1.Asset.resource:type_name -> google.cloud.asset.v1.Resource |
| 3433 |
35, // 9: google.cloud.asset.v1.Asset.iam_policy:type_name -> google.iam.v1.Policy |
| 3434 |
36, // 10: google.cloud.asset.v1.Asset.org_policy:type_name -> google.cloud.orgpolicy.v1.Policy |
| 3435 |
37, // 11: google.cloud.asset.v1.Asset.access_policy:type_name -> google.identity.accesscontextmanager.v1.AccessPolicy |
| 3436 |
38, // 12: google.cloud.asset.v1.Asset.access_level:type_name -> google.identity.accesscontextmanager.v1.AccessLevel |
| 3437 |
39, // 13: google.cloud.asset.v1.Asset.service_perimeter:type_name -> google.identity.accesscontextmanager.v1.ServicePerimeter |
| 3438 |
40, // 14: google.cloud.asset.v1.Asset.os_inventory:type_name -> google.cloud.osconfig.v1.Inventory |
| 3439 |
7, // 15: google.cloud.asset.v1.Asset.related_assets:type_name -> google.cloud.asset.v1.RelatedAssets |
| 3440 |
9, // 16: google.cloud.asset.v1.Asset.related_asset:type_name -> google.cloud.asset.v1.RelatedAsset |
| 3441 |
41, // 17: google.cloud.asset.v1.Resource.data:type_name -> google.protobuf.Struct |
| 3442 |
8, // 18: google.cloud.asset.v1.RelatedAssets.relationship_attributes:type_name -> google.cloud.asset.v1.RelationshipAttributes |
| 3443 |
9, // 19: google.cloud.asset.v1.RelatedAssets.assets:type_name -> google.cloud.asset.v1.RelatedAsset |
| 3444 |
10, // 20: google.cloud.asset.v1.EffectiveTagDetails.effective_tags:type_name -> google.cloud.asset.v1.Tag |
| 3445 |
21, // 21: google.cloud.asset.v1.ResourceSearchResult.labels:type_name -> google.cloud.asset.v1.ResourceSearchResult.LabelsEntry |
| 3446 |
33, // 22: google.cloud.asset.v1.ResourceSearchResult.create_time:type_name -> google.protobuf.Timestamp |
| 3447 |
33, // 23: google.cloud.asset.v1.ResourceSearchResult.update_time:type_name -> google.protobuf.Timestamp |
| 3448 |
41, // 24: google.cloud.asset.v1.ResourceSearchResult.additional_attributes:type_name -> google.protobuf.Struct |
| 3449 |
13, // 25: google.cloud.asset.v1.ResourceSearchResult.versioned_resources:type_name -> google.cloud.asset.v1.VersionedResource |
| 3450 |
14, // 26: google.cloud.asset.v1.ResourceSearchResult.attached_resources:type_name -> google.cloud.asset.v1.AttachedResource |
| 3451 |
22, // 27: google.cloud.asset.v1.ResourceSearchResult.relationships:type_name -> google.cloud.asset.v1.ResourceSearchResult.RelationshipsEntry |
| 3452 |
10, // 28: google.cloud.asset.v1.ResourceSearchResult.tags:type_name -> google.cloud.asset.v1.Tag |
| 3453 |
11, // 29: google.cloud.asset.v1.ResourceSearchResult.effective_tags:type_name -> google.cloud.asset.v1.EffectiveTagDetails |
| 3454 |
4, // 30: google.cloud.asset.v1.ResourceSearchResult.enrichments:type_name -> google.cloud.asset.v1.AssetEnrichment |
| 3455 |
23, // 31: google.cloud.asset.v1.ResourceSearchResult.scc_security_marks:type_name -> google.cloud.asset.v1.ResourceSearchResult.SccSecurityMarksEntry |
| 3456 |
41, // 32: google.cloud.asset.v1.VersionedResource.resource:type_name -> google.protobuf.Struct |
| 3457 |
13, // 33: google.cloud.asset.v1.AttachedResource.versioned_resources:type_name -> google.cloud.asset.v1.VersionedResource |
| 3458 |
16, // 34: google.cloud.asset.v1.RelatedResources.related_resources:type_name -> google.cloud.asset.v1.RelatedResource |
| 3459 |
35, // 35: google.cloud.asset.v1.IamPolicySearchResult.policy:type_name -> google.iam.v1.Policy |
| 3460 |
24, // 36: google.cloud.asset.v1.IamPolicySearchResult.explanation:type_name -> google.cloud.asset.v1.IamPolicySearchResult.Explanation |
| 3461 |
42, // 37: google.cloud.asset.v1.IamPolicyAnalysisState.code:type_name -> google.rpc.Code |
| 3462 |
1, // 38: google.cloud.asset.v1.ConditionEvaluation.evaluation_value:type_name -> google.cloud.asset.v1.ConditionEvaluation.EvaluationValue |
| 3463 |
43, // 39: google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding:type_name -> google.iam.v1.Binding |
| 3464 |
31, // 40: google.cloud.asset.v1.IamPolicyAnalysisResult.access_control_lists:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList |
| 3465 |
32, // 41: google.cloud.asset.v1.IamPolicyAnalysisResult.identity_list:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList |
| 3466 |
15, // 42: google.cloud.asset.v1.ResourceSearchResult.RelationshipsEntry.value:type_name -> google.cloud.asset.v1.RelatedResources |
| 3467 |
26, // 43: google.cloud.asset.v1.IamPolicySearchResult.Explanation.matched_permissions:type_name -> google.cloud.asset.v1.IamPolicySearchResult.Explanation.MatchedPermissionsEntry |
| 3468 |
25, // 44: google.cloud.asset.v1.IamPolicySearchResult.Explanation.MatchedPermissionsEntry.value:type_name -> google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions |
| 3469 |
18, // 45: google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.analysis_state:type_name -> google.cloud.asset.v1.IamPolicyAnalysisState |
| 3470 |
18, // 46: google.cloud.asset.v1.IamPolicyAnalysisResult.Access.analysis_state:type_name -> google.cloud.asset.v1.IamPolicyAnalysisState |
| 3471 |
18, // 47: google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.analysis_state:type_name -> google.cloud.asset.v1.IamPolicyAnalysisState |
| 3472 |
27, // 48: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.resources:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.Resource |
| 3473 |
28, // 49: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.accesses:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.Access |
| 3474 |
30, // 50: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.resource_edges:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.Edge |
| 3475 |
19, // 51: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.condition_evaluation:type_name -> google.cloud.asset.v1.ConditionEvaluation |
| 3476 |
29, // 52: google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.Identity |
| 3477 |
30, // 53: google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.group_edges:type_name -> google.cloud.asset.v1.IamPolicyAnalysisResult.Edge |
| 3478 |
54, // [54:54] is the sub-list for method output_type |
| 3479 |
54, // [54:54] is the sub-list for method input_type |
| 3480 |
54, // [54:54] is the sub-list for extension type_name |
| 3481 |
54, // [54:54] is the sub-list for extension extendee |
| 3482 |
0, // [0:54] is the sub-list for field type_name |
| 3483 |
} |
| 3484 |
|
| 3485 |
func init() { file_google_cloud_asset_v1_assets_proto_init() } |
| 3486 |
func file_google_cloud_asset_v1_assets_proto_init() { |
| 3487 |
if File_google_cloud_asset_v1_assets_proto != nil { |
| 3488 |
return |
| 3489 |
} |
| 3490 |
file_google_cloud_asset_v1_asset_enrichment_resourceowners_proto_init() |
| 3491 |
file_google_cloud_asset_v1_assets_proto_msgTypes[2].OneofWrappers = []any{ |
| 3492 |
(*AssetEnrichment_ResourceOwners)(nil), |
| 3493 |
} |
| 3494 |
file_google_cloud_asset_v1_assets_proto_msgTypes[3].OneofWrappers = []any{ |
| 3495 |
(*Asset_AccessPolicy)(nil), |
| 3496 |
(*Asset_AccessLevel)(nil), |
| 3497 |
(*Asset_ServicePerimeter)(nil), |
| 3498 |
} |
| 3499 |
file_google_cloud_asset_v1_assets_proto_msgTypes[8].OneofWrappers = []any{} |
| 3500 |
file_google_cloud_asset_v1_assets_proto_msgTypes[9].OneofWrappers = []any{} |
| 3501 |
file_google_cloud_asset_v1_assets_proto_msgTypes[26].OneofWrappers = []any{ |
| 3502 |
(*IamPolicyAnalysisResult_Access_Role)(nil), |
| 3503 |
(*IamPolicyAnalysisResult_Access_Permission)(nil), |
| 3504 |
} |
| 3505 |
type x struct{} |
| 3506 |
out := protoimpl.TypeBuilder{ |
| 3507 |
File: protoimpl.DescBuilder{ |
| 3508 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 3509 |
RawDescriptor: file_google_cloud_asset_v1_assets_proto_rawDesc, |
| 3510 |
NumEnums: 2, |
| 3511 |
NumMessages: 31, |
| 3512 |
NumExtensions: 0, |
| 3513 |
NumServices: 0, |
| 3514 |
}, |
| 3515 |
GoTypes: file_google_cloud_asset_v1_assets_proto_goTypes, |
| 3516 |
DependencyIndexes: file_google_cloud_asset_v1_assets_proto_depIdxs, |
| 3517 |
EnumInfos: file_google_cloud_asset_v1_assets_proto_enumTypes, |
| 3518 |
MessageInfos: file_google_cloud_asset_v1_assets_proto_msgTypes, |
| 3519 |
}.Build() |
| 3520 |
File_google_cloud_asset_v1_assets_proto = out.File |
| 3521 |
file_google_cloud_asset_v1_assets_proto_rawDesc = nil |
| 3522 |
file_google_cloud_asset_v1_assets_proto_goTypes = nil |
| 3523 |
file_google_cloud_asset_v1_assets_proto_depIdxs = nil |
| 3524 |
} |