...

Source file src/google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1/assets.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.21.9
    19  // source: google/cloud/asset/v1p7beta1/assets.proto
    20  
    21  package asset
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	v11 "google.golang.org/genproto/googleapis/cloud/orgpolicy/v1"
    29  	v1 "google.golang.org/genproto/googleapis/iam/v1"
    30  	v12 "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1"
    31  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    32  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    33  	structpb "google.golang.org/protobuf/types/known/structpb"
    34  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    35  )
    36  
    37  const (
    38  	// Verify that this generated code is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    40  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    42  )
    43  
    44  // An asset in Google Cloud. An asset can be any resource in the Google Cloud
    45  // [resource
    46  // hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
    47  // a resource outside the Google Cloud resource hierarchy (such as Google
    48  // Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy).
    49  // See [Supported asset
    50  // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
    51  // for more information.
    52  type Asset struct {
    53  	state         protoimpl.MessageState
    54  	sizeCache     protoimpl.SizeCache
    55  	unknownFields protoimpl.UnknownFields
    56  
    57  	// The last update timestamp of an asset. update_time is updated when
    58  	// create/update/delete operation is performed.
    59  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    60  	// The full name of the asset. Example:
    61  	// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
    62  	//
    63  	// See [Resource
    64  	// names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
    65  	// for more information.
    66  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    67  	// The type of the asset. Example: `compute.googleapis.com/Disk`
    68  	//
    69  	// See [Supported asset
    70  	// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
    71  	// for more information.
    72  	AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
    73  	// A representation of the resource.
    74  	Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    75  	// A representation of the IAM policy set on a Google Cloud resource.
    76  	// There can be a maximum of one IAM policy set on any given resource.
    77  	// In addition, IAM policies inherit their granted access scope from any
    78  	// policies set on parent resources in the resource hierarchy. Therefore, the
    79  	// effectively policy is the union of both the policy set on this resource
    80  	// and each policy set on all of the resource's ancestry resource levels in
    81  	// the hierarchy. See
    82  	// [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
    83  	// for more information.
    84  	IamPolicy *v1.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
    85  	// A representation of an [organization
    86  	// policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
    87  	// There can be more than one organization policy with different constraints
    88  	// set on a given resource.
    89  	OrgPolicy []*v11.Policy `protobuf:"bytes,6,rep,name=org_policy,json=orgPolicy,proto3" json:"org_policy,omitempty"`
    90  	// A representation of an [access
    91  	// policy](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    92  	//
    93  	// Types that are assignable to AccessContextPolicy:
    94  	//
    95  	//	*Asset_AccessPolicy
    96  	//	*Asset_AccessLevel
    97  	//	*Asset_ServicePerimeter
    98  	AccessContextPolicy isAsset_AccessContextPolicy `protobuf_oneof:"access_context_policy"`
    99  	// The related assets of the asset of one relationship type.
   100  	// One asset only represents one type of relationship.
   101  	RelatedAssets *RelatedAssets `protobuf:"bytes,13,opt,name=related_assets,json=relatedAssets,proto3" json:"related_assets,omitempty"`
   102  	// The ancestry path of an asset in Google Cloud [resource
   103  	// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
   104  	// represented as a list of relative resource names. An ancestry path starts
   105  	// with the closest ancestor in the hierarchy and ends at root. If the asset
   106  	// is a project, folder, or organization, the ancestry path starts from the
   107  	// asset itself.
   108  	//
   109  	// Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
   110  	Ancestors []string `protobuf:"bytes,10,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
   111  }
   112  
   113  func (x *Asset) Reset() {
   114  	*x = Asset{}
   115  	if protoimpl.UnsafeEnabled {
   116  		mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0]
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		ms.StoreMessageInfo(mi)
   119  	}
   120  }
   121  
   122  func (x *Asset) String() string {
   123  	return protoimpl.X.MessageStringOf(x)
   124  }
   125  
   126  func (*Asset) ProtoMessage() {}
   127  
   128  func (x *Asset) ProtoReflect() protoreflect.Message {
   129  	mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0]
   130  	if protoimpl.UnsafeEnabled && x != nil {
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		if ms.LoadMessageInfo() == nil {
   133  			ms.StoreMessageInfo(mi)
   134  		}
   135  		return ms
   136  	}
   137  	return mi.MessageOf(x)
   138  }
   139  
   140  // Deprecated: Use Asset.ProtoReflect.Descriptor instead.
   141  func (*Asset) Descriptor() ([]byte, []int) {
   142  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{0}
   143  }
   144  
   145  func (x *Asset) GetUpdateTime() *timestamppb.Timestamp {
   146  	if x != nil {
   147  		return x.UpdateTime
   148  	}
   149  	return nil
   150  }
   151  
   152  func (x *Asset) GetName() string {
   153  	if x != nil {
   154  		return x.Name
   155  	}
   156  	return ""
   157  }
   158  
   159  func (x *Asset) GetAssetType() string {
   160  	if x != nil {
   161  		return x.AssetType
   162  	}
   163  	return ""
   164  }
   165  
   166  func (x *Asset) GetResource() *Resource {
   167  	if x != nil {
   168  		return x.Resource
   169  	}
   170  	return nil
   171  }
   172  
   173  func (x *Asset) GetIamPolicy() *v1.Policy {
   174  	if x != nil {
   175  		return x.IamPolicy
   176  	}
   177  	return nil
   178  }
   179  
   180  func (x *Asset) GetOrgPolicy() []*v11.Policy {
   181  	if x != nil {
   182  		return x.OrgPolicy
   183  	}
   184  	return nil
   185  }
   186  
   187  func (m *Asset) GetAccessContextPolicy() isAsset_AccessContextPolicy {
   188  	if m != nil {
   189  		return m.AccessContextPolicy
   190  	}
   191  	return nil
   192  }
   193  
   194  func (x *Asset) GetAccessPolicy() *v12.AccessPolicy {
   195  	if x, ok := x.GetAccessContextPolicy().(*Asset_AccessPolicy); ok {
   196  		return x.AccessPolicy
   197  	}
   198  	return nil
   199  }
   200  
   201  func (x *Asset) GetAccessLevel() *v12.AccessLevel {
   202  	if x, ok := x.GetAccessContextPolicy().(*Asset_AccessLevel); ok {
   203  		return x.AccessLevel
   204  	}
   205  	return nil
   206  }
   207  
   208  func (x *Asset) GetServicePerimeter() *v12.ServicePerimeter {
   209  	if x, ok := x.GetAccessContextPolicy().(*Asset_ServicePerimeter); ok {
   210  		return x.ServicePerimeter
   211  	}
   212  	return nil
   213  }
   214  
   215  func (x *Asset) GetRelatedAssets() *RelatedAssets {
   216  	if x != nil {
   217  		return x.RelatedAssets
   218  	}
   219  	return nil
   220  }
   221  
   222  func (x *Asset) GetAncestors() []string {
   223  	if x != nil {
   224  		return x.Ancestors
   225  	}
   226  	return nil
   227  }
   228  
   229  type isAsset_AccessContextPolicy interface {
   230  	isAsset_AccessContextPolicy()
   231  }
   232  
   233  type Asset_AccessPolicy struct {
   234  	// Please also refer to the [access policy user
   235  	// guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
   236  	AccessPolicy *v12.AccessPolicy `protobuf:"bytes,7,opt,name=access_policy,json=accessPolicy,proto3,oneof"`
   237  }
   238  
   239  type Asset_AccessLevel struct {
   240  	// Please also refer to the [access level user
   241  	// guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
   242  	AccessLevel *v12.AccessLevel `protobuf:"bytes,8,opt,name=access_level,json=accessLevel,proto3,oneof"`
   243  }
   244  
   245  type Asset_ServicePerimeter struct {
   246  	// Please also refer to the [service perimeter user
   247  	// guide](https://cloud.google.com/vpc-service-controls/docs/overview).
   248  	ServicePerimeter *v12.ServicePerimeter `protobuf:"bytes,9,opt,name=service_perimeter,json=servicePerimeter,proto3,oneof"`
   249  }
   250  
   251  func (*Asset_AccessPolicy) isAsset_AccessContextPolicy() {}
   252  
   253  func (*Asset_AccessLevel) isAsset_AccessContextPolicy() {}
   254  
   255  func (*Asset_ServicePerimeter) isAsset_AccessContextPolicy() {}
   256  
   257  // A representation of a Google Cloud resource.
   258  type Resource struct {
   259  	state         protoimpl.MessageState
   260  	sizeCache     protoimpl.SizeCache
   261  	unknownFields protoimpl.UnknownFields
   262  
   263  	// The API version. Example: `v1`
   264  	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
   265  	// The URL of the discovery document containing the resource's JSON schema.
   266  	// Example:
   267  	// `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
   268  	//
   269  	// This value is unspecified for resources that do not have an API based on a
   270  	// discovery document, such as Cloud Bigtable.
   271  	DiscoveryDocumentUri string `protobuf:"bytes,2,opt,name=discovery_document_uri,json=discoveryDocumentUri,proto3" json:"discovery_document_uri,omitempty"`
   272  	// The JSON schema name listed in the discovery document. Example:
   273  	// `Project`
   274  	//
   275  	// This value is unspecified for resources that do not have an API based on a
   276  	// discovery document, such as Cloud Bigtable.
   277  	DiscoveryName string `protobuf:"bytes,3,opt,name=discovery_name,json=discoveryName,proto3" json:"discovery_name,omitempty"`
   278  	// The REST URL for accessing the resource. An HTTP `GET` request using this
   279  	// URL returns the resource itself. Example:
   280  	// `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
   281  	//
   282  	// This value is unspecified for resources without a REST API.
   283  	ResourceUrl string `protobuf:"bytes,4,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
   284  	// The full name of the immediate parent of this resource. See
   285  	// [Resource
   286  	// Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
   287  	// for more information.
   288  	//
   289  	// For Google Cloud assets, this value is the parent resource defined in the
   290  	// [IAM policy
   291  	// hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
   292  	// Example:
   293  	// `//cloudresourcemanager.googleapis.com/projects/my_project_123`
   294  	//
   295  	// For third-party assets, this field may be set differently.
   296  	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
   297  	// The content of the resource, in which some sensitive fields are removed
   298  	// and may not be present.
   299  	Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
   300  	// The location of the resource in Google Cloud, such as its zone and region.
   301  	// For more information, see https://cloud.google.com/about/locations/.
   302  	Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
   303  }
   304  
   305  func (x *Resource) Reset() {
   306  	*x = Resource{}
   307  	if protoimpl.UnsafeEnabled {
   308  		mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1]
   309  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   310  		ms.StoreMessageInfo(mi)
   311  	}
   312  }
   313  
   314  func (x *Resource) String() string {
   315  	return protoimpl.X.MessageStringOf(x)
   316  }
   317  
   318  func (*Resource) ProtoMessage() {}
   319  
   320  func (x *Resource) ProtoReflect() protoreflect.Message {
   321  	mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1]
   322  	if protoimpl.UnsafeEnabled && x != nil {
   323  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   324  		if ms.LoadMessageInfo() == nil {
   325  			ms.StoreMessageInfo(mi)
   326  		}
   327  		return ms
   328  	}
   329  	return mi.MessageOf(x)
   330  }
   331  
   332  // Deprecated: Use Resource.ProtoReflect.Descriptor instead.
   333  func (*Resource) Descriptor() ([]byte, []int) {
   334  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{1}
   335  }
   336  
   337  func (x *Resource) GetVersion() string {
   338  	if x != nil {
   339  		return x.Version
   340  	}
   341  	return ""
   342  }
   343  
   344  func (x *Resource) GetDiscoveryDocumentUri() string {
   345  	if x != nil {
   346  		return x.DiscoveryDocumentUri
   347  	}
   348  	return ""
   349  }
   350  
   351  func (x *Resource) GetDiscoveryName() string {
   352  	if x != nil {
   353  		return x.DiscoveryName
   354  	}
   355  	return ""
   356  }
   357  
   358  func (x *Resource) GetResourceUrl() string {
   359  	if x != nil {
   360  		return x.ResourceUrl
   361  	}
   362  	return ""
   363  }
   364  
   365  func (x *Resource) GetParent() string {
   366  	if x != nil {
   367  		return x.Parent
   368  	}
   369  	return ""
   370  }
   371  
   372  func (x *Resource) GetData() *structpb.Struct {
   373  	if x != nil {
   374  		return x.Data
   375  	}
   376  	return nil
   377  }
   378  
   379  func (x *Resource) GetLocation() string {
   380  	if x != nil {
   381  		return x.Location
   382  	}
   383  	return ""
   384  }
   385  
   386  // The detailed related assets with the `relationship_type`.
   387  type RelatedAssets struct {
   388  	state         protoimpl.MessageState
   389  	sizeCache     protoimpl.SizeCache
   390  	unknownFields protoimpl.UnknownFields
   391  
   392  	// The detailed relation attributes.
   393  	RelationshipAttributes *RelationshipAttributes `protobuf:"bytes,1,opt,name=relationship_attributes,json=relationshipAttributes,proto3" json:"relationship_attributes,omitempty"`
   394  	// The peer resources of the relationship.
   395  	Assets []*RelatedAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
   396  }
   397  
   398  func (x *RelatedAssets) Reset() {
   399  	*x = RelatedAssets{}
   400  	if protoimpl.UnsafeEnabled {
   401  		mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2]
   402  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   403  		ms.StoreMessageInfo(mi)
   404  	}
   405  }
   406  
   407  func (x *RelatedAssets) String() string {
   408  	return protoimpl.X.MessageStringOf(x)
   409  }
   410  
   411  func (*RelatedAssets) ProtoMessage() {}
   412  
   413  func (x *RelatedAssets) ProtoReflect() protoreflect.Message {
   414  	mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2]
   415  	if protoimpl.UnsafeEnabled && x != nil {
   416  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   417  		if ms.LoadMessageInfo() == nil {
   418  			ms.StoreMessageInfo(mi)
   419  		}
   420  		return ms
   421  	}
   422  	return mi.MessageOf(x)
   423  }
   424  
   425  // Deprecated: Use RelatedAssets.ProtoReflect.Descriptor instead.
   426  func (*RelatedAssets) Descriptor() ([]byte, []int) {
   427  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{2}
   428  }
   429  
   430  func (x *RelatedAssets) GetRelationshipAttributes() *RelationshipAttributes {
   431  	if x != nil {
   432  		return x.RelationshipAttributes
   433  	}
   434  	return nil
   435  }
   436  
   437  func (x *RelatedAssets) GetAssets() []*RelatedAsset {
   438  	if x != nil {
   439  		return x.Assets
   440  	}
   441  	return nil
   442  }
   443  
   444  // The relationship attributes which include  `type`, `source_resource_type`,
   445  // `target_resource_type` and `action`.
   446  type RelationshipAttributes struct {
   447  	state         protoimpl.MessageState
   448  	sizeCache     protoimpl.SizeCache
   449  	unknownFields protoimpl.UnknownFields
   450  
   451  	// The unique identifier of the relationship type. Example:
   452  	// `INSTANCE_TO_INSTANCEGROUP`
   453  	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
   454  	// The source asset type. Example: `compute.googleapis.com/Instance`
   455  	SourceResourceType string `protobuf:"bytes,1,opt,name=source_resource_type,json=sourceResourceType,proto3" json:"source_resource_type,omitempty"`
   456  	// The target asset type. Example: `compute.googleapis.com/Disk`
   457  	TargetResourceType string `protobuf:"bytes,2,opt,name=target_resource_type,json=targetResourceType,proto3" json:"target_resource_type,omitempty"`
   458  	// The detail of the relationship, e.g. `contains`, `attaches`
   459  	Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
   460  }
   461  
   462  func (x *RelationshipAttributes) Reset() {
   463  	*x = RelationshipAttributes{}
   464  	if protoimpl.UnsafeEnabled {
   465  		mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3]
   466  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   467  		ms.StoreMessageInfo(mi)
   468  	}
   469  }
   470  
   471  func (x *RelationshipAttributes) String() string {
   472  	return protoimpl.X.MessageStringOf(x)
   473  }
   474  
   475  func (*RelationshipAttributes) ProtoMessage() {}
   476  
   477  func (x *RelationshipAttributes) ProtoReflect() protoreflect.Message {
   478  	mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3]
   479  	if protoimpl.UnsafeEnabled && x != nil {
   480  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   481  		if ms.LoadMessageInfo() == nil {
   482  			ms.StoreMessageInfo(mi)
   483  		}
   484  		return ms
   485  	}
   486  	return mi.MessageOf(x)
   487  }
   488  
   489  // Deprecated: Use RelationshipAttributes.ProtoReflect.Descriptor instead.
   490  func (*RelationshipAttributes) Descriptor() ([]byte, []int) {
   491  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{3}
   492  }
   493  
   494  func (x *RelationshipAttributes) GetType() string {
   495  	if x != nil {
   496  		return x.Type
   497  	}
   498  	return ""
   499  }
   500  
   501  func (x *RelationshipAttributes) GetSourceResourceType() string {
   502  	if x != nil {
   503  		return x.SourceResourceType
   504  	}
   505  	return ""
   506  }
   507  
   508  func (x *RelationshipAttributes) GetTargetResourceType() string {
   509  	if x != nil {
   510  		return x.TargetResourceType
   511  	}
   512  	return ""
   513  }
   514  
   515  func (x *RelationshipAttributes) GetAction() string {
   516  	if x != nil {
   517  		return x.Action
   518  	}
   519  	return ""
   520  }
   521  
   522  // An asset identify in Google Cloud which contains its name, type and
   523  // ancestors. An asset can be any resource in the Google Cloud [resource
   524  // hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
   525  // a resource outside the Google Cloud resource hierarchy (such as Google
   526  // Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy).
   527  // See [Supported asset
   528  // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
   529  // for more information.
   530  type RelatedAsset struct {
   531  	state         protoimpl.MessageState
   532  	sizeCache     protoimpl.SizeCache
   533  	unknownFields protoimpl.UnknownFields
   534  
   535  	// The full name of the asset. Example:
   536  	// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
   537  	//
   538  	// See [Resource
   539  	// names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
   540  	// for more information.
   541  	Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
   542  	// The type of the asset. Example: `compute.googleapis.com/Disk`
   543  	//
   544  	// See [Supported asset
   545  	// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
   546  	// for more information.
   547  	AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
   548  	// The ancestors of an asset in Google Cloud [resource
   549  	// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
   550  	// represented as a list of relative resource names. An ancestry path starts
   551  	// with the closest ancestor in the hierarchy and ends at root.
   552  	//
   553  	// Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
   554  	Ancestors []string `protobuf:"bytes,3,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
   555  }
   556  
   557  func (x *RelatedAsset) Reset() {
   558  	*x = RelatedAsset{}
   559  	if protoimpl.UnsafeEnabled {
   560  		mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4]
   561  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   562  		ms.StoreMessageInfo(mi)
   563  	}
   564  }
   565  
   566  func (x *RelatedAsset) String() string {
   567  	return protoimpl.X.MessageStringOf(x)
   568  }
   569  
   570  func (*RelatedAsset) ProtoMessage() {}
   571  
   572  func (x *RelatedAsset) ProtoReflect() protoreflect.Message {
   573  	mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4]
   574  	if protoimpl.UnsafeEnabled && x != nil {
   575  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   576  		if ms.LoadMessageInfo() == nil {
   577  			ms.StoreMessageInfo(mi)
   578  		}
   579  		return ms
   580  	}
   581  	return mi.MessageOf(x)
   582  }
   583  
   584  // Deprecated: Use RelatedAsset.ProtoReflect.Descriptor instead.
   585  func (*RelatedAsset) Descriptor() ([]byte, []int) {
   586  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{4}
   587  }
   588  
   589  func (x *RelatedAsset) GetAsset() string {
   590  	if x != nil {
   591  		return x.Asset
   592  	}
   593  	return ""
   594  }
   595  
   596  func (x *RelatedAsset) GetAssetType() string {
   597  	if x != nil {
   598  		return x.AssetType
   599  	}
   600  	return ""
   601  }
   602  
   603  func (x *RelatedAsset) GetAncestors() []string {
   604  	if x != nil {
   605  		return x.Ancestors
   606  	}
   607  	return nil
   608  }
   609  
   610  var File_google_cloud_asset_v1p7beta1_assets_proto protoreflect.FileDescriptor
   611  
   612  var file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc = []byte{
   613  	0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   614  	0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
   615  	0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f,
   616  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
   617  	0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   618  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
   619  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
   620  	0x75, 0x64, 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x31, 0x2f,
   621  	0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   622  	0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70,
   623  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f,
   624  	0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63,
   625  	0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
   626  	0x72, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65,
   627  	0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   628  	0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63,
   629  	0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31,
   630  	0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70,
   631  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65,
   632  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74,
   633  	0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65,
   634  	0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e,
   635  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
   636  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
   637  	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   638  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   639  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x06, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x3b,
   640  	0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20,
   641  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   642  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   643  	0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   644  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   645  	0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
   646  	0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42,
   647  	0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
   648  	0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   649  	0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
   650  	0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   651  	0x63, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   652  	0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   653  	0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x69,
   654  	0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x40, 0x0a, 0x0a, 0x6f, 0x72, 0x67, 0x5f,
   655  	0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
   656  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70,
   657  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
   658  	0x09, 0x6f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5c, 0x0a, 0x0d, 0x61, 0x63,
   659  	0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
   660  	0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74,
   661  	0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
   662  	0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65,
   663  	0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65,
   664  	0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x59, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65,
   665  	0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34,
   666  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
   667  	0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61,
   668  	0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c,
   669  	0x65, 0x76, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65,
   670  	0x76, 0x65, 0x6c, 0x12, 0x68, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70,
   671  	0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39,
   672  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
   673  	0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61,
   674  	0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   675  	0x50, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x72,
   676  	0x76, 0x69, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x52, 0x0a,
   677  	0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18,
   678  	0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   679  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62,
   680  	0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65,
   681  	0x74, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74,
   682  	0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0a,
   683  	0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x3a,
   684  	0x27, 0xea, 0x41, 0x24, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74,
   685  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   686  	0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x01, 0x2a, 0x42, 0x17, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65,
   687  	0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   688  	0x79, 0x22, 0x85, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18,
   689  	0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   690  	0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x63,
   691  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75,
   692  	0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
   693  	0x65, 0x72, 0x79, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25,
   694  	0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
   695  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
   696  	0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   697  	0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73,
   698  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
   699  	0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
   700  	0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
   701  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   702  	0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a,
   703  	0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
   704  	0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc2, 0x01, 0x0a, 0x0d, 0x52, 0x65,
   705  	0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x6d, 0x0a, 0x17, 0x72,
   706  	0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x61, 0x74, 0x74, 0x72,
   707  	0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
   708  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65,
   709  	0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61,
   710  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
   711  	0x65, 0x73, 0x52, 0x16, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
   712  	0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x61, 0x73,
   713  	0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
   714  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
   715  	0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65,
   716  	0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, 0xa8,
   717  	0x01, 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x41,
   718  	0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
   719  	0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a,
   720  	0x14, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   721  	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x6f, 0x75,
   722  	0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
   723  	0x30, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   724  	0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74,
   725  	0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70,
   726  	0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
   727  	0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x52, 0x65,
   728  	0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x73,
   729  	0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f,
   730  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   731  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52,
   732  	0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
   733  	0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65,
   734  	0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f,
   735  	0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74,
   736  	0x6f, 0x72, 0x73, 0x42, 0xb4, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   737  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
   738  	0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50,
   739  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   740  	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
   741  	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
   742  	0x6f, 0x75, 0x64, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65,
   743  	0x74, 0x61, 0x31, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1c, 0x47,
   744  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65,
   745  	0x74, 0x2e, 0x56, 0x31, 0x50, 0x37, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f,
   746  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74,
   747  	0x5c, 0x56, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   748  	0x6f, 0x33,
   749  }
   750  
   751  var (
   752  	file_google_cloud_asset_v1p7beta1_assets_proto_rawDescOnce sync.Once
   753  	file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData = file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc
   754  )
   755  
   756  func file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP() []byte {
   757  	file_google_cloud_asset_v1p7beta1_assets_proto_rawDescOnce.Do(func() {
   758  		file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData)
   759  	})
   760  	return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData
   761  }
   762  
   763  var file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   764  var file_google_cloud_asset_v1p7beta1_assets_proto_goTypes = []interface{}{
   765  	(*Asset)(nil),                  // 0: google.cloud.asset.v1p7beta1.Asset
   766  	(*Resource)(nil),               // 1: google.cloud.asset.v1p7beta1.Resource
   767  	(*RelatedAssets)(nil),          // 2: google.cloud.asset.v1p7beta1.RelatedAssets
   768  	(*RelationshipAttributes)(nil), // 3: google.cloud.asset.v1p7beta1.RelationshipAttributes
   769  	(*RelatedAsset)(nil),           // 4: google.cloud.asset.v1p7beta1.RelatedAsset
   770  	(*timestamppb.Timestamp)(nil),  // 5: google.protobuf.Timestamp
   771  	(*v1.Policy)(nil),              // 6: google.iam.v1.Policy
   772  	(*v11.Policy)(nil),             // 7: google.cloud.orgpolicy.v1.Policy
   773  	(*v12.AccessPolicy)(nil),       // 8: google.identity.accesscontextmanager.v1.AccessPolicy
   774  	(*v12.AccessLevel)(nil),        // 9: google.identity.accesscontextmanager.v1.AccessLevel
   775  	(*v12.ServicePerimeter)(nil),   // 10: google.identity.accesscontextmanager.v1.ServicePerimeter
   776  	(*structpb.Struct)(nil),        // 11: google.protobuf.Struct
   777  }
   778  var file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs = []int32{
   779  	5,  // 0: google.cloud.asset.v1p7beta1.Asset.update_time:type_name -> google.protobuf.Timestamp
   780  	1,  // 1: google.cloud.asset.v1p7beta1.Asset.resource:type_name -> google.cloud.asset.v1p7beta1.Resource
   781  	6,  // 2: google.cloud.asset.v1p7beta1.Asset.iam_policy:type_name -> google.iam.v1.Policy
   782  	7,  // 3: google.cloud.asset.v1p7beta1.Asset.org_policy:type_name -> google.cloud.orgpolicy.v1.Policy
   783  	8,  // 4: google.cloud.asset.v1p7beta1.Asset.access_policy:type_name -> google.identity.accesscontextmanager.v1.AccessPolicy
   784  	9,  // 5: google.cloud.asset.v1p7beta1.Asset.access_level:type_name -> google.identity.accesscontextmanager.v1.AccessLevel
   785  	10, // 6: google.cloud.asset.v1p7beta1.Asset.service_perimeter:type_name -> google.identity.accesscontextmanager.v1.ServicePerimeter
   786  	2,  // 7: google.cloud.asset.v1p7beta1.Asset.related_assets:type_name -> google.cloud.asset.v1p7beta1.RelatedAssets
   787  	11, // 8: google.cloud.asset.v1p7beta1.Resource.data:type_name -> google.protobuf.Struct
   788  	3,  // 9: google.cloud.asset.v1p7beta1.RelatedAssets.relationship_attributes:type_name -> google.cloud.asset.v1p7beta1.RelationshipAttributes
   789  	4,  // 10: google.cloud.asset.v1p7beta1.RelatedAssets.assets:type_name -> google.cloud.asset.v1p7beta1.RelatedAsset
   790  	11, // [11:11] is the sub-list for method output_type
   791  	11, // [11:11] is the sub-list for method input_type
   792  	11, // [11:11] is the sub-list for extension type_name
   793  	11, // [11:11] is the sub-list for extension extendee
   794  	0,  // [0:11] is the sub-list for field type_name
   795  }
   796  
   797  func init() { file_google_cloud_asset_v1p7beta1_assets_proto_init() }
   798  func file_google_cloud_asset_v1p7beta1_assets_proto_init() {
   799  	if File_google_cloud_asset_v1p7beta1_assets_proto != nil {
   800  		return
   801  	}
   802  	if !protoimpl.UnsafeEnabled {
   803  		file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   804  			switch v := v.(*Asset); i {
   805  			case 0:
   806  				return &v.state
   807  			case 1:
   808  				return &v.sizeCache
   809  			case 2:
   810  				return &v.unknownFields
   811  			default:
   812  				return nil
   813  			}
   814  		}
   815  		file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   816  			switch v := v.(*Resource); i {
   817  			case 0:
   818  				return &v.state
   819  			case 1:
   820  				return &v.sizeCache
   821  			case 2:
   822  				return &v.unknownFields
   823  			default:
   824  				return nil
   825  			}
   826  		}
   827  		file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   828  			switch v := v.(*RelatedAssets); i {
   829  			case 0:
   830  				return &v.state
   831  			case 1:
   832  				return &v.sizeCache
   833  			case 2:
   834  				return &v.unknownFields
   835  			default:
   836  				return nil
   837  			}
   838  		}
   839  		file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   840  			switch v := v.(*RelationshipAttributes); i {
   841  			case 0:
   842  				return &v.state
   843  			case 1:
   844  				return &v.sizeCache
   845  			case 2:
   846  				return &v.unknownFields
   847  			default:
   848  				return nil
   849  			}
   850  		}
   851  		file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   852  			switch v := v.(*RelatedAsset); i {
   853  			case 0:
   854  				return &v.state
   855  			case 1:
   856  				return &v.sizeCache
   857  			case 2:
   858  				return &v.unknownFields
   859  			default:
   860  				return nil
   861  			}
   862  		}
   863  	}
   864  	file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0].OneofWrappers = []interface{}{
   865  		(*Asset_AccessPolicy)(nil),
   866  		(*Asset_AccessLevel)(nil),
   867  		(*Asset_ServicePerimeter)(nil),
   868  	}
   869  	type x struct{}
   870  	out := protoimpl.TypeBuilder{
   871  		File: protoimpl.DescBuilder{
   872  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   873  			RawDescriptor: file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc,
   874  			NumEnums:      0,
   875  			NumMessages:   5,
   876  			NumExtensions: 0,
   877  			NumServices:   0,
   878  		},
   879  		GoTypes:           file_google_cloud_asset_v1p7beta1_assets_proto_goTypes,
   880  		DependencyIndexes: file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs,
   881  		MessageInfos:      file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes,
   882  	}.Build()
   883  	File_google_cloud_asset_v1p7beta1_assets_proto = out.File
   884  	file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc = nil
   885  	file_google_cloud_asset_v1p7beta1_assets_proto_goTypes = nil
   886  	file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs = nil
   887  }
   888  

View as plain text