| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/asset/v1p5beta1/asset_service.proto |
| 20 |
|
| 21 |
package assetpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 28 |
reflect "reflect" |
| 29 |
sync "sync" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// Asset content type. |
| 40 |
type ContentType int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Unspecified content type. |
| 44 |
ContentType_CONTENT_TYPE_UNSPECIFIED ContentType = 0 |
| 45 |
// Resource metadata. |
| 46 |
ContentType_RESOURCE ContentType = 1 |
| 47 |
// The actual IAM policy set on a resource. |
| 48 |
ContentType_IAM_POLICY ContentType = 2 |
| 49 |
// The organization policy set on an asset. |
| 50 |
ContentType_ORG_POLICY ContentType = 4 |
| 51 |
// The Access Context Manager policy set on an asset. |
| 52 |
ContentType_ACCESS_POLICY ContentType = 5 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for ContentType. |
| 56 |
var ( |
| 57 |
ContentType_name = map[int32]string{ |
| 58 |
0: "CONTENT_TYPE_UNSPECIFIED", |
| 59 |
1: "RESOURCE", |
| 60 |
2: "IAM_POLICY", |
| 61 |
4: "ORG_POLICY", |
| 62 |
5: "ACCESS_POLICY", |
| 63 |
} |
| 64 |
ContentType_value = map[string]int32{ |
| 65 |
"CONTENT_TYPE_UNSPECIFIED": 0, |
| 66 |
"RESOURCE": 1, |
| 67 |
"IAM_POLICY": 2, |
| 68 |
"ORG_POLICY": 4, |
| 69 |
"ACCESS_POLICY": 5, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x ContentType) Enum() *ContentType { |
| 74 |
p := new(ContentType) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x ContentType) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (ContentType) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_google_cloud_asset_v1p5beta1_asset_service_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (ContentType) Type() protoreflect.EnumType { |
| 88 |
return &file_google_cloud_asset_v1p5beta1_asset_service_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x ContentType) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use ContentType.Descriptor instead. |
| 96 |
func (ContentType) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescGZIP(), []int{0} |
| 98 |
} |
| 99 |
|
| 100 |
// ListAssets request. |
| 101 |
type ListAssetsRequest struct { |
| 102 |
state protoimpl.MessageState |
| 103 |
sizeCache protoimpl.SizeCache |
| 104 |
unknownFields protoimpl.UnknownFields |
| 105 |
|
| 106 |
// Required. Name of the organization or project the assets belong to. Format: |
| 107 |
// "organizations/[organization-number]" (such as "organizations/123"), |
| 108 |
// "projects/[project-id]" (such as "projects/my-project-id"), or |
| 109 |
// "projects/[project-number]" (such as "projects/12345"). |
| 110 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 111 |
// Timestamp to take an asset snapshot. This can only be set to a timestamp |
| 112 |
// between the current time and the current time minus 35 days (inclusive). |
| 113 |
// If not specified, the current time will be used. Due to delays in resource |
| 114 |
// data collection and indexing, there is a volatile window during which |
| 115 |
// running the same query may get different results. |
| 116 |
ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` |
| 117 |
// A list of asset types to take a snapshot for. For example: |
| 118 |
// "compute.googleapis.com/Disk". |
| 119 |
// |
| 120 |
// Regular expression is also supported. For example: |
| 121 |
// |
| 122 |
// * "compute.googleapis.com.*" snapshots resources whose asset type starts |
| 123 |
// with "compute.googleapis.com". |
| 124 |
// * ".*Instance" snapshots resources whose asset type ends with "Instance". |
| 125 |
// * ".*Instance.*" snapshots resources whose asset type contains "Instance". |
| 126 |
// |
| 127 |
// See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported |
| 128 |
// regular expression syntax. If the regular expression does not match any |
| 129 |
// supported asset type, an INVALID_ARGUMENT error will be returned. |
| 130 |
// |
| 131 |
// If specified, only matching assets will be returned, otherwise, it will |
| 132 |
// snapshot all asset types. See [Introduction to Cloud Asset |
| 133 |
// Inventory](https://cloud.google.com/asset-inventory/docs/overview) |
| 134 |
// for all supported asset types. |
| 135 |
AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"` |
| 136 |
// Asset content type. If not specified, no content but the asset name will |
| 137 |
// be returned. |
| 138 |
ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1p5beta1.ContentType" json:"content_type,omitempty"` |
| 139 |
// The maximum number of assets to be returned in a single response. Default |
| 140 |
// is 100, minimum is 1, and maximum is 1000. |
| 141 |
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 142 |
// The `next_page_token` returned from the previous `ListAssetsResponse`, or |
| 143 |
// unspecified for the first `ListAssetsRequest`. It is a continuation of a |
| 144 |
// prior `ListAssets` call, and the API should return the next page of assets. |
| 145 |
PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 146 |
} |
| 147 |
|
| 148 |
func (x *ListAssetsRequest) Reset() { |
| 149 |
*x = ListAssetsRequest{} |
| 150 |
mi := &file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes[0] |
| 151 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
|
| 155 |
func (x *ListAssetsRequest) String() string { |
| 156 |
return protoimpl.X.MessageStringOf(x) |
| 157 |
} |
| 158 |
|
| 159 |
func (*ListAssetsRequest) ProtoMessage() {} |
| 160 |
|
| 161 |
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message { |
| 162 |
mi := &file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes[0] |
| 163 |
if x != nil { |
| 164 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 165 |
if ms.LoadMessageInfo() == nil { |
| 166 |
ms.StoreMessageInfo(mi) |
| 167 |
} |
| 168 |
return ms |
| 169 |
} |
| 170 |
return mi.MessageOf(x) |
| 171 |
} |
| 172 |
|
| 173 |
// Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead. |
| 174 |
func (*ListAssetsRequest) Descriptor() ([]byte, []int) { |
| 175 |
return file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescGZIP(), []int{0} |
| 176 |
} |
| 177 |
|
| 178 |
func (x *ListAssetsRequest) GetParent() string { |
| 179 |
if x != nil { |
| 180 |
return x.Parent |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
func (x *ListAssetsRequest) GetReadTime() *timestamppb.Timestamp { |
| 186 |
if x != nil { |
| 187 |
return x.ReadTime |
| 188 |
} |
| 189 |
return nil |
| 190 |
} |
| 191 |
|
| 192 |
func (x *ListAssetsRequest) GetAssetTypes() []string { |
| 193 |
if x != nil { |
| 194 |
return x.AssetTypes |
| 195 |
} |
| 196 |
return nil |
| 197 |
} |
| 198 |
|
| 199 |
func (x *ListAssetsRequest) GetContentType() ContentType { |
| 200 |
if x != nil { |
| 201 |
return x.ContentType |
| 202 |
} |
| 203 |
return ContentType_CONTENT_TYPE_UNSPECIFIED |
| 204 |
} |
| 205 |
|
| 206 |
func (x *ListAssetsRequest) GetPageSize() int32 { |
| 207 |
if x != nil { |
| 208 |
return x.PageSize |
| 209 |
} |
| 210 |
return 0 |
| 211 |
} |
| 212 |
|
| 213 |
func (x *ListAssetsRequest) GetPageToken() string { |
| 214 |
if x != nil { |
| 215 |
return x.PageToken |
| 216 |
} |
| 217 |
return "" |
| 218 |
} |
| 219 |
|
| 220 |
// ListAssets response. |
| 221 |
type ListAssetsResponse struct { |
| 222 |
state protoimpl.MessageState |
| 223 |
sizeCache protoimpl.SizeCache |
| 224 |
unknownFields protoimpl.UnknownFields |
| 225 |
|
| 226 |
// Time the snapshot was taken. |
| 227 |
ReadTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` |
| 228 |
// Assets. |
| 229 |
Assets []*Asset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"` |
| 230 |
// Token to retrieve the next page of results. It expires 72 hours after the |
| 231 |
// page token for the first page is generated. Set to empty if there are no |
| 232 |
// remaining results. |
| 233 |
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 234 |
} |
| 235 |
|
| 236 |
func (x *ListAssetsResponse) Reset() { |
| 237 |
*x = ListAssetsResponse{} |
| 238 |
mi := &file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes[1] |
| 239 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 240 |
ms.StoreMessageInfo(mi) |
| 241 |
} |
| 242 |
|
| 243 |
func (x *ListAssetsResponse) String() string { |
| 244 |
return protoimpl.X.MessageStringOf(x) |
| 245 |
} |
| 246 |
|
| 247 |
func (*ListAssetsResponse) ProtoMessage() {} |
| 248 |
|
| 249 |
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message { |
| 250 |
mi := &file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes[1] |
| 251 |
if x != nil { |
| 252 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 253 |
if ms.LoadMessageInfo() == nil { |
| 254 |
ms.StoreMessageInfo(mi) |
| 255 |
} |
| 256 |
return ms |
| 257 |
} |
| 258 |
return mi.MessageOf(x) |
| 259 |
} |
| 260 |
|
| 261 |
// Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead. |
| 262 |
func (*ListAssetsResponse) Descriptor() ([]byte, []int) { |
| 263 |
return file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescGZIP(), []int{1} |
| 264 |
} |
| 265 |
|
| 266 |
func (x *ListAssetsResponse) GetReadTime() *timestamppb.Timestamp { |
| 267 |
if x != nil { |
| 268 |
return x.ReadTime |
| 269 |
} |
| 270 |
return nil |
| 271 |
} |
| 272 |
|
| 273 |
func (x *ListAssetsResponse) GetAssets() []*Asset { |
| 274 |
if x != nil { |
| 275 |
return x.Assets |
| 276 |
} |
| 277 |
return nil |
| 278 |
} |
| 279 |
|
| 280 |
func (x *ListAssetsResponse) GetNextPageToken() string { |
| 281 |
if x != nil { |
| 282 |
return x.NextPageToken |
| 283 |
} |
| 284 |
return "" |
| 285 |
} |
| 286 |
|
| 287 |
var File_google_cloud_asset_v1p5beta1_asset_service_proto protoreflect.FileDescriptor |
| 288 |
|
| 289 |
var file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDesc = []byte{ |
| 290 |
0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 291 |
0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, |
| 292 |
0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 293 |
0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 294 |
0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 295 |
0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, |
| 296 |
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, |
| 297 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, |
| 298 |
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 299 |
0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, |
| 300 |
0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 301 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, |
| 302 |
0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, |
| 303 |
0x64, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, |
| 304 |
0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, |
| 305 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 306 |
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 307 |
0xb8, 0x02, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, |
| 308 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, |
| 309 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x63, |
| 310 |
0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 311 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, |
| 312 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, |
| 313 |
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 314 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 315 |
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 316 |
0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, |
| 317 |
0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, |
| 318 |
0x12, 0x4c, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 319 |
0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 320 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x35, |
| 321 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
| 322 |
0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, |
| 323 |
0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 324 |
0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, |
| 325 |
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 326 |
0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb2, 0x01, 0x0a, 0x12, 0x4c, |
| 327 |
0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 328 |
0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, |
| 329 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 330 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 331 |
0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x61, 0x73, |
| 332 |
0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, |
| 333 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, |
| 334 |
0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, |
| 335 |
0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, |
| 336 |
0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| 337 |
0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x2a, |
| 338 |
0x6c, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, |
| 339 |
0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, |
| 340 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, |
| 341 |
0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x41, |
| 342 |
0x4d, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, |
| 343 |
0x47, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, |
| 344 |
0x43, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x05, 0x32, 0x80, 0x02, |
| 345 |
0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa0, |
| 346 |
0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x2f, 0x2e, |
| 347 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, |
| 348 |
0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, |
| 349 |
0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, |
| 350 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, |
| 351 |
0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, |
| 352 |
0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 353 |
0x22, 0x2f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 354 |
0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, |
| 355 |
0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x2a, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 356 |
0x73, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 357 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, |
| 358 |
0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, |
| 359 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, |
| 360 |
0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, |
| 361 |
0x42, 0xad, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 362 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x35, |
| 363 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, |
| 364 |
0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, |
| 365 |
0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, |
| 366 |
0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, |
| 367 |
0x61, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, |
| 368 |
0x70, 0x62, 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, |
| 369 |
0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0x50, 0x35, 0x42, 0x65, 0x74, 0x61, |
| 370 |
0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 371 |
0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c, 0x56, 0x31, 0x70, 0x35, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 372 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 373 |
} |
| 374 |
|
| 375 |
var ( |
| 376 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescOnce sync.Once |
| 377 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescData = file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDesc |
| 378 |
) |
| 379 |
|
| 380 |
func file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescGZIP() []byte { |
| 381 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescOnce.Do(func() { |
| 382 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescData) |
| 383 |
}) |
| 384 |
return file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDescData |
| 385 |
} |
| 386 |
|
| 387 |
var file_google_cloud_asset_v1p5beta1_asset_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 388 |
var file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 389 |
var file_google_cloud_asset_v1p5beta1_asset_service_proto_goTypes = []any{ |
| 390 |
(ContentType)(0), // 0: google.cloud.asset.v1p5beta1.ContentType |
| 391 |
(*ListAssetsRequest)(nil), // 1: google.cloud.asset.v1p5beta1.ListAssetsRequest |
| 392 |
(*ListAssetsResponse)(nil), // 2: google.cloud.asset.v1p5beta1.ListAssetsResponse |
| 393 |
(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp |
| 394 |
(*Asset)(nil), // 4: google.cloud.asset.v1p5beta1.Asset |
| 395 |
} |
| 396 |
var file_google_cloud_asset_v1p5beta1_asset_service_proto_depIdxs = []int32{ |
| 397 |
3, // 0: google.cloud.asset.v1p5beta1.ListAssetsRequest.read_time:type_name -> google.protobuf.Timestamp |
| 398 |
0, // 1: google.cloud.asset.v1p5beta1.ListAssetsRequest.content_type:type_name -> google.cloud.asset.v1p5beta1.ContentType |
| 399 |
3, // 2: google.cloud.asset.v1p5beta1.ListAssetsResponse.read_time:type_name -> google.protobuf.Timestamp |
| 400 |
4, // 3: google.cloud.asset.v1p5beta1.ListAssetsResponse.assets:type_name -> google.cloud.asset.v1p5beta1.Asset |
| 401 |
1, // 4: google.cloud.asset.v1p5beta1.AssetService.ListAssets:input_type -> google.cloud.asset.v1p5beta1.ListAssetsRequest |
| 402 |
2, // 5: google.cloud.asset.v1p5beta1.AssetService.ListAssets:output_type -> google.cloud.asset.v1p5beta1.ListAssetsResponse |
| 403 |
5, // [5:6] is the sub-list for method output_type |
| 404 |
4, // [4:5] is the sub-list for method input_type |
| 405 |
4, // [4:4] is the sub-list for extension type_name |
| 406 |
4, // [4:4] is the sub-list for extension extendee |
| 407 |
0, // [0:4] is the sub-list for field type_name |
| 408 |
} |
| 409 |
|
| 410 |
func init() { file_google_cloud_asset_v1p5beta1_asset_service_proto_init() } |
| 411 |
func file_google_cloud_asset_v1p5beta1_asset_service_proto_init() { |
| 412 |
if File_google_cloud_asset_v1p5beta1_asset_service_proto != nil { |
| 413 |
return |
| 414 |
} |
| 415 |
file_google_cloud_asset_v1p5beta1_assets_proto_init() |
| 416 |
type x struct{} |
| 417 |
out := protoimpl.TypeBuilder{ |
| 418 |
File: protoimpl.DescBuilder{ |
| 419 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 420 |
RawDescriptor: file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDesc, |
| 421 |
NumEnums: 1, |
| 422 |
NumMessages: 2, |
| 423 |
NumExtensions: 0, |
| 424 |
NumServices: 1, |
| 425 |
}, |
| 426 |
GoTypes: file_google_cloud_asset_v1p5beta1_asset_service_proto_goTypes, |
| 427 |
DependencyIndexes: file_google_cloud_asset_v1p5beta1_asset_service_proto_depIdxs, |
| 428 |
EnumInfos: file_google_cloud_asset_v1p5beta1_asset_service_proto_enumTypes, |
| 429 |
MessageInfos: file_google_cloud_asset_v1p5beta1_asset_service_proto_msgTypes, |
| 430 |
}.Build() |
| 431 |
File_google_cloud_asset_v1p5beta1_asset_service_proto = out.File |
| 432 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_rawDesc = nil |
| 433 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_goTypes = nil |
| 434 |
file_google_cloud_asset_v1p5beta1_asset_service_proto_depIdxs = nil |
| 435 |
} |