| 1 |
// Copyright 2021 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.12.2 |
| 19 |
// source: google/cloud/managedidentities/v1beta1/resource.proto |
| 20 |
|
| 21 |
package managedidentities |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Represents the different states of a managed domain. |
| 41 |
type Domain_State int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Not set. |
| 45 |
Domain_STATE_UNSPECIFIED Domain_State = 0 |
| 46 |
// The domain is being created. |
| 47 |
Domain_CREATING Domain_State = 1 |
| 48 |
// The domain has been created and is fully usable. |
| 49 |
Domain_READY Domain_State = 2 |
| 50 |
// The domain's configuration is being updated. |
| 51 |
Domain_UPDATING Domain_State = 3 |
| 52 |
// The domain is being deleted. |
| 53 |
Domain_DELETING Domain_State = 4 |
| 54 |
// The domain is being repaired and may be unusable. Details |
| 55 |
// can be found in the `status_message` field. |
| 56 |
Domain_REPAIRING Domain_State = 5 |
| 57 |
// The domain is undergoing maintenance. |
| 58 |
Domain_PERFORMING_MAINTENANCE Domain_State = 6 |
| 59 |
// The domain is not serving requests. |
| 60 |
Domain_UNAVAILABLE Domain_State = 7 |
| 61 |
) |
| 62 |
|
| 63 |
// Enum value maps for Domain_State. |
| 64 |
var ( |
| 65 |
Domain_State_name = map[int32]string{ |
| 66 |
0: "STATE_UNSPECIFIED", |
| 67 |
1: "CREATING", |
| 68 |
2: "READY", |
| 69 |
3: "UPDATING", |
| 70 |
4: "DELETING", |
| 71 |
5: "REPAIRING", |
| 72 |
6: "PERFORMING_MAINTENANCE", |
| 73 |
7: "UNAVAILABLE", |
| 74 |
} |
| 75 |
Domain_State_value = map[string]int32{ |
| 76 |
"STATE_UNSPECIFIED": 0, |
| 77 |
"CREATING": 1, |
| 78 |
"READY": 2, |
| 79 |
"UPDATING": 3, |
| 80 |
"DELETING": 4, |
| 81 |
"REPAIRING": 5, |
| 82 |
"PERFORMING_MAINTENANCE": 6, |
| 83 |
"UNAVAILABLE": 7, |
| 84 |
} |
| 85 |
) |
| 86 |
|
| 87 |
func (x Domain_State) Enum() *Domain_State { |
| 88 |
p := new(Domain_State) |
| 89 |
*p = x |
| 90 |
return p |
| 91 |
} |
| 92 |
|
| 93 |
func (x Domain_State) String() string { |
| 94 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 95 |
} |
| 96 |
|
| 97 |
func (Domain_State) Descriptor() protoreflect.EnumDescriptor { |
| 98 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[0].Descriptor() |
| 99 |
} |
| 100 |
|
| 101 |
func (Domain_State) Type() protoreflect.EnumType { |
| 102 |
return &file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[0] |
| 103 |
} |
| 104 |
|
| 105 |
func (x Domain_State) Number() protoreflect.EnumNumber { |
| 106 |
return protoreflect.EnumNumber(x) |
| 107 |
} |
| 108 |
|
| 109 |
// Deprecated: Use Domain_State.Descriptor instead. |
| 110 |
func (Domain_State) EnumDescriptor() ([]byte, []int) { |
| 111 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{0, 0} |
| 112 |
} |
| 113 |
|
| 114 |
// Represents the different states of a domain trust. |
| 115 |
type Trust_State int32 |
| 116 |
|
| 117 |
const ( |
| 118 |
// Not set. |
| 119 |
Trust_STATE_UNSPECIFIED Trust_State = 0 |
| 120 |
// The domain trust is being created. |
| 121 |
Trust_CREATING Trust_State = 1 |
| 122 |
// The domain trust is being updated. |
| 123 |
Trust_UPDATING Trust_State = 2 |
| 124 |
// The domain trust is being deleted. |
| 125 |
Trust_DELETING Trust_State = 3 |
| 126 |
// The domain trust is connected. |
| 127 |
Trust_CONNECTED Trust_State = 4 |
| 128 |
// The domain trust is disconnected. |
| 129 |
Trust_DISCONNECTED Trust_State = 5 |
| 130 |
) |
| 131 |
|
| 132 |
// Enum value maps for Trust_State. |
| 133 |
var ( |
| 134 |
Trust_State_name = map[int32]string{ |
| 135 |
0: "STATE_UNSPECIFIED", |
| 136 |
1: "CREATING", |
| 137 |
2: "UPDATING", |
| 138 |
3: "DELETING", |
| 139 |
4: "CONNECTED", |
| 140 |
5: "DISCONNECTED", |
| 141 |
} |
| 142 |
Trust_State_value = map[string]int32{ |
| 143 |
"STATE_UNSPECIFIED": 0, |
| 144 |
"CREATING": 1, |
| 145 |
"UPDATING": 2, |
| 146 |
"DELETING": 3, |
| 147 |
"CONNECTED": 4, |
| 148 |
"DISCONNECTED": 5, |
| 149 |
} |
| 150 |
) |
| 151 |
|
| 152 |
func (x Trust_State) Enum() *Trust_State { |
| 153 |
p := new(Trust_State) |
| 154 |
*p = x |
| 155 |
return p |
| 156 |
} |
| 157 |
|
| 158 |
func (x Trust_State) String() string { |
| 159 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 160 |
} |
| 161 |
|
| 162 |
func (Trust_State) Descriptor() protoreflect.EnumDescriptor { |
| 163 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[1].Descriptor() |
| 164 |
} |
| 165 |
|
| 166 |
func (Trust_State) Type() protoreflect.EnumType { |
| 167 |
return &file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[1] |
| 168 |
} |
| 169 |
|
| 170 |
func (x Trust_State) Number() protoreflect.EnumNumber { |
| 171 |
return protoreflect.EnumNumber(x) |
| 172 |
} |
| 173 |
|
| 174 |
// Deprecated: Use Trust_State.Descriptor instead. |
| 175 |
func (Trust_State) EnumDescriptor() ([]byte, []int) { |
| 176 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{1, 0} |
| 177 |
} |
| 178 |
|
| 179 |
// Represents the different inter-forest trust types. |
| 180 |
type Trust_TrustType int32 |
| 181 |
|
| 182 |
const ( |
| 183 |
// Not set. |
| 184 |
Trust_TRUST_TYPE_UNSPECIFIED Trust_TrustType = 0 |
| 185 |
// The forest trust. |
| 186 |
Trust_FOREST Trust_TrustType = 1 |
| 187 |
// The external domain trust. |
| 188 |
Trust_EXTERNAL Trust_TrustType = 2 |
| 189 |
) |
| 190 |
|
| 191 |
// Enum value maps for Trust_TrustType. |
| 192 |
var ( |
| 193 |
Trust_TrustType_name = map[int32]string{ |
| 194 |
0: "TRUST_TYPE_UNSPECIFIED", |
| 195 |
1: "FOREST", |
| 196 |
2: "EXTERNAL", |
| 197 |
} |
| 198 |
Trust_TrustType_value = map[string]int32{ |
| 199 |
"TRUST_TYPE_UNSPECIFIED": 0, |
| 200 |
"FOREST": 1, |
| 201 |
"EXTERNAL": 2, |
| 202 |
} |
| 203 |
) |
| 204 |
|
| 205 |
func (x Trust_TrustType) Enum() *Trust_TrustType { |
| 206 |
p := new(Trust_TrustType) |
| 207 |
*p = x |
| 208 |
return p |
| 209 |
} |
| 210 |
|
| 211 |
func (x Trust_TrustType) String() string { |
| 212 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 213 |
} |
| 214 |
|
| 215 |
func (Trust_TrustType) Descriptor() protoreflect.EnumDescriptor { |
| 216 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[2].Descriptor() |
| 217 |
} |
| 218 |
|
| 219 |
func (Trust_TrustType) Type() protoreflect.EnumType { |
| 220 |
return &file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[2] |
| 221 |
} |
| 222 |
|
| 223 |
func (x Trust_TrustType) Number() protoreflect.EnumNumber { |
| 224 |
return protoreflect.EnumNumber(x) |
| 225 |
} |
| 226 |
|
| 227 |
// Deprecated: Use Trust_TrustType.Descriptor instead. |
| 228 |
func (Trust_TrustType) EnumDescriptor() ([]byte, []int) { |
| 229 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{1, 1} |
| 230 |
} |
| 231 |
|
| 232 |
// Represents the direction of trust. |
| 233 |
// See |
| 234 |
// [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2) |
| 235 |
// for more information. |
| 236 |
type Trust_TrustDirection int32 |
| 237 |
|
| 238 |
const ( |
| 239 |
// Not set. |
| 240 |
Trust_TRUST_DIRECTION_UNSPECIFIED Trust_TrustDirection = 0 |
| 241 |
// The inbound direction represents the trusting side. |
| 242 |
Trust_INBOUND Trust_TrustDirection = 1 |
| 243 |
// The outboud direction represents the trusted side. |
| 244 |
Trust_OUTBOUND Trust_TrustDirection = 2 |
| 245 |
// The bidirectional direction represents the trusted / trusting side. |
| 246 |
Trust_BIDIRECTIONAL Trust_TrustDirection = 3 |
| 247 |
) |
| 248 |
|
| 249 |
// Enum value maps for Trust_TrustDirection. |
| 250 |
var ( |
| 251 |
Trust_TrustDirection_name = map[int32]string{ |
| 252 |
0: "TRUST_DIRECTION_UNSPECIFIED", |
| 253 |
1: "INBOUND", |
| 254 |
2: "OUTBOUND", |
| 255 |
3: "BIDIRECTIONAL", |
| 256 |
} |
| 257 |
Trust_TrustDirection_value = map[string]int32{ |
| 258 |
"TRUST_DIRECTION_UNSPECIFIED": 0, |
| 259 |
"INBOUND": 1, |
| 260 |
"OUTBOUND": 2, |
| 261 |
"BIDIRECTIONAL": 3, |
| 262 |
} |
| 263 |
) |
| 264 |
|
| 265 |
func (x Trust_TrustDirection) Enum() *Trust_TrustDirection { |
| 266 |
p := new(Trust_TrustDirection) |
| 267 |
*p = x |
| 268 |
return p |
| 269 |
} |
| 270 |
|
| 271 |
func (x Trust_TrustDirection) String() string { |
| 272 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 273 |
} |
| 274 |
|
| 275 |
func (Trust_TrustDirection) Descriptor() protoreflect.EnumDescriptor { |
| 276 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[3].Descriptor() |
| 277 |
} |
| 278 |
|
| 279 |
func (Trust_TrustDirection) Type() protoreflect.EnumType { |
| 280 |
return &file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes[3] |
| 281 |
} |
| 282 |
|
| 283 |
func (x Trust_TrustDirection) Number() protoreflect.EnumNumber { |
| 284 |
return protoreflect.EnumNumber(x) |
| 285 |
} |
| 286 |
|
| 287 |
// Deprecated: Use Trust_TrustDirection.Descriptor instead. |
| 288 |
func (Trust_TrustDirection) EnumDescriptor() ([]byte, []int) { |
| 289 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{1, 2} |
| 290 |
} |
| 291 |
|
| 292 |
// Represents a managed Microsoft Active Directory domain. |
| 293 |
// If the domain is being changed, it will be placed into the UPDATING state, |
| 294 |
// which indicates that the resource is being reconciled. At this point, Get |
| 295 |
// will reflect an intermediate state. |
| 296 |
type Domain struct { |
| 297 |
state protoimpl.MessageState |
| 298 |
sizeCache protoimpl.SizeCache |
| 299 |
unknownFields protoimpl.UnknownFields |
| 300 |
|
| 301 |
// Output only. The unique name of the domain using the form: |
| 302 |
// `projects/{project_id}/locations/global/domains/{domain_name}`. |
| 303 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 304 |
// Optional. Resource labels that can contain user-provided metadata. |
| 305 |
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 306 |
// Optional. The full names of the Google Compute Engine |
| 307 |
// [networks](/compute/docs/networks-and-firewalls#networks) the domain |
| 308 |
// instance is connected to. Networks can be added using UpdateDomain. |
| 309 |
// The domain is only available on networks listed in `authorized_networks`. |
| 310 |
// If CIDR subnets overlap between networks, domain creation will fail. |
| 311 |
AuthorizedNetworks []string `protobuf:"bytes,3,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"` |
| 312 |
// Required. The CIDR range of internal addresses that are reserved for this |
| 313 |
// domain. Reserved networks must be /24 or larger. Ranges must be |
| 314 |
// unique and non-overlapping with existing subnets in |
| 315 |
// [Domain].[authorized_networks]. |
| 316 |
ReservedIpRange string `protobuf:"bytes,4,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"` |
| 317 |
// Required. Locations where domain needs to be provisioned. |
| 318 |
// [regions][compute/docs/regions-zones/] |
| 319 |
// e.g. us-west1 or us-east4 |
| 320 |
// Service supports up to 4 locations at once. Each location will use a /26 |
| 321 |
// block. |
| 322 |
Locations []string `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"` |
| 323 |
// Optional. The name of delegated administrator account used to perform |
| 324 |
// Active Directory operations. If not specified, `setupadmin` will be used. |
| 325 |
Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"` |
| 326 |
// Output only. The fully-qualified domain name of the exposed domain used by |
| 327 |
// clients to connect to the service. Similar to what would be chosen for an |
| 328 |
// Active Directory set up on an internal network. |
| 329 |
Fqdn string `protobuf:"bytes,10,opt,name=fqdn,proto3" json:"fqdn,omitempty"` |
| 330 |
// Output only. The time the instance was created. |
| 331 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 332 |
// Output only. The last update time. |
| 333 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 334 |
// Output only. The current state of this domain. |
| 335 |
State Domain_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.managedidentities.v1beta1.Domain_State" json:"state,omitempty"` |
| 336 |
// Output only. Additional information about the current status of this |
| 337 |
// domain, if available. |
| 338 |
StatusMessage string `protobuf:"bytes,14,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` |
| 339 |
// Output only. The current trusts associated with the domain. |
| 340 |
Trusts []*Trust `protobuf:"bytes,15,rep,name=trusts,proto3" json:"trusts,omitempty"` |
| 341 |
} |
| 342 |
|
| 343 |
func (x *Domain) Reset() { |
| 344 |
*x = Domain{} |
| 345 |
if protoimpl.UnsafeEnabled { |
| 346 |
mi := &file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[0] |
| 347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 |
ms.StoreMessageInfo(mi) |
| 349 |
} |
| 350 |
} |
| 351 |
|
| 352 |
func (x *Domain) String() string { |
| 353 |
return protoimpl.X.MessageStringOf(x) |
| 354 |
} |
| 355 |
|
| 356 |
func (*Domain) ProtoMessage() {} |
| 357 |
|
| 358 |
func (x *Domain) ProtoReflect() protoreflect.Message { |
| 359 |
mi := &file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[0] |
| 360 |
if protoimpl.UnsafeEnabled && x != nil { |
| 361 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 362 |
if ms.LoadMessageInfo() == nil { |
| 363 |
ms.StoreMessageInfo(mi) |
| 364 |
} |
| 365 |
return ms |
| 366 |
} |
| 367 |
return mi.MessageOf(x) |
| 368 |
} |
| 369 |
|
| 370 |
// Deprecated: Use Domain.ProtoReflect.Descriptor instead. |
| 371 |
func (*Domain) Descriptor() ([]byte, []int) { |
| 372 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{0} |
| 373 |
} |
| 374 |
|
| 375 |
func (x *Domain) GetName() string { |
| 376 |
if x != nil { |
| 377 |
return x.Name |
| 378 |
} |
| 379 |
return "" |
| 380 |
} |
| 381 |
|
| 382 |
func (x *Domain) GetLabels() map[string]string { |
| 383 |
if x != nil { |
| 384 |
return x.Labels |
| 385 |
} |
| 386 |
return nil |
| 387 |
} |
| 388 |
|
| 389 |
func (x *Domain) GetAuthorizedNetworks() []string { |
| 390 |
if x != nil { |
| 391 |
return x.AuthorizedNetworks |
| 392 |
} |
| 393 |
return nil |
| 394 |
} |
| 395 |
|
| 396 |
func (x *Domain) GetReservedIpRange() string { |
| 397 |
if x != nil { |
| 398 |
return x.ReservedIpRange |
| 399 |
} |
| 400 |
return "" |
| 401 |
} |
| 402 |
|
| 403 |
func (x *Domain) GetLocations() []string { |
| 404 |
if x != nil { |
| 405 |
return x.Locations |
| 406 |
} |
| 407 |
return nil |
| 408 |
} |
| 409 |
|
| 410 |
func (x *Domain) GetAdmin() string { |
| 411 |
if x != nil { |
| 412 |
return x.Admin |
| 413 |
} |
| 414 |
return "" |
| 415 |
} |
| 416 |
|
| 417 |
func (x *Domain) GetFqdn() string { |
| 418 |
if x != nil { |
| 419 |
return x.Fqdn |
| 420 |
} |
| 421 |
return "" |
| 422 |
} |
| 423 |
|
| 424 |
func (x *Domain) GetCreateTime() *timestamppb.Timestamp { |
| 425 |
if x != nil { |
| 426 |
return x.CreateTime |
| 427 |
} |
| 428 |
return nil |
| 429 |
} |
| 430 |
|
| 431 |
func (x *Domain) GetUpdateTime() *timestamppb.Timestamp { |
| 432 |
if x != nil { |
| 433 |
return x.UpdateTime |
| 434 |
} |
| 435 |
return nil |
| 436 |
} |
| 437 |
|
| 438 |
func (x *Domain) GetState() Domain_State { |
| 439 |
if x != nil { |
| 440 |
return x.State |
| 441 |
} |
| 442 |
return Domain_STATE_UNSPECIFIED |
| 443 |
} |
| 444 |
|
| 445 |
func (x *Domain) GetStatusMessage() string { |
| 446 |
if x != nil { |
| 447 |
return x.StatusMessage |
| 448 |
} |
| 449 |
return "" |
| 450 |
} |
| 451 |
|
| 452 |
func (x *Domain) GetTrusts() []*Trust { |
| 453 |
if x != nil { |
| 454 |
return x.Trusts |
| 455 |
} |
| 456 |
return nil |
| 457 |
} |
| 458 |
|
| 459 |
// Represents a relationship between two domains. This allows a controller in |
| 460 |
// one domain to authenticate a user in another domain. |
| 461 |
type Trust struct { |
| 462 |
state protoimpl.MessageState |
| 463 |
sizeCache protoimpl.SizeCache |
| 464 |
unknownFields protoimpl.UnknownFields |
| 465 |
|
| 466 |
// The fully qualified target domain name which will be in trust with the |
| 467 |
// current domain. |
| 468 |
TargetDomainName string `protobuf:"bytes,1,opt,name=target_domain_name,json=targetDomainName,proto3" json:"target_domain_name,omitempty"` |
| 469 |
// The type of trust represented by the trust resource. |
| 470 |
TrustType Trust_TrustType `protobuf:"varint,2,opt,name=trust_type,json=trustType,proto3,enum=google.cloud.managedidentities.v1beta1.Trust_TrustType" json:"trust_type,omitempty"` |
| 471 |
// The trust direction, which decides if the current domain is trusted, |
| 472 |
// trusting, or both. |
| 473 |
TrustDirection Trust_TrustDirection `protobuf:"varint,3,opt,name=trust_direction,json=trustDirection,proto3,enum=google.cloud.managedidentities.v1beta1.Trust_TrustDirection" json:"trust_direction,omitempty"` |
| 474 |
// The trust authentication type, which decides whether the trusted side has |
| 475 |
// forest/domain wide access or selective access to an approved set of |
| 476 |
// resources. |
| 477 |
SelectiveAuthentication bool `protobuf:"varint,4,opt,name=selective_authentication,json=selectiveAuthentication,proto3" json:"selective_authentication,omitempty"` |
| 478 |
// The target DNS server IP addresses which can resolve the remote domain |
| 479 |
// involved in the trust. |
| 480 |
TargetDnsIpAddresses []string `protobuf:"bytes,5,rep,name=target_dns_ip_addresses,json=targetDnsIpAddresses,proto3" json:"target_dns_ip_addresses,omitempty"` |
| 481 |
// Input only. The trust secret used for the handshake |
| 482 |
// with the target domain. It will not be stored. |
| 483 |
TrustHandshakeSecret string `protobuf:"bytes,6,opt,name=trust_handshake_secret,json=trustHandshakeSecret,proto3" json:"trust_handshake_secret,omitempty"` |
| 484 |
// Output only. The time the instance was created. |
| 485 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 486 |
// Output only. The last update time. |
| 487 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 488 |
// Output only. The current state of the trust. |
| 489 |
State Trust_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.managedidentities.v1beta1.Trust_State" json:"state,omitempty"` |
| 490 |
// Output only. Additional information about the current state of the |
| 491 |
// trust, if available. |
| 492 |
StateDescription string `protobuf:"bytes,11,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"` |
| 493 |
// Output only. The last heartbeat time when the trust was known to be |
| 494 |
// connected. |
| 495 |
LastTrustHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_trust_heartbeat_time,json=lastTrustHeartbeatTime,proto3" json:"last_trust_heartbeat_time,omitempty"` |
| 496 |
} |
| 497 |
|
| 498 |
func (x *Trust) Reset() { |
| 499 |
*x = Trust{} |
| 500 |
if protoimpl.UnsafeEnabled { |
| 501 |
mi := &file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[1] |
| 502 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 503 |
ms.StoreMessageInfo(mi) |
| 504 |
} |
| 505 |
} |
| 506 |
|
| 507 |
func (x *Trust) String() string { |
| 508 |
return protoimpl.X.MessageStringOf(x) |
| 509 |
} |
| 510 |
|
| 511 |
func (*Trust) ProtoMessage() {} |
| 512 |
|
| 513 |
func (x *Trust) ProtoReflect() protoreflect.Message { |
| 514 |
mi := &file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[1] |
| 515 |
if protoimpl.UnsafeEnabled && x != nil { |
| 516 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 517 |
if ms.LoadMessageInfo() == nil { |
| 518 |
ms.StoreMessageInfo(mi) |
| 519 |
} |
| 520 |
return ms |
| 521 |
} |
| 522 |
return mi.MessageOf(x) |
| 523 |
} |
| 524 |
|
| 525 |
// Deprecated: Use Trust.ProtoReflect.Descriptor instead. |
| 526 |
func (*Trust) Descriptor() ([]byte, []int) { |
| 527 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP(), []int{1} |
| 528 |
} |
| 529 |
|
| 530 |
func (x *Trust) GetTargetDomainName() string { |
| 531 |
if x != nil { |
| 532 |
return x.TargetDomainName |
| 533 |
} |
| 534 |
return "" |
| 535 |
} |
| 536 |
|
| 537 |
func (x *Trust) GetTrustType() Trust_TrustType { |
| 538 |
if x != nil { |
| 539 |
return x.TrustType |
| 540 |
} |
| 541 |
return Trust_TRUST_TYPE_UNSPECIFIED |
| 542 |
} |
| 543 |
|
| 544 |
func (x *Trust) GetTrustDirection() Trust_TrustDirection { |
| 545 |
if x != nil { |
| 546 |
return x.TrustDirection |
| 547 |
} |
| 548 |
return Trust_TRUST_DIRECTION_UNSPECIFIED |
| 549 |
} |
| 550 |
|
| 551 |
func (x *Trust) GetSelectiveAuthentication() bool { |
| 552 |
if x != nil { |
| 553 |
return x.SelectiveAuthentication |
| 554 |
} |
| 555 |
return false |
| 556 |
} |
| 557 |
|
| 558 |
func (x *Trust) GetTargetDnsIpAddresses() []string { |
| 559 |
if x != nil { |
| 560 |
return x.TargetDnsIpAddresses |
| 561 |
} |
| 562 |
return nil |
| 563 |
} |
| 564 |
|
| 565 |
func (x *Trust) GetTrustHandshakeSecret() string { |
| 566 |
if x != nil { |
| 567 |
return x.TrustHandshakeSecret |
| 568 |
} |
| 569 |
return "" |
| 570 |
} |
| 571 |
|
| 572 |
func (x *Trust) GetCreateTime() *timestamppb.Timestamp { |
| 573 |
if x != nil { |
| 574 |
return x.CreateTime |
| 575 |
} |
| 576 |
return nil |
| 577 |
} |
| 578 |
|
| 579 |
func (x *Trust) GetUpdateTime() *timestamppb.Timestamp { |
| 580 |
if x != nil { |
| 581 |
return x.UpdateTime |
| 582 |
} |
| 583 |
return nil |
| 584 |
} |
| 585 |
|
| 586 |
func (x *Trust) GetState() Trust_State { |
| 587 |
if x != nil { |
| 588 |
return x.State |
| 589 |
} |
| 590 |
return Trust_STATE_UNSPECIFIED |
| 591 |
} |
| 592 |
|
| 593 |
func (x *Trust) GetStateDescription() string { |
| 594 |
if x != nil { |
| 595 |
return x.StateDescription |
| 596 |
} |
| 597 |
return "" |
| 598 |
} |
| 599 |
|
| 600 |
func (x *Trust) GetLastTrustHeartbeatTime() *timestamppb.Timestamp { |
| 601 |
if x != nil { |
| 602 |
return x.LastTrustHeartbeatTime |
| 603 |
} |
| 604 |
return nil |
| 605 |
} |
| 606 |
|
| 607 |
var File_google_cloud_managedidentities_v1beta1_resource_proto protoreflect.FileDescriptor |
| 608 |
|
| 609 |
var file_google_cloud_managedidentities_v1beta1_resource_proto_rawDesc = []byte{ |
| 610 |
0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, |
| 611 |
0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, |
| 612 |
0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 613 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 614 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, |
| 615 |
0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, |
| 616 |
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, |
| 617 |
0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 618 |
0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, |
| 619 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 620 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, |
| 621 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x07, 0x0a, |
| 622 |
0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 623 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 624 |
0x12, 0x57, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, |
| 625 |
0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 626 |
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, |
| 627 |
0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, |
| 628 |
0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, |
| 629 |
0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x13, 0x61, 0x75, 0x74, |
| 630 |
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, |
| 631 |
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x61, 0x75, 0x74, |
| 632 |
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, |
| 633 |
0x2f, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x70, 0x5f, 0x72, |
| 634 |
0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 635 |
0x0f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x70, 0x52, 0x61, 0x6e, 0x67, 0x65, |
| 636 |
0x12, 0x21, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, |
| 637 |
0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 638 |
0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, |
| 639 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x17, |
| 640 |
0x0a, 0x04, 0x66, 0x71, 0x64, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 641 |
0x03, 0x52, 0x04, 0x66, 0x71, 0x64, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, |
| 642 |
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 643 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 644 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, |
| 645 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, |
| 646 |
0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 647 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 648 |
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 649 |
0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x73, |
| 650 |
0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, |
| 651 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, |
| 652 |
0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 653 |
0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 654 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0e, |
| 655 |
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0e, |
| 656 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 657 |
0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x72, 0x75, 0x73, |
| 658 |
0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 659 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, |
| 660 |
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 661 |
0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x74, 0x72, |
| 662 |
0x75, 0x73, 0x74, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, |
| 663 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 664 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 665 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, |
| 666 |
0x8f, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, |
| 667 |
0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 668 |
0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, |
| 669 |
0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, |
| 670 |
0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, |
| 671 |
0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x50, 0x41, 0x49, 0x52, 0x49, |
| 672 |
0x4e, 0x47, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x49, |
| 673 |
0x4e, 0x47, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x06, |
| 674 |
0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, |
| 675 |
0x07, 0x3a, 0x66, 0xea, 0x41, 0x63, 0x0a, 0x27, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, |
| 676 |
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 677 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, |
| 678 |
0x38, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 679 |
0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, |
| 680 |
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, |
| 681 |
0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x22, 0x92, 0x08, 0x0a, 0x05, 0x54, 0x72, |
| 682 |
0x75, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x6f, |
| 683 |
0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 684 |
0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, |
| 685 |
0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 686 |
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 687 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, |
| 688 |
0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, |
| 689 |
0x72, 0x75, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, |
| 690 |
0x74, 0x72, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0f, 0x74, 0x72, 0x75, |
| 691 |
0x73, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, |
| 692 |
0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 693 |
0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, |
| 694 |
0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, |
| 695 |
0x74, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 696 |
0x52, 0x0e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 697 |
0x12, 0x39, 0x0a, 0x18, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x75, |
| 698 |
0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, |
| 699 |
0x28, 0x08, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x75, 0x74, |
| 700 |
0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x17, 0x74, |
| 701 |
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, |
| 702 |
0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x74, 0x61, |
| 703 |
0x72, 0x67, 0x65, 0x74, 0x44, 0x6e, 0x73, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, |
| 704 |
0x65, 0x73, 0x12, 0x39, 0x0a, 0x16, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, |
| 705 |
0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, |
| 706 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x14, 0x74, 0x72, 0x75, 0x73, 0x74, 0x48, 0x61, |
| 707 |
0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x40, 0x0a, |
| 708 |
0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, |
| 709 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 710 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, |
| 711 |
0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 712 |
0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, |
| 713 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 714 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 715 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 716 |
0x65, 0x12, 0x4e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, |
| 717 |
0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 718 |
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, |
| 719 |
0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x2e, |
| 720 |
0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, |
| 721 |
0x65, 0x12, 0x30, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 722 |
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 723 |
0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 724 |
0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x19, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x75, 0x73, |
| 725 |
0x74, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 726 |
0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 727 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 728 |
0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x75, |
| 729 |
0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, |
| 730 |
0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, |
| 731 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 732 |
0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, |
| 733 |
0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, |
| 734 |
0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, |
| 735 |
0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, |
| 736 |
0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x05, 0x22, 0x41, 0x0a, 0x09, 0x54, 0x72, |
| 737 |
0x75, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x52, 0x55, 0x53, 0x54, |
| 738 |
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 739 |
0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x4f, 0x52, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, |
| 740 |
0x0c, 0x0a, 0x08, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x22, 0x5f, 0x0a, |
| 741 |
0x0e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 742 |
0x1f, 0x0a, 0x1b, 0x54, 0x52, 0x55, 0x53, 0x54, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, |
| 743 |
0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 744 |
0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, |
| 745 |
0x08, 0x4f, 0x55, 0x54, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x42, |
| 746 |
0x49, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x42, 0x94, |
| 747 |
0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 748 |
0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, |
| 749 |
0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0d, 0x52, |
| 750 |
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x57, |
| 751 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 752 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 753 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, 0x61, 0x6e, 0x61, |
| 754 |
0x67, 0x65, 0x64, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x76, 0x31, |
| 755 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x69, 0x64, 0x65, |
| 756 |
0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 757 |
0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x64, |
| 758 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, |
| 759 |
0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, |
| 760 |
0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, |
| 761 |
0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, |
| 762 |
0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x61, 0x6e, 0x61, 0x67, |
| 763 |
0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, |
| 764 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 765 |
} |
| 766 |
|
| 767 |
var ( |
| 768 |
file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescOnce sync.Once |
| 769 |
file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescData = file_google_cloud_managedidentities_v1beta1_resource_proto_rawDesc |
| 770 |
) |
| 771 |
|
| 772 |
func file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescGZIP() []byte { |
| 773 |
file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescOnce.Do(func() { |
| 774 |
file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescData) |
| 775 |
}) |
| 776 |
return file_google_cloud_managedidentities_v1beta1_resource_proto_rawDescData |
| 777 |
} |
| 778 |
|
| 779 |
var file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 780 |
var file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 781 |
var file_google_cloud_managedidentities_v1beta1_resource_proto_goTypes = []interface{}{ |
| 782 |
(Domain_State)(0), // 0: google.cloud.managedidentities.v1beta1.Domain.State |
| 783 |
(Trust_State)(0), // 1: google.cloud.managedidentities.v1beta1.Trust.State |
| 784 |
(Trust_TrustType)(0), // 2: google.cloud.managedidentities.v1beta1.Trust.TrustType |
| 785 |
(Trust_TrustDirection)(0), // 3: google.cloud.managedidentities.v1beta1.Trust.TrustDirection |
| 786 |
(*Domain)(nil), // 4: google.cloud.managedidentities.v1beta1.Domain |
| 787 |
(*Trust)(nil), // 5: google.cloud.managedidentities.v1beta1.Trust |
| 788 |
nil, // 6: google.cloud.managedidentities.v1beta1.Domain.LabelsEntry |
| 789 |
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp |
| 790 |
} |
| 791 |
var file_google_cloud_managedidentities_v1beta1_resource_proto_depIdxs = []int32{ |
| 792 |
6, // 0: google.cloud.managedidentities.v1beta1.Domain.labels:type_name -> google.cloud.managedidentities.v1beta1.Domain.LabelsEntry |
| 793 |
7, // 1: google.cloud.managedidentities.v1beta1.Domain.create_time:type_name -> google.protobuf.Timestamp |
| 794 |
7, // 2: google.cloud.managedidentities.v1beta1.Domain.update_time:type_name -> google.protobuf.Timestamp |
| 795 |
0, // 3: google.cloud.managedidentities.v1beta1.Domain.state:type_name -> google.cloud.managedidentities.v1beta1.Domain.State |
| 796 |
5, // 4: google.cloud.managedidentities.v1beta1.Domain.trusts:type_name -> google.cloud.managedidentities.v1beta1.Trust |
| 797 |
2, // 5: google.cloud.managedidentities.v1beta1.Trust.trust_type:type_name -> google.cloud.managedidentities.v1beta1.Trust.TrustType |
| 798 |
3, // 6: google.cloud.managedidentities.v1beta1.Trust.trust_direction:type_name -> google.cloud.managedidentities.v1beta1.Trust.TrustDirection |
| 799 |
7, // 7: google.cloud.managedidentities.v1beta1.Trust.create_time:type_name -> google.protobuf.Timestamp |
| 800 |
7, // 8: google.cloud.managedidentities.v1beta1.Trust.update_time:type_name -> google.protobuf.Timestamp |
| 801 |
1, // 9: google.cloud.managedidentities.v1beta1.Trust.state:type_name -> google.cloud.managedidentities.v1beta1.Trust.State |
| 802 |
7, // 10: google.cloud.managedidentities.v1beta1.Trust.last_trust_heartbeat_time:type_name -> google.protobuf.Timestamp |
| 803 |
11, // [11:11] is the sub-list for method output_type |
| 804 |
11, // [11:11] is the sub-list for method input_type |
| 805 |
11, // [11:11] is the sub-list for extension type_name |
| 806 |
11, // [11:11] is the sub-list for extension extendee |
| 807 |
0, // [0:11] is the sub-list for field type_name |
| 808 |
} |
| 809 |
|
| 810 |
func init() { file_google_cloud_managedidentities_v1beta1_resource_proto_init() } |
| 811 |
func file_google_cloud_managedidentities_v1beta1_resource_proto_init() { |
| 812 |
if File_google_cloud_managedidentities_v1beta1_resource_proto != nil { |
| 813 |
return |
| 814 |
} |
| 815 |
if !protoimpl.UnsafeEnabled { |
| 816 |
file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 817 |
switch v := v.(*Domain); i { |
| 818 |
case 0: |
| 819 |
return &v.state |
| 820 |
case 1: |
| 821 |
return &v.sizeCache |
| 822 |
case 2: |
| 823 |
return &v.unknownFields |
| 824 |
default: |
| 825 |
return nil |
| 826 |
} |
| 827 |
} |
| 828 |
file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 829 |
switch v := v.(*Trust); i { |
| 830 |
case 0: |
| 831 |
return &v.state |
| 832 |
case 1: |
| 833 |
return &v.sizeCache |
| 834 |
case 2: |
| 835 |
return &v.unknownFields |
| 836 |
default: |
| 837 |
return nil |
| 838 |
} |
| 839 |
} |
| 840 |
} |
| 841 |
type x struct{} |
| 842 |
out := protoimpl.TypeBuilder{ |
| 843 |
File: protoimpl.DescBuilder{ |
| 844 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 845 |
RawDescriptor: file_google_cloud_managedidentities_v1beta1_resource_proto_rawDesc, |
| 846 |
NumEnums: 4, |
| 847 |
NumMessages: 3, |
| 848 |
NumExtensions: 0, |
| 849 |
NumServices: 0, |
| 850 |
}, |
| 851 |
GoTypes: file_google_cloud_managedidentities_v1beta1_resource_proto_goTypes, |
| 852 |
DependencyIndexes: file_google_cloud_managedidentities_v1beta1_resource_proto_depIdxs, |
| 853 |
EnumInfos: file_google_cloud_managedidentities_v1beta1_resource_proto_enumTypes, |
| 854 |
MessageInfos: file_google_cloud_managedidentities_v1beta1_resource_proto_msgTypes, |
| 855 |
}.Build() |
| 856 |
File_google_cloud_managedidentities_v1beta1_resource_proto = out.File |
| 857 |
file_google_cloud_managedidentities_v1beta1_resource_proto_rawDesc = nil |
| 858 |
file_google_cloud_managedidentities_v1beta1_resource_proto_goTypes = nil |
| 859 |
file_google_cloud_managedidentities_v1beta1_resource_proto_depIdxs = nil |
| 860 |
} |