genproto: google.golang.org/genproto/googleapis/cloud/managedidentities/v1 Index | Files

package managedidentities

import "google.golang.org/genproto/googleapis/cloud/managedidentities/v1"

Index

Package Files

managed_identities_service.pb.go resource.pb.go

Variables

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.

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.

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.

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.

var File_google_cloud_managedidentities_v1_managed_identities_service_proto protoreflect.FileDescriptor
var File_google_cloud_managedidentities_v1_resource_proto protoreflect.FileDescriptor

func RegisterManagedIdentitiesServiceServer Uses

func RegisterManagedIdentitiesServiceServer(s *grpc.Server, srv ManagedIdentitiesServiceServer)

type AttachTrustRequest Uses

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 Uses

func (*AttachTrustRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttachTrustRequest.ProtoReflect.Descriptor instead.

func (*AttachTrustRequest) GetName Uses

func (x *AttachTrustRequest) GetName() string

func (*AttachTrustRequest) GetTrust Uses

func (x *AttachTrustRequest) GetTrust() *Trust

func (*AttachTrustRequest) ProtoMessage Uses

func (*AttachTrustRequest) ProtoMessage()

func (*AttachTrustRequest) ProtoReflect Uses

func (x *AttachTrustRequest) ProtoReflect() protoreflect.Message

func (*AttachTrustRequest) Reset Uses

func (x *AttachTrustRequest) Reset()

func (*AttachTrustRequest) String Uses

func (x *AttachTrustRequest) String() string

type CreateMicrosoftAdDomainRequest Uses

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 Uses

func (*CreateMicrosoftAdDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMicrosoftAdDomainRequest.ProtoReflect.Descriptor instead.

func (*CreateMicrosoftAdDomainRequest) GetDomain Uses

func (x *CreateMicrosoftAdDomainRequest) GetDomain() *Domain

func (*CreateMicrosoftAdDomainRequest) GetDomainName Uses

func (x *CreateMicrosoftAdDomainRequest) GetDomainName() string

func (*CreateMicrosoftAdDomainRequest) GetParent Uses

func (x *CreateMicrosoftAdDomainRequest) GetParent() string

func (*CreateMicrosoftAdDomainRequest) ProtoMessage Uses

func (*CreateMicrosoftAdDomainRequest) ProtoMessage()

func (*CreateMicrosoftAdDomainRequest) ProtoReflect Uses

func (x *CreateMicrosoftAdDomainRequest) ProtoReflect() protoreflect.Message

func (*CreateMicrosoftAdDomainRequest) Reset Uses

func (x *CreateMicrosoftAdDomainRequest) Reset()

func (*CreateMicrosoftAdDomainRequest) String Uses

func (x *CreateMicrosoftAdDomainRequest) String() string

type DeleteDomainRequest Uses

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 Uses

func (*DeleteDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.

func (*DeleteDomainRequest) GetName Uses

func (x *DeleteDomainRequest) GetName() string

func (*DeleteDomainRequest) ProtoMessage Uses

func (*DeleteDomainRequest) ProtoMessage()

func (*DeleteDomainRequest) ProtoReflect Uses

func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message

func (*DeleteDomainRequest) Reset Uses

func (x *DeleteDomainRequest) Reset()

func (*DeleteDomainRequest) String Uses

func (x *DeleteDomainRequest) String() string

type DetachTrustRequest Uses

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 Uses

func (*DetachTrustRequest) Descriptor() ([]byte, []int)

Deprecated: Use DetachTrustRequest.ProtoReflect.Descriptor instead.

func (*DetachTrustRequest) GetName Uses

func (x *DetachTrustRequest) GetName() string

func (*DetachTrustRequest) GetTrust Uses

func (x *DetachTrustRequest) GetTrust() *Trust

func (*DetachTrustRequest) ProtoMessage Uses

func (*DetachTrustRequest) ProtoMessage()

func (*DetachTrustRequest) ProtoReflect Uses

func (x *DetachTrustRequest) ProtoReflect() protoreflect.Message

func (*DetachTrustRequest) Reset Uses

func (x *DetachTrustRequest) Reset()

func (*DetachTrustRequest) String Uses

func (x *DetachTrustRequest) String() string

type Domain Uses

type Domain struct {

    // Required. The unique name of the domain using the form:
    // `projects/{project_id}/locations/global/domains/{domain_name}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. Resource labels that can contain user-provided metadata.
    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"`
    // Optional. The full names of the Google Compute Engine
    // [networks](/compute/docs/networks-and-firewalls#networks) the domain
    // instance is connected to. Networks can be added using UpdateDomain.
    // The domain is only available on networks listed in `authorized_networks`.
    // If CIDR subnets overlap between networks, domain creation will fail.
    AuthorizedNetworks []string `protobuf:"bytes,3,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
    // Required. The CIDR range of internal addresses that are reserved for this
    // domain. Reserved networks must be /24 or larger. Ranges must be
    // unique and non-overlapping with existing subnets in
    // [Domain].[authorized_networks].
    ReservedIpRange string `protobuf:"bytes,4,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"`
    // Required. Locations where domain needs to be provisioned.
    // [regions][compute/docs/regions-zones/]
    // e.g. us-west1 or us-east4
    // Service supports up to 4 locations at once. Each location will use a /26
    // block.
    Locations []string `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"`
    // Optional. The name of delegated administrator account used to perform
    // Active Directory operations. If not specified, `setupadmin` will be used.
    Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"`
    // Output only. The fully-qualified domain name of the exposed domain used by
    // clients to connect to the service. Similar to what would be chosen for an
    // Active Directory set up on an internal network.
    Fqdn string `protobuf:"bytes,10,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
    // Output only. The time the instance was created.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. The last update time.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Output only. The current state of this domain.
    State Domain_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.managedidentities.v1.Domain_State" json:"state,omitempty"`
    // Output only. Additional information about the current status of this
    // domain, if available.
    StatusMessage string `protobuf:"bytes,14,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
    // Output only. The current trusts associated with the domain.
    Trusts []*Trust `protobuf:"bytes,15,rep,name=trusts,proto3" json:"trusts,omitempty"`
    // contains filtered or unexported fields
}

Represents a managed Microsoft Active Directory domain.

func (*Domain) Descriptor Uses

func (*Domain) Descriptor() ([]byte, []int)

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetAdmin Uses

func (x *Domain) GetAdmin() string

func (*Domain) GetAuthorizedNetworks Uses

func (x *Domain) GetAuthorizedNetworks() []string

func (*Domain) GetCreateTime Uses

func (x *Domain) GetCreateTime() *timestamppb.Timestamp

func (*Domain) GetFqdn Uses

func (x *Domain) GetFqdn() string

func (*Domain) GetLabels Uses

func (x *Domain) GetLabels() map[string]string

func (*Domain) GetLocations Uses

func (x *Domain) GetLocations() []string

func (*Domain) GetName Uses

func (x *Domain) GetName() string

func (*Domain) GetReservedIpRange Uses

func (x *Domain) GetReservedIpRange() string

func (*Domain) GetState Uses

func (x *Domain) GetState() Domain_State

func (*Domain) GetStatusMessage Uses

func (x *Domain) GetStatusMessage() string

func (*Domain) GetTrusts Uses

func (x *Domain) GetTrusts() []*Trust

func (*Domain) GetUpdateTime Uses

func (x *Domain) GetUpdateTime() *timestamppb.Timestamp

func (*Domain) ProtoMessage Uses

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect Uses

func (x *Domain) ProtoReflect() protoreflect.Message

func (*Domain) Reset Uses

func (x *Domain) Reset()

func (*Domain) String Uses

func (x *Domain) String() string

type Domain_State Uses

type Domain_State int32

Represents the different states of a managed domain.

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 Uses

func (Domain_State) Descriptor() protoreflect.EnumDescriptor

func (Domain_State) Enum Uses

func (x Domain_State) Enum() *Domain_State

func (Domain_State) EnumDescriptor Uses

func (Domain_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Domain_State.Descriptor instead.

func (Domain_State) Number Uses

func (x Domain_State) Number() protoreflect.EnumNumber

func (Domain_State) String Uses

func (x Domain_State) String() string

func (Domain_State) Type Uses

func (Domain_State) Type() protoreflect.EnumType

type GetDomainRequest Uses

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 Uses

func (*GetDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDomainRequest.ProtoReflect.Descriptor instead.

func (*GetDomainRequest) GetName Uses

func (x *GetDomainRequest) GetName() string

func (*GetDomainRequest) ProtoMessage Uses

func (*GetDomainRequest) ProtoMessage()

func (*GetDomainRequest) ProtoReflect Uses

func (x *GetDomainRequest) ProtoReflect() protoreflect.Message

func (*GetDomainRequest) Reset Uses

func (x *GetDomainRequest) Reset()

func (*GetDomainRequest) String Uses

func (x *GetDomainRequest) String() string

type ListDomainsRequest Uses

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 Uses

func (*ListDomainsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.

func (*ListDomainsRequest) GetFilter Uses

func (x *ListDomainsRequest) GetFilter() string

func (*ListDomainsRequest) GetOrderBy Uses

func (x *ListDomainsRequest) GetOrderBy() string

func (*ListDomainsRequest) GetPageSize Uses

func (x *ListDomainsRequest) GetPageSize() int32

func (*ListDomainsRequest) GetPageToken Uses

func (x *ListDomainsRequest) GetPageToken() string

func (*ListDomainsRequest) GetParent Uses

func (x *ListDomainsRequest) GetParent() string

func (*ListDomainsRequest) ProtoMessage Uses

func (*ListDomainsRequest) ProtoMessage()

func (*ListDomainsRequest) ProtoReflect Uses

func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message

func (*ListDomainsRequest) Reset Uses

func (x *ListDomainsRequest) Reset()

func (*ListDomainsRequest) String Uses

func (x *ListDomainsRequest) String() string

type ListDomainsResponse Uses

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 Uses

func (*ListDomainsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.

func (*ListDomainsResponse) GetDomains Uses

func (x *ListDomainsResponse) GetDomains() []*Domain

func (*ListDomainsResponse) GetNextPageToken Uses

func (x *ListDomainsResponse) GetNextPageToken() string

func (*ListDomainsResponse) GetUnreachable Uses

func (x *ListDomainsResponse) GetUnreachable() []string

func (*ListDomainsResponse) ProtoMessage Uses

func (*ListDomainsResponse) ProtoMessage()

func (*ListDomainsResponse) ProtoReflect Uses

func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message

func (*ListDomainsResponse) Reset Uses

func (x *ListDomainsResponse) Reset()

func (*ListDomainsResponse) String Uses

func (x *ListDomainsResponse) String() string

type ManagedIdentitiesServiceClient Uses

type ManagedIdentitiesServiceClient interface {
    // Creates a Microsoft AD domain.
    CreateMicrosoftAdDomain(ctx context.Context, in *CreateMicrosoftAdDomainRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.Operation, error)
    // Deletes a domain.
    DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Adds an AD trust to a domain.
    AttachTrust(ctx context.Context, in *AttachTrustRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Updates the DNS conditional forwarder.
    ReconfigureTrust(ctx context.Context, in *ReconfigureTrustRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Removes an AD trust.
    DetachTrust(ctx context.Context, in *DetachTrustRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.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 Uses

func NewManagedIdentitiesServiceClient(cc grpc.ClientConnInterface) ManagedIdentitiesServiceClient

type ManagedIdentitiesServiceServer Uses

type ManagedIdentitiesServiceServer interface {
    // Creates a Microsoft AD domain.
    CreateMicrosoftAdDomain(context.Context, *CreateMicrosoftAdDomainRequest) (*longrunning.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) (*longrunning.Operation, error)
    // Deletes a domain.
    DeleteDomain(context.Context, *DeleteDomainRequest) (*longrunning.Operation, error)
    // Adds an AD trust to a domain.
    AttachTrust(context.Context, *AttachTrustRequest) (*longrunning.Operation, error)
    // Updates the DNS conditional forwarder.
    ReconfigureTrust(context.Context, *ReconfigureTrustRequest) (*longrunning.Operation, error)
    // Removes an AD trust.
    DetachTrust(context.Context, *DetachTrustRequest) (*longrunning.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) (*longrunning.Operation, error)
}

ManagedIdentitiesServiceServer is the server API for ManagedIdentitiesService service.

type OpMetadata Uses

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 Uses

func (*OpMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OpMetadata.ProtoReflect.Descriptor instead.

func (*OpMetadata) GetApiVersion Uses

func (x *OpMetadata) GetApiVersion() string

func (*OpMetadata) GetCreateTime Uses

func (x *OpMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OpMetadata) GetEndTime Uses

func (x *OpMetadata) GetEndTime() *timestamppb.Timestamp

func (*OpMetadata) GetRequestedCancellation Uses

func (x *OpMetadata) GetRequestedCancellation() bool

func (*OpMetadata) GetTarget Uses

func (x *OpMetadata) GetTarget() string

func (*OpMetadata) GetVerb Uses

func (x *OpMetadata) GetVerb() string

func (*OpMetadata) ProtoMessage Uses

func (*OpMetadata) ProtoMessage()

func (*OpMetadata) ProtoReflect Uses

func (x *OpMetadata) ProtoReflect() protoreflect.Message

func (*OpMetadata) Reset Uses

func (x *OpMetadata) Reset()

func (*OpMetadata) String Uses

func (x *OpMetadata) String() string

type ReconfigureTrustRequest Uses

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 Uses

func (*ReconfigureTrustRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReconfigureTrustRequest.ProtoReflect.Descriptor instead.

func (*ReconfigureTrustRequest) GetName Uses

func (x *ReconfigureTrustRequest) GetName() string

func (*ReconfigureTrustRequest) GetTargetDnsIpAddresses Uses

func (x *ReconfigureTrustRequest) GetTargetDnsIpAddresses() []string

func (*ReconfigureTrustRequest) GetTargetDomainName Uses

func (x *ReconfigureTrustRequest) GetTargetDomainName() string

func (*ReconfigureTrustRequest) ProtoMessage Uses

func (*ReconfigureTrustRequest) ProtoMessage()

func (*ReconfigureTrustRequest) ProtoReflect Uses

func (x *ReconfigureTrustRequest) ProtoReflect() protoreflect.Message

func (*ReconfigureTrustRequest) Reset Uses

func (x *ReconfigureTrustRequest) Reset()

func (*ReconfigureTrustRequest) String Uses

func (x *ReconfigureTrustRequest) String() string

type ResetAdminPasswordRequest Uses

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 Uses

func (*ResetAdminPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetAdminPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetAdminPasswordRequest) GetName Uses

func (x *ResetAdminPasswordRequest) GetName() string

func (*ResetAdminPasswordRequest) ProtoMessage Uses

func (*ResetAdminPasswordRequest) ProtoMessage()

func (*ResetAdminPasswordRequest) ProtoReflect Uses

func (x *ResetAdminPasswordRequest) ProtoReflect() protoreflect.Message

func (*ResetAdminPasswordRequest) Reset Uses

func (x *ResetAdminPasswordRequest) Reset()

func (*ResetAdminPasswordRequest) String Uses

func (x *ResetAdminPasswordRequest) String() string

type ResetAdminPasswordResponse Uses

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 Uses

func (*ResetAdminPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetAdminPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetAdminPasswordResponse) GetPassword Uses

func (x *ResetAdminPasswordResponse) GetPassword() string

func (*ResetAdminPasswordResponse) ProtoMessage Uses

func (*ResetAdminPasswordResponse) ProtoMessage()

func (*ResetAdminPasswordResponse) ProtoReflect Uses

func (x *ResetAdminPasswordResponse) ProtoReflect() protoreflect.Message

func (*ResetAdminPasswordResponse) Reset Uses

func (x *ResetAdminPasswordResponse) Reset()

func (*ResetAdminPasswordResponse) String Uses

func (x *ResetAdminPasswordResponse) String() string

type Trust Uses

type Trust struct {

    // Required. The fully qualified target domain name which will be in trust with the
    // current domain.
    TargetDomainName string `protobuf:"bytes,1,opt,name=target_domain_name,json=targetDomainName,proto3" json:"target_domain_name,omitempty"`
    // Required. The type of trust represented by the trust resource.
    TrustType Trust_TrustType `protobuf:"varint,2,opt,name=trust_type,json=trustType,proto3,enum=google.cloud.managedidentities.v1.Trust_TrustType" json:"trust_type,omitempty"`
    // Required. The trust direction, which decides if the current domain is trusted,
    // trusting, or both.
    TrustDirection Trust_TrustDirection `protobuf:"varint,3,opt,name=trust_direction,json=trustDirection,proto3,enum=google.cloud.managedidentities.v1.Trust_TrustDirection" json:"trust_direction,omitempty"`
    // Optional. The trust authentication type, which decides whether the trusted side has
    // forest/domain wide access or selective access to an approved set of
    // resources.
    SelectiveAuthentication bool `protobuf:"varint,4,opt,name=selective_authentication,json=selectiveAuthentication,proto3" json:"selective_authentication,omitempty"`
    // Required. The target DNS server IP addresses which can resolve the remote domain
    // involved in the trust.
    TargetDnsIpAddresses []string `protobuf:"bytes,5,rep,name=target_dns_ip_addresses,json=targetDnsIpAddresses,proto3" json:"target_dns_ip_addresses,omitempty"`
    // Required. The trust secret used for the handshake with the target domain. This will
    // not be stored.
    TrustHandshakeSecret string `protobuf:"bytes,6,opt,name=trust_handshake_secret,json=trustHandshakeSecret,proto3" json:"trust_handshake_secret,omitempty"`
    // Output only. The time the instance was created.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. The last update time.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Output only. The current state of the trust.
    State Trust_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.managedidentities.v1.Trust_State" json:"state,omitempty"`
    // Output only. Additional information about the current state of the trust, if available.
    StateDescription string `protobuf:"bytes,11,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
    // Output only. The last heartbeat time when the trust was known to be connected.
    LastTrustHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_trust_heartbeat_time,json=lastTrustHeartbeatTime,proto3" json:"last_trust_heartbeat_time,omitempty"`
    // contains filtered or unexported fields
}

Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.

func (*Trust) Descriptor Uses

func (*Trust) Descriptor() ([]byte, []int)

Deprecated: Use Trust.ProtoReflect.Descriptor instead.

func (*Trust) GetCreateTime Uses

func (x *Trust) GetCreateTime() *timestamppb.Timestamp

func (*Trust) GetLastTrustHeartbeatTime Uses

func (x *Trust) GetLastTrustHeartbeatTime() *timestamppb.Timestamp

func (*Trust) GetSelectiveAuthentication Uses

func (x *Trust) GetSelectiveAuthentication() bool

func (*Trust) GetState Uses

func (x *Trust) GetState() Trust_State

func (*Trust) GetStateDescription Uses

func (x *Trust) GetStateDescription() string

func (*Trust) GetTargetDnsIpAddresses Uses

func (x *Trust) GetTargetDnsIpAddresses() []string

func (*Trust) GetTargetDomainName Uses

func (x *Trust) GetTargetDomainName() string

func (*Trust) GetTrustDirection Uses

func (x *Trust) GetTrustDirection() Trust_TrustDirection

func (*Trust) GetTrustHandshakeSecret Uses

func (x *Trust) GetTrustHandshakeSecret() string

func (*Trust) GetTrustType Uses

func (x *Trust) GetTrustType() Trust_TrustType

func (*Trust) GetUpdateTime Uses

func (x *Trust) GetUpdateTime() *timestamppb.Timestamp

func (*Trust) ProtoMessage Uses

func (*Trust) ProtoMessage()

func (*Trust) ProtoReflect Uses

func (x *Trust) ProtoReflect() protoreflect.Message

func (*Trust) Reset Uses

func (x *Trust) Reset()

func (*Trust) String Uses

func (x *Trust) String() string

type Trust_State Uses

type Trust_State int32

Represents the different states of a domain trust.

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 Uses

func (Trust_State) Descriptor() protoreflect.EnumDescriptor

func (Trust_State) Enum Uses

func (x Trust_State) Enum() *Trust_State

func (Trust_State) EnumDescriptor Uses

func (Trust_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Trust_State.Descriptor instead.

func (Trust_State) Number Uses

func (x Trust_State) Number() protoreflect.EnumNumber

func (Trust_State) String Uses

func (x Trust_State) String() string

func (Trust_State) Type Uses

func (Trust_State) Type() protoreflect.EnumType

type Trust_TrustDirection Uses

type Trust_TrustDirection int32

Represents the direction of trust. See [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2) for more information.

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 Uses

func (Trust_TrustDirection) Descriptor() protoreflect.EnumDescriptor

func (Trust_TrustDirection) Enum Uses

func (x Trust_TrustDirection) Enum() *Trust_TrustDirection

func (Trust_TrustDirection) EnumDescriptor Uses

func (Trust_TrustDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use Trust_TrustDirection.Descriptor instead.

func (Trust_TrustDirection) Number Uses

func (x Trust_TrustDirection) Number() protoreflect.EnumNumber

func (Trust_TrustDirection) String Uses

func (x Trust_TrustDirection) String() string

func (Trust_TrustDirection) Type Uses

func (Trust_TrustDirection) Type() protoreflect.EnumType

type Trust_TrustType Uses

type Trust_TrustType int32

Represents the different inter-forest trust types.

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 Uses

func (Trust_TrustType) Descriptor() protoreflect.EnumDescriptor

func (Trust_TrustType) Enum Uses

func (x Trust_TrustType) Enum() *Trust_TrustType

func (Trust_TrustType) EnumDescriptor Uses

func (Trust_TrustType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Trust_TrustType.Descriptor instead.

func (Trust_TrustType) Number Uses

func (x Trust_TrustType) Number() protoreflect.EnumNumber

func (Trust_TrustType) String Uses

func (x Trust_TrustType) String() string

func (Trust_TrustType) Type Uses

func (Trust_TrustType) Type() protoreflect.EnumType

type UnimplementedManagedIdentitiesServiceServer Uses

type UnimplementedManagedIdentitiesServiceServer struct {
}

UnimplementedManagedIdentitiesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedManagedIdentitiesServiceServer) AttachTrust Uses

func (*UnimplementedManagedIdentitiesServiceServer) AttachTrust(context.Context, *AttachTrustRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) CreateMicrosoftAdDomain Uses

func (*UnimplementedManagedIdentitiesServiceServer) CreateMicrosoftAdDomain(context.Context, *CreateMicrosoftAdDomainRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) DeleteDomain Uses

func (*UnimplementedManagedIdentitiesServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) DetachTrust Uses

func (*UnimplementedManagedIdentitiesServiceServer) DetachTrust(context.Context, *DetachTrustRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) GetDomain Uses

func (*UnimplementedManagedIdentitiesServiceServer) GetDomain(context.Context, *GetDomainRequest) (*Domain, error)

func (*UnimplementedManagedIdentitiesServiceServer) ListDomains Uses

func (*UnimplementedManagedIdentitiesServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)

func (*UnimplementedManagedIdentitiesServiceServer) ReconfigureTrust Uses

func (*UnimplementedManagedIdentitiesServiceServer) ReconfigureTrust(context.Context, *ReconfigureTrustRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) ResetAdminPassword Uses

func (*UnimplementedManagedIdentitiesServiceServer) ResetAdminPassword(context.Context, *ResetAdminPasswordRequest) (*ResetAdminPasswordResponse, error)

func (*UnimplementedManagedIdentitiesServiceServer) UpdateDomain Uses

func (*UnimplementedManagedIdentitiesServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*longrunning.Operation, error)

func (*UnimplementedManagedIdentitiesServiceServer) ValidateTrust Uses

func (*UnimplementedManagedIdentitiesServiceServer) ValidateTrust(context.Context, *ValidateTrustRequest) (*longrunning.Operation, error)

type UpdateDomainRequest Uses

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 Uses

func (*UpdateDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.

func (*UpdateDomainRequest) GetDomain Uses

func (x *UpdateDomainRequest) GetDomain() *Domain

func (*UpdateDomainRequest) GetUpdateMask Uses

func (x *UpdateDomainRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDomainRequest) ProtoMessage Uses

func (*UpdateDomainRequest) ProtoMessage()

func (*UpdateDomainRequest) ProtoReflect Uses

func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message

func (*UpdateDomainRequest) Reset Uses

func (x *UpdateDomainRequest) Reset()

func (*UpdateDomainRequest) String Uses

func (x *UpdateDomainRequest) String() string

type ValidateTrustRequest Uses

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 Uses

func (*ValidateTrustRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateTrustRequest.ProtoReflect.Descriptor instead.

func (*ValidateTrustRequest) GetName Uses

func (x *ValidateTrustRequest) GetName() string

func (*ValidateTrustRequest) GetTrust Uses

func (x *ValidateTrustRequest) GetTrust() *Trust

func (*ValidateTrustRequest) ProtoMessage Uses

func (*ValidateTrustRequest) ProtoMessage()

func (*ValidateTrustRequest) ProtoReflect Uses

func (x *ValidateTrustRequest) ProtoReflect() protoreflect.Message

func (*ValidateTrustRequest) Reset Uses

func (x *ValidateTrustRequest) Reset()

func (*ValidateTrustRequest) String Uses

func (x *ValidateTrustRequest) String() string

Package managedidentities imports 13 packages (graph). Updated 2020-11-15. Refresh now. Tools for package owners.