Variables
Domain_State_name, Domain_State_value
var (
Domain_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "UPDATING",
4: "DELETING",
5: "REPAIRING",
6: "PERFORMING_MAINTENANCE",
7: "UNAVAILABLE",
}
Domain_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"UPDATING": 3,
"DELETING": 4,
"REPAIRING": 5,
"PERFORMING_MAINTENANCE": 6,
"UNAVAILABLE": 7,
}
)
Enum value maps for Domain_State.
Trust_State_name, Trust_State_value
var (
Trust_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "UPDATING",
3: "DELETING",
4: "CONNECTED",
5: "DISCONNECTED",
}
Trust_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPDATING": 2,
"DELETING": 3,
"CONNECTED": 4,
"DISCONNECTED": 5,
}
)
Enum value maps for Trust_State.
Trust_TrustType_name, Trust_TrustType_value
var (
Trust_TrustType_name = map[int32]string{
0: "TRUST_TYPE_UNSPECIFIED",
1: "FOREST",
2: "EXTERNAL",
}
Trust_TrustType_value = map[string]int32{
"TRUST_TYPE_UNSPECIFIED": 0,
"FOREST": 1,
"EXTERNAL": 2,
}
)
Enum value maps for Trust_TrustType.
Trust_TrustDirection_name, Trust_TrustDirection_value
var (
Trust_TrustDirection_name = map[int32]string{
0: "TRUST_DIRECTION_UNSPECIFIED",
1: "INBOUND",
2: "OUTBOUND",
3: "BIDIRECTIONAL",
}
Trust_TrustDirection_value = map[string]int32{
"TRUST_DIRECTION_UNSPECIFIED": 0,
"INBOUND": 1,
"OUTBOUND": 2,
"BIDIRECTIONAL": 3,
}
)
Enum value maps for Trust_TrustDirection.
File_google_cloud_managedidentities_v1_managed_identities_service_proto
var File_google_cloud_managedidentities_v1_managed_identities_service_proto protoreflect.FileDescriptor
File_google_cloud_managedidentities_v1_resource_proto
var File_google_cloud_managedidentities_v1_resource_proto protoreflect.FileDescriptor
Functions
func RegisterManagedIdentitiesServiceServer
func RegisterManagedIdentitiesServiceServer(s *grpc.Server, srv ManagedIdentitiesServiceServer)
AttachTrustRequest
type AttachTrustRequest struct {
// Required. The resource domain name, project name and location using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The domain trust resource.
Trust *Trust `protobuf:"bytes,2,opt,name=trust,proto3" json:"trust,omitempty"`
// contains filtered or unexported fields
}
Request message for [AttachTrust][google.cloud.managedidentities.v1.AttachTrust]
func (*AttachTrustRequest) Descriptor
func (*AttachTrustRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachTrustRequest.ProtoReflect.Descriptor instead.
func (*AttachTrustRequest) GetName
func (x *AttachTrustRequest) GetName() string
func (*AttachTrustRequest) GetTrust
func (x *AttachTrustRequest) GetTrust() *Trust
func (*AttachTrustRequest) ProtoMessage
func (*AttachTrustRequest) ProtoMessage()
func (*AttachTrustRequest) ProtoReflect
func (x *AttachTrustRequest) ProtoReflect() protoreflect.Message
func (*AttachTrustRequest) Reset
func (x *AttachTrustRequest) Reset()
func (*AttachTrustRequest) String
func (x *AttachTrustRequest) String() string
CreateMicrosoftAdDomainRequest
type CreateMicrosoftAdDomainRequest struct {
// Required. The resource project name and location using the form:
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The fully qualified domain name.
// e.g. mydomain.myorganization.com, with the following restrictions:
//
// - Must contain only lowercase letters, numbers, periods and hyphens.
// - Must start with a letter.
// - Must contain between 2-64 characters.
// - Must end with a number or a letter.
// - Must not start with period.
// - First segement length (mydomain form example above) shouldn't exceed
// 15 chars.
// - The last segment cannot be fully numeric.
// - Must be unique within the customer project.
DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"`
// Required. A Managed Identity domain resource.
Domain *Domain `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
Request message for [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain]
func (*CreateMicrosoftAdDomainRequest) Descriptor
func (*CreateMicrosoftAdDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMicrosoftAdDomainRequest.ProtoReflect.Descriptor instead.
func (*CreateMicrosoftAdDomainRequest) GetDomain
func (x *CreateMicrosoftAdDomainRequest) GetDomain() *Domain
func (*CreateMicrosoftAdDomainRequest) GetDomainName
func (x *CreateMicrosoftAdDomainRequest) GetDomainName() string
func (*CreateMicrosoftAdDomainRequest) GetParent
func (x *CreateMicrosoftAdDomainRequest) GetParent() string
func (*CreateMicrosoftAdDomainRequest) ProtoMessage
func (*CreateMicrosoftAdDomainRequest) ProtoMessage()
func (*CreateMicrosoftAdDomainRequest) ProtoReflect
func (x *CreateMicrosoftAdDomainRequest) ProtoReflect() protoreflect.Message
func (*CreateMicrosoftAdDomainRequest) Reset
func (x *CreateMicrosoftAdDomainRequest) Reset()
func (*CreateMicrosoftAdDomainRequest) String
func (x *CreateMicrosoftAdDomainRequest) String() string
DeleteDomainRequest
type DeleteDomainRequest struct {
// Required. The domain resource name using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain]
func (*DeleteDomainRequest) Descriptor
func (*DeleteDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainRequest) GetName
func (x *DeleteDomainRequest) GetName() string
func (*DeleteDomainRequest) ProtoMessage
func (*DeleteDomainRequest) ProtoMessage()
func (*DeleteDomainRequest) ProtoReflect
func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainRequest) Reset
func (x *DeleteDomainRequest) Reset()
func (*DeleteDomainRequest) String
func (x *DeleteDomainRequest) String() string
DetachTrustRequest
type DetachTrustRequest struct {
// Required. The resource domain name, project name, and location using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The domain trust resource to removed.
Trust *Trust `protobuf:"bytes,2,opt,name=trust,proto3" json:"trust,omitempty"`
// contains filtered or unexported fields
}
Request message for [DetachTrust][google.cloud.managedidentities.v1.DetachTrust]
func (*DetachTrustRequest) Descriptor
func (*DetachTrustRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachTrustRequest.ProtoReflect.Descriptor instead.
func (*DetachTrustRequest) GetName
func (x *DetachTrustRequest) GetName() string
func (*DetachTrustRequest) GetTrust
func (x *DetachTrustRequest) GetTrust() *Trust
func (*DetachTrustRequest) ProtoMessage
func (*DetachTrustRequest) ProtoMessage()
func (*DetachTrustRequest) ProtoReflect
func (x *DetachTrustRequest) ProtoReflect() protoreflect.Message
func (*DetachTrustRequest) Reset
func (x *DetachTrustRequest) Reset()
func (*DetachTrustRequest) String
func (x *DetachTrustRequest) String() string
Domain
type Domain struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
AuthorizedNetworks []string `protobuf:"bytes,3,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
ReservedIpRange string `protobuf:"bytes,4,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"`
Locations []string `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"`
Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"`
Fqdn string `protobuf:"bytes,10,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
State Domain_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.managedidentities.v1.Domain_State" json:"state,omitempty"`
StatusMessage string `protobuf:"bytes,14,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
Trusts []*Trust `protobuf:"bytes,15,rep,name=trusts,proto3" json:"trusts,omitempty"`
}
Represents a managed Microsoft Active Directory domain.
func (*Domain) Descriptor
Deprecated: Use Domain.ProtoReflect.Descriptor instead.
func (*Domain) GetAdmin
func (*Domain) GetAuthorizedNetworks
func (*Domain) GetCreateTime
func (x *Domain) GetCreateTime() *timestamppb.Timestamp
func (*Domain) GetFqdn
func (*Domain) GetLabels
func (*Domain) GetLocations
func (*Domain) GetName
func (*Domain) GetReservedIpRange
func (*Domain) GetState
func (x *Domain) GetState() Domain_State
func (*Domain) GetStatusMessage
func (*Domain) GetTrusts
func (*Domain) GetUpdateTime
func (x *Domain) GetUpdateTime() *timestamppb.Timestamp
func (*Domain) ProtoMessage
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect
func (x *Domain) ProtoReflect() protoreflect.Message
func (*Domain) Reset
func (x *Domain) Reset()
func (*Domain) String
Domain_State
type Domain_State int32
Represents the different states of a managed domain.
Domain_STATE_UNSPECIFIED, Domain_CREATING, Domain_READY, Domain_UPDATING, Domain_DELETING, Domain_REPAIRING, Domain_PERFORMING_MAINTENANCE, Domain_UNAVAILABLE
const (
// Not set.
Domain_STATE_UNSPECIFIED Domain_State = 0
// The domain is being created.
Domain_CREATING Domain_State = 1
// The domain has been created and is fully usable.
Domain_READY Domain_State = 2
// The domain's configuration is being updated.
Domain_UPDATING Domain_State = 3
// The domain is being deleted.
Domain_DELETING Domain_State = 4
// The domain is being repaired and may be unusable. Details
// can be found in the `status_message` field.
Domain_REPAIRING Domain_State = 5
// The domain is undergoing maintenance.
Domain_PERFORMING_MAINTENANCE Domain_State = 6
// The domain is not serving requests.
Domain_UNAVAILABLE Domain_State = 7
)
func (Domain_State) Descriptor
func (Domain_State) Descriptor() protoreflect.EnumDescriptor
func (Domain_State) Enum
func (x Domain_State) Enum() *Domain_State
func (Domain_State) EnumDescriptor
func (Domain_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Domain_State.Descriptor instead.
func (Domain_State) Number
func (x Domain_State) Number() protoreflect.EnumNumber
func (Domain_State) String
func (x Domain_State) String() string
func (Domain_State) Type
func (Domain_State) Type() protoreflect.EnumType
GetDomainRequest
type GetDomainRequest struct {
// Required. The domain resource name using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain]
func (*GetDomainRequest) Descriptor
func (*GetDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainRequest.ProtoReflect.Descriptor instead.
func (*GetDomainRequest) GetName
func (x *GetDomainRequest) GetName() string
func (*GetDomainRequest) ProtoMessage
func (*GetDomainRequest) ProtoMessage()
func (*GetDomainRequest) ProtoReflect
func (x *GetDomainRequest) ProtoReflect() protoreflect.Message
func (*GetDomainRequest) Reset
func (x *GetDomainRequest) Reset()
func (*GetDomainRequest) String
func (x *GetDomainRequest) String() string
ListDomainsRequest
type ListDomainsRequest struct {
// Required. The resource name of the domain location using the form:
// `projects/{project_id}/locations/global`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return.
// If not specified, a default value of 1000 will be used.
// Regardless of the page_size value, the response may include a partial list.
// Callers should rely on a response's
// [next_page_token][google.cloud.managedidentities.v1.ListDomainsResponse.next_page_token]
// to determine if there are additional results to list.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The `next_page_token` value returned from a previous ListDomainsRequest
// request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter specifying constraints of a list operation.
// For example, `Domain.fqdn="mydomain.myorginization"`.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the ordering of results. See
// [Sorting
// order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
// for more information.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]
func (*ListDomainsRequest) Descriptor
func (*ListDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsRequest) GetFilter
func (x *ListDomainsRequest) GetFilter() string
func (*ListDomainsRequest) GetOrderBy
func (x *ListDomainsRequest) GetOrderBy() string
func (*ListDomainsRequest) GetPageSize
func (x *ListDomainsRequest) GetPageSize() int32
func (*ListDomainsRequest) GetPageToken
func (x *ListDomainsRequest) GetPageToken() string
func (*ListDomainsRequest) GetParent
func (x *ListDomainsRequest) GetParent() string
func (*ListDomainsRequest) ProtoMessage
func (*ListDomainsRequest) ProtoMessage()
func (*ListDomainsRequest) ProtoReflect
func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
func (*ListDomainsRequest) Reset
func (x *ListDomainsRequest) Reset()
func (*ListDomainsRequest) String
func (x *ListDomainsRequest) String() string
ListDomainsResponse
type ListDomainsResponse struct {
// A list of Managed Identities Service domains in the project.
Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
// A token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// A list of locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]
func (*ListDomainsResponse) Descriptor
func (*ListDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsResponse) GetDomains
func (x *ListDomainsResponse) GetDomains() []*Domain
func (*ListDomainsResponse) GetNextPageToken
func (x *ListDomainsResponse) GetNextPageToken() string
func (*ListDomainsResponse) GetUnreachable
func (x *ListDomainsResponse) GetUnreachable() []string
func (*ListDomainsResponse) ProtoMessage
func (*ListDomainsResponse) ProtoMessage()
func (*ListDomainsResponse) ProtoReflect
func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
func (*ListDomainsResponse) Reset
func (x *ListDomainsResponse) Reset()
func (*ListDomainsResponse) String
func (x *ListDomainsResponse) String() string
ManagedIdentitiesServiceClient
type ManagedIdentitiesServiceClient interface {
// Creates a Microsoft AD domain.
CreateMicrosoftAdDomain(ctx context.Context, in *CreateMicrosoftAdDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Resets a domain's administrator password.
ResetAdminPassword(ctx context.Context, in *ResetAdminPasswordRequest, opts ...grpc.CallOption) (*ResetAdminPasswordResponse, error)
// Lists domains in a project.
ListDomains(ctx context.Context, in *ListDomainsRequest, opts ...grpc.CallOption) (*ListDomainsResponse, error)
// Gets information about a domain.
GetDomain(ctx context.Context, in *GetDomainRequest, opts ...grpc.CallOption) (*Domain, error)
// Updates the metadata and configuration of a domain.
UpdateDomain(ctx context.Context, in *UpdateDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a domain.
DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Adds an AD trust to a domain.
AttachTrust(ctx context.Context, in *AttachTrustRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the DNS conditional forwarder.
ReconfigureTrust(ctx context.Context, in *ReconfigureTrustRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Removes an AD trust.
DetachTrust(ctx context.Context, in *DetachTrustRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Validates a trust state, that the target domain is reachable, and that the
// target domain is able to accept incoming trust requests.
ValidateTrust(ctx context.Context, in *ValidateTrustRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
ManagedIdentitiesServiceClient is the client API for ManagedIdentitiesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManagedIdentitiesServiceClient
func NewManagedIdentitiesServiceClient(cc grpc.ClientConnInterface) ManagedIdentitiesServiceClient
ManagedIdentitiesServiceServer
type ManagedIdentitiesServiceServer interface {
// Creates a Microsoft AD domain.
CreateMicrosoftAdDomain(context.Context, *CreateMicrosoftAdDomainRequest) (*longrunningpb.Operation, error)
// Resets a domain's administrator password.
ResetAdminPassword(context.Context, *ResetAdminPasswordRequest) (*ResetAdminPasswordResponse, error)
// Lists domains in a project.
ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
// Gets information about a domain.
GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
// Updates the metadata and configuration of a domain.
UpdateDomain(context.Context, *UpdateDomainRequest) (*longrunningpb.Operation, error)
// Deletes a domain.
DeleteDomain(context.Context, *DeleteDomainRequest) (*longrunningpb.Operation, error)
// Adds an AD trust to a domain.
AttachTrust(context.Context, *AttachTrustRequest) (*longrunningpb.Operation, error)
// Updates the DNS conditional forwarder.
ReconfigureTrust(context.Context, *ReconfigureTrustRequest) (*longrunningpb.Operation, error)
// Removes an AD trust.
DetachTrust(context.Context, *DetachTrustRequest) (*longrunningpb.Operation, error)
// Validates a trust state, that the target domain is reachable, and that the
// target domain is able to accept incoming trust requests.
ValidateTrust(context.Context, *ValidateTrustRequest) (*longrunningpb.Operation, error)
}
ManagedIdentitiesServiceServer is the server API for ManagedIdentitiesService service.
OpMetadata
type OpMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,5,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,6,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OpMetadata) Descriptor
func (*OpMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OpMetadata.ProtoReflect.Descriptor instead.
func (*OpMetadata) GetApiVersion
func (x *OpMetadata) GetApiVersion() string
func (*OpMetadata) GetCreateTime
func (x *OpMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OpMetadata) GetEndTime
func (x *OpMetadata) GetEndTime() *timestamppb.Timestamp
func (*OpMetadata) GetRequestedCancellation
func (x *OpMetadata) GetRequestedCancellation() bool
func (*OpMetadata) GetTarget
func (x *OpMetadata) GetTarget() string
func (*OpMetadata) GetVerb
func (x *OpMetadata) GetVerb() string
func (*OpMetadata) ProtoMessage
func (*OpMetadata) ProtoMessage()
func (*OpMetadata) ProtoReflect
func (x *OpMetadata) ProtoReflect() protoreflect.Message
func (*OpMetadata) Reset
func (x *OpMetadata) Reset()
func (*OpMetadata) String
func (x *OpMetadata) String() string
ReconfigureTrustRequest
type ReconfigureTrustRequest struct {
// Required. The resource domain name, project name and location using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The fully-qualified target domain name which will be in trust with current
// domain.
TargetDomainName string `protobuf:"bytes,2,opt,name=target_domain_name,json=targetDomainName,proto3" json:"target_domain_name,omitempty"`
// Required. The target DNS server IP addresses to resolve the remote domain involved
// in the trust.
TargetDnsIpAddresses []string `protobuf:"bytes,3,rep,name=target_dns_ip_addresses,json=targetDnsIpAddresses,proto3" json:"target_dns_ip_addresses,omitempty"`
// contains filtered or unexported fields
}
Request message for [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust]
func (*ReconfigureTrustRequest) Descriptor
func (*ReconfigureTrustRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconfigureTrustRequest.ProtoReflect.Descriptor instead.
func (*ReconfigureTrustRequest) GetName
func (x *ReconfigureTrustRequest) GetName() string
func (*ReconfigureTrustRequest) GetTargetDnsIpAddresses
func (x *ReconfigureTrustRequest) GetTargetDnsIpAddresses() []string
func (*ReconfigureTrustRequest) GetTargetDomainName
func (x *ReconfigureTrustRequest) GetTargetDomainName() string
func (*ReconfigureTrustRequest) ProtoMessage
func (*ReconfigureTrustRequest) ProtoMessage()
func (*ReconfigureTrustRequest) ProtoReflect
func (x *ReconfigureTrustRequest) ProtoReflect() protoreflect.Message
func (*ReconfigureTrustRequest) Reset
func (x *ReconfigureTrustRequest) Reset()
func (*ReconfigureTrustRequest) String
func (x *ReconfigureTrustRequest) String() string
ResetAdminPasswordRequest
type ResetAdminPasswordRequest struct {
// Required. The domain resource name using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]
func (*ResetAdminPasswordRequest) Descriptor
func (*ResetAdminPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetAdminPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetAdminPasswordRequest) GetName
func (x *ResetAdminPasswordRequest) GetName() string
func (*ResetAdminPasswordRequest) ProtoMessage
func (*ResetAdminPasswordRequest) ProtoMessage()
func (*ResetAdminPasswordRequest) ProtoReflect
func (x *ResetAdminPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetAdminPasswordRequest) Reset
func (x *ResetAdminPasswordRequest) Reset()
func (*ResetAdminPasswordRequest) String
func (x *ResetAdminPasswordRequest) String() string
ResetAdminPasswordResponse
type ResetAdminPasswordResponse struct {
// A random password. See [admin][google.cloud.managedidentities.v1.Domain.admin] for more information.
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
Response message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]
func (*ResetAdminPasswordResponse) Descriptor
func (*ResetAdminPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetAdminPasswordResponse.ProtoReflect.Descriptor instead.
func (*ResetAdminPasswordResponse) GetPassword
func (x *ResetAdminPasswordResponse) GetPassword() string
func (*ResetAdminPasswordResponse) ProtoMessage
func (*ResetAdminPasswordResponse) ProtoMessage()
func (*ResetAdminPasswordResponse) ProtoReflect
func (x *ResetAdminPasswordResponse) ProtoReflect() protoreflect.Message
func (*ResetAdminPasswordResponse) Reset
func (x *ResetAdminPasswordResponse) Reset()
func (*ResetAdminPasswordResponse) String
func (x *ResetAdminPasswordResponse) String() string
Trust
type Trust struct {
TargetDomainName string `protobuf:"bytes,1,opt,name=target_domain_name,json=targetDomainName,proto3" json:"target_domain_name,omitempty"`
TrustType Trust_TrustType "" /* 144 byte string literal not displayed */
TrustDirection Trust_TrustDirection "" /* 164 byte string literal not displayed */
SelectiveAuthentication bool "" /* 131 byte string literal not displayed */
TargetDnsIpAddresses []string `protobuf:"bytes,5,rep,name=target_dns_ip_addresses,json=targetDnsIpAddresses,proto3" json:"target_dns_ip_addresses,omitempty"`
TrustHandshakeSecret string `protobuf:"bytes,6,opt,name=trust_handshake_secret,json=trustHandshakeSecret,proto3" json:"trust_handshake_secret,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
State Trust_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.managedidentities.v1.Trust_State" json:"state,omitempty"`
StateDescription string `protobuf:"bytes,11,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
LastTrustHeartbeatTime *timestamppb.Timestamp "" /* 132 byte string literal not displayed */
}
Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.
func (*Trust) Descriptor
Deprecated: Use Trust.ProtoReflect.Descriptor instead.
func (*Trust) GetCreateTime
func (x *Trust) GetCreateTime() *timestamppb.Timestamp
func (*Trust) GetLastTrustHeartbeatTime
func (x *Trust) GetLastTrustHeartbeatTime() *timestamppb.Timestamp
func (*Trust) GetSelectiveAuthentication
func (*Trust) GetState
func (x *Trust) GetState() Trust_State
func (*Trust) GetStateDescription
func (*Trust) GetTargetDnsIpAddresses
func (*Trust) GetTargetDomainName
func (*Trust) GetTrustDirection
func (x *Trust) GetTrustDirection() Trust_TrustDirection
func (*Trust) GetTrustHandshakeSecret
func (*Trust) GetTrustType
func (x *Trust) GetTrustType() Trust_TrustType
func (*Trust) GetUpdateTime
func (x *Trust) GetUpdateTime() *timestamppb.Timestamp
func (*Trust) ProtoMessage
func (*Trust) ProtoMessage()
func (*Trust) ProtoReflect
func (x *Trust) ProtoReflect() protoreflect.Message
func (*Trust) Reset
func (x *Trust) Reset()
func (*Trust) String
Trust_State
type Trust_State int32
Represents the different states of a domain trust.
Trust_STATE_UNSPECIFIED, Trust_CREATING, Trust_UPDATING, Trust_DELETING, Trust_CONNECTED, Trust_DISCONNECTED
const (
// Not set.
Trust_STATE_UNSPECIFIED Trust_State = 0
// The domain trust is being created.
Trust_CREATING Trust_State = 1
// The domain trust is being updated.
Trust_UPDATING Trust_State = 2
// The domain trust is being deleted.
Trust_DELETING Trust_State = 3
// The domain trust is connected.
Trust_CONNECTED Trust_State = 4
// The domain trust is disconnected.
Trust_DISCONNECTED Trust_State = 5
)
func (Trust_State) Descriptor
func (Trust_State) Descriptor() protoreflect.EnumDescriptor
func (Trust_State) Enum
func (x Trust_State) Enum() *Trust_State
func (Trust_State) EnumDescriptor
func (Trust_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trust_State.Descriptor instead.
func (Trust_State) Number
func (x Trust_State) Number() protoreflect.EnumNumber
func (Trust_State) String
func (x Trust_State) String() string
func (Trust_State) Type
func (Trust_State) Type() protoreflect.EnumType
Trust_TrustDirection
type Trust_TrustDirection int32
Represents the direction of trust. See System.DirectoryServices.ActiveDirectory.TrustDirection for more information.
Trust_TRUST_DIRECTION_UNSPECIFIED, Trust_INBOUND, Trust_OUTBOUND, Trust_BIDIRECTIONAL
const (
// Not set.
Trust_TRUST_DIRECTION_UNSPECIFIED Trust_TrustDirection = 0
// The inbound direction represents the trusting side.
Trust_INBOUND Trust_TrustDirection = 1
// The outboud direction represents the trusted side.
Trust_OUTBOUND Trust_TrustDirection = 2
// The bidirectional direction represents the trusted / trusting side.
Trust_BIDIRECTIONAL Trust_TrustDirection = 3
)
func (Trust_TrustDirection) Descriptor
func (Trust_TrustDirection) Descriptor() protoreflect.EnumDescriptor
func (Trust_TrustDirection) Enum
func (x Trust_TrustDirection) Enum() *Trust_TrustDirection
func (Trust_TrustDirection) EnumDescriptor
func (Trust_TrustDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trust_TrustDirection.Descriptor instead.
func (Trust_TrustDirection) Number
func (x Trust_TrustDirection) Number() protoreflect.EnumNumber
func (Trust_TrustDirection) String
func (x Trust_TrustDirection) String() string
func (Trust_TrustDirection) Type
func (Trust_TrustDirection) Type() protoreflect.EnumType
Trust_TrustType
type Trust_TrustType int32
Represents the different inter-forest trust types.
Trust_TRUST_TYPE_UNSPECIFIED, Trust_FOREST, Trust_EXTERNAL
const (
// Not set.
Trust_TRUST_TYPE_UNSPECIFIED Trust_TrustType = 0
// The forest trust.
Trust_FOREST Trust_TrustType = 1
// The external domain trust.
Trust_EXTERNAL Trust_TrustType = 2
)
func (Trust_TrustType) Descriptor
func (Trust_TrustType) Descriptor() protoreflect.EnumDescriptor
func (Trust_TrustType) Enum
func (x Trust_TrustType) Enum() *Trust_TrustType
func (Trust_TrustType) EnumDescriptor
func (Trust_TrustType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trust_TrustType.Descriptor instead.
func (Trust_TrustType) Number
func (x Trust_TrustType) Number() protoreflect.EnumNumber
func (Trust_TrustType) String
func (x Trust_TrustType) String() string
func (Trust_TrustType) Type
func (Trust_TrustType) Type() protoreflect.EnumType
UnimplementedManagedIdentitiesServiceServer
type UnimplementedManagedIdentitiesServiceServer struct {
}
UnimplementedManagedIdentitiesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedManagedIdentitiesServiceServer) AttachTrust
func (*UnimplementedManagedIdentitiesServiceServer) AttachTrust(context.Context, *AttachTrustRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) CreateMicrosoftAdDomain
func (*UnimplementedManagedIdentitiesServiceServer) CreateMicrosoftAdDomain(context.Context, *CreateMicrosoftAdDomainRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) DeleteDomain
func (*UnimplementedManagedIdentitiesServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) DetachTrust
func (*UnimplementedManagedIdentitiesServiceServer) DetachTrust(context.Context, *DetachTrustRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) GetDomain
func (*UnimplementedManagedIdentitiesServiceServer) GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
func (*UnimplementedManagedIdentitiesServiceServer) ListDomains
func (*UnimplementedManagedIdentitiesServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
func (*UnimplementedManagedIdentitiesServiceServer) ReconfigureTrust
func (*UnimplementedManagedIdentitiesServiceServer) ReconfigureTrust(context.Context, *ReconfigureTrustRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) ResetAdminPassword
func (*UnimplementedManagedIdentitiesServiceServer) ResetAdminPassword(context.Context, *ResetAdminPasswordRequest) (*ResetAdminPasswordResponse, error)
func (*UnimplementedManagedIdentitiesServiceServer) UpdateDomain
func (*UnimplementedManagedIdentitiesServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*longrunningpb.Operation, error)
func (*UnimplementedManagedIdentitiesServiceServer) ValidateTrust
func (*UnimplementedManagedIdentitiesServiceServer) ValidateTrust(context.Context, *ValidateTrustRequest) (*longrunningpb.Operation, error)
UpdateDomainRequest
type UpdateDomainRequest struct {
// Required. Mask of fields to update. At least one path must be supplied in this
// field. The elements of the repeated paths field may only include
// fields from [Domain][google.cloud.managedidentities.v1.Domain]:
// - `labels`
// - `locations`
// - `authorized_networks`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. Domain message with updated fields. Only supported fields specified in
// update_mask are updated.
Domain *Domain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain]
func (*UpdateDomainRequest) Descriptor
func (*UpdateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainRequest) GetDomain
func (x *UpdateDomainRequest) GetDomain() *Domain
func (*UpdateDomainRequest) GetUpdateMask
func (x *UpdateDomainRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDomainRequest) ProtoMessage
func (*UpdateDomainRequest) ProtoMessage()
func (*UpdateDomainRequest) ProtoReflect
func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message
func (*UpdateDomainRequest) Reset
func (x *UpdateDomainRequest) Reset()
func (*UpdateDomainRequest) String
func (x *UpdateDomainRequest) String() string
ValidateTrustRequest
type ValidateTrustRequest struct {
// Required. The resource domain name, project name, and location using the form:
// `projects/{project_id}/locations/global/domains/{domain_name}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The domain trust to validate trust state for.
Trust *Trust `protobuf:"bytes,2,opt,name=trust,proto3" json:"trust,omitempty"`
// contains filtered or unexported fields
}
Request message for [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust]
func (*ValidateTrustRequest) Descriptor
func (*ValidateTrustRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTrustRequest.ProtoReflect.Descriptor instead.
func (*ValidateTrustRequest) GetName
func (x *ValidateTrustRequest) GetName() string
func (*ValidateTrustRequest) GetTrust
func (x *ValidateTrustRequest) GetTrust() *Trust
func (*ValidateTrustRequest) ProtoMessage
func (*ValidateTrustRequest) ProtoMessage()
func (*ValidateTrustRequest) ProtoReflect
func (x *ValidateTrustRequest) ProtoReflect() protoreflect.Message
func (*ValidateTrustRequest) Reset
func (x *ValidateTrustRequest) Reset()
func (*ValidateTrustRequest) String
func (x *ValidateTrustRequest) String() string