managedidentities

package
v0.0.0-...-e165f0f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

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",
}
View Source
var Domain_State_value = map[string]int32{
	"STATE_UNSPECIFIED":      0,
	"CREATING":               1,
	"READY":                  2,
	"UPDATING":               3,
	"DELETING":               4,
	"REPAIRING":              5,
	"PERFORMING_MAINTENANCE": 6,
	"UNAVAILABLE":            7,
}
View Source
var Trust_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "CREATING",
	2: "UPDATING",
	3: "DELETING",
	4: "CONNECTED",
	5: "DISCONNECTED",
}
View Source
var Trust_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"CREATING":          1,
	"UPDATING":          2,
	"DELETING":          3,
	"CONNECTED":         4,
	"DISCONNECTED":      5,
}
View Source
var Trust_TrustDirection_name = map[int32]string{
	0: "TRUST_DIRECTION_UNSPECIFIED",
	1: "INBOUND",
	2: "OUTBOUND",
	3: "BIDIRECTIONAL",
}
View Source
var Trust_TrustDirection_value = map[string]int32{
	"TRUST_DIRECTION_UNSPECIFIED": 0,
	"INBOUND":                     1,
	"OUTBOUND":                    2,
	"BIDIRECTIONAL":               3,
}
View Source
var Trust_TrustType_name = map[int32]string{
	0: "TRUST_TYPE_UNSPECIFIED",
	1: "FOREST",
	2: "EXTERNAL",
}
View Source
var Trust_TrustType_value = map[string]int32{
	"TRUST_TYPE_UNSPECIFIED": 0,
	"FOREST":                 1,
	"EXTERNAL":               2,
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [AttachTrust][google.cloud.managedidentities.v1.AttachTrust]

func (*AttachTrustRequest) Descriptor

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

func (*AttachTrustRequest) GetName

func (m *AttachTrustRequest) GetName() string

func (*AttachTrustRequest) GetTrust

func (m *AttachTrustRequest) GetTrust() *Trust

func (*AttachTrustRequest) ProtoMessage

func (*AttachTrustRequest) ProtoMessage()

func (*AttachTrustRequest) Reset

func (m *AttachTrustRequest) Reset()

func (*AttachTrustRequest) String

func (m *AttachTrustRequest) String() string

func (*AttachTrustRequest) XXX_DiscardUnknown

func (m *AttachTrustRequest) XXX_DiscardUnknown()

func (*AttachTrustRequest) XXX_Marshal

func (m *AttachTrustRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachTrustRequest) XXX_Merge

func (m *AttachTrustRequest) XXX_Merge(src proto.Message)

func (*AttachTrustRequest) XXX_Size

func (m *AttachTrustRequest) XXX_Size() int

func (*AttachTrustRequest) XXX_Unmarshal

func (m *AttachTrustRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain]

func (*CreateMicrosoftAdDomainRequest) Descriptor

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

func (*CreateMicrosoftAdDomainRequest) GetDomain

func (m *CreateMicrosoftAdDomainRequest) GetDomain() *Domain

func (*CreateMicrosoftAdDomainRequest) GetDomainName

func (m *CreateMicrosoftAdDomainRequest) GetDomainName() string

func (*CreateMicrosoftAdDomainRequest) GetParent

func (m *CreateMicrosoftAdDomainRequest) GetParent() string

func (*CreateMicrosoftAdDomainRequest) ProtoMessage

func (*CreateMicrosoftAdDomainRequest) ProtoMessage()

func (*CreateMicrosoftAdDomainRequest) Reset

func (m *CreateMicrosoftAdDomainRequest) Reset()

func (*CreateMicrosoftAdDomainRequest) String

func (*CreateMicrosoftAdDomainRequest) XXX_DiscardUnknown

func (m *CreateMicrosoftAdDomainRequest) XXX_DiscardUnknown()

func (*CreateMicrosoftAdDomainRequest) XXX_Marshal

func (m *CreateMicrosoftAdDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateMicrosoftAdDomainRequest) XXX_Merge

func (m *CreateMicrosoftAdDomainRequest) XXX_Merge(src proto.Message)

func (*CreateMicrosoftAdDomainRequest) XXX_Size

func (m *CreateMicrosoftAdDomainRequest) XXX_Size() int

func (*CreateMicrosoftAdDomainRequest) XXX_Unmarshal

func (m *CreateMicrosoftAdDomainRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain]

func (*DeleteDomainRequest) Descriptor

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

func (*DeleteDomainRequest) GetName

func (m *DeleteDomainRequest) GetName() string

func (*DeleteDomainRequest) ProtoMessage

func (*DeleteDomainRequest) ProtoMessage()

func (*DeleteDomainRequest) Reset

func (m *DeleteDomainRequest) Reset()

func (*DeleteDomainRequest) String

func (m *DeleteDomainRequest) String() string

func (*DeleteDomainRequest) XXX_DiscardUnknown

func (m *DeleteDomainRequest) XXX_DiscardUnknown()

func (*DeleteDomainRequest) XXX_Marshal

func (m *DeleteDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDomainRequest) XXX_Merge

func (m *DeleteDomainRequest) XXX_Merge(src proto.Message)

func (*DeleteDomainRequest) XXX_Size

func (m *DeleteDomainRequest) XXX_Size() int

func (*DeleteDomainRequest) XXX_Unmarshal

func (m *DeleteDomainRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [DetachTrust][google.cloud.managedidentities.v1.DetachTrust]

func (*DetachTrustRequest) Descriptor

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

func (*DetachTrustRequest) GetName

func (m *DetachTrustRequest) GetName() string

func (*DetachTrustRequest) GetTrust

func (m *DetachTrustRequest) GetTrust() *Trust

func (*DetachTrustRequest) ProtoMessage

func (*DetachTrustRequest) ProtoMessage()

func (*DetachTrustRequest) Reset

func (m *DetachTrustRequest) Reset()

func (*DetachTrustRequest) String

func (m *DetachTrustRequest) String() string

func (*DetachTrustRequest) XXX_DiscardUnknown

func (m *DetachTrustRequest) XXX_DiscardUnknown()

func (*DetachTrustRequest) XXX_Marshal

func (m *DetachTrustRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetachTrustRequest) XXX_Merge

func (m *DetachTrustRequest) XXX_Merge(src proto.Message)

func (*DetachTrustRequest) XXX_Size

func (m *DetachTrustRequest) XXX_Size() int

func (*DetachTrustRequest) XXX_Unmarshal

func (m *DetachTrustRequest) XXX_Unmarshal(b []byte) error

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 *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update time.
	UpdateTime *timestamp.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a managed Microsoft Active Directory domain.

func (*Domain) Descriptor

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

func (*Domain) GetAdmin

func (m *Domain) GetAdmin() string

func (*Domain) GetAuthorizedNetworks

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

func (*Domain) GetCreateTime

func (m *Domain) GetCreateTime() *timestamp.Timestamp

func (*Domain) GetFqdn

func (m *Domain) GetFqdn() string

func (*Domain) GetLabels

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

func (*Domain) GetLocations

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

func (*Domain) GetName

func (m *Domain) GetName() string

func (*Domain) GetReservedIpRange

func (m *Domain) GetReservedIpRange() string

func (*Domain) GetState

func (m *Domain) GetState() Domain_State

func (*Domain) GetStatusMessage

func (m *Domain) GetStatusMessage() string

func (*Domain) GetTrusts

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

func (*Domain) GetUpdateTime

func (m *Domain) GetUpdateTime() *timestamp.Timestamp

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) Reset

func (m *Domain) Reset()

func (*Domain) String

func (m *Domain) String() string

func (*Domain) XXX_DiscardUnknown

func (m *Domain) XXX_DiscardUnknown()

func (*Domain) XXX_Marshal

func (m *Domain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Domain) XXX_Merge

func (m *Domain) XXX_Merge(src proto.Message)

func (*Domain) XXX_Size

func (m *Domain) XXX_Size() int

func (*Domain) XXX_Unmarshal

func (m *Domain) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Domain_State) String

func (x Domain_State) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain]

func (*GetDomainRequest) Descriptor

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

func (*GetDomainRequest) GetName

func (m *GetDomainRequest) GetName() string

func (*GetDomainRequest) ProtoMessage

func (*GetDomainRequest) ProtoMessage()

func (*GetDomainRequest) Reset

func (m *GetDomainRequest) Reset()

func (*GetDomainRequest) String

func (m *GetDomainRequest) String() string

func (*GetDomainRequest) XXX_DiscardUnknown

func (m *GetDomainRequest) XXX_DiscardUnknown()

func (*GetDomainRequest) XXX_Marshal

func (m *GetDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDomainRequest) XXX_Merge

func (m *GetDomainRequest) XXX_Merge(src proto.Message)

func (*GetDomainRequest) XXX_Size

func (m *GetDomainRequest) XXX_Size() int

func (*GetDomainRequest) XXX_Unmarshal

func (m *GetDomainRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]

func (*ListDomainsRequest) Descriptor

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

func (*ListDomainsRequest) GetFilter

func (m *ListDomainsRequest) GetFilter() string

func (*ListDomainsRequest) GetOrderBy

func (m *ListDomainsRequest) GetOrderBy() string

func (*ListDomainsRequest) GetPageSize

func (m *ListDomainsRequest) GetPageSize() int32

func (*ListDomainsRequest) GetPageToken

func (m *ListDomainsRequest) GetPageToken() string

func (*ListDomainsRequest) GetParent

func (m *ListDomainsRequest) GetParent() string

func (*ListDomainsRequest) ProtoMessage

func (*ListDomainsRequest) ProtoMessage()

func (*ListDomainsRequest) Reset

func (m *ListDomainsRequest) Reset()

func (*ListDomainsRequest) String

func (m *ListDomainsRequest) String() string

func (*ListDomainsRequest) XXX_DiscardUnknown

func (m *ListDomainsRequest) XXX_DiscardUnknown()

func (*ListDomainsRequest) XXX_Marshal

func (m *ListDomainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDomainsRequest) XXX_Merge

func (m *ListDomainsRequest) XXX_Merge(src proto.Message)

func (*ListDomainsRequest) XXX_Size

func (m *ListDomainsRequest) XXX_Size() int

func (*ListDomainsRequest) XXX_Unmarshal

func (m *ListDomainsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for [ListDomains][google.cloud.managedidentities.v1.ListDomains]

func (*ListDomainsResponse) Descriptor

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

func (*ListDomainsResponse) GetDomains

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

func (*ListDomainsResponse) GetNextPageToken

func (m *ListDomainsResponse) GetNextPageToken() string

func (*ListDomainsResponse) GetUnreachable

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

func (*ListDomainsResponse) ProtoMessage

func (*ListDomainsResponse) ProtoMessage()

func (*ListDomainsResponse) Reset

func (m *ListDomainsResponse) Reset()

func (*ListDomainsResponse) String

func (m *ListDomainsResponse) String() string

func (*ListDomainsResponse) XXX_DiscardUnknown

func (m *ListDomainsResponse) XXX_DiscardUnknown()

func (*ListDomainsResponse) XXX_Marshal

func (m *ListDomainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDomainsResponse) XXX_Merge

func (m *ListDomainsResponse) XXX_Merge(src proto.Message)

func (*ListDomainsResponse) XXX_Size

func (m *ListDomainsResponse) XXX_Size() int

func (*ListDomainsResponse) XXX_Unmarshal

func (m *ListDomainsResponse) XXX_Unmarshal(b []byte) error

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 *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamp.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the metadata of the long-running operation.

func (*OpMetadata) Descriptor

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

func (*OpMetadata) GetApiVersion

func (m *OpMetadata) GetApiVersion() string

func (*OpMetadata) GetCreateTime

func (m *OpMetadata) GetCreateTime() *timestamp.Timestamp

func (*OpMetadata) GetEndTime

func (m *OpMetadata) GetEndTime() *timestamp.Timestamp

func (*OpMetadata) GetRequestedCancellation

func (m *OpMetadata) GetRequestedCancellation() bool

func (*OpMetadata) GetTarget

func (m *OpMetadata) GetTarget() string

func (*OpMetadata) GetVerb

func (m *OpMetadata) GetVerb() string

func (*OpMetadata) ProtoMessage

func (*OpMetadata) ProtoMessage()

func (*OpMetadata) Reset

func (m *OpMetadata) Reset()

func (*OpMetadata) String

func (m *OpMetadata) String() string

func (*OpMetadata) XXX_DiscardUnknown

func (m *OpMetadata) XXX_DiscardUnknown()

func (*OpMetadata) XXX_Marshal

func (m *OpMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpMetadata) XXX_Merge

func (m *OpMetadata) XXX_Merge(src proto.Message)

func (*OpMetadata) XXX_Size

func (m *OpMetadata) XXX_Size() int

func (*OpMetadata) XXX_Unmarshal

func (m *OpMetadata) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust]

func (*ReconfigureTrustRequest) Descriptor

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

func (*ReconfigureTrustRequest) GetName

func (m *ReconfigureTrustRequest) GetName() string

func (*ReconfigureTrustRequest) GetTargetDnsIpAddresses

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

func (*ReconfigureTrustRequest) GetTargetDomainName

func (m *ReconfigureTrustRequest) GetTargetDomainName() string

func (*ReconfigureTrustRequest) ProtoMessage

func (*ReconfigureTrustRequest) ProtoMessage()

func (*ReconfigureTrustRequest) Reset

func (m *ReconfigureTrustRequest) Reset()

func (*ReconfigureTrustRequest) String

func (m *ReconfigureTrustRequest) String() string

func (*ReconfigureTrustRequest) XXX_DiscardUnknown

func (m *ReconfigureTrustRequest) XXX_DiscardUnknown()

func (*ReconfigureTrustRequest) XXX_Marshal

func (m *ReconfigureTrustRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReconfigureTrustRequest) XXX_Merge

func (m *ReconfigureTrustRequest) XXX_Merge(src proto.Message)

func (*ReconfigureTrustRequest) XXX_Size

func (m *ReconfigureTrustRequest) XXX_Size() int

func (*ReconfigureTrustRequest) XXX_Unmarshal

func (m *ReconfigureTrustRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]

func (*ResetAdminPasswordRequest) Descriptor

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

func (*ResetAdminPasswordRequest) GetName

func (m *ResetAdminPasswordRequest) GetName() string

func (*ResetAdminPasswordRequest) ProtoMessage

func (*ResetAdminPasswordRequest) ProtoMessage()

func (*ResetAdminPasswordRequest) Reset

func (m *ResetAdminPasswordRequest) Reset()

func (*ResetAdminPasswordRequest) String

func (m *ResetAdminPasswordRequest) String() string

func (*ResetAdminPasswordRequest) XXX_DiscardUnknown

func (m *ResetAdminPasswordRequest) XXX_DiscardUnknown()

func (*ResetAdminPasswordRequest) XXX_Marshal

func (m *ResetAdminPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetAdminPasswordRequest) XXX_Merge

func (m *ResetAdminPasswordRequest) XXX_Merge(src proto.Message)

func (*ResetAdminPasswordRequest) XXX_Size

func (m *ResetAdminPasswordRequest) XXX_Size() int

func (*ResetAdminPasswordRequest) XXX_Unmarshal

func (m *ResetAdminPasswordRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]

func (*ResetAdminPasswordResponse) Descriptor

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

func (*ResetAdminPasswordResponse) GetPassword

func (m *ResetAdminPasswordResponse) GetPassword() string

func (*ResetAdminPasswordResponse) ProtoMessage

func (*ResetAdminPasswordResponse) ProtoMessage()

func (*ResetAdminPasswordResponse) Reset

func (m *ResetAdminPasswordResponse) Reset()

func (*ResetAdminPasswordResponse) String

func (m *ResetAdminPasswordResponse) String() string

func (*ResetAdminPasswordResponse) XXX_DiscardUnknown

func (m *ResetAdminPasswordResponse) XXX_DiscardUnknown()

func (*ResetAdminPasswordResponse) XXX_Marshal

func (m *ResetAdminPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetAdminPasswordResponse) XXX_Merge

func (m *ResetAdminPasswordResponse) XXX_Merge(src proto.Message)

func (*ResetAdminPasswordResponse) XXX_Size

func (m *ResetAdminPasswordResponse) XXX_Size() int

func (*ResetAdminPasswordResponse) XXX_Unmarshal

func (m *ResetAdminPasswordResponse) XXX_Unmarshal(b []byte) error

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 *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update time.
	UpdateTime *timestamp.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 *timestamp.Timestamp `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

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

func (*Trust) Descriptor

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

func (*Trust) GetCreateTime

func (m *Trust) GetCreateTime() *timestamp.Timestamp

func (*Trust) GetLastTrustHeartbeatTime

func (m *Trust) GetLastTrustHeartbeatTime() *timestamp.Timestamp

func (*Trust) GetSelectiveAuthentication

func (m *Trust) GetSelectiveAuthentication() bool

func (*Trust) GetState

func (m *Trust) GetState() Trust_State

func (*Trust) GetStateDescription

func (m *Trust) GetStateDescription() string

func (*Trust) GetTargetDnsIpAddresses

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

func (*Trust) GetTargetDomainName

func (m *Trust) GetTargetDomainName() string

func (*Trust) GetTrustDirection

func (m *Trust) GetTrustDirection() Trust_TrustDirection

func (*Trust) GetTrustHandshakeSecret

func (m *Trust) GetTrustHandshakeSecret() string

func (*Trust) GetTrustType

func (m *Trust) GetTrustType() Trust_TrustType

func (*Trust) GetUpdateTime

func (m *Trust) GetUpdateTime() *timestamp.Timestamp

func (*Trust) ProtoMessage

func (*Trust) ProtoMessage()

func (*Trust) Reset

func (m *Trust) Reset()

func (*Trust) String

func (m *Trust) String() string

func (*Trust) XXX_DiscardUnknown

func (m *Trust) XXX_DiscardUnknown()

func (*Trust) XXX_Marshal

func (m *Trust) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trust) XXX_Merge

func (m *Trust) XXX_Merge(src proto.Message)

func (*Trust) XXX_Size

func (m *Trust) XXX_Size() int

func (*Trust) XXX_Unmarshal

func (m *Trust) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Trust_State) String

func (x Trust_State) String() string

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) EnumDescriptor

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

func (Trust_TrustDirection) String

func (x Trust_TrustDirection) String() string

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) EnumDescriptor

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

func (Trust_TrustType) String

func (x Trust_TrustType) String() string

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 *field_mask.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain]

func (*UpdateDomainRequest) Descriptor

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

func (*UpdateDomainRequest) GetDomain

func (m *UpdateDomainRequest) GetDomain() *Domain

func (*UpdateDomainRequest) GetUpdateMask

func (m *UpdateDomainRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateDomainRequest) ProtoMessage

func (*UpdateDomainRequest) ProtoMessage()

func (*UpdateDomainRequest) Reset

func (m *UpdateDomainRequest) Reset()

func (*UpdateDomainRequest) String

func (m *UpdateDomainRequest) String() string

func (*UpdateDomainRequest) XXX_DiscardUnknown

func (m *UpdateDomainRequest) XXX_DiscardUnknown()

func (*UpdateDomainRequest) XXX_Marshal

func (m *UpdateDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDomainRequest) XXX_Merge

func (m *UpdateDomainRequest) XXX_Merge(src proto.Message)

func (*UpdateDomainRequest) XXX_Size

func (m *UpdateDomainRequest) XXX_Size() int

func (*UpdateDomainRequest) XXX_Unmarshal

func (m *UpdateDomainRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request message for [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust]

func (*ValidateTrustRequest) Descriptor

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

func (*ValidateTrustRequest) GetName

func (m *ValidateTrustRequest) GetName() string

func (*ValidateTrustRequest) GetTrust

func (m *ValidateTrustRequest) GetTrust() *Trust

func (*ValidateTrustRequest) ProtoMessage

func (*ValidateTrustRequest) ProtoMessage()

func (*ValidateTrustRequest) Reset

func (m *ValidateTrustRequest) Reset()

func (*ValidateTrustRequest) String

func (m *ValidateTrustRequest) String() string

func (*ValidateTrustRequest) XXX_DiscardUnknown

func (m *ValidateTrustRequest) XXX_DiscardUnknown()

func (*ValidateTrustRequest) XXX_Marshal

func (m *ValidateTrustRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidateTrustRequest) XXX_Merge

func (m *ValidateTrustRequest) XXX_Merge(src proto.Message)

func (*ValidateTrustRequest) XXX_Size

func (m *ValidateTrustRequest) XXX_Size() int

func (*ValidateTrustRequest) XXX_Unmarshal

func (m *ValidateTrustRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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