managedidentities

package
v0.0.0-...-00d5c0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_cloud_managedidentities_v1_managed_identities_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_managedidentities_v1_resource_proto protoreflect.FileDescriptor

Functions

func RegisterManagedIdentitiesServiceServer

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

Types

type 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 deprecated

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

type 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 deprecated

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 (*CreateMicrosoftAdDomainRequest) Reset

func (x *CreateMicrosoftAdDomainRequest) Reset()

func (*CreateMicrosoftAdDomainRequest) String

type 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 deprecated

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

type 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 deprecated

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

type Domain

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 `` /* 153-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetAdmin

func (x *Domain) GetAdmin() string

func (*Domain) GetAuthorizedNetworks

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

func (*Domain) GetCreateTime

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

func (*Domain) GetFqdn

func (x *Domain) GetFqdn() string

func (*Domain) GetLabels

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

func (*Domain) GetLocations

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

func (*Domain) GetName

func (x *Domain) GetName() string

func (*Domain) GetReservedIpRange

func (x *Domain) GetReservedIpRange() string

func (*Domain) GetState

func (x *Domain) GetState() Domain_State

func (*Domain) GetStatusMessage

func (x *Domain) GetStatusMessage() string

func (*Domain) GetTrusts

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

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

func (x *Domain) String() string

type Domain_State

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

func (Domain_State) Enum

func (x Domain_State) Enum() *Domain_State

func (Domain_State) EnumDescriptor deprecated

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

Deprecated: Use Domain_State.Descriptor instead.

func (Domain_State) Number

func (Domain_State) String

func (x Domain_State) String() string

func (Domain_State) Type

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type ManagedIdentitiesServiceClient

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.

type ManagedIdentitiesServiceServer

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

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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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 (*ResetAdminPasswordRequest) Reset

func (x *ResetAdminPasswordRequest) Reset()

func (*ResetAdminPasswordRequest) String

func (x *ResetAdminPasswordRequest) String() string

type 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 deprecated

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 (*ResetAdminPasswordResponse) Reset

func (x *ResetAdminPasswordResponse) Reset()

func (*ResetAdminPasswordResponse) String

func (x *ResetAdminPasswordResponse) String() string

type Trust

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 `` /* 144-byte string literal not displayed */
	// Required. The trust direction, which decides if the current domain is trusted,
	// trusting, or both.
	TrustDirection Trust_TrustDirection `` /* 164-byte string literal not displayed */
	// 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 `` /* 131-byte string literal not displayed */
	// 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 `` /* 132-byte string literal not displayed */
	// 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 deprecated

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

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 (x *Trust) GetSelectiveAuthentication() bool

func (*Trust) GetState

func (x *Trust) GetState() Trust_State

func (*Trust) GetStateDescription

func (x *Trust) GetStateDescription() string

func (*Trust) GetTargetDnsIpAddresses

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

func (*Trust) GetTargetDomainName

func (x *Trust) GetTargetDomainName() string

func (*Trust) GetTrustDirection

func (x *Trust) GetTrustDirection() Trust_TrustDirection

func (*Trust) GetTrustHandshakeSecret

func (x *Trust) GetTrustHandshakeSecret() string

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

func (x *Trust) String() string

type Trust_State

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

func (Trust_State) Enum

func (x Trust_State) Enum() *Trust_State

func (Trust_State) EnumDescriptor deprecated

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

type Trust_TrustDirection

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

func (Trust_TrustDirection) Enum

func (Trust_TrustDirection) EnumDescriptor deprecated

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

Deprecated: Use Trust_TrustDirection.Descriptor instead.

func (Trust_TrustDirection) Number

func (Trust_TrustDirection) String

func (x Trust_TrustDirection) String() string

func (Trust_TrustDirection) Type

type Trust_TrustType

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

func (Trust_TrustType) Enum

func (x Trust_TrustType) Enum() *Trust_TrustType

func (Trust_TrustType) EnumDescriptor deprecated

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

Deprecated: Use Trust_TrustType.Descriptor instead.

func (Trust_TrustType) Number

func (Trust_TrustType) String

func (x Trust_TrustType) String() string

func (Trust_TrustType) Type

type UnimplementedManagedIdentitiesServiceServer

type UnimplementedManagedIdentitiesServiceServer struct {
}

UnimplementedManagedIdentitiesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedManagedIdentitiesServiceServer) AttachTrust

func (*UnimplementedManagedIdentitiesServiceServer) CreateMicrosoftAdDomain

func (*UnimplementedManagedIdentitiesServiceServer) DeleteDomain

func (*UnimplementedManagedIdentitiesServiceServer) DetachTrust

func (*UnimplementedManagedIdentitiesServiceServer) GetDomain

func (*UnimplementedManagedIdentitiesServiceServer) ListDomains

func (*UnimplementedManagedIdentitiesServiceServer) ReconfigureTrust

func (*UnimplementedManagedIdentitiesServiceServer) ResetAdminPassword

func (*UnimplementedManagedIdentitiesServiceServer) UpdateDomain

func (*UnimplementedManagedIdentitiesServiceServer) ValidateTrust

type 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 deprecated

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

type 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 deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL