...

Source file src/google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1/asset_service.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/asset_service.proto
    20  
    21  package asset
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	longrunning "google.golang.org/genproto/googleapis/longrunning"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status "google.golang.org/grpc/status"
    33  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    34  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    35  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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  // Asset content type.
    46  type ContentType int32
    47  
    48  const (
    49  	// Unspecified content type.
    50  	ContentType_CONTENT_TYPE_UNSPECIFIED ContentType = 0
    51  	// Resource metadata.
    52  	ContentType_RESOURCE ContentType = 1
    53  	// The actual IAM policy set on a resource.
    54  	ContentType_IAM_POLICY ContentType = 2
    55  	// The organization policy set on an asset.
    56  	ContentType_ORG_POLICY ContentType = 4
    57  	// The Access Context Manager policy set on an asset.
    58  	ContentType_ACCESS_POLICY ContentType = 5
    59  	// The related resources.
    60  	ContentType_RELATIONSHIP ContentType = 7
    61  )
    62  
    63  // Enum value maps for ContentType.
    64  var (
    65  	ContentType_name = map[int32]string{
    66  		0: "CONTENT_TYPE_UNSPECIFIED",
    67  		1: "RESOURCE",
    68  		2: "IAM_POLICY",
    69  		4: "ORG_POLICY",
    70  		5: "ACCESS_POLICY",
    71  		7: "RELATIONSHIP",
    72  	}
    73  	ContentType_value = map[string]int32{
    74  		"CONTENT_TYPE_UNSPECIFIED": 0,
    75  		"RESOURCE":                 1,
    76  		"IAM_POLICY":               2,
    77  		"ORG_POLICY":               4,
    78  		"ACCESS_POLICY":            5,
    79  		"RELATIONSHIP":             7,
    80  	}
    81  )
    82  
    83  func (x ContentType) Enum() *ContentType {
    84  	p := new(ContentType)
    85  	*p = x
    86  	return p
    87  }
    88  
    89  func (x ContentType) String() string {
    90  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    91  }
    92  
    93  func (ContentType) Descriptor() protoreflect.EnumDescriptor {
    94  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[0].Descriptor()
    95  }
    96  
    97  func (ContentType) Type() protoreflect.EnumType {
    98  	return &file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[0]
    99  }
   100  
   101  func (x ContentType) Number() protoreflect.EnumNumber {
   102  	return protoreflect.EnumNumber(x)
   103  }
   104  
   105  // Deprecated: Use ContentType.Descriptor instead.
   106  func (ContentType) EnumDescriptor() ([]byte, []int) {
   107  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{0}
   108  }
   109  
   110  // This enum is used to determine the partition key column when exporting
   111  // assets to BigQuery partitioned table(s). Note that, if the partition key is
   112  // a timestamp column, the actual partition is based on its date value
   113  // (expressed in UTC. see details in
   114  // https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables).
   115  type PartitionSpec_PartitionKey int32
   116  
   117  const (
   118  	// Unspecified partition key. If used, it means using non-partitioned table.
   119  	PartitionSpec_PARTITION_KEY_UNSPECIFIED PartitionSpec_PartitionKey = 0
   120  	// The time when the snapshot is taken. If specified as partition key, the
   121  	// result table(s) is partitoned by the additional timestamp column,
   122  	// readTime. If [read_time] in ExportAssetsRequest is specified, the
   123  	// readTime column's value will be the same as it. Otherwise, its value will
   124  	// be the current time that is used to take the snapshot.
   125  	PartitionSpec_READ_TIME PartitionSpec_PartitionKey = 1
   126  	// The time when the request is received and started to be processed. If
   127  	// specified as partition key, the result table(s) is partitoned by the
   128  	// requestTime column, an additional timestamp column representing when the
   129  	// request was received.
   130  	PartitionSpec_REQUEST_TIME PartitionSpec_PartitionKey = 2
   131  )
   132  
   133  // Enum value maps for PartitionSpec_PartitionKey.
   134  var (
   135  	PartitionSpec_PartitionKey_name = map[int32]string{
   136  		0: "PARTITION_KEY_UNSPECIFIED",
   137  		1: "READ_TIME",
   138  		2: "REQUEST_TIME",
   139  	}
   140  	PartitionSpec_PartitionKey_value = map[string]int32{
   141  		"PARTITION_KEY_UNSPECIFIED": 0,
   142  		"READ_TIME":                 1,
   143  		"REQUEST_TIME":              2,
   144  	}
   145  )
   146  
   147  func (x PartitionSpec_PartitionKey) Enum() *PartitionSpec_PartitionKey {
   148  	p := new(PartitionSpec_PartitionKey)
   149  	*p = x
   150  	return p
   151  }
   152  
   153  func (x PartitionSpec_PartitionKey) String() string {
   154  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   155  }
   156  
   157  func (PartitionSpec_PartitionKey) Descriptor() protoreflect.EnumDescriptor {
   158  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[1].Descriptor()
   159  }
   160  
   161  func (PartitionSpec_PartitionKey) Type() protoreflect.EnumType {
   162  	return &file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes[1]
   163  }
   164  
   165  func (x PartitionSpec_PartitionKey) Number() protoreflect.EnumNumber {
   166  	return protoreflect.EnumNumber(x)
   167  }
   168  
   169  // Deprecated: Use PartitionSpec_PartitionKey.Descriptor instead.
   170  func (PartitionSpec_PartitionKey) EnumDescriptor() ([]byte, []int) {
   171  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{7, 0}
   172  }
   173  
   174  // Export asset request.
   175  type ExportAssetsRequest struct {
   176  	state         protoimpl.MessageState
   177  	sizeCache     protoimpl.SizeCache
   178  	unknownFields protoimpl.UnknownFields
   179  
   180  	// Required. The relative name of the root asset. This can only be an
   181  	// organization number (such as "organizations/123"), a project ID (such as
   182  	// "projects/my-project-id"), or a project number (such as "projects/12345"),
   183  	// or a folder number (such as "folders/123").
   184  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   185  	// Timestamp to take an asset snapshot. This can only be set to a timestamp
   186  	// between the current time and the current time minus 35 days (inclusive).
   187  	// If not specified, the current time will be used. Due to delays in resource
   188  	// data collection and indexing, there is a volatile window during which
   189  	// running the same query may get different results.
   190  	ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
   191  	// A list of asset types to take a snapshot for. For example:
   192  	// "compute.googleapis.com/Disk".
   193  	//
   194  	// Regular expressions are also supported. For example:
   195  	//
   196  	// * "compute.googleapis.com.*" snapshots resources whose asset type starts
   197  	// with "compute.googleapis.com".
   198  	// * ".*Instance" snapshots resources whose asset type ends with "Instance".
   199  	// * ".*Instance.*" snapshots resources whose asset type contains "Instance".
   200  	//
   201  	// See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
   202  	// regular expression syntax. If the regular expression does not match any
   203  	// supported asset type, an INVALID_ARGUMENT error will be returned.
   204  	//
   205  	// If specified, only matching assets will be returned, otherwise, it will
   206  	// snapshot all asset types. See [Introduction to Cloud Asset
   207  	// Inventory](https://cloud.google.com/asset-inventory/docs/overview)
   208  	// for all supported asset types.
   209  	AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"`
   210  	// Asset content type. If not specified, no content but the asset name will be
   211  	// returned.
   212  	ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1p7beta1.ContentType" json:"content_type,omitempty"`
   213  	// Required. Output configuration indicating where the results will be output
   214  	// to.
   215  	OutputConfig *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
   216  	// A list of relationship types to export, for example:
   217  	// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
   218  	// content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]'
   219  	// specified relationships, or give errors if any relationship_types'
   220  	// supported types are not in [asset_types]. If not specified, it will
   221  	// snapshot all [asset_types]' supported relationships. An unspecified
   222  	// [asset_types] field means all supported asset_types. See [Introduction to
   223  	// Cloud Asset
   224  	// Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
   225  	// supported asset types and relationship types.
   226  	RelationshipTypes []string `protobuf:"bytes,6,rep,name=relationship_types,json=relationshipTypes,proto3" json:"relationship_types,omitempty"`
   227  }
   228  
   229  func (x *ExportAssetsRequest) Reset() {
   230  	*x = ExportAssetsRequest{}
   231  	if protoimpl.UnsafeEnabled {
   232  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0]
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		ms.StoreMessageInfo(mi)
   235  	}
   236  }
   237  
   238  func (x *ExportAssetsRequest) String() string {
   239  	return protoimpl.X.MessageStringOf(x)
   240  }
   241  
   242  func (*ExportAssetsRequest) ProtoMessage() {}
   243  
   244  func (x *ExportAssetsRequest) ProtoReflect() protoreflect.Message {
   245  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0]
   246  	if protoimpl.UnsafeEnabled && x != nil {
   247  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   248  		if ms.LoadMessageInfo() == nil {
   249  			ms.StoreMessageInfo(mi)
   250  		}
   251  		return ms
   252  	}
   253  	return mi.MessageOf(x)
   254  }
   255  
   256  // Deprecated: Use ExportAssetsRequest.ProtoReflect.Descriptor instead.
   257  func (*ExportAssetsRequest) Descriptor() ([]byte, []int) {
   258  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{0}
   259  }
   260  
   261  func (x *ExportAssetsRequest) GetParent() string {
   262  	if x != nil {
   263  		return x.Parent
   264  	}
   265  	return ""
   266  }
   267  
   268  func (x *ExportAssetsRequest) GetReadTime() *timestamppb.Timestamp {
   269  	if x != nil {
   270  		return x.ReadTime
   271  	}
   272  	return nil
   273  }
   274  
   275  func (x *ExportAssetsRequest) GetAssetTypes() []string {
   276  	if x != nil {
   277  		return x.AssetTypes
   278  	}
   279  	return nil
   280  }
   281  
   282  func (x *ExportAssetsRequest) GetContentType() ContentType {
   283  	if x != nil {
   284  		return x.ContentType
   285  	}
   286  	return ContentType_CONTENT_TYPE_UNSPECIFIED
   287  }
   288  
   289  func (x *ExportAssetsRequest) GetOutputConfig() *OutputConfig {
   290  	if x != nil {
   291  		return x.OutputConfig
   292  	}
   293  	return nil
   294  }
   295  
   296  func (x *ExportAssetsRequest) GetRelationshipTypes() []string {
   297  	if x != nil {
   298  		return x.RelationshipTypes
   299  	}
   300  	return nil
   301  }
   302  
   303  // The export asset response. This message is returned by the
   304  // [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
   305  // method in the returned
   306  // [google.longrunning.Operation.response][google.longrunning.Operation.response]
   307  // field.
   308  type ExportAssetsResponse struct {
   309  	state         protoimpl.MessageState
   310  	sizeCache     protoimpl.SizeCache
   311  	unknownFields protoimpl.UnknownFields
   312  
   313  	// Time the snapshot was taken.
   314  	ReadTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
   315  	// Output configuration indicating where the results were output to.
   316  	OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
   317  	// Output result indicating where the assets were exported to. For example, a
   318  	// set of actual Cloud Storage object URIs where the assets are
   319  	// exported to. The URIs can be different from what [output_config] has
   320  	// specified, as the service will split the output object into multiple ones
   321  	// once it exceeds a single Cloud Storage object limit.
   322  	OutputResult *OutputResult `protobuf:"bytes,3,opt,name=output_result,json=outputResult,proto3" json:"output_result,omitempty"`
   323  }
   324  
   325  func (x *ExportAssetsResponse) Reset() {
   326  	*x = ExportAssetsResponse{}
   327  	if protoimpl.UnsafeEnabled {
   328  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1]
   329  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   330  		ms.StoreMessageInfo(mi)
   331  	}
   332  }
   333  
   334  func (x *ExportAssetsResponse) String() string {
   335  	return protoimpl.X.MessageStringOf(x)
   336  }
   337  
   338  func (*ExportAssetsResponse) ProtoMessage() {}
   339  
   340  func (x *ExportAssetsResponse) ProtoReflect() protoreflect.Message {
   341  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1]
   342  	if protoimpl.UnsafeEnabled && x != nil {
   343  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   344  		if ms.LoadMessageInfo() == nil {
   345  			ms.StoreMessageInfo(mi)
   346  		}
   347  		return ms
   348  	}
   349  	return mi.MessageOf(x)
   350  }
   351  
   352  // Deprecated: Use ExportAssetsResponse.ProtoReflect.Descriptor instead.
   353  func (*ExportAssetsResponse) Descriptor() ([]byte, []int) {
   354  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{1}
   355  }
   356  
   357  func (x *ExportAssetsResponse) GetReadTime() *timestamppb.Timestamp {
   358  	if x != nil {
   359  		return x.ReadTime
   360  	}
   361  	return nil
   362  }
   363  
   364  func (x *ExportAssetsResponse) GetOutputConfig() *OutputConfig {
   365  	if x != nil {
   366  		return x.OutputConfig
   367  	}
   368  	return nil
   369  }
   370  
   371  func (x *ExportAssetsResponse) GetOutputResult() *OutputResult {
   372  	if x != nil {
   373  		return x.OutputResult
   374  	}
   375  	return nil
   376  }
   377  
   378  // Output configuration for export assets destination.
   379  type OutputConfig struct {
   380  	state         protoimpl.MessageState
   381  	sizeCache     protoimpl.SizeCache
   382  	unknownFields protoimpl.UnknownFields
   383  
   384  	// Asset export destination.
   385  	//
   386  	// Types that are assignable to Destination:
   387  	//
   388  	//	*OutputConfig_GcsDestination
   389  	//	*OutputConfig_BigqueryDestination
   390  	Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
   391  }
   392  
   393  func (x *OutputConfig) Reset() {
   394  	*x = OutputConfig{}
   395  	if protoimpl.UnsafeEnabled {
   396  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2]
   397  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   398  		ms.StoreMessageInfo(mi)
   399  	}
   400  }
   401  
   402  func (x *OutputConfig) String() string {
   403  	return protoimpl.X.MessageStringOf(x)
   404  }
   405  
   406  func (*OutputConfig) ProtoMessage() {}
   407  
   408  func (x *OutputConfig) ProtoReflect() protoreflect.Message {
   409  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2]
   410  	if protoimpl.UnsafeEnabled && x != nil {
   411  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   412  		if ms.LoadMessageInfo() == nil {
   413  			ms.StoreMessageInfo(mi)
   414  		}
   415  		return ms
   416  	}
   417  	return mi.MessageOf(x)
   418  }
   419  
   420  // Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.
   421  func (*OutputConfig) Descriptor() ([]byte, []int) {
   422  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{2}
   423  }
   424  
   425  func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
   426  	if m != nil {
   427  		return m.Destination
   428  	}
   429  	return nil
   430  }
   431  
   432  func (x *OutputConfig) GetGcsDestination() *GcsDestination {
   433  	if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok {
   434  		return x.GcsDestination
   435  	}
   436  	return nil
   437  }
   438  
   439  func (x *OutputConfig) GetBigqueryDestination() *BigQueryDestination {
   440  	if x, ok := x.GetDestination().(*OutputConfig_BigqueryDestination); ok {
   441  		return x.BigqueryDestination
   442  	}
   443  	return nil
   444  }
   445  
   446  type isOutputConfig_Destination interface {
   447  	isOutputConfig_Destination()
   448  }
   449  
   450  type OutputConfig_GcsDestination struct {
   451  	// Destination on Cloud Storage.
   452  	GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
   453  }
   454  
   455  type OutputConfig_BigqueryDestination struct {
   456  	// Destination on BigQuery. The output table stores the fields in asset
   457  	// proto as columns in BigQuery.
   458  	BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"`
   459  }
   460  
   461  func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
   462  
   463  func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {}
   464  
   465  // Output result of export assets.
   466  type OutputResult struct {
   467  	state         protoimpl.MessageState
   468  	sizeCache     protoimpl.SizeCache
   469  	unknownFields protoimpl.UnknownFields
   470  
   471  	// Asset export result.
   472  	//
   473  	// Types that are assignable to Result:
   474  	//
   475  	//	*OutputResult_GcsResult
   476  	Result isOutputResult_Result `protobuf_oneof:"result"`
   477  }
   478  
   479  func (x *OutputResult) Reset() {
   480  	*x = OutputResult{}
   481  	if protoimpl.UnsafeEnabled {
   482  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3]
   483  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   484  		ms.StoreMessageInfo(mi)
   485  	}
   486  }
   487  
   488  func (x *OutputResult) String() string {
   489  	return protoimpl.X.MessageStringOf(x)
   490  }
   491  
   492  func (*OutputResult) ProtoMessage() {}
   493  
   494  func (x *OutputResult) ProtoReflect() protoreflect.Message {
   495  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3]
   496  	if protoimpl.UnsafeEnabled && x != nil {
   497  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   498  		if ms.LoadMessageInfo() == nil {
   499  			ms.StoreMessageInfo(mi)
   500  		}
   501  		return ms
   502  	}
   503  	return mi.MessageOf(x)
   504  }
   505  
   506  // Deprecated: Use OutputResult.ProtoReflect.Descriptor instead.
   507  func (*OutputResult) Descriptor() ([]byte, []int) {
   508  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{3}
   509  }
   510  
   511  func (m *OutputResult) GetResult() isOutputResult_Result {
   512  	if m != nil {
   513  		return m.Result
   514  	}
   515  	return nil
   516  }
   517  
   518  func (x *OutputResult) GetGcsResult() *GcsOutputResult {
   519  	if x, ok := x.GetResult().(*OutputResult_GcsResult); ok {
   520  		return x.GcsResult
   521  	}
   522  	return nil
   523  }
   524  
   525  type isOutputResult_Result interface {
   526  	isOutputResult_Result()
   527  }
   528  
   529  type OutputResult_GcsResult struct {
   530  	// Export result on Cloud Storage.
   531  	GcsResult *GcsOutputResult `protobuf:"bytes,1,opt,name=gcs_result,json=gcsResult,proto3,oneof"`
   532  }
   533  
   534  func (*OutputResult_GcsResult) isOutputResult_Result() {}
   535  
   536  // A Cloud Storage output result.
   537  type GcsOutputResult struct {
   538  	state         protoimpl.MessageState
   539  	sizeCache     protoimpl.SizeCache
   540  	unknownFields protoimpl.UnknownFields
   541  
   542  	// List of URIs of the Cloud Storage objects. Example:
   543  	// "gs://bucket_name/object_name".
   544  	Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
   545  }
   546  
   547  func (x *GcsOutputResult) Reset() {
   548  	*x = GcsOutputResult{}
   549  	if protoimpl.UnsafeEnabled {
   550  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4]
   551  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   552  		ms.StoreMessageInfo(mi)
   553  	}
   554  }
   555  
   556  func (x *GcsOutputResult) String() string {
   557  	return protoimpl.X.MessageStringOf(x)
   558  }
   559  
   560  func (*GcsOutputResult) ProtoMessage() {}
   561  
   562  func (x *GcsOutputResult) ProtoReflect() protoreflect.Message {
   563  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4]
   564  	if protoimpl.UnsafeEnabled && x != nil {
   565  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   566  		if ms.LoadMessageInfo() == nil {
   567  			ms.StoreMessageInfo(mi)
   568  		}
   569  		return ms
   570  	}
   571  	return mi.MessageOf(x)
   572  }
   573  
   574  // Deprecated: Use GcsOutputResult.ProtoReflect.Descriptor instead.
   575  func (*GcsOutputResult) Descriptor() ([]byte, []int) {
   576  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{4}
   577  }
   578  
   579  func (x *GcsOutputResult) GetUris() []string {
   580  	if x != nil {
   581  		return x.Uris
   582  	}
   583  	return nil
   584  }
   585  
   586  // A Cloud Storage location.
   587  type GcsDestination struct {
   588  	state         protoimpl.MessageState
   589  	sizeCache     protoimpl.SizeCache
   590  	unknownFields protoimpl.UnknownFields
   591  
   592  	// Required.
   593  	//
   594  	// Types that are assignable to ObjectUri:
   595  	//
   596  	//	*GcsDestination_Uri
   597  	//	*GcsDestination_UriPrefix
   598  	ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"`
   599  }
   600  
   601  func (x *GcsDestination) Reset() {
   602  	*x = GcsDestination{}
   603  	if protoimpl.UnsafeEnabled {
   604  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5]
   605  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   606  		ms.StoreMessageInfo(mi)
   607  	}
   608  }
   609  
   610  func (x *GcsDestination) String() string {
   611  	return protoimpl.X.MessageStringOf(x)
   612  }
   613  
   614  func (*GcsDestination) ProtoMessage() {}
   615  
   616  func (x *GcsDestination) ProtoReflect() protoreflect.Message {
   617  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5]
   618  	if protoimpl.UnsafeEnabled && x != nil {
   619  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   620  		if ms.LoadMessageInfo() == nil {
   621  			ms.StoreMessageInfo(mi)
   622  		}
   623  		return ms
   624  	}
   625  	return mi.MessageOf(x)
   626  }
   627  
   628  // Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
   629  func (*GcsDestination) Descriptor() ([]byte, []int) {
   630  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{5}
   631  }
   632  
   633  func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri {
   634  	if m != nil {
   635  		return m.ObjectUri
   636  	}
   637  	return nil
   638  }
   639  
   640  func (x *GcsDestination) GetUri() string {
   641  	if x, ok := x.GetObjectUri().(*GcsDestination_Uri); ok {
   642  		return x.Uri
   643  	}
   644  	return ""
   645  }
   646  
   647  func (x *GcsDestination) GetUriPrefix() string {
   648  	if x, ok := x.GetObjectUri().(*GcsDestination_UriPrefix); ok {
   649  		return x.UriPrefix
   650  	}
   651  	return ""
   652  }
   653  
   654  type isGcsDestination_ObjectUri interface {
   655  	isGcsDestination_ObjectUri()
   656  }
   657  
   658  type GcsDestination_Uri struct {
   659  	// The URI of the Cloud Storage object. It's the same URI that is used by
   660  	// gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
   661  	// Editing Object
   662  	// Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
   663  	// for more information.
   664  	Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"`
   665  }
   666  
   667  type GcsDestination_UriPrefix struct {
   668  	// The URI prefix of all generated Cloud Storage objects. Example:
   669  	// "gs://bucket_name/object_name_prefix". Each object URI is in format:
   670  	// "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only
   671  	// contains assets for that type. <shard number> starts from 0. Example:
   672  	// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
   673  	// the first shard of output objects containing all
   674  	// compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
   675  	// returned if file with the same name "gs://bucket_name/object_name_prefix"
   676  	// already exists.
   677  	UriPrefix string `protobuf:"bytes,2,opt,name=uri_prefix,json=uriPrefix,proto3,oneof"`
   678  }
   679  
   680  func (*GcsDestination_Uri) isGcsDestination_ObjectUri() {}
   681  
   682  func (*GcsDestination_UriPrefix) isGcsDestination_ObjectUri() {}
   683  
   684  // A BigQuery destination for exporting assets to.
   685  type BigQueryDestination struct {
   686  	state         protoimpl.MessageState
   687  	sizeCache     protoimpl.SizeCache
   688  	unknownFields protoimpl.UnknownFields
   689  
   690  	// Required. The BigQuery dataset in format
   691  	// "projects/projectId/datasets/datasetId", to which the snapshot result
   692  	// should be exported. If this dataset does not exist, the export call returns
   693  	// an INVALID_ARGUMENT error.
   694  	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
   695  	// Required. The BigQuery table to which the snapshot result should be
   696  	// written. If this table does not exist, a new table with the given name
   697  	// will be created.
   698  	Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
   699  	// If the destination table already exists and this flag is `TRUE`, the
   700  	// table will be overwritten by the contents of assets snapshot. If the flag
   701  	// is `FALSE` or unset and the destination table already exists, the export
   702  	// call returns an INVALID_ARGUMEMT error.
   703  	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
   704  	// [partition_spec] determines whether to export to partitioned table(s) and
   705  	// how to partition the data.
   706  	//
   707  	// If [partition_spec] is unset or [partition_spec.partition_key] is unset or
   708  	// `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
   709  	// non-partitioned table(s). [force] will decide whether to overwrite existing
   710  	// table(s).
   711  	//
   712  	// If [partition_spec] is specified. First, the snapshot results will be
   713  	// written to partitioned table(s) with two additional timestamp columns,
   714  	// readTime and requestTime, one of which will be the partition key. Secondly,
   715  	// in the case when any destination table already exists, it will first try to
   716  	// update existing table's schema as necessary by appending additional
   717  	// columns. Then, if [force] is `TRUE`, the corresponding partition will be
   718  	// overwritten by the snapshot results (data in different partitions will
   719  	// remain intact); if [force] is unset or `FALSE`, it will append the data. An
   720  	// error will be returned if the schema update or data appension fails.
   721  	PartitionSpec *PartitionSpec `protobuf:"bytes,4,opt,name=partition_spec,json=partitionSpec,proto3" json:"partition_spec,omitempty"`
   722  	// If this flag is `TRUE`, the snapshot results will be written to one or
   723  	// multiple tables, each of which contains results of one asset type. The
   724  	// [force] and [partition_spec] fields will apply to each of them.
   725  	//
   726  	// Field [table] will be concatenated with "_" and the asset type names (see
   727  	// https://cloud.google.com/asset-inventory/docs/supported-asset-types for
   728  	// supported asset types) to construct per-asset-type table names, in which
   729  	// all non-alphanumeric characters like "." and "/" will be substituted by
   730  	// "_". Example: if field [table] is "mytable" and snapshot results
   731  	// contain "storage.googleapis.com/Bucket" assets, the corresponding table
   732  	// name will be "mytable_storage_googleapis_com_Bucket". If any of these
   733  	// tables does not exist, a new table with the concatenated name will be
   734  	// created.
   735  	//
   736  	// When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
   737  	// each table will include RECORD-type columns mapped to the nested fields in
   738  	// the Asset.resource.data field of that asset type (up to the 15 nested level
   739  	// BigQuery supports
   740  	// (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
   741  	// fields in >15 nested levels will be stored in JSON format string as a child
   742  	// column of its parent RECORD column.
   743  	//
   744  	// If error occurs when exporting to any table, the whole export call will
   745  	// return an error but the export results that already succeed will persist.
   746  	// Example: if exporting to table_type_A succeeds when exporting to
   747  	// table_type_B fails during one export call, the results in table_type_A will
   748  	// persist and there will not be partial results persisting in a table.
   749  	SeparateTablesPerAssetType bool `protobuf:"varint,5,opt,name=separate_tables_per_asset_type,json=separateTablesPerAssetType,proto3" json:"separate_tables_per_asset_type,omitempty"`
   750  }
   751  
   752  func (x *BigQueryDestination) Reset() {
   753  	*x = BigQueryDestination{}
   754  	if protoimpl.UnsafeEnabled {
   755  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6]
   756  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   757  		ms.StoreMessageInfo(mi)
   758  	}
   759  }
   760  
   761  func (x *BigQueryDestination) String() string {
   762  	return protoimpl.X.MessageStringOf(x)
   763  }
   764  
   765  func (*BigQueryDestination) ProtoMessage() {}
   766  
   767  func (x *BigQueryDestination) ProtoReflect() protoreflect.Message {
   768  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6]
   769  	if protoimpl.UnsafeEnabled && x != nil {
   770  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   771  		if ms.LoadMessageInfo() == nil {
   772  			ms.StoreMessageInfo(mi)
   773  		}
   774  		return ms
   775  	}
   776  	return mi.MessageOf(x)
   777  }
   778  
   779  // Deprecated: Use BigQueryDestination.ProtoReflect.Descriptor instead.
   780  func (*BigQueryDestination) Descriptor() ([]byte, []int) {
   781  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{6}
   782  }
   783  
   784  func (x *BigQueryDestination) GetDataset() string {
   785  	if x != nil {
   786  		return x.Dataset
   787  	}
   788  	return ""
   789  }
   790  
   791  func (x *BigQueryDestination) GetTable() string {
   792  	if x != nil {
   793  		return x.Table
   794  	}
   795  	return ""
   796  }
   797  
   798  func (x *BigQueryDestination) GetForce() bool {
   799  	if x != nil {
   800  		return x.Force
   801  	}
   802  	return false
   803  }
   804  
   805  func (x *BigQueryDestination) GetPartitionSpec() *PartitionSpec {
   806  	if x != nil {
   807  		return x.PartitionSpec
   808  	}
   809  	return nil
   810  }
   811  
   812  func (x *BigQueryDestination) GetSeparateTablesPerAssetType() bool {
   813  	if x != nil {
   814  		return x.SeparateTablesPerAssetType
   815  	}
   816  	return false
   817  }
   818  
   819  // Specifications of BigQuery partitioned table as export destination.
   820  type PartitionSpec struct {
   821  	state         protoimpl.MessageState
   822  	sizeCache     protoimpl.SizeCache
   823  	unknownFields protoimpl.UnknownFields
   824  
   825  	// The partition key for BigQuery partitioned table.
   826  	PartitionKey PartitionSpec_PartitionKey `protobuf:"varint,1,opt,name=partition_key,json=partitionKey,proto3,enum=google.cloud.asset.v1p7beta1.PartitionSpec_PartitionKey" json:"partition_key,omitempty"`
   827  }
   828  
   829  func (x *PartitionSpec) Reset() {
   830  	*x = PartitionSpec{}
   831  	if protoimpl.UnsafeEnabled {
   832  		mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7]
   833  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   834  		ms.StoreMessageInfo(mi)
   835  	}
   836  }
   837  
   838  func (x *PartitionSpec) String() string {
   839  	return protoimpl.X.MessageStringOf(x)
   840  }
   841  
   842  func (*PartitionSpec) ProtoMessage() {}
   843  
   844  func (x *PartitionSpec) ProtoReflect() protoreflect.Message {
   845  	mi := &file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7]
   846  	if protoimpl.UnsafeEnabled && x != nil {
   847  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   848  		if ms.LoadMessageInfo() == nil {
   849  			ms.StoreMessageInfo(mi)
   850  		}
   851  		return ms
   852  	}
   853  	return mi.MessageOf(x)
   854  }
   855  
   856  // Deprecated: Use PartitionSpec.ProtoReflect.Descriptor instead.
   857  func (*PartitionSpec) Descriptor() ([]byte, []int) {
   858  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP(), []int{7}
   859  }
   860  
   861  func (x *PartitionSpec) GetPartitionKey() PartitionSpec_PartitionKey {
   862  	if x != nil {
   863  		return x.PartitionKey
   864  	}
   865  	return PartitionSpec_PARTITION_KEY_UNSPECIFIED
   866  }
   867  
   868  var File_google_cloud_asset_v1p7beta1_asset_service_proto protoreflect.FileDescriptor
   869  
   870  var file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc = []byte{
   871  	0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   872  	0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
   873  	0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   874  	0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   875  	0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31,
   876  	0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
   877  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
   878  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
   879  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   880  	0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
   881  	0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   882  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
   883  	0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67,
   884  	0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
   885  	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   886  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
   887  	0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x03, 0x0a, 0x13, 0x45, 0x78,
   888  	0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   889  	0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
   890  	0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   891  	0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   892  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
   893  	0x6e, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   894  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   895  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   896  	0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61,
   897  	0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
   898  	0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0c,
   899  	0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
   900  	0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   901  	0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61,
   902  	0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63,
   903  	0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x6f, 0x75,
   904  	0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28,
   905  	0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   906  	0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31,
   907  	0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0,
   908  	0x41, 0x02, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   909  	0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
   910  	0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65,
   911  	0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22,
   912  	0xf1, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
   913  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64,
   914  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   915  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
   916  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d,
   917  	0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
   918  	0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   919  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
   920  	0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f,
   921  	0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
   922  	0x69, 0x67, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73,
   923  	0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   924  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
   925  	0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52,
   926  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73,
   927  	0x75, 0x6c, 0x74, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f,
   928  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74,
   929  	0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
   930  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73,
   931  	0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73,
   932  	0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67,
   933  	0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x66, 0x0a,
   934  	0x14, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
   935  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f,
   936  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74,
   937  	0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75,
   938  	0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00,
   939  	0x52, 0x13, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
   940  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
   941  	0x74, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65,
   942  	0x73, 0x75, 0x6c, 0x74, 0x12, 0x4e, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x75,
   943  	0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   944  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
   945  	0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75,
   946  	0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x52, 0x65,
   947  	0x73, 0x75, 0x6c, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x25,
   948  	0x0a, 0x0f, 0x47, 0x63, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c,
   949  	0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
   950  	0x04, 0x75, 0x72, 0x69, 0x73, 0x22, 0x53, 0x0a, 0x0e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74,
   951  	0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01,
   952  	0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x75,
   953  	0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
   954  	0x00, 0x52, 0x09, 0x75, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x0c, 0x0a, 0x0a,
   955  	0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x22, 0xfd, 0x01, 0x0a, 0x13, 0x42,
   956  	0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
   957  	0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
   958  	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65,
   959  	0x74, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   960  	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05,
   961  	0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72,
   962  	0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
   963  	0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
   964  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
   965  	0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
   966  	0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
   967  	0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x1e, 0x73, 0x65, 0x70, 0x61, 0x72, 0x61,
   968  	0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x61, 0x73,
   969  	0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a,
   970  	0x73, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x50, 0x65,
   971  	0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x0d, 0x50,
   972  	0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5d, 0x0a, 0x0d,
   973  	0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
   974  	0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
   975  	0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74,
   976  	0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63,
   977  	0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x70,
   978  	0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x22, 0x4e, 0x0a, 0x0c, 0x50,
   979  	0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x19, 0x50,
   980  	0x41, 0x52, 0x54, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x55, 0x4e, 0x53,
   981  	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45,
   982  	0x41, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x51,
   983  	0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x02, 0x2a, 0x7e, 0x0a, 0x0b, 0x43,
   984  	0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f,
   985  	0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
   986  	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x4f,
   987  	0x55, 0x52, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x41, 0x4d, 0x5f, 0x50, 0x4f,
   988  	0x4c, 0x49, 0x43, 0x59, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x47, 0x5f, 0x50, 0x4f,
   989  	0x4c, 0x49, 0x43, 0x59, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53,
   990  	0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x4c,
   991  	0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x48, 0x49, 0x50, 0x10, 0x07, 0x32, 0xda, 0x02, 0x0a, 0x0c,
   992  	0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xfa, 0x01, 0x0a,
   993  	0x0c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x31, 0x2e,
   994  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73,
   995  	0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70,
   996  	0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   997  	0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75,
   998  	0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
   999  	0x97, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62,
  1000  	0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x2a, 0x2f, 0x2a,
  1001  	0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x3a, 0x01,
  1002  	0x2a, 0xca, 0x41, 0x65, 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
  1003  	0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74,
  1004  	0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
  1005  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1006  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37,
  1007  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x73, 0x73, 0x65,
  1008  	0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x63, 0x6c,
  1009  	0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
  1010  	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
  1011  	0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
  1012  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d,
  1013  	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xb8, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d,
  1014  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73,
  1015  	0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 0x41,
  1016  	0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  1017  	0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
  1018  	0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
  1019  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
  1020  	0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
  1021  	0x61, 0x73, 0x73, 0x65, 0x74, 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
  1022  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0x50, 0x37, 0x42,
  1023  	0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
  1024  	0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c, 0x56, 0x31, 0x70, 0x37, 0x62, 0x65,
  1025  	0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1026  }
  1027  
  1028  var (
  1029  	file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescOnce sync.Once
  1030  	file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData = file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc
  1031  )
  1032  
  1033  func file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescGZIP() []byte {
  1034  	file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescOnce.Do(func() {
  1035  		file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData)
  1036  	})
  1037  	return file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDescData
  1038  }
  1039  
  1040  var file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1041  var file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  1042  var file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes = []interface{}{
  1043  	(ContentType)(0),                // 0: google.cloud.asset.v1p7beta1.ContentType
  1044  	(PartitionSpec_PartitionKey)(0), // 1: google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey
  1045  	(*ExportAssetsRequest)(nil),     // 2: google.cloud.asset.v1p7beta1.ExportAssetsRequest
  1046  	(*ExportAssetsResponse)(nil),    // 3: google.cloud.asset.v1p7beta1.ExportAssetsResponse
  1047  	(*OutputConfig)(nil),            // 4: google.cloud.asset.v1p7beta1.OutputConfig
  1048  	(*OutputResult)(nil),            // 5: google.cloud.asset.v1p7beta1.OutputResult
  1049  	(*GcsOutputResult)(nil),         // 6: google.cloud.asset.v1p7beta1.GcsOutputResult
  1050  	(*GcsDestination)(nil),          // 7: google.cloud.asset.v1p7beta1.GcsDestination
  1051  	(*BigQueryDestination)(nil),     // 8: google.cloud.asset.v1p7beta1.BigQueryDestination
  1052  	(*PartitionSpec)(nil),           // 9: google.cloud.asset.v1p7beta1.PartitionSpec
  1053  	(*timestamppb.Timestamp)(nil),   // 10: google.protobuf.Timestamp
  1054  	(*longrunning.Operation)(nil),   // 11: google.longrunning.Operation
  1055  }
  1056  var file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs = []int32{
  1057  	10, // 0: google.cloud.asset.v1p7beta1.ExportAssetsRequest.read_time:type_name -> google.protobuf.Timestamp
  1058  	0,  // 1: google.cloud.asset.v1p7beta1.ExportAssetsRequest.content_type:type_name -> google.cloud.asset.v1p7beta1.ContentType
  1059  	4,  // 2: google.cloud.asset.v1p7beta1.ExportAssetsRequest.output_config:type_name -> google.cloud.asset.v1p7beta1.OutputConfig
  1060  	10, // 3: google.cloud.asset.v1p7beta1.ExportAssetsResponse.read_time:type_name -> google.protobuf.Timestamp
  1061  	4,  // 4: google.cloud.asset.v1p7beta1.ExportAssetsResponse.output_config:type_name -> google.cloud.asset.v1p7beta1.OutputConfig
  1062  	5,  // 5: google.cloud.asset.v1p7beta1.ExportAssetsResponse.output_result:type_name -> google.cloud.asset.v1p7beta1.OutputResult
  1063  	7,  // 6: google.cloud.asset.v1p7beta1.OutputConfig.gcs_destination:type_name -> google.cloud.asset.v1p7beta1.GcsDestination
  1064  	8,  // 7: google.cloud.asset.v1p7beta1.OutputConfig.bigquery_destination:type_name -> google.cloud.asset.v1p7beta1.BigQueryDestination
  1065  	6,  // 8: google.cloud.asset.v1p7beta1.OutputResult.gcs_result:type_name -> google.cloud.asset.v1p7beta1.GcsOutputResult
  1066  	9,  // 9: google.cloud.asset.v1p7beta1.BigQueryDestination.partition_spec:type_name -> google.cloud.asset.v1p7beta1.PartitionSpec
  1067  	1,  // 10: google.cloud.asset.v1p7beta1.PartitionSpec.partition_key:type_name -> google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey
  1068  	2,  // 11: google.cloud.asset.v1p7beta1.AssetService.ExportAssets:input_type -> google.cloud.asset.v1p7beta1.ExportAssetsRequest
  1069  	11, // 12: google.cloud.asset.v1p7beta1.AssetService.ExportAssets:output_type -> google.longrunning.Operation
  1070  	12, // [12:13] is the sub-list for method output_type
  1071  	11, // [11:12] is the sub-list for method input_type
  1072  	11, // [11:11] is the sub-list for extension type_name
  1073  	11, // [11:11] is the sub-list for extension extendee
  1074  	0,  // [0:11] is the sub-list for field type_name
  1075  }
  1076  
  1077  func init() { file_google_cloud_asset_v1p7beta1_asset_service_proto_init() }
  1078  func file_google_cloud_asset_v1p7beta1_asset_service_proto_init() {
  1079  	if File_google_cloud_asset_v1p7beta1_asset_service_proto != nil {
  1080  		return
  1081  	}
  1082  	if !protoimpl.UnsafeEnabled {
  1083  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1084  			switch v := v.(*ExportAssetsRequest); i {
  1085  			case 0:
  1086  				return &v.state
  1087  			case 1:
  1088  				return &v.sizeCache
  1089  			case 2:
  1090  				return &v.unknownFields
  1091  			default:
  1092  				return nil
  1093  			}
  1094  		}
  1095  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1096  			switch v := v.(*ExportAssetsResponse); i {
  1097  			case 0:
  1098  				return &v.state
  1099  			case 1:
  1100  				return &v.sizeCache
  1101  			case 2:
  1102  				return &v.unknownFields
  1103  			default:
  1104  				return nil
  1105  			}
  1106  		}
  1107  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1108  			switch v := v.(*OutputConfig); i {
  1109  			case 0:
  1110  				return &v.state
  1111  			case 1:
  1112  				return &v.sizeCache
  1113  			case 2:
  1114  				return &v.unknownFields
  1115  			default:
  1116  				return nil
  1117  			}
  1118  		}
  1119  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1120  			switch v := v.(*OutputResult); i {
  1121  			case 0:
  1122  				return &v.state
  1123  			case 1:
  1124  				return &v.sizeCache
  1125  			case 2:
  1126  				return &v.unknownFields
  1127  			default:
  1128  				return nil
  1129  			}
  1130  		}
  1131  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1132  			switch v := v.(*GcsOutputResult); i {
  1133  			case 0:
  1134  				return &v.state
  1135  			case 1:
  1136  				return &v.sizeCache
  1137  			case 2:
  1138  				return &v.unknownFields
  1139  			default:
  1140  				return nil
  1141  			}
  1142  		}
  1143  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1144  			switch v := v.(*GcsDestination); i {
  1145  			case 0:
  1146  				return &v.state
  1147  			case 1:
  1148  				return &v.sizeCache
  1149  			case 2:
  1150  				return &v.unknownFields
  1151  			default:
  1152  				return nil
  1153  			}
  1154  		}
  1155  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1156  			switch v := v.(*BigQueryDestination); i {
  1157  			case 0:
  1158  				return &v.state
  1159  			case 1:
  1160  				return &v.sizeCache
  1161  			case 2:
  1162  				return &v.unknownFields
  1163  			default:
  1164  				return nil
  1165  			}
  1166  		}
  1167  		file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1168  			switch v := v.(*PartitionSpec); i {
  1169  			case 0:
  1170  				return &v.state
  1171  			case 1:
  1172  				return &v.sizeCache
  1173  			case 2:
  1174  				return &v.unknownFields
  1175  			default:
  1176  				return nil
  1177  			}
  1178  		}
  1179  	}
  1180  	file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[2].OneofWrappers = []interface{}{
  1181  		(*OutputConfig_GcsDestination)(nil),
  1182  		(*OutputConfig_BigqueryDestination)(nil),
  1183  	}
  1184  	file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[3].OneofWrappers = []interface{}{
  1185  		(*OutputResult_GcsResult)(nil),
  1186  	}
  1187  	file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes[5].OneofWrappers = []interface{}{
  1188  		(*GcsDestination_Uri)(nil),
  1189  		(*GcsDestination_UriPrefix)(nil),
  1190  	}
  1191  	type x struct{}
  1192  	out := protoimpl.TypeBuilder{
  1193  		File: protoimpl.DescBuilder{
  1194  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1195  			RawDescriptor: file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc,
  1196  			NumEnums:      2,
  1197  			NumMessages:   8,
  1198  			NumExtensions: 0,
  1199  			NumServices:   1,
  1200  		},
  1201  		GoTypes:           file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes,
  1202  		DependencyIndexes: file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs,
  1203  		EnumInfos:         file_google_cloud_asset_v1p7beta1_asset_service_proto_enumTypes,
  1204  		MessageInfos:      file_google_cloud_asset_v1p7beta1_asset_service_proto_msgTypes,
  1205  	}.Build()
  1206  	File_google_cloud_asset_v1p7beta1_asset_service_proto = out.File
  1207  	file_google_cloud_asset_v1p7beta1_asset_service_proto_rawDesc = nil
  1208  	file_google_cloud_asset_v1p7beta1_asset_service_proto_goTypes = nil
  1209  	file_google_cloud_asset_v1p7beta1_asset_service_proto_depIdxs = nil
  1210  }
  1211  
  1212  // Reference imports to suppress errors if they are not otherwise used.
  1213  var _ context.Context
  1214  var _ grpc.ClientConnInterface
  1215  
  1216  // This is a compile-time assertion to ensure that this generated file
  1217  // is compatible with the grpc package it is being compiled against.
  1218  const _ = grpc.SupportPackageIsVersion6
  1219  
  1220  // AssetServiceClient is the client API for AssetService service.
  1221  //
  1222  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1223  type AssetServiceClient interface {
  1224  	// Exports assets with time and resource types to a given Cloud Storage
  1225  	// location/BigQuery table. For Cloud Storage location destinations, the
  1226  	// output format is newline-delimited JSON. Each line represents a
  1227  	// [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in
  1228  	// the JSON format; for BigQuery table destinations, the output table stores
  1229  	// the fields in asset proto as columns. This API implements the
  1230  	// [google.longrunning.Operation][google.longrunning.Operation] API , which
  1231  	// allows you to keep track of the export. We recommend intervals of at least
  1232  	// 2 seconds with exponential retry to poll the export operation result. For
  1233  	// regular-size resource parent, the export operation usually finishes within
  1234  	// 5 minutes.
  1235  	ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1236  }
  1237  
  1238  type assetServiceClient struct {
  1239  	cc grpc.ClientConnInterface
  1240  }
  1241  
  1242  func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient {
  1243  	return &assetServiceClient{cc}
  1244  }
  1245  
  1246  func (c *assetServiceClient) ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1247  	out := new(longrunning.Operation)
  1248  	err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p7beta1.AssetService/ExportAssets", in, out, opts...)
  1249  	if err != nil {
  1250  		return nil, err
  1251  	}
  1252  	return out, nil
  1253  }
  1254  
  1255  // AssetServiceServer is the server API for AssetService service.
  1256  type AssetServiceServer interface {
  1257  	// Exports assets with time and resource types to a given Cloud Storage
  1258  	// location/BigQuery table. For Cloud Storage location destinations, the
  1259  	// output format is newline-delimited JSON. Each line represents a
  1260  	// [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in
  1261  	// the JSON format; for BigQuery table destinations, the output table stores
  1262  	// the fields in asset proto as columns. This API implements the
  1263  	// [google.longrunning.Operation][google.longrunning.Operation] API , which
  1264  	// allows you to keep track of the export. We recommend intervals of at least
  1265  	// 2 seconds with exponential retry to poll the export operation result. For
  1266  	// regular-size resource parent, the export operation usually finishes within
  1267  	// 5 minutes.
  1268  	ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error)
  1269  }
  1270  
  1271  // UnimplementedAssetServiceServer can be embedded to have forward compatible implementations.
  1272  type UnimplementedAssetServiceServer struct {
  1273  }
  1274  
  1275  func (*UnimplementedAssetServiceServer) ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error) {
  1276  	return nil, status.Errorf(codes.Unimplemented, "method ExportAssets not implemented")
  1277  }
  1278  
  1279  func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) {
  1280  	s.RegisterService(&_AssetService_serviceDesc, srv)
  1281  }
  1282  
  1283  func _AssetService_ExportAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1284  	in := new(ExportAssetsRequest)
  1285  	if err := dec(in); err != nil {
  1286  		return nil, err
  1287  	}
  1288  	if interceptor == nil {
  1289  		return srv.(AssetServiceServer).ExportAssets(ctx, in)
  1290  	}
  1291  	info := &grpc.UnaryServerInfo{
  1292  		Server:     srv,
  1293  		FullMethod: "/google.cloud.asset.v1p7beta1.AssetService/ExportAssets",
  1294  	}
  1295  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1296  		return srv.(AssetServiceServer).ExportAssets(ctx, req.(*ExportAssetsRequest))
  1297  	}
  1298  	return interceptor(ctx, in, info, handler)
  1299  }
  1300  
  1301  var _AssetService_serviceDesc = grpc.ServiceDesc{
  1302  	ServiceName: "google.cloud.asset.v1p7beta1.AssetService",
  1303  	HandlerType: (*AssetServiceServer)(nil),
  1304  	Methods: []grpc.MethodDesc{
  1305  		{
  1306  			MethodName: "ExportAssets",
  1307  			Handler:    _AssetService_ExportAssets_Handler,
  1308  		},
  1309  	},
  1310  	Streams:  []grpc.StreamDesc{},
  1311  	Metadata: "google/cloud/asset/v1p7beta1/asset_service.proto",
  1312  }
  1313  

View as plain text