proto

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 21 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountJSONMarshaler = new(jsonpb.Marshaler)

AccountJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Account. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var AccountJSONUnmarshaler = new(jsonpb.Unmarshaler)

AccountJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Account. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var AddMemberRequestJSONMarshaler = new(jsonpb.Marshaler)

AddMemberRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of AddMemberRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var AddMemberRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

AddMemberRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of AddMemberRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var CreateAccountRequestJSONMarshaler = new(jsonpb.Marshaler)

CreateAccountRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of CreateAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var CreateAccountRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

CreateAccountRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of CreateAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var CreateGroupRequestJSONMarshaler = new(jsonpb.Marshaler)

CreateGroupRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of CreateGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var CreateGroupRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

CreateGroupRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of CreateGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var DeleteAccountRequestJSONMarshaler = new(jsonpb.Marshaler)

DeleteAccountRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of DeleteAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var DeleteAccountRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

DeleteAccountRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of DeleteAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var DeleteGroupRequestJSONMarshaler = new(jsonpb.Marshaler)

DeleteGroupRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of DeleteGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var DeleteGroupRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

DeleteGroupRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of DeleteGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var File_accounts_proto protoreflect.FileDescriptor
View Source
var GetAccountRequestJSONMarshaler = new(jsonpb.Marshaler)

GetAccountRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var GetAccountRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

GetAccountRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var GetGroupRequestJSONMarshaler = new(jsonpb.Marshaler)

GetGroupRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var GetGroupRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

GetGroupRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var GroupJSONMarshaler = new(jsonpb.Marshaler)

GroupJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Group. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var GroupJSONUnmarshaler = new(jsonpb.Unmarshaler)

GroupJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Group. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var IdentitiesJSONMarshaler = new(jsonpb.Marshaler)

IdentitiesJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Identities. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var IdentitiesJSONUnmarshaler = new(jsonpb.Unmarshaler)

IdentitiesJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Identities. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListAccountsRequestJSONMarshaler = new(jsonpb.Marshaler)

ListAccountsRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListAccountsRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListAccountsRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListAccountsRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListAccountsRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListAccountsResponseJSONMarshaler = new(jsonpb.Marshaler)

ListAccountsResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListAccountsResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListAccountsResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListAccountsResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListAccountsResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListGroupsRequestJSONMarshaler = new(jsonpb.Marshaler)

ListGroupsRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListGroupsRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListGroupsRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListGroupsRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListGroupsRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListGroupsResponseJSONMarshaler = new(jsonpb.Marshaler)

ListGroupsResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListGroupsResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListGroupsResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListGroupsResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListGroupsResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListMembersRequestJSONMarshaler = new(jsonpb.Marshaler)

ListMembersRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListMembersRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListMembersRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListMembersRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListMembersRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListMembersResponseJSONMarshaler = new(jsonpb.Marshaler)

ListMembersResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListMembersResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListMembersResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListMembersResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListMembersResponse. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var OnPremisesProvisioningErrorJSONMarshaler = new(jsonpb.Marshaler)

OnPremisesProvisioningErrorJSONMarshaler describes the default jsonpb.Marshaler used by all instances of OnPremisesProvisioningError. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var OnPremisesProvisioningErrorJSONUnmarshaler = new(jsonpb.Unmarshaler)

OnPremisesProvisioningErrorJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of OnPremisesProvisioningError. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var PasswordProfileJSONMarshaler = new(jsonpb.Marshaler)

PasswordProfileJSONMarshaler describes the default jsonpb.Marshaler used by all instances of PasswordProfile. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var PasswordProfileJSONUnmarshaler = new(jsonpb.Unmarshaler)

PasswordProfileJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of PasswordProfile. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var RemoveMemberRequestJSONMarshaler = new(jsonpb.Marshaler)

RemoveMemberRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of RemoveMemberRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var RemoveMemberRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

RemoveMemberRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of RemoveMemberRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UpdateAccountRequestJSONMarshaler = new(jsonpb.Marshaler)

UpdateAccountRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of UpdateAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UpdateAccountRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

UpdateAccountRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of UpdateAccountRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UpdateGroupRequestJSONMarshaler = new(jsonpb.Marshaler)

UpdateGroupRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of UpdateGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UpdateGroupRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)

UpdateGroupRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of UpdateGroupRequest. This struct is safe to replace or modify but should not be done so concurrently.

Functions

func NewAccountsServiceEndpoints added in v0.2.0

func NewAccountsServiceEndpoints() []*api.Endpoint

func NewGroupsServiceEndpoints added in v0.2.0

func NewGroupsServiceEndpoints() []*api.Endpoint

func RegisterAccountsServiceHandler added in v0.2.0

func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler, opts ...server.HandlerOption) error

func RegisterAccountsServiceWeb added in v0.2.0

func RegisterAccountsServiceWeb(r chi.Router, i AccountsServiceHandler, middlewares ...func(http.Handler) http.Handler)

func RegisterGroupsServiceHandler added in v0.2.0

func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, opts ...server.HandlerOption) error

func RegisterGroupsServiceWeb added in v0.2.0

func RegisterGroupsServiceWeb(r chi.Router, i GroupsServiceHandler, middlewares ...func(http.Handler) http.Handler)

Types

type Account

type Account struct {

	// The unique identifier for the user. Key. Not nullable. Non reassignable. Read-only.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// *true* if the account is enabled; otherwise, *false*. This property is required when a user is created. Supports $filter.
	AccountEnabled bool `protobuf:"varint,2,opt,name=account_enabled,json=accountEnabled,proto3" json:"account_enabled,omitempty"`
	// A resource account is also known as a /disabled user object/ in Azure AD, and can be used to represent resources in general.
	// In Exchange it might be used to represent conference rooms, for example, and allow them to have a phone number.
	// You could give printers or machines with a sync client resource accounts as well.
	// A resource account can be homed in Microsoft 365 or on premises using Skype for Business Server 2019.
	// *true* if the user is a resource account; otherwise, *false*. Null value should be considered false.
	IsResourceAccount bool `protobuf:"varint,3,opt,name=is_resource_account,json=isResourceAccount,proto3" json:"is_resource_account,omitempty"`
	// Indicates whether the account was created as
	// - a regular school or work account ("" / emptystring),
	// - a local account, fully managed by ocis (LocalAccount), includes synced accounts or
	// - an external account (Invitation),
	// - self-service sign-up using email verification (EmailVerified). Read-only.
	CreationType string `protobuf:"bytes,4,opt,name=creation_type,json=creationType,proto3" json:"creation_type,omitempty"`
	// Represents the identities that can be used to sign in to this account.
	// An identity can be provided by OCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
	// May contain multiple items with the same signInType value. Supports $filter.
	Identities []*Identities `protobuf:"bytes,5,rep,name=identities,proto3" json:"identities,omitempty"`
	// The name displayed in the address book for the account.
	// This is usually the combination of the user's first name, middle initial and last name.
	// This property is required when a user is created and it cannot be cleared during updates.
	// Supports $filter and $orderby.
	// posixaccount MUST cn
	DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The username
	// posixaccount MUST uid
	PreferredName string `protobuf:"bytes,7,opt,name=preferred_name,json=preferredName,proto3" json:"preferred_name,omitempty"`
	// TODO rename to on_premise_? or move to extension? see https://docs.microsoft.com/en-us/graph/extensibility-open-users
	// used for exposing the user using ldap
	// posixaccount MUST uidnumber
	UidNumber int64 `protobuf:"varint,8,opt,name=uid_number,json=uidNumber,proto3" json:"uid_number,omitempty"`
	// used for exposing the user using ldap
	// posixaccount MUST gidnumber
	GidNumber int64 `protobuf:"varint,9,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"`
	// The SMTP address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only. Supports $filter.
	// inetorgperson MAY mail
	Mail string `protobuf:"bytes,10,opt,name=mail,proto3" json:"mail,omitempty"`
	// A description, useful for resource accounts
	// posixaccount MAY description
	Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	// Specifies the password profile for the user.
	// The profile contains the user’s password. This property is required when a user is created.
	// The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property.
	// By default, a strong password is required.
	// posixaccount MAY authPassword
	PasswordProfile *PasswordProfile `protobuf:"bytes,12,opt,name=password_profile,json=passwordProfile,proto3" json:"password_profile,omitempty"`
	// The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.
	// should we only respond with repeated strings of ids? no clients should a proper filter mask!
	MemberOf []*Group `protobuf:"bytes,13,rep,name=memberOf,proto3" json:"memberOf,omitempty"`
	// The created date of the account object.
	CreatedDateTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=created_date_time,json=createdDateTime,proto3" json:"created_date_time,omitempty"`
	// The date and time the user was deleted. Returned only on $select.
	DeletedDateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=deleted_date_time,json=deletedDateTime,proto3" json:"deleted_date_time,omitempty"`
	// *true* if this object is synced from an on-premises directory;
	// *false* if this object was originally synced from an on-premises directory but is no longer synced;
	// null if this object has never been synced from an on-premises directory (default). Read-only
	OnPremisesSyncEnabled bool `` /* 130-byte string literal not displayed */
	// This property is used to associate an on-premises LDAP user to the ocis account object.
	// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
	// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
	OnPremisesImmutableId string `` /* 129-byte string literal not displayed */
	// Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.
	OnPremisesSecurityIdentifier string `` /* 150-byte string literal not displayed */
	// Contains the on-premises LDAP `distinguished name` or `DN`.
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
	OnPremisesDistinguishedName string `` /* 147-byte string literal not displayed */
	// Contains the on-premises `samAccountName` synchronized from the on-premises directory.
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
	OnPremisesSamAccountName string `` /* 140-byte string literal not displayed */
	// Contains the on-premises `domainFQDN`, also called `dnsDomainName` synchronized from the on-premises directory
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
	OnPremisesDomainName string `` /* 126-byte string literal not displayed */
	// Contains the on-premises userPrincipalName synchronized from the on-premises directory.
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
	OnPremisesUserPrincipalName string `` /* 149-byte string literal not displayed */
	// Indicates the last time at which the object was synced with the on-premises directory; Read-only.
	OnPremisesLastSyncDateTime *timestamp.Timestamp `` /* 148-byte string literal not displayed */
	// Errors when using synchronization during provisioning.
	OnPremisesProvisioningErrors []*OnPremisesProvisioningError `` /* 150-byte string literal not displayed */
	// For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.
	// For invited users, the state can be `PendingAcceptance` or `Accepted`, or "" / emptystring for all other users.
	// Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.
	ExternalUserState string `protobuf:"bytes,40,opt,name=external_user_state,json=externalUserState,proto3" json:"external_user_state,omitempty"`
	// Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.
	ExternalUserStateChangeDateTime *timestamp.Timestamp `` /* 163-byte string literal not displayed */
	// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
	// an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
	// If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
	// Returned only on $select. Read-only. Use invalidateAllRefreshTokens to reset.
	RefreshTokensValidFromDateTime *timestamp.Timestamp `` /* 160-byte string literal not displayed */
	// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
	// an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
	// If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
	// Read-only. Use revokeSignInSessions to reset.
	SignInSessionsValidFromDateTime *timestamp.Timestamp `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

Account follows the properties of the ms graph api user resuorce. See https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountEnabled added in v0.2.0

func (x *Account) GetAccountEnabled() bool

func (*Account) GetCreatedDateTime added in v0.2.0

func (x *Account) GetCreatedDateTime() *timestamp.Timestamp

func (*Account) GetCreationType added in v0.2.0

func (x *Account) GetCreationType() string

func (*Account) GetDeletedDateTime added in v0.2.0

func (x *Account) GetDeletedDateTime() *timestamp.Timestamp

func (*Account) GetDescription added in v0.2.0

func (x *Account) GetDescription() string

func (*Account) GetDisplayName added in v0.2.0

func (x *Account) GetDisplayName() string

func (*Account) GetExternalUserState added in v0.2.0

func (x *Account) GetExternalUserState() string

func (*Account) GetExternalUserStateChangeDateTime added in v0.2.0

func (x *Account) GetExternalUserStateChangeDateTime() *timestamp.Timestamp

func (*Account) GetGidNumber added in v0.2.0

func (x *Account) GetGidNumber() int64

func (*Account) GetId added in v0.2.0

func (x *Account) GetId() string

func (*Account) GetIdentities

func (x *Account) GetIdentities() []*Identities

func (*Account) GetIsResourceAccount added in v0.2.0

func (x *Account) GetIsResourceAccount() bool

func (*Account) GetMail added in v0.2.0

func (x *Account) GetMail() string

func (*Account) GetMemberOf added in v0.2.0

func (x *Account) GetMemberOf() []*Group

func (*Account) GetOnPremisesDistinguishedName added in v0.2.0

func (x *Account) GetOnPremisesDistinguishedName() string

func (*Account) GetOnPremisesDomainName added in v0.2.0

func (x *Account) GetOnPremisesDomainName() string

func (*Account) GetOnPremisesImmutableId added in v0.2.0

func (x *Account) GetOnPremisesImmutableId() string

func (*Account) GetOnPremisesLastSyncDateTime added in v0.2.0

func (x *Account) GetOnPremisesLastSyncDateTime() *timestamp.Timestamp

func (*Account) GetOnPremisesProvisioningErrors added in v0.2.0

func (x *Account) GetOnPremisesProvisioningErrors() []*OnPremisesProvisioningError

func (*Account) GetOnPremisesSamAccountName added in v0.2.0

func (x *Account) GetOnPremisesSamAccountName() string

func (*Account) GetOnPremisesSecurityIdentifier added in v0.2.0

func (x *Account) GetOnPremisesSecurityIdentifier() string

func (*Account) GetOnPremisesSyncEnabled added in v0.2.0

func (x *Account) GetOnPremisesSyncEnabled() bool

func (*Account) GetOnPremisesUserPrincipalName added in v0.2.0

func (x *Account) GetOnPremisesUserPrincipalName() string

func (*Account) GetPasswordProfile added in v0.2.0

func (x *Account) GetPasswordProfile() *PasswordProfile

func (*Account) GetPreferredName added in v0.2.0

func (x *Account) GetPreferredName() string

func (*Account) GetRefreshTokensValidFromDateTime added in v0.2.0

func (x *Account) GetRefreshTokensValidFromDateTime() *timestamp.Timestamp

func (*Account) GetSignInSessionsValidFromDateTime added in v0.2.0

func (x *Account) GetSignInSessionsValidFromDateTime() *timestamp.Timestamp

func (*Account) GetUidNumber added in v0.2.0

func (x *Account) GetUidNumber() int64

func (*Account) MarshalJSON added in v0.2.0

func (m *Account) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v0.2.0

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

func (*Account) UnmarshalJSON added in v0.2.0

func (m *Account) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type AccountsService added in v0.2.0

type AccountsService interface {
	// Lists accounts
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error)
	// Gets an account
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error)
	// Creates an account
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error)
	// Updates an account
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)
	// Deletes an account
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)
}

func NewAccountsService added in v0.2.0

func NewAccountsService(name string, c client.Client) AccountsService

type AccountsServiceHandler added in v0.2.0

type AccountsServiceHandler interface {
	// Lists accounts
	ListAccounts(context.Context, *ListAccountsRequest, *ListAccountsResponse) error
	// Gets an account
	GetAccount(context.Context, *GetAccountRequest, *Account) error
	// Creates an account
	CreateAccount(context.Context, *CreateAccountRequest, *Account) error
	// Updates an account
	UpdateAccount(context.Context, *UpdateAccountRequest, *Account) error
	// Deletes an account
	DeleteAccount(context.Context, *DeleteAccountRequest, *empty.Empty) error
}

type AddMemberRequest added in v0.2.0

type AddMemberRequest struct {

	// The id of the group to add a member to
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The account id to add
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddMemberRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead.

func (*AddMemberRequest) GetAccountId added in v0.2.0

func (x *AddMemberRequest) GetAccountId() string

func (*AddMemberRequest) GetGroupId added in v0.2.0

func (x *AddMemberRequest) GetGroupId() string

func (*AddMemberRequest) MarshalJSON added in v0.2.0

func (m *AddMemberRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*AddMemberRequest) ProtoMessage added in v0.2.0

func (*AddMemberRequest) ProtoMessage()

func (*AddMemberRequest) ProtoReflect added in v0.2.0

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

func (*AddMemberRequest) Reset added in v0.2.0

func (x *AddMemberRequest) Reset()

func (*AddMemberRequest) String added in v0.2.0

func (x *AddMemberRequest) String() string

func (*AddMemberRequest) UnmarshalJSON added in v0.2.0

func (m *AddMemberRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type BleveAccount added in v0.2.0

type BleveAccount struct {
	Account
	BleveType string `json:"bleve_type"`
}

BleveAccount wraps the generated Account and adds a bleve type that is used to distinguish documents in the index

type BleveGroup added in v0.2.0

type BleveGroup struct {
	Group
	BleveType string `json:"bleve_type"`
}

BleveGroup wraps the generated Group and adds a bleve type that is used to distinguish documents in the index

type CreateAccountRequest added in v0.2.0

type CreateAccountRequest struct {

	// The account resource to create
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAccount added in v0.2.0

func (x *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) MarshalJSON added in v0.2.0

func (m *CreateAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*CreateAccountRequest) ProtoMessage added in v0.2.0

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect added in v0.2.0

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

func (*CreateAccountRequest) Reset added in v0.2.0

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String added in v0.2.0

func (x *CreateAccountRequest) String() string

func (*CreateAccountRequest) UnmarshalJSON added in v0.2.0

func (m *CreateAccountRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type CreateGroupRequest added in v0.2.0

type CreateGroupRequest struct {

	// The account resource to create
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetGroup added in v0.2.0

func (x *CreateGroupRequest) GetGroup() *Group

func (*CreateGroupRequest) MarshalJSON added in v0.2.0

func (m *CreateGroupRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*CreateGroupRequest) ProtoMessage added in v0.2.0

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect added in v0.2.0

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

func (*CreateGroupRequest) Reset added in v0.2.0

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String added in v0.2.0

func (x *CreateGroupRequest) String() string

func (*CreateGroupRequest) UnmarshalJSON added in v0.2.0

func (m *CreateGroupRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type DeleteAccountRequest added in v0.2.0

type DeleteAccountRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetId added in v0.2.0

func (x *DeleteAccountRequest) GetId() string

func (*DeleteAccountRequest) MarshalJSON added in v0.2.0

func (m *DeleteAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*DeleteAccountRequest) ProtoMessage added in v0.2.0

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect added in v0.2.0

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

func (*DeleteAccountRequest) Reset added in v0.2.0

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String added in v0.2.0

func (x *DeleteAccountRequest) String() string

func (*DeleteAccountRequest) UnmarshalJSON added in v0.2.0

func (m *DeleteAccountRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type DeleteGroupRequest added in v0.2.0

type DeleteGroupRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGroupRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetId added in v0.2.0

func (x *DeleteGroupRequest) GetId() string

func (*DeleteGroupRequest) MarshalJSON added in v0.2.0

func (m *DeleteGroupRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*DeleteGroupRequest) ProtoMessage added in v0.2.0

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect added in v0.2.0

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

func (*DeleteGroupRequest) Reset added in v0.2.0

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String added in v0.2.0

func (x *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) UnmarshalJSON added in v0.2.0

func (m *DeleteGroupRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type GetAccountRequest added in v0.2.0

type GetAccountRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetId added in v0.2.0

func (x *GetAccountRequest) GetId() string

func (*GetAccountRequest) MarshalJSON added in v0.2.0

func (m *GetAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*GetAccountRequest) ProtoMessage added in v0.2.0

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect added in v0.2.0

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

func (*GetAccountRequest) Reset added in v0.2.0

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String added in v0.2.0

func (x *GetAccountRequest) String() string

func (*GetAccountRequest) UnmarshalJSON added in v0.2.0

func (m *GetAccountRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type GetGroupRequest added in v0.2.0

type GetGroupRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetId added in v0.2.0

func (x *GetGroupRequest) GetId() string

func (*GetGroupRequest) MarshalJSON added in v0.2.0

func (m *GetGroupRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*GetGroupRequest) ProtoMessage added in v0.2.0

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect added in v0.2.0

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

func (*GetGroupRequest) Reset added in v0.2.0

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String added in v0.2.0

func (x *GetGroupRequest) String() string

func (*GetGroupRequest) UnmarshalJSON added in v0.2.0

func (m *GetGroupRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Group added in v0.2.0

type Group struct {

	// The unique identifier for the group.
	// Returned by default. Inherited from directoryObject. Key. Not nullable. Read-only.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name for the group. This property is required when a group is created and cannot be cleared during updates.
	// Returned by default. Supports $filter and $orderby.
	// groupofnames MUST cn
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // groupofnames MUST/MAY member
	// Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable.
	// TODO accounts (users) only for now, we can add groups with the dedicated message using oneof construct later
	Members []*Account `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// groupofnames MAY businessCategory
	// groupofnames MAY o
	// groupofnames MAY ou
	// groupofnames MAY owner, SINGLE-VALUE but there might be multiple owners
	Owners []*Account `protobuf:"bytes,4,rep,name=owners,proto3" json:"owners,omitempty"`
	// An optional description for the group. Returned by default.
	// groupofnames MAY description
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// used for exposing the user using ldap
	// posixgroup MUST gidnumber
	GidNumber int64 `protobuf:"varint,6,opt,name=gid_number,json=gidNumber,proto3" json:"gid_number,omitempty"`
	// Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created
	// Returned by default. Read-only.
	CreatedDateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_date_time,json=createdDateTime,proto3" json:"created_date_time,omitempty"`
	// For some Azure Active Directory objects (user, group, application), if the object is deleted, it is first logically deleted, and this property is updated with the date and time when the object was deleted. Otherwise this property is null. If the object is restored, this property is updated to null.
	// Returned by default. Read-only.
	DeletedDateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=deleted_date_time,json=deletedDateTime,proto3" json:"deleted_date_time,omitempty"`
	// Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created.
	// Returned by default. Read-only.
	ExpirationDateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=expiration_date_time,json=expirationDateTime,proto3" json:"expiration_date_time,omitempty"`
	// True if the group is not displayed in certain parts of the Outlook user interface:
	// in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false.
	// Returned only on $select.
	HideFromAddressLists bool `` /* 127-byte string literal not displayed */
	// 	Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.
	// Visibility can be set only when a group is created; it is not editable.
	// Returned by default.
	Visibility string `protobuf:"bytes,11,opt,name=visibility,proto3" json:"visibility,omitempty"`
	// *true* if this group is synced from an on-premises directory;
	// *false* if this group was originally synced from an on-premises directory but is no longer synced;
	// null if this object has never been synced from an on-premises directory (default).
	// Returned by default. Read-only. Supports $filter.
	OnPremisesSyncEnabled bool `` /* 130-byte string literal not displayed */
	// This property is used to associate an on-premises LDAP user to the ocis account object.
	// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
	// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
	OnPremisesImmutableId string `` /* 129-byte string literal not displayed */
	// Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.
	OnPremisesSecurityIdentifier string `` /* 150-byte string literal not displayed */
	// Contains the on-premises LDAP `distinguished name` or `DN`.
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
	OnPremisesDistinguishedName string `` /* 147-byte string literal not displayed */
	// Contains the on-premises `samAccountName` synchronized from the on-premises directory.
	// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Returned by default. Read-only.
	OnPremisesSamAccountName string `` /* 140-byte string literal not displayed */
	// Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
	// Returned by default. Read-only.
	OnPremisesDomainName string `` /* 126-byte string literal not displayed */
	// 	Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
	// Returned by default. Read-only.
	OnPremisesNetBiosName string `` /* 131-byte string literal not displayed */
	// Indicates the last time at which the group was synced with the on-premises directory.
	// Returned by default. Read-only. Supports $filter.
	OnPremisesLastSyncDateTime string `` /* 148-byte string literal not displayed */
	// Errors when using synchronization during provisioning.
	OnPremisesProvisioningErrors []*OnPremisesProvisioningError `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetCreatedDateTime added in v0.2.0

func (x *Group) GetCreatedDateTime() *timestamp.Timestamp

func (*Group) GetDeletedDateTime added in v0.2.0

func (x *Group) GetDeletedDateTime() *timestamp.Timestamp

func (*Group) GetDescription added in v0.2.0

func (x *Group) GetDescription() string

func (*Group) GetDisplayName added in v0.2.0

func (x *Group) GetDisplayName() string

func (*Group) GetExpirationDateTime added in v0.2.0

func (x *Group) GetExpirationDateTime() *timestamp.Timestamp

func (*Group) GetGidNumber added in v0.2.0

func (x *Group) GetGidNumber() int64

func (*Group) GetHideFromAddressLists added in v0.2.0

func (x *Group) GetHideFromAddressLists() bool

func (*Group) GetId added in v0.2.0

func (x *Group) GetId() string

func (*Group) GetMembers added in v0.2.0

func (x *Group) GetMembers() []*Account

func (*Group) GetOnPremisesDistinguishedName added in v0.2.0

func (x *Group) GetOnPremisesDistinguishedName() string

func (*Group) GetOnPremisesDomainName added in v0.2.0

func (x *Group) GetOnPremisesDomainName() string

func (*Group) GetOnPremisesImmutableId added in v0.2.0

func (x *Group) GetOnPremisesImmutableId() string

func (*Group) GetOnPremisesLastSyncDateTime added in v0.2.0

func (x *Group) GetOnPremisesLastSyncDateTime() string

func (*Group) GetOnPremisesNetBiosName added in v0.2.0

func (x *Group) GetOnPremisesNetBiosName() string

func (*Group) GetOnPremisesProvisioningErrors added in v0.2.0

func (x *Group) GetOnPremisesProvisioningErrors() []*OnPremisesProvisioningError

func (*Group) GetOnPremisesSamAccountName added in v0.2.0

func (x *Group) GetOnPremisesSamAccountName() string

func (*Group) GetOnPremisesSecurityIdentifier added in v0.2.0

func (x *Group) GetOnPremisesSecurityIdentifier() string

func (*Group) GetOnPremisesSyncEnabled added in v0.2.0

func (x *Group) GetOnPremisesSyncEnabled() bool

func (*Group) GetOwners added in v0.2.0

func (x *Group) GetOwners() []*Account

func (*Group) GetVisibility added in v0.2.0

func (x *Group) GetVisibility() string

func (*Group) MarshalJSON added in v0.2.0

func (m *Group) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Group) ProtoMessage added in v0.2.0

func (*Group) ProtoMessage()

func (*Group) ProtoReflect added in v0.2.0

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

func (*Group) Reset added in v0.2.0

func (x *Group) Reset()

func (*Group) String added in v0.2.0

func (x *Group) String() string

func (*Group) UnmarshalJSON added in v0.2.0

func (m *Group) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type GroupsService added in v0.2.0

type GroupsService interface {
	// Lists groups
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error)
	// Gets an groups
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*Group, error)
	// Creates a group
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*Group, error)
	// Updates a group
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*Group, error)
	// Deletes a group
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*empty.Empty, error)
	// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
	AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*Group, error)
	// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
	RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*Group, error)
	// group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
	ListMembers(ctx context.Context, in *ListMembersRequest, opts ...client.CallOption) (*ListMembersResponse, error)
}

func NewGroupsService added in v0.2.0

func NewGroupsService(name string, c client.Client) GroupsService

type Identities added in v0.2.0

type Identities struct {

	// Specifies the user sign-in types in your directory, such as `emailAddress`, `userName` or `federated`.
	// Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer.
	// Additional validation is enforced on *issuer_assigned_id* when the sign-in type is set to `emailAddress` or `userName`.
	// This property can also be set to any custom string.
	SignInType string `protobuf:"bytes,1,opt,name=sign_in_type,json=signInType,proto3" json:"sign_in_type,omitempty"`
	// Specifies the issuer of the identity, for example facebook.com.
	// For local accounts (where signInType is not federated), this property is
	// the local B2C tenant default domain name, for example contoso.onmicrosoft.com.
	// For external users from other Azure AD organization, this will be the domain of
	// the federated organization, for example contoso.com.
	// Supports $filter. 512 character limit.
	Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Specifies the unique identifier assigned to the user by the issuer. The combination of *issuer* and *issuerAssignedId* must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).
	// When *signInType* is set to:
	// * `emailAddress`, (or starts with `emailAddress` like `emailAddress1`) *issuerAssignedId* must be a valid email address
	// * `userName`, issuer_assigned_id must be a valid local part of an email address
	// Supports $filter. 512 character limit.
	IssuerAssignedId string `protobuf:"bytes,3,opt,name=issuer_assigned_id,json=issuerAssignedId,proto3" json:"issuer_assigned_id,omitempty"`
	// contains filtered or unexported fields
}

Identities Represents an identity used to sign in to a user account. An identity can be provided by ocis, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account. This enables the user to sign in to the user account with any of those associated identities. They are also used to keep a history of old usernames.

func (*Identities) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Identities.ProtoReflect.Descriptor instead.

func (*Identities) GetIssuer added in v0.2.0

func (x *Identities) GetIssuer() string

func (*Identities) GetIssuerAssignedId added in v0.2.0

func (x *Identities) GetIssuerAssignedId() string

func (*Identities) GetSignInType added in v0.2.0

func (x *Identities) GetSignInType() string

func (*Identities) MarshalJSON added in v0.2.0

func (m *Identities) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Identities) ProtoMessage added in v0.2.0

func (*Identities) ProtoMessage()

func (*Identities) ProtoReflect added in v0.2.0

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

func (*Identities) Reset added in v0.2.0

func (x *Identities) Reset()

func (*Identities) String added in v0.2.0

func (x *Identities) String() string

func (*Identities) UnmarshalJSON added in v0.2.0

func (m *Identities) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListAccountsRequest added in v0.2.0

type ListAccountsRequest struct {

	// Optional. The maximum number of accounts to return in the response
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A pagination token returned from a previous call to `Get`
	// that indicates from where search should continue
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Used to specify a subset of fields that should be
	// returned by a get operation or modified by an update operation.
	FieldMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// Optional. Search criteria used to select the accounts to return.
	// If no search criteria is specified then all accounts will be
	// returned
	//
	// TODO update query language
	// Query expressions can be used to restrict results based upon
	// the account properties where the operators `=`, `NOT`, `AND` and `OR`
	// can be used along with the suffix wildcard symbol `*`.
	//
	// The string properties in a query expression should use escaped quotes
	// for values that include whitespace to prevent unexpected behavior.
	//
	// Some example queries are:
	//
	// * Query `display_name=Th*` returns accounts whose display_name
	// starts with "Th"
	// * Query `email=foo@example.com` returns accounts with
	// `email` set to `foo@example.com`
	// * Query `display_name=\\"Test String\\"` returns accounts with
	// display names that include both "Test" and "String"
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccountsRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) GetFieldMask added in v0.2.0

func (x *ListAccountsRequest) GetFieldMask() *field_mask.FieldMask

func (*ListAccountsRequest) GetPageSize added in v0.2.0

func (x *ListAccountsRequest) GetPageSize() int32

func (*ListAccountsRequest) GetPageToken added in v0.2.0

func (x *ListAccountsRequest) GetPageToken() string

func (*ListAccountsRequest) GetQuery added in v0.2.0

func (x *ListAccountsRequest) GetQuery() string

func (*ListAccountsRequest) MarshalJSON added in v0.2.0

func (m *ListAccountsRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListAccountsRequest) ProtoMessage added in v0.2.0

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect added in v0.2.0

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

func (*ListAccountsRequest) Reset added in v0.2.0

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String added in v0.2.0

func (x *ListAccountsRequest) String() string

func (*ListAccountsRequest) UnmarshalJSON added in v0.2.0

func (m *ListAccountsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListAccountsResponse added in v0.2.0

type ListAccountsResponse struct {

	// The field name should match the noun "accounts" in the method name.  There
	// will be a maximum number of items returned based on the page_size field
	// in the request
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

func (*ListAccountsResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListAccountsResponse) GetAccounts added in v0.2.0

func (x *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) GetNextPageToken added in v0.2.0

func (x *ListAccountsResponse) GetNextPageToken() string

func (*ListAccountsResponse) MarshalJSON added in v0.2.0

func (m *ListAccountsResponse) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListAccountsResponse) ProtoMessage added in v0.2.0

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) ProtoReflect added in v0.2.0

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

func (*ListAccountsResponse) Reset added in v0.2.0

func (x *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String added in v0.2.0

func (x *ListAccountsResponse) String() string

func (*ListAccountsResponse) UnmarshalJSON added in v0.2.0

func (m *ListAccountsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListGroupsRequest added in v0.2.0

type ListGroupsRequest struct {

	// Optional. The maximum number of groups to return in the response
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A pagination token returned from a previous call to `Get`
	// that indicates from where search should continue
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Used to specify a subset of fields that should be
	// returned by a get operation or modified by an update operation.
	FieldMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// Optional. Search criteria used to select the groups to return.
	// If no search criteria is specified then all groups will be
	// returned
	//
	// TODO update query language
	// Query expressions can be used to restrict results based upon
	// the account properties where the operators `=`, `NOT`, `AND` and `OR`
	// can be used along with the suffix wildcard symbol `*`.
	//
	// The string properties in a query expression should use escaped quotes
	// for values that include whitespace to prevent unexpected behavior.
	//
	// Some example queries are:
	//
	// * Query `display_name=Th*` returns accounts whose display_name
	// starts with "Th"
	// * Query `display_name=\\"Test String\\"` returns groups with
	// display names that include both "Test" and "String"
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupsRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetFieldMask added in v0.2.0

func (x *ListGroupsRequest) GetFieldMask() *field_mask.FieldMask

func (*ListGroupsRequest) GetPageSize added in v0.2.0

func (x *ListGroupsRequest) GetPageSize() int32

func (*ListGroupsRequest) GetPageToken added in v0.2.0

func (x *ListGroupsRequest) GetPageToken() string

func (*ListGroupsRequest) GetQuery added in v0.2.0

func (x *ListGroupsRequest) GetQuery() string

func (*ListGroupsRequest) MarshalJSON added in v0.2.0

func (m *ListGroupsRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListGroupsRequest) ProtoMessage added in v0.2.0

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect added in v0.2.0

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

func (*ListGroupsRequest) Reset added in v0.2.0

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String added in v0.2.0

func (x *ListGroupsRequest) String() string

func (*ListGroupsRequest) UnmarshalJSON added in v0.2.0

func (m *ListGroupsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListGroupsResponse added in v0.2.0

type ListGroupsResponse struct {

	// The field name should match the noun "group" in the method name.  There
	// will be a maximum number of items returned based on the page_size field
	// in the request
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

func (*ListGroupsResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups added in v0.2.0

func (x *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) GetNextPageToken added in v0.2.0

func (x *ListGroupsResponse) GetNextPageToken() string

func (*ListGroupsResponse) MarshalJSON added in v0.2.0

func (m *ListGroupsResponse) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListGroupsResponse) ProtoMessage added in v0.2.0

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect added in v0.2.0

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

func (*ListGroupsResponse) Reset added in v0.2.0

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String added in v0.2.0

func (x *ListGroupsResponse) String() string

func (*ListGroupsResponse) UnmarshalJSON added in v0.2.0

func (m *ListGroupsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListMembersRequest added in v0.2.0

type ListMembersRequest struct {
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A pagination token returned from a previous call to `Get`
	// that indicates from where search should continue
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Used to specify a subset of fields that should be
	// returned by a get operation or modified by an update operation.
	FieldMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// Optional. Search criteria used to select the groups to return.
	// If no search criteria is specified then all groups will be
	// returned
	//
	// TODO update query language
	// Query expressions can be used to restrict results based upon
	// the account properties where the operators `=`, `NOT`, `AND` and `OR`
	// can be used along with the suffix wildcard symbol `*`.
	//
	// The string properties in a query expression should use escaped quotes
	// for values that include whitespace to prevent unexpected behavior.
	//
	// Some example queries are:
	//
	// * Query `display_name=Th*` returns accounts whose display_name
	// starts with "Th"
	// * Query `display_name=\\"Test String\\"` returns groups with
	// display names that include both "Test" and "String"
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// The id of the group to list members from
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMembersRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListMembersRequest.ProtoReflect.Descriptor instead.

func (*ListMembersRequest) GetFieldMask added in v0.2.0

func (x *ListMembersRequest) GetFieldMask() *field_mask.FieldMask

func (*ListMembersRequest) GetId added in v0.2.0

func (x *ListMembersRequest) GetId() string

func (*ListMembersRequest) GetPageSize added in v0.2.0

func (x *ListMembersRequest) GetPageSize() int32

func (*ListMembersRequest) GetPageToken added in v0.2.0

func (x *ListMembersRequest) GetPageToken() string

func (*ListMembersRequest) GetQuery added in v0.2.0

func (x *ListMembersRequest) GetQuery() string

func (*ListMembersRequest) MarshalJSON added in v0.2.0

func (m *ListMembersRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListMembersRequest) ProtoMessage added in v0.2.0

func (*ListMembersRequest) ProtoMessage()

func (*ListMembersRequest) ProtoReflect added in v0.2.0

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

func (*ListMembersRequest) Reset added in v0.2.0

func (x *ListMembersRequest) Reset()

func (*ListMembersRequest) String added in v0.2.0

func (x *ListMembersRequest) String() string

func (*ListMembersRequest) UnmarshalJSON added in v0.2.0

func (m *ListMembersRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListMembersResponse added in v0.2.0

type ListMembersResponse struct {

	// The field name should match the noun "members" in the method name.  There
	// will be a maximum number of items returned based on the page_size field
	// in the request
	Members []*Account `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

func (*ListMembersResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListMembersResponse.ProtoReflect.Descriptor instead.

func (*ListMembersResponse) GetMembers added in v0.2.0

func (x *ListMembersResponse) GetMembers() []*Account

func (*ListMembersResponse) GetNextPageToken added in v0.2.0

func (x *ListMembersResponse) GetNextPageToken() string

func (*ListMembersResponse) MarshalJSON added in v0.2.0

func (m *ListMembersResponse) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListMembersResponse) ProtoMessage added in v0.2.0

func (*ListMembersResponse) ProtoMessage()

func (*ListMembersResponse) ProtoReflect added in v0.2.0

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

func (*ListMembersResponse) Reset added in v0.2.0

func (x *ListMembersResponse) Reset()

func (*ListMembersResponse) String added in v0.2.0

func (x *ListMembersResponse) String() string

func (*ListMembersResponse) UnmarshalJSON added in v0.2.0

func (m *ListMembersResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type MockAccountsService added in v0.2.0

type MockAccountsService struct {
	ListFunc   func(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error)
	GetFunc    func(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error)
	CreateFunc func(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error)
	UpdateFunc func(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)
	DeleteFunc func(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)
}

MockAccountsService can be used to write tests

To creata a mock overwrite the functions of an instance like this:

```go

func mockAccSvc(retErr bool) proto.AccountsService {
	if retErr {
		return &proto.MockAccountsService{
			ListFunc: func(ctx context.Context, in *proto.ListAccountsRequest, opts ...client.CallOption) (out *proto.ListAccountsResponse, err error) {
				return nil, fmt.Errorf("error returned by mockAccountsService LIST")
			},
		}
	}

	return &proto.MockAccountsService{
		ListFunc: func(ctx context.Context, in *proto.ListAccountsRequest, opts ...client.CallOption) (out *proto.ListAccountsResponse, err error) {
			return &proto.ListAccountsResponse{
				Accounts: []*proto.Account{
					{
						Id: "yay",
					},
				},
			}, nil
		},
	}
}

```

func (MockAccountsService) CreateAccount added in v0.2.0

func (m MockAccountsService) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error)

CreateAccount will panic if the function has been called, but not mocked

func (MockAccountsService) DeleteAccount added in v0.2.0

func (m MockAccountsService) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)

DeleteAccount will panic if the function has been called, but not mocked

func (MockAccountsService) GetAccount added in v0.2.0

func (m MockAccountsService) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error)

GetAccount will panic if the function has been called, but not mocked

func (MockAccountsService) ListAccounts added in v0.2.0

ListAccounts will panic if the function has been called, but not mocked

func (MockAccountsService) UpdateAccount added in v0.2.0

func (m MockAccountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)

UpdateAccount will panic if the function has been called, but not mocked

type OnPremisesProvisioningError added in v0.2.0

type OnPremisesProvisioningError struct {

	// Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// The date and time at which the error occurred.
	OccurredDateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=occurred_date_time,json=occurredDateTime,proto3" json:"occurred_date_time,omitempty"`
	// Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress
	PropertyCausingError string `protobuf:"bytes,3,opt,name=property_causing_error,json=propertyCausingError,proto3" json:"property_causing_error,omitempty"`
	// Value of the property causing the error.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*OnPremisesProvisioningError) Descriptor deprecated added in v0.2.0

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

Deprecated: Use OnPremisesProvisioningError.ProtoReflect.Descriptor instead.

func (*OnPremisesProvisioningError) GetCategory added in v0.2.0

func (x *OnPremisesProvisioningError) GetCategory() string

func (*OnPremisesProvisioningError) GetOccurredDateTime added in v0.2.0

func (x *OnPremisesProvisioningError) GetOccurredDateTime() *timestamp.Timestamp

func (*OnPremisesProvisioningError) GetPropertyCausingError added in v0.2.0

func (x *OnPremisesProvisioningError) GetPropertyCausingError() string

func (*OnPremisesProvisioningError) GetValue added in v0.2.0

func (x *OnPremisesProvisioningError) GetValue() string

func (*OnPremisesProvisioningError) MarshalJSON added in v0.2.0

func (m *OnPremisesProvisioningError) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*OnPremisesProvisioningError) ProtoMessage added in v0.2.0

func (*OnPremisesProvisioningError) ProtoMessage()

func (*OnPremisesProvisioningError) ProtoReflect added in v0.2.0

func (*OnPremisesProvisioningError) Reset added in v0.2.0

func (x *OnPremisesProvisioningError) Reset()

func (*OnPremisesProvisioningError) String added in v0.2.0

func (x *OnPremisesProvisioningError) String() string

func (*OnPremisesProvisioningError) UnmarshalJSON added in v0.2.0

func (m *OnPremisesProvisioningError) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type PasswordProfile added in v0.2.0

type PasswordProfile struct {

	//	The password for the user. This property is required when a user is created.
	// It can be updated, but the user will be required to change the password on the next login.
	// The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// The time when this account last changed their password.
	LastPasswordChangeDateTime *timestamp.Timestamp `` /* 145-byte string literal not displayed */
	// Specifies password policies for the user.
	//This value is an enumeration with one possible value being “DisableStrongPassword”, which allows weaker passwords than the default policy to be specified.
	// “DisablePasswordExpiration” can also be specified.
	PasswordPolicies []string `protobuf:"bytes,3,rep,name=password_policies,json=passwordPolicies,proto3" json:"password_policies,omitempty"`
	// *true* if the user must change her password on the next login; otherwise false.
	ForceChangePasswordNextSignIn bool `` /* 157-byte string literal not displayed */
	// If *true*, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
	ForceChangePasswordNextSignInWithMfa bool `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PasswordProfile) Descriptor deprecated added in v0.2.0

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

Deprecated: Use PasswordProfile.ProtoReflect.Descriptor instead.

func (*PasswordProfile) GetForceChangePasswordNextSignIn added in v0.2.0

func (x *PasswordProfile) GetForceChangePasswordNextSignIn() bool

func (*PasswordProfile) GetForceChangePasswordNextSignInWithMfa added in v0.2.0

func (x *PasswordProfile) GetForceChangePasswordNextSignInWithMfa() bool

func (*PasswordProfile) GetLastPasswordChangeDateTime added in v0.2.0

func (x *PasswordProfile) GetLastPasswordChangeDateTime() *timestamp.Timestamp

func (*PasswordProfile) GetPassword added in v0.2.0

func (x *PasswordProfile) GetPassword() string

func (*PasswordProfile) GetPasswordPolicies added in v0.2.0

func (x *PasswordProfile) GetPasswordPolicies() []string

func (*PasswordProfile) MarshalJSON added in v0.2.0

func (m *PasswordProfile) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*PasswordProfile) ProtoMessage added in v0.2.0

func (*PasswordProfile) ProtoMessage()

func (*PasswordProfile) ProtoReflect added in v0.2.0

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

func (*PasswordProfile) Reset added in v0.2.0

func (x *PasswordProfile) Reset()

func (*PasswordProfile) String added in v0.2.0

func (x *PasswordProfile) String() string

func (*PasswordProfile) UnmarshalJSON added in v0.2.0

func (m *PasswordProfile) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type RemoveMemberRequest added in v0.2.0

type RemoveMemberRequest struct {

	// The id of the group to remove a member from
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The account id to remove
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveMemberRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RemoveMemberRequest.ProtoReflect.Descriptor instead.

func (*RemoveMemberRequest) GetAccountId added in v0.2.0

func (x *RemoveMemberRequest) GetAccountId() string

func (*RemoveMemberRequest) GetGroupId added in v0.2.0

func (x *RemoveMemberRequest) GetGroupId() string

func (*RemoveMemberRequest) MarshalJSON added in v0.2.0

func (m *RemoveMemberRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*RemoveMemberRequest) ProtoMessage added in v0.2.0

func (*RemoveMemberRequest) ProtoMessage()

func (*RemoveMemberRequest) ProtoReflect added in v0.2.0

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

func (*RemoveMemberRequest) Reset added in v0.2.0

func (x *RemoveMemberRequest) Reset()

func (*RemoveMemberRequest) String added in v0.2.0

func (x *RemoveMemberRequest) String() string

func (*RemoveMemberRequest) UnmarshalJSON added in v0.2.0

func (m *RemoveMemberRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type UpdateAccountRequest added in v0.2.0

type UpdateAccountRequest struct {

	// The account resource which replaces the resource on the server
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The update mask applies to the resource. For the `FieldMask` definition,
	// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccountRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetAccount added in v0.2.0

func (x *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) GetUpdateMask added in v0.2.0

func (x *UpdateAccountRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateAccountRequest) MarshalJSON added in v0.2.0

func (m *UpdateAccountRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*UpdateAccountRequest) ProtoMessage added in v0.2.0

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect added in v0.2.0

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

func (*UpdateAccountRequest) Reset added in v0.2.0

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String added in v0.2.0

func (x *UpdateAccountRequest) String() string

func (*UpdateAccountRequest) UnmarshalJSON added in v0.2.0

func (m *UpdateAccountRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type UpdateGroupRequest added in v0.2.0

type UpdateGroupRequest struct {

	// The group resource which replaces the resource on the server
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// The update mask applies to the resource. For the `FieldMask` definition,
	// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGroupRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup added in v0.2.0

func (x *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetUpdateMask added in v0.2.0

func (x *UpdateGroupRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateGroupRequest) MarshalJSON added in v0.2.0

func (m *UpdateGroupRequest) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*UpdateGroupRequest) ProtoMessage added in v0.2.0

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect added in v0.2.0

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

func (*UpdateGroupRequest) Reset added in v0.2.0

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String added in v0.2.0

func (x *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) UnmarshalJSON added in v0.2.0

func (m *UpdateGroupRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

Jump to

Keyboard shortcuts

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