v1

package
v0.88.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 22 Imported by: 16

Documentation

Overview

Package resourcemanager/v1 contains the API of ResourceManager services.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (

	// EventTypeOrganizationCreated is the type of event fired after an organization has been created
	// SubjectID contains the ID of the organization.
	EventTypeOrganizationCreated = "resourcemanager.organization.created"
	// EventTypeOrganizationUpdated is the type of event fired after an organization has been updated
	// SubjectID contains the ID of the organization.
	EventTypeOrganizationUpdated = "resourcemanager.organization.updated"
	// EventTypeOrganizationDeleted is the type of event fired after an organization has been (marked for) deleted
	// SubjectID contains the ID of the organization.
	EventTypeOrganizationDeleted = "resourcemanager.organization.deleted"

	// EventTypeOrganizationMemberAdded is the type of event fired after a member has been added to an organization.
	// SubjectID contains the ID of the added member.
	EventTypeOrganizationMemberAdded = "resourcemanager.organization-member.added"
	// EventTypeOrganizationMemberRemoved is the type of event fired after a member has been removed from an organization.
	// SubjectID contains the ID of the removed member.
	EventTypeOrganizationMemberRemoved = "resourcemanager.organization-member.removed"
	// EventTypeOrganizationMemberUpdated is the type of event fired after a member has been updated in an organization
	// from owner to non-owner or from non-owner to owner.
	// SubjectID contains the ID of the updated member.
	EventTypeOrganizationMemberUpdated = "resourcemanager.organization-member.updated"
)
View Source
const (

	// EventTypeProjectCreated is the type of event fired after a project has been created.
	// SubjectID contains the ID of the project.
	EventTypeProjectCreated = "resourcemanager.project.created"
	// EventTypeProjectUpdated is the type of event fired after a project has been updated.
	// SubjectID contains the ID of the project.
	EventTypeProjectUpdated = "resourcemanager.project.updated"
	// EventTypeProjectDeleted is the type of event fired after a project has been (marked for) deleted.
	// SubjectID contains the ID of the project.
	EventTypeProjectDeleted = "resourcemanager.project.deleted"
)
View Source
const (

	// EventTypeOrganizationInviteCreated is the type of event fired after an organization invite has been created
	// SubjectID contains the ID of the organization invite.
	EventTypeOrganizationInviteCreated = "resourcemanager.organization-invite.created"
	// EventTypeOrganizationInviteDeleted is the type of event fired after an organization has been (marked for) deleted
	// SubjectID contains the ID of the organization.
	EventTypeOrganizationInviteDeleted = "resourcemanager.organization-invite.deleted"
	// EventTypeOrganizationInviteAccepted is the type of event fired after an invite has been accepted for an organization.
	// SubjectID contains the ID of the accepted invite.
	EventTypeOrganizationInviteAccepted = "resourcemanager.organization-invite.accepted"
	// EventTypeOrganizationInviteRejected is the type of event fired after an invite has been rejected for an organization.
	// SubjectID contains the ID of the rejected invite.
	EventTypeOrganizationInviteRejected = "resourcemanager.organization-invite.rejected"
)
View Source
const (

	// PermissionOrganizationGet is needed for fetching an individual group in an organization
	PermissionOrganizationGet = "resourcemanager.organization.get"
	// PermissionOrganizationUpdate is needed for updating an organization
	PermissionOrganizationUpdate = "resourcemanager.organization.update"
	// PermissionOrganizationDelete is needed for deleting an organization
	PermissionOrganizationDelete = "resourcemanager.organization.delete"
)
View Source
const (

	// PermissionProjectList is needed for listing projects in an organization
	PermissionProjectList = "resourcemanager.project.list"
	// PermissionProjectGet is needed for fetching an individual project in an organization
	PermissionProjectGet = "resourcemanager.project.get"
	// PermissionProjectCreate is needed for create a project
	PermissionProjectCreate = "resourcemanager.project.create"
	// PermissionProjectUpdate is needed for updating a project
	PermissionProjectUpdate = "resourcemanager.project.update"
	// PermissionProjectDelete is needed for deleting a project
	PermissionProjectDelete = "resourcemanager.project.delete"
)
View Source
const (

	// PermissionOrganizationInviteList is needed for fetching invites in an organization
	PermissionOrganizationInviteList = "resourcemanager.organization-invite.list"
	// PermissionOrganizationInviteGet is needed for fetching an individual invite in an organization
	PermissionOrganizationInviteGet = "resourcemanager.organization-invite.get"
	// PermissionOrganizationInviteCreate is needed for creating an organization invite
	PermissionOrganizationInviteCreate = "resourcemanager.organization-invite.create"
	// PermissionOrganizationInviteDelete is needed for deleting an organization invite
	PermissionOrganizationInviteDelete = "resourcemanager.organization-invite.delete"
)
View Source
const (

	// QuotaKindProjectsPerOrganization limits the number of projects in a single organization.
	// This kinds of quota must be requested on organization level.
	QuotaKindProjectsPerOrganization = "resourcemanager.projects-per-organization"
	// QuotaKindTotalDeploymentsPerTierTemplate is a go-template for a quota kind
	// tha limits the total number of deployments (over the lifetime on the organization)
	// in a specific tier.
	// The template variable is the tier-id.
	// This kinds of quota must be requested on organization level.
	QuotaKindTotalDeploymentsPerTierTemplate = "resourcemanager.total-deployment-%s"
)
View Source
const (
	// KindOrganization is a constants for the kind of Organization resources.
	KindOrganization = rmurl.KindOrganization
	// KindProject is a constants for the kind of Project resources.
	KindProject = rmurl.KindProject
	// KindOrganizationInvite is a constants for the kind of OrganizationInvite resources.
	KindOrganizationInvite = rmurl.KindOrganizationInvite
)
View Source
const (
	// APIID contains identifier of this API
	APIID = "resourcemanager/v1"
	// APIMajorVersion contains major version of this API
	APIMajorVersion = 1
	// APIMinorVersion contains minor version of this API
	APIMinorVersion = 5
	// APIPatchVersion contains patch version of this API
	APIPatchVersion = 2
)
View Source
const (

	// PermissionEventList is needed for listing events in an organization
	PermissionEventList = "resourcemanager.event.list"
)
View Source
const (

	// UsageItemResourceKindOrganization is the kind used inside the UsageItem.Resource to refer to an organization.
	UsageItemResourceKindOrganization = "Organization"
)

Variables

View Source
var (
	ErrInvalidLengthResourcemanager        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResourcemanager          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupResourcemanager = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ForEachEvent

func ForEachEvent(ctx context.Context, listFunc func(ctx context.Context, req *ListEventOptions) (*EventList, error),
	req ListEventOptions, cb EventCallback) error

ForEachEvent iterates over all events specified by the given request.

func ForEachMyOrganizationInvite

func ForEachMyOrganizationInvite(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*OrganizationInviteList, error),
	req *common.ListOptions, cb OrganizationInviteCallback) error

ForEachMyOrganizationInvite iterates over all my invites.

func ForEachOrganization

func ForEachOrganization(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*OrganizationList, error),
	req *common.ListOptions, cb OrganizationCallback) error

ForEachOrganization iterates over all organizations that the authenticated caller is a member of, invoking the given callback for each organization.

func ForEachOrganizationInvite

func ForEachOrganizationInvite(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*OrganizationInviteList, error),
	req *common.ListOptions, cb OrganizationInviteCallback) error

ForEachOrganizationInvite iterates over all invites of the organization identified by the given context ID.

func ForEachOrganizationMember

func ForEachOrganizationMember(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*MemberList, error),
	req *common.ListOptions, cb OrganizationMemberCallback) error

ForEachOrganizationMember iterates over all members of the organization identified by the given context ID.

func ForEachOrganizationQuota

func ForEachOrganizationQuota(ctx context.Context, listFunc func(ctx context.Context, req *ListQuotasRequest) (*QuotaList, error),
	req ListQuotasRequest, cb QuotaCallback) error

ForEachOrganizationQuota iterates over all organization related quotas specified by the given request.

func ForEachProject

func ForEachProject(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*ProjectList, error),
	req *common.ListOptions, cb ProjectCallback) error

ForEachProject iterates over all projects of the organization identified by the given context ID.

func ForEachProjectQuota

func ForEachProjectQuota(ctx context.Context, listFunc func(ctx context.Context, req *ListQuotasRequest) (*QuotaList, error),
	req ListQuotasRequest, cb QuotaCallback) error

ForEachProjectQuota iterates over all project related quotas specified by the given request.

func ForEachQuotaDescription

func ForEachQuotaDescription(ctx context.Context, listFunc func(ctx context.Context, req *common.ListOptions) (*QuotaDescriptionList, error),
	req *common.ListOptions, cb QuotaDescriptionCallback) error

ForEachQuotaDescription iterates over all quota descriptions.

func OrganizationInviteURL

func OrganizationInviteURL(organizationID, inviteID string) string

OrganizationInviteURL creates a resource URL for the invite & organization with given IDs.

func OrganizationURL

func OrganizationURL(organizationID string) string

OrganizationURL creates a resource URL for the organization with given ID.

func ProjectURL

func ProjectURL(organizationID, projectID string) string

ProjectURL creates a resource URL for the project & organization with given IDs.

func RegisterResourceManagerServiceHandler

func RegisterResourceManagerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterResourceManagerServiceHandler registers the http handlers for service ResourceManagerService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterResourceManagerServiceHandlerClient

func RegisterResourceManagerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceManagerServiceClient) error

RegisterResourceManagerServiceHandlerClient registers the http handlers for service ResourceManagerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceManagerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceManagerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceManagerServiceClient" to call the correct interceptors.

func RegisterResourceManagerServiceHandlerFromEndpoint

func RegisterResourceManagerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterResourceManagerServiceHandlerFromEndpoint is same as RegisterResourceManagerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterResourceManagerServiceHandlerServer

func RegisterResourceManagerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceManagerServiceServer) error

RegisterResourceManagerServiceHandlerServer registers the http handlers for service ResourceManagerService to "mux". UnaryRPC :call ResourceManagerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterResourceManagerServiceServer

func RegisterResourceManagerServiceServer(s *grpc.Server, srv ResourceManagerServiceServer)

Types

type AuthenticationProviders added in v0.72.2

type AuthenticationProviders struct {
	// Control access to the organization for users using then username/password authentication provider.
	EnableUsernamePassword bool `` /* 130-byte string literal not displayed */
	// Control access to the organization for users using then Google authentication provider.
	EnableGoogle bool `protobuf:"varint,2,opt,name=enable_google,json=enableGoogle,proto3" json:"enable_google,omitempty"`
	// Control access to the organization for users using then Github authentication provider.
	EnableGithub bool `protobuf:"varint,3,opt,name=enable_github,json=enableGithub,proto3" json:"enable_github,omitempty"`
	// Control access to the organization for users using then Microsoft authentication provider.
	EnableMicrosoft bool `protobuf:"varint,4,opt,name=enable_microsoft,json=enableMicrosoft,proto3" json:"enable_microsoft,omitempty"`
	// Control access to the organization for users using then SSO authentication provider.
	EnableSso            bool     `protobuf:"varint,5,opt,name=enable_sso,json=enableSso,proto3" json:"enable_sso,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specify which authentication providers are allowed for use in a specific Organization. For each field applies: - If set, users can access the organization when using that authentication provider. - If not set, users will be denied access to the organizatin when using that authentication provider.

func (*AuthenticationProviders) Descriptor added in v0.72.2

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

func (*AuthenticationProviders) GetEnableGithub added in v0.72.2

func (m *AuthenticationProviders) GetEnableGithub() bool

func (*AuthenticationProviders) GetEnableGoogle added in v0.72.2

func (m *AuthenticationProviders) GetEnableGoogle() bool

func (*AuthenticationProviders) GetEnableMicrosoft added in v0.77.2

func (m *AuthenticationProviders) GetEnableMicrosoft() bool

func (*AuthenticationProviders) GetEnableSso added in v0.79.15

func (m *AuthenticationProviders) GetEnableSso() bool

func (*AuthenticationProviders) GetEnableUsernamePassword added in v0.72.2

func (m *AuthenticationProviders) GetEnableUsernamePassword() bool

func (*AuthenticationProviders) Marshal added in v0.72.2

func (m *AuthenticationProviders) Marshal() (dAtA []byte, err error)

func (*AuthenticationProviders) MarshalTo added in v0.72.2

func (m *AuthenticationProviders) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticationProviders) MarshalToSizedBuffer added in v0.72.2

func (m *AuthenticationProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticationProviders) ProtoMessage added in v0.72.2

func (*AuthenticationProviders) ProtoMessage()

func (*AuthenticationProviders) Reset added in v0.72.2

func (m *AuthenticationProviders) Reset()

func (*AuthenticationProviders) Size added in v0.72.2

func (m *AuthenticationProviders) Size() (n int)

func (*AuthenticationProviders) String added in v0.72.2

func (m *AuthenticationProviders) String() string

func (*AuthenticationProviders) Unmarshal added in v0.72.2

func (m *AuthenticationProviders) Unmarshal(dAtA []byte) error

func (*AuthenticationProviders) XXX_DiscardUnknown added in v0.72.2

func (m *AuthenticationProviders) XXX_DiscardUnknown()

func (*AuthenticationProviders) XXX_Marshal added in v0.72.2

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

func (*AuthenticationProviders) XXX_Merge added in v0.72.2

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

func (*AuthenticationProviders) XXX_Size added in v0.72.2

func (m *AuthenticationProviders) XXX_Size() int

func (*AuthenticationProviders) XXX_Unmarshal added in v0.72.2

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

type DataProcessingAddendum

type DataProcessingAddendum struct {
	// Identifier of this version of the DPA
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Content of DPA in markdown format
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// Creation date of this version of the DPA.
	CreatedAt            *types.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DataProcessingAddendum) Descriptor

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

func (*DataProcessingAddendum) GetContent

func (m *DataProcessingAddendum) GetContent() string

func (*DataProcessingAddendum) GetCreatedAt

func (m *DataProcessingAddendum) GetCreatedAt() *types.Timestamp

func (*DataProcessingAddendum) GetId

func (m *DataProcessingAddendum) GetId() string

func (*DataProcessingAddendum) Marshal

func (m *DataProcessingAddendum) Marshal() (dAtA []byte, err error)

func (*DataProcessingAddendum) MarshalTo

func (m *DataProcessingAddendum) MarshalTo(dAtA []byte) (int, error)

func (*DataProcessingAddendum) MarshalToSizedBuffer

func (m *DataProcessingAddendum) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataProcessingAddendum) ProtoMessage

func (*DataProcessingAddendum) ProtoMessage()

func (*DataProcessingAddendum) Reset

func (m *DataProcessingAddendum) Reset()

func (*DataProcessingAddendum) Size

func (m *DataProcessingAddendum) Size() (n int)

func (*DataProcessingAddendum) String

func (m *DataProcessingAddendum) String() string

func (*DataProcessingAddendum) Unmarshal

func (m *DataProcessingAddendum) Unmarshal(dAtA []byte) error

func (*DataProcessingAddendum) XXX_DiscardUnknown

func (m *DataProcessingAddendum) XXX_DiscardUnknown()

func (*DataProcessingAddendum) XXX_Marshal

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

func (*DataProcessingAddendum) XXX_Merge

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

func (*DataProcessingAddendum) XXX_Size

func (m *DataProcessingAddendum) XXX_Size() int

func (*DataProcessingAddendum) XXX_Unmarshal

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

type DomainRestrictions added in v0.72.5

type DomainRestrictions struct {
	// If this list is non-empty, only users that have an email address in one
	// of the given domains will be granted access to the resources in the Organization.
	AllowedDomains       []string `protobuf:"bytes,1,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specify restrictions related to email domain names of user accounts that are allowed to access resources of a specific Organization.

func (*DomainRestrictions) Descriptor added in v0.72.5

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

func (*DomainRestrictions) GetAllowedDomains added in v0.72.5

func (m *DomainRestrictions) GetAllowedDomains() []string

func (*DomainRestrictions) IsEmailAddressAllowed added in v0.72.5

func (dr *DomainRestrictions) IsEmailAddressAllowed(emailAddress string) bool

IsEmailAddressAllowed returns true if the given email address is allowed for the given email domain restrictions.

func (*DomainRestrictions) Marshal added in v0.72.5

func (m *DomainRestrictions) Marshal() (dAtA []byte, err error)

func (*DomainRestrictions) MarshalTo added in v0.72.5

func (m *DomainRestrictions) MarshalTo(dAtA []byte) (int, error)

func (*DomainRestrictions) MarshalToSizedBuffer added in v0.72.5

func (m *DomainRestrictions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DomainRestrictions) ProtoMessage added in v0.72.5

func (*DomainRestrictions) ProtoMessage()

func (*DomainRestrictions) Reset added in v0.72.5

func (m *DomainRestrictions) Reset()

func (*DomainRestrictions) Size added in v0.72.5

func (m *DomainRestrictions) Size() (n int)

func (*DomainRestrictions) String added in v0.72.5

func (m *DomainRestrictions) String() string

func (*DomainRestrictions) Unmarshal added in v0.72.5

func (m *DomainRestrictions) Unmarshal(dAtA []byte) error

func (*DomainRestrictions) XXX_DiscardUnknown added in v0.72.5

func (m *DomainRestrictions) XXX_DiscardUnknown()

func (*DomainRestrictions) XXX_Marshal added in v0.72.5

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

func (*DomainRestrictions) XXX_Merge added in v0.72.5

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

func (*DomainRestrictions) XXX_Size added in v0.72.5

func (m *DomainRestrictions) XXX_Size() int

func (*DomainRestrictions) XXX_Unmarshal added in v0.72.5

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

type Event

type Event struct {
	// System identifier of the event.
	// This is a read-only value.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// URL of this resource
	// This is a read-only value and cannot be initialized.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Identifier of the organization that owns this event.
	// This is a read-only value.
	OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Identifier of the subject of this event.
	// This is a read-only value.
	// If the subject of this event is an organization,
	// this value is a duplicate of organization_id.
	SubjectId string `protobuf:"bytes,4,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// Type of the event.
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// Payload of the event.
	// The fields used in the payload are specific
	// to the type of event.
	Payload map[string]string `` /* 155-byte string literal not displayed */
	// The creation timestamp of the event
	CreatedAt *types.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// URL of the subject of this event.
	// This is a read-only value.
	SubjectUrl string `protobuf:"bytes,8,opt,name=subject_url,json=subjectUrl,proto3" json:"subject_url,omitempty"`
	// If set, this event is not persisted.
	// This is a read-only value.
	Volatile bool `protobuf:"varint,9,opt,name=volatile,proto3" json:"volatile,omitempty"`
	// Identifier of the user that has created this event.
	// This is a read-only value that can be empty.
	CreatedById string `protobuf:"bytes,10,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"`
	// Optional human readable reason for the event.
	// This is a read-only value that can be empty.
	Reason string `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"`
	// If set, this event reflects only a status update of an entity.
	// This is a read-only value.
	StatusOnly bool `protobuf:"varint,12,opt,name=status_only,json=statusOnly,proto3" json:"status_only,omitempty"`
	// The application/tool which created this event.
	// This information is collected by inspecting headers:
	// First the x-arango-graph-user-agent will be tried, if this isn't set, the first service name from oasis-trace will be used, otherwise an empty string.
	// This is a read-only value that can be empty.
	CreatedWith          string   `protobuf:"bytes,13,opt,name=created_with,json=createdWith,proto3" json:"created_with,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An Event represents something that happened to an organization in the ArangoDB Managed service.

func (*Event) Descriptor

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

func (*Event) GetCreatedAt

func (m *Event) GetCreatedAt() *types.Timestamp

func (*Event) GetCreatedById

func (m *Event) GetCreatedById() string

func (*Event) GetCreatedWith added in v0.84.3

func (m *Event) GetCreatedWith() string

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetOrganizationId

func (m *Event) GetOrganizationId() string

func (*Event) GetPayload

func (m *Event) GetPayload() map[string]string

func (*Event) GetReason

func (m *Event) GetReason() string

func (*Event) GetStatusOnly added in v0.40.4

func (m *Event) GetStatusOnly() bool

func (*Event) GetSubjectId

func (m *Event) GetSubjectId() string

func (*Event) GetSubjectUrl

func (m *Event) GetSubjectUrl() string

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) GetUrl

func (m *Event) GetUrl() string

func (*Event) GetVolatile

func (m *Event) GetVolatile() bool

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type EventCallback

type EventCallback func(context.Context, *Event) error

EventCallback is a callback for individual events.

type EventList

type EventList struct {
	Items                []*Event `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List of Events.

func (*EventList) Descriptor

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

func (*EventList) GetItems

func (m *EventList) GetItems() []*Event

func (*EventList) Marshal

func (m *EventList) Marshal() (dAtA []byte, err error)

func (*EventList) MarshalTo

func (m *EventList) MarshalTo(dAtA []byte) (int, error)

func (*EventList) MarshalToSizedBuffer

func (m *EventList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventList) ProtoMessage

func (*EventList) ProtoMessage()

func (*EventList) Reset

func (m *EventList) Reset()

func (*EventList) Size

func (m *EventList) Size() (n int)

func (*EventList) String

func (m *EventList) String() string

func (*EventList) Unmarshal

func (m *EventList) Unmarshal(dAtA []byte) error

func (*EventList) XXX_DiscardUnknown

func (m *EventList) XXX_DiscardUnknown()

func (*EventList) XXX_Marshal

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

func (*EventList) XXX_Merge

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

func (*EventList) XXX_Size

func (m *EventList) XXX_Size() int

func (*EventList) XXX_Unmarshal

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

type IsMemberOfOrganizationRequest

type IsMemberOfOrganizationRequest struct {
	// Identifier of the user
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Identifier of the organization
	OrganizationId       string   `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for IsMemberOfOrganization.

func (*IsMemberOfOrganizationRequest) Descriptor

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

func (*IsMemberOfOrganizationRequest) GetOrganizationId

func (m *IsMemberOfOrganizationRequest) GetOrganizationId() string

func (*IsMemberOfOrganizationRequest) GetUserId

func (m *IsMemberOfOrganizationRequest) GetUserId() string

func (*IsMemberOfOrganizationRequest) Marshal

func (m *IsMemberOfOrganizationRequest) Marshal() (dAtA []byte, err error)

func (*IsMemberOfOrganizationRequest) MarshalTo

func (m *IsMemberOfOrganizationRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsMemberOfOrganizationRequest) MarshalToSizedBuffer

func (m *IsMemberOfOrganizationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsMemberOfOrganizationRequest) ProtoMessage

func (*IsMemberOfOrganizationRequest) ProtoMessage()

func (*IsMemberOfOrganizationRequest) Reset

func (m *IsMemberOfOrganizationRequest) Reset()

func (*IsMemberOfOrganizationRequest) Size

func (m *IsMemberOfOrganizationRequest) Size() (n int)

func (*IsMemberOfOrganizationRequest) String

func (*IsMemberOfOrganizationRequest) Unmarshal

func (m *IsMemberOfOrganizationRequest) Unmarshal(dAtA []byte) error

func (*IsMemberOfOrganizationRequest) XXX_DiscardUnknown

func (m *IsMemberOfOrganizationRequest) XXX_DiscardUnknown()

func (*IsMemberOfOrganizationRequest) XXX_Marshal

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

func (*IsMemberOfOrganizationRequest) XXX_Merge

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

func (*IsMemberOfOrganizationRequest) XXX_Size

func (m *IsMemberOfOrganizationRequest) XXX_Size() int

func (*IsMemberOfOrganizationRequest) XXX_Unmarshal

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

type IsMemberOfOrganizationResponse

type IsMemberOfOrganizationResponse struct {
	// Set if the requested user is a member of the requested organization.
	Member bool `protobuf:"varint,1,opt,name=member,proto3" json:"member,omitempty"`
	// Set if the requested user is an owner of the requested organization.
	Owner                bool     `protobuf:"varint,2,opt,name=owner,proto3" json:"owner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for IsMemberOfOrganization.

func (*IsMemberOfOrganizationResponse) Descriptor

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

func (*IsMemberOfOrganizationResponse) GetMember

func (m *IsMemberOfOrganizationResponse) GetMember() bool

func (*IsMemberOfOrganizationResponse) GetOwner

func (m *IsMemberOfOrganizationResponse) GetOwner() bool

func (*IsMemberOfOrganizationResponse) Marshal

func (m *IsMemberOfOrganizationResponse) Marshal() (dAtA []byte, err error)

func (*IsMemberOfOrganizationResponse) MarshalTo

func (m *IsMemberOfOrganizationResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsMemberOfOrganizationResponse) MarshalToSizedBuffer

func (m *IsMemberOfOrganizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsMemberOfOrganizationResponse) ProtoMessage

func (*IsMemberOfOrganizationResponse) ProtoMessage()

func (*IsMemberOfOrganizationResponse) Reset

func (m *IsMemberOfOrganizationResponse) Reset()

func (*IsMemberOfOrganizationResponse) Size

func (m *IsMemberOfOrganizationResponse) Size() (n int)

func (*IsMemberOfOrganizationResponse) String

func (*IsMemberOfOrganizationResponse) Unmarshal

func (m *IsMemberOfOrganizationResponse) Unmarshal(dAtA []byte) error

func (*IsMemberOfOrganizationResponse) XXX_DiscardUnknown

func (m *IsMemberOfOrganizationResponse) XXX_DiscardUnknown()

func (*IsMemberOfOrganizationResponse) XXX_Marshal

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

func (*IsMemberOfOrganizationResponse) XXX_Merge

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

func (*IsMemberOfOrganizationResponse) XXX_Size

func (m *IsMemberOfOrganizationResponse) XXX_Size() int

func (*IsMemberOfOrganizationResponse) XXX_Unmarshal

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

type ListEventOptions

type ListEventOptions struct {
	// Standard list options
	Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// If set, filter on the subject_id of event
	SubjectIds []string `protobuf:"bytes,2,rep,name=subject_ids,json=subjectIds,proto3" json:"subject_ids,omitempty"`
	// If set, filter on the type of event
	Types []string `protobuf:"bytes,3,rep,name=types,proto3" json:"types,omitempty"`
	// If set, filter of events created after this timestamp
	CreatedAfter *types.Timestamp `protobuf:"bytes,4,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	// If set, filter of events created before this timestamp
	CreatedBefore *types.Timestamp `protobuf:"bytes,5,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	// Sort descending (new to old) on created_at field (default is ascending).
	SortDescending       bool     `protobuf:"varint,6,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Options for ListEvents

func (*ListEventOptions) Descriptor

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

func (*ListEventOptions) GetCreatedAfter

func (m *ListEventOptions) GetCreatedAfter() *types.Timestamp

func (*ListEventOptions) GetCreatedBefore

func (m *ListEventOptions) GetCreatedBefore() *types.Timestamp

func (*ListEventOptions) GetOptions

func (m *ListEventOptions) GetOptions() *v1.ListOptions

func (*ListEventOptions) GetSortDescending

func (m *ListEventOptions) GetSortDescending() bool

func (*ListEventOptions) GetSubjectIds

func (m *ListEventOptions) GetSubjectIds() []string

func (*ListEventOptions) GetTypes

func (m *ListEventOptions) GetTypes() []string

func (*ListEventOptions) Marshal

func (m *ListEventOptions) Marshal() (dAtA []byte, err error)

func (*ListEventOptions) MarshalTo

func (m *ListEventOptions) MarshalTo(dAtA []byte) (int, error)

func (*ListEventOptions) MarshalToSizedBuffer

func (m *ListEventOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListEventOptions) ProtoMessage

func (*ListEventOptions) ProtoMessage()

func (*ListEventOptions) Reset

func (m *ListEventOptions) Reset()

func (*ListEventOptions) Size

func (m *ListEventOptions) Size() (n int)

func (*ListEventOptions) String

func (m *ListEventOptions) String() string

func (*ListEventOptions) Unmarshal

func (m *ListEventOptions) Unmarshal(dAtA []byte) error

func (*ListEventOptions) XXX_DiscardUnknown

func (m *ListEventOptions) XXX_DiscardUnknown()

func (*ListEventOptions) XXX_Marshal

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

func (*ListEventOptions) XXX_Merge

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

func (*ListEventOptions) XXX_Size

func (m *ListEventOptions) XXX_Size() int

func (*ListEventOptions) XXX_Unmarshal

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

type ListQuotasRequest

type ListQuotasRequest struct {
	// Common list options
	Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// If set, limit the returned list of quota's to these kinds.
	Kinds                []string `protobuf:"bytes,2,rep,name=kinds,proto3" json:"kinds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request arguments for ListXyzQuotas

func (*ListQuotasRequest) Descriptor

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

func (*ListQuotasRequest) GetKinds

func (m *ListQuotasRequest) GetKinds() []string

func (*ListQuotasRequest) GetOptions

func (m *ListQuotasRequest) GetOptions() *v1.ListOptions

func (*ListQuotasRequest) Marshal

func (m *ListQuotasRequest) Marshal() (dAtA []byte, err error)

func (*ListQuotasRequest) MarshalTo

func (m *ListQuotasRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListQuotasRequest) MarshalToSizedBuffer

func (m *ListQuotasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListQuotasRequest) ProtoMessage

func (*ListQuotasRequest) ProtoMessage()

func (*ListQuotasRequest) Reset

func (m *ListQuotasRequest) Reset()

func (*ListQuotasRequest) Size

func (m *ListQuotasRequest) Size() (n int)

func (*ListQuotasRequest) String

func (m *ListQuotasRequest) String() string

func (*ListQuotasRequest) Unmarshal

func (m *ListQuotasRequest) Unmarshal(dAtA []byte) error

func (*ListQuotasRequest) XXX_DiscardUnknown

func (m *ListQuotasRequest) XXX_DiscardUnknown()

func (*ListQuotasRequest) XXX_Marshal

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

func (*ListQuotasRequest) XXX_Merge

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

func (*ListQuotasRequest) XXX_Size

func (m *ListQuotasRequest) XXX_Size() int

func (*ListQuotasRequest) XXX_Unmarshal

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

type Member

type Member struct {
	// Identifier of the user
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Set if this user is owner of the organization
	Owner bool `protobuf:"varint,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// The user.
	User                 *v11.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Member of an organization. A member is always a user.

func (*Member) Descriptor

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

func (*Member) GetOwner

func (m *Member) GetOwner() bool

func (*Member) GetUser added in v0.63.8

func (m *Member) GetUser() *v11.User

func (*Member) GetUserId

func (m *Member) GetUserId() string

func (*Member) Marshal

func (m *Member) Marshal() (dAtA []byte, err error)

func (*Member) MarshalTo

func (m *Member) MarshalTo(dAtA []byte) (int, error)

func (*Member) MarshalToSizedBuffer

func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) Size

func (m *Member) Size() (n int)

func (*Member) String

func (m *Member) String() string

func (*Member) Unmarshal

func (m *Member) Unmarshal(dAtA []byte) error

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

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

func (*Member) XXX_Merge

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

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

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

type MemberList

type MemberList struct {
	Items                []*Member `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

List of Members.

func (*MemberList) Descriptor

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

func (*MemberList) GetItems

func (m *MemberList) GetItems() []*Member

func (*MemberList) Marshal

func (m *MemberList) Marshal() (dAtA []byte, err error)

func (*MemberList) MarshalTo

func (m *MemberList) MarshalTo(dAtA []byte) (int, error)

func (*MemberList) MarshalToSizedBuffer

func (m *MemberList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemberList) ProtoMessage

func (*MemberList) ProtoMessage()

func (*MemberList) Reset

func (m *MemberList) Reset()

func (*MemberList) Size

func (m *MemberList) Size() (n int)

func (*MemberList) String

func (m *MemberList) String() string

func (*MemberList) Unmarshal

func (m *MemberList) Unmarshal(dAtA []byte) error

func (*MemberList) XXX_DiscardUnknown

func (m *MemberList) XXX_DiscardUnknown()

func (*MemberList) XXX_Marshal

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

func (*MemberList) XXX_Merge

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

func (*MemberList) XXX_Size

func (m *MemberList) XXX_Size() int

func (*MemberList) XXX_Unmarshal

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

type Organization

type Organization struct {
	// System identifier of the organization.
	// This is a read-only value.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// URL of this resource
	// This is a read-only value and cannot be initialized.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Name of the organization
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the organization
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Set when this organization is deleted.
	// This is a read-only value.
	IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// The creation timestamp of the organization
	CreatedAt *types.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The deletion timestamp of the organization
	DeletedAt *types.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// Tier used for this organization.
	// This is a read-only value and cannot be initialized.
	Tier *Tier `protobuf:"bytes,8,opt,name=tier,proto3" json:"tier,omitempty"`
	// Total number of deployments created in this organization throughout
	// its entire lifetime per tier-id.
	// map: tier-id -> count
	// This is a read-only value.
	TotalDeployments map[string]int32 `` /* 198-byte string literal not displayed */
	// If set, all projects in this organization are allowed to use deployments using the flexible model.
	// This is a read-only value.
	IsFlexibleDeploymentsEnabled bool `` /* 151-byte string literal not displayed */
	// If set, this organization is allowed to use custom images for ArangoDB deployments.
	// This is a read-only value.
	IsAllowedToUseCustomImages bool `` /* 149-byte string literal not displayed */
	// If set, this organization is allowed to use IAMProviders on their deployments.
	// This is a read-only value.
	IsAllowedToUseIamproviders bool `` /* 147-byte string literal not displayed */
	// If set, this organization cannot be deleted.
	// To delete, first update the with locked set to false.
	Locked bool `protobuf:"varint,13,opt,name=locked,proto3" json:"locked,omitempty"`
	// If set, this organization cannot create deployments without prepaid deployments.
	// This is a read-only value.
	RequiresPrepaidDeployments bool `` /* 143-byte string literal not displayed */
	// If set, configures which authentication providers can/cannot be used for this organization.
	// If not set, all providers are enabled by default.
	AuthenticationProviders *AuthenticationProviders `` /* 131-byte string literal not displayed */
	// If set, configure restrictions on the email domains used by user accounts to access this organization.
	// If not set, there is no restriction of domains for user accounts.
	EmailDomainRestrictions *DomainRestrictions `` /* 133-byte string literal not displayed */
	// If set, this organization is allowed to manage IAM identities (like users) via SCIM
	// This is a read-only value.
	IsAllowedToUseScim   bool     `protobuf:"varint,17,opt,name=is_allowed_to_use_scim,json=isAllowedToUseScim,proto3" json:"is_allowed_to_use_scim,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An Organization is represents a real world organization such as a company.

func (*Organization) Descriptor

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

func (*Organization) GetAuthenticationProviders added in v0.72.2

func (m *Organization) GetAuthenticationProviders() *AuthenticationProviders

func (*Organization) GetCreatedAt

func (m *Organization) GetCreatedAt() *types.Timestamp

func (*Organization) GetDeletedAt

func (m *Organization) GetDeletedAt() *types.Timestamp

func (*Organization) GetDescription

func (m *Organization) GetDescription() string

func (*Organization) GetEmailDomainRestrictions added in v0.72.5

func (m *Organization) GetEmailDomainRestrictions() *DomainRestrictions

func (*Organization) GetId

func (m *Organization) GetId() string

func (*Organization) GetIsAllowedToUseCustomImages

func (m *Organization) GetIsAllowedToUseCustomImages() bool

func (*Organization) GetIsAllowedToUseIamproviders

func (m *Organization) GetIsAllowedToUseIamproviders() bool

func (*Organization) GetIsAllowedToUseScim added in v0.77.4

func (m *Organization) GetIsAllowedToUseScim() bool

func (*Organization) GetIsDeleted

func (m *Organization) GetIsDeleted() bool

func (*Organization) GetIsFlexibleDeploymentsEnabled

func (m *Organization) GetIsFlexibleDeploymentsEnabled() bool

func (*Organization) GetLocked added in v0.47.0

func (m *Organization) GetLocked() bool

func (*Organization) GetName

func (m *Organization) GetName() string

func (*Organization) GetRequiresPrepaidDeployments added in v0.69.1

func (m *Organization) GetRequiresPrepaidDeployments() bool

func (*Organization) GetTier

func (m *Organization) GetTier() *Tier

func (*Organization) GetTotalDeployments

func (m *Organization) GetTotalDeployments() map[string]int32

func (*Organization) GetUrl

func (m *Organization) GetUrl() string

func (*Organization) Marshal

func (m *Organization) Marshal() (dAtA []byte, err error)

func (*Organization) MarshalTo

func (m *Organization) MarshalTo(dAtA []byte) (int, error)

func (*Organization) MarshalToSizedBuffer

func (m *Organization) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) Reset

func (m *Organization) Reset()

func (*Organization) Size

func (m *Organization) Size() (n int)

func (*Organization) String

func (m *Organization) String() string

func (*Organization) Unmarshal

func (m *Organization) Unmarshal(dAtA []byte) error

func (*Organization) XXX_DiscardUnknown

func (m *Organization) XXX_DiscardUnknown()

func (*Organization) XXX_Marshal

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

func (*Organization) XXX_Merge

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

func (*Organization) XXX_Size

func (m *Organization) XXX_Size() int

func (*Organization) XXX_Unmarshal

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

type OrganizationCallback

type OrganizationCallback func(context.Context, *Organization) error

OrganizationCallback is a callback for individual organizations.

type OrganizationInvite

type OrganizationInvite struct {
	// System identifier of the invite.
	// This is a read-only value.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// URL of this resource
	// This is a read-only value and cannot be initialized.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Identifier of the organization that the human is invited to join.
	// This is a read-only value.
	OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Email address of the human who is invited.
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// If set, the invitee accepted the invite.
	// This is a read-only value.
	Accepted bool `protobuf:"varint,5,opt,name=accepted,proto3" json:"accepted,omitempty"`
	// If set, the invitee rejected the invite.
	// This is a read-only value.
	Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"`
	// The creation timestamp of the invite
	// This is a read-only value.
	CreatedAt *types.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The acceptance timestamp of the invite
	// This is a read-only value.
	AcceptedAt *types.Timestamp `protobuf:"bytes,8,opt,name=accepted_at,json=acceptedAt,proto3" json:"accepted_at,omitempty"`
	// The rejection timestamp of the invite
	// This is a read-only value.
	RejectedAt *types.Timestamp `protobuf:"bytes,9,opt,name=rejected_at,json=rejectedAt,proto3" json:"rejected_at,omitempty"`
	// Identifier of the user that accepted or rejected this invite.
	// This is a read-only value.
	UserId string `protobuf:"bytes,10,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Identifier of the user that created this invite.
	CreatedById string `protobuf:"bytes,11,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"`
	// Identifier of the organization that the human is invited to join.
	// This is a read-only value.
	OrganizationName string `protobuf:"bytes,12,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// Name of the user that created this invite.
	// This is a read-only value.
	CreatedByName        string   `protobuf:"bytes,13,opt,name=created_by_name,json=createdByName,proto3" json:"created_by_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An OrganizationInvite represents an invite for a human to join an organization.

func (*OrganizationInvite) Descriptor

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

func (*OrganizationInvite) GetAccepted

func (m *OrganizationInvite) GetAccepted() bool

func (*OrganizationInvite) GetAcceptedAt

func (m *OrganizationInvite) GetAcceptedAt() *types.Timestamp

func (*OrganizationInvite) GetCreatedAt

func (m *OrganizationInvite) GetCreatedAt() *types.Timestamp

func (*OrganizationInvite) GetCreatedById

func (m *OrganizationInvite) GetCreatedById() string

func (*OrganizationInvite) GetCreatedByName

func (m *OrganizationInvite) GetCreatedByName() string

func (*OrganizationInvite) GetEmail

func (m *OrganizationInvite) GetEmail() string

func (*OrganizationInvite) GetId

func (m *OrganizationInvite) GetId() string

func (*OrganizationInvite) GetOrganizationId

func (m *OrganizationInvite) GetOrganizationId() string

func (*OrganizationInvite) GetOrganizationName

func (m *OrganizationInvite) GetOrganizationName() string

func (*OrganizationInvite) GetRejected

func (m *OrganizationInvite) GetRejected() bool

func (*OrganizationInvite) GetRejectedAt

func (m *OrganizationInvite) GetRejectedAt() *types.Timestamp

func (*OrganizationInvite) GetUrl

func (m *OrganizationInvite) GetUrl() string

func (*OrganizationInvite) GetUserId

func (m *OrganizationInvite) GetUserId() string

func (*OrganizationInvite) Marshal

func (m *OrganizationInvite) Marshal() (dAtA []byte, err error)

func (*OrganizationInvite) MarshalTo

func (m *OrganizationInvite) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationInvite) MarshalToSizedBuffer

func (m *OrganizationInvite) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationInvite) ProtoMessage

func (*OrganizationInvite) ProtoMessage()

func (*OrganizationInvite) Reset

func (m *OrganizationInvite) Reset()

func (*OrganizationInvite) Size

func (m *OrganizationInvite) Size() (n int)

func (*OrganizationInvite) String

func (m *OrganizationInvite) String() string

func (*OrganizationInvite) Unmarshal

func (m *OrganizationInvite) Unmarshal(dAtA []byte) error

func (*OrganizationInvite) XXX_DiscardUnknown

func (m *OrganizationInvite) XXX_DiscardUnknown()

func (*OrganizationInvite) XXX_Marshal

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

func (*OrganizationInvite) XXX_Merge

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

func (*OrganizationInvite) XXX_Size

func (m *OrganizationInvite) XXX_Size() int

func (*OrganizationInvite) XXX_Unmarshal

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

type OrganizationInviteCallback

type OrganizationInviteCallback func(context.Context, *OrganizationInvite) error

OrganizationInviteCallback is a callback for individual organization invites.

type OrganizationInviteList

type OrganizationInviteList struct {
	Items                []*OrganizationInvite `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

List of OrganizationInvites.

func (*OrganizationInviteList) Descriptor

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

func (*OrganizationInviteList) GetItems

func (m *OrganizationInviteList) GetItems() []*OrganizationInvite

func (*OrganizationInviteList) Marshal

func (m *OrganizationInviteList) Marshal() (dAtA []byte, err error)

func (*OrganizationInviteList) MarshalTo

func (m *OrganizationInviteList) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationInviteList) MarshalToSizedBuffer

func (m *OrganizationInviteList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationInviteList) ProtoMessage

func (*OrganizationInviteList) ProtoMessage()

func (*OrganizationInviteList) Reset

func (m *OrganizationInviteList) Reset()

func (*OrganizationInviteList) Size

func (m *OrganizationInviteList) Size() (n int)

func (*OrganizationInviteList) String

func (m *OrganizationInviteList) String() string

func (*OrganizationInviteList) Unmarshal

func (m *OrganizationInviteList) Unmarshal(dAtA []byte) error

func (*OrganizationInviteList) XXX_DiscardUnknown

func (m *OrganizationInviteList) XXX_DiscardUnknown()

func (*OrganizationInviteList) XXX_Marshal

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

func (*OrganizationInviteList) XXX_Merge

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

func (*OrganizationInviteList) XXX_Size

func (m *OrganizationInviteList) XXX_Size() int

func (*OrganizationInviteList) XXX_Unmarshal

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

type OrganizationList

type OrganizationList struct {
	// Actual organizations
	Items []*Organization `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// Budget for organizations (owned by the caller)
	Budget               *v1.Budget `protobuf:"bytes,2,opt,name=budget,proto3" json:"budget,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

List of organizations.

func (*OrganizationList) Descriptor

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

func (*OrganizationList) GetBudget

func (m *OrganizationList) GetBudget() *v1.Budget

func (*OrganizationList) GetItems

func (m *OrganizationList) GetItems() []*Organization

func (*OrganizationList) Marshal

func (m *OrganizationList) Marshal() (dAtA []byte, err error)

func (*OrganizationList) MarshalTo

func (m *OrganizationList) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationList) MarshalToSizedBuffer

func (m *OrganizationList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationList) ProtoMessage

func (*OrganizationList) ProtoMessage()

func (*OrganizationList) Reset

func (m *OrganizationList) Reset()

func (*OrganizationList) Size

func (m *OrganizationList) Size() (n int)

func (*OrganizationList) String

func (m *OrganizationList) String() string

func (*OrganizationList) Unmarshal

func (m *OrganizationList) Unmarshal(dAtA []byte) error

func (*OrganizationList) XXX_DiscardUnknown

func (m *OrganizationList) XXX_DiscardUnknown()

func (*OrganizationList) XXX_Marshal

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

func (*OrganizationList) XXX_Merge

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

func (*OrganizationList) XXX_Size

func (m *OrganizationList) XXX_Size() int

func (*OrganizationList) XXX_Unmarshal

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

type OrganizationMemberCallback

type OrganizationMemberCallback func(context.Context, *Member) error

OrganizationMemberCallback is a callback for individual organization members.

type OrganizationMembersRequest

type OrganizationMembersRequest struct {
	// Identifier of the organization to add/remove a user from
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Users to add/remove.
	// For every user, an owner flag is provided as well.
	// If you add an existing user, the owner flag or the add request
	// will overwrite the value of the existing owner flag.
	Members              *MemberList `protobuf:"bytes,2,opt,name=members,proto3" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Request arguments for Add/DeleteOrganizationMembers.

func (*OrganizationMembersRequest) Descriptor

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

func (*OrganizationMembersRequest) GetMembers

func (m *OrganizationMembersRequest) GetMembers() *MemberList

func (*OrganizationMembersRequest) GetOrganizationId

func (m *OrganizationMembersRequest) GetOrganizationId() string

func (*OrganizationMembersRequest) Marshal

func (m *OrganizationMembersRequest) Marshal() (dAtA []byte, err error)

func (*OrganizationMembersRequest) MarshalTo

func (m *OrganizationMembersRequest) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationMembersRequest) MarshalToSizedBuffer

func (m *OrganizationMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationMembersRequest) ProtoMessage

func (*OrganizationMembersRequest) ProtoMessage()

func (*OrganizationMembersRequest) Reset

func (m *OrganizationMembersRequest) Reset()

func (*OrganizationMembersRequest) Size

func (m *OrganizationMembersRequest) Size() (n int)

func (*OrganizationMembersRequest) String

func (m *OrganizationMembersRequest) String() string

func (*OrganizationMembersRequest) Unmarshal

func (m *OrganizationMembersRequest) Unmarshal(dAtA []byte) error

func (*OrganizationMembersRequest) XXX_DiscardUnknown

func (m *OrganizationMembersRequest) XXX_DiscardUnknown()

func (*OrganizationMembersRequest) XXX_Marshal

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

func (*OrganizationMembersRequest) XXX_Merge

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

func (*OrganizationMembersRequest) XXX_Size

func (m *OrganizationMembersRequest) XXX_Size() int

func (*OrganizationMembersRequest) XXX_Unmarshal

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

type Project

type Project struct {
	// System identifier of the project.
	// This is a read-only value.
	// It can be set when creating the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// URL of this resource
	// This is a read-only value and cannot be initialized.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Name of the project
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the project
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Identifier of the organization that owns this project.
	// This is a read-only value.
	OrganizationId string `protobuf:"bytes,5,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Set when this project is deleted
	IsDeleted bool `protobuf:"varint,6,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// The creation timestamp of the project
	CreatedAt *types.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The deletion timestamp of the project
	DeletedAt *types.Timestamp `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// If set, this project is allowed to use deployments using the flexible model.
	IsFlexibleDeploymentsEnabled bool `` /* 150-byte string literal not displayed */
	// If set, this project cannot be deleted.
	// To delete, first update the with locked set to false.
	Locked               bool     `protobuf:"varint,10,opt,name=locked,proto3" json:"locked,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A Project is represents a unit within an organization such as a department.

func (*Project) Descriptor

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

func (*Project) GetCreatedAt

func (m *Project) GetCreatedAt() *types.Timestamp

func (*Project) GetDeletedAt

func (m *Project) GetDeletedAt() *types.Timestamp

func (*Project) GetDescription

func (m *Project) GetDescription() string

func (*Project) GetId

func (m *Project) GetId() string

func (*Project) GetIsDeleted

func (m *Project) GetIsDeleted() bool

func (*Project) GetIsFlexibleDeploymentsEnabled

func (m *Project) GetIsFlexibleDeploymentsEnabled() bool

func (*Project) GetLocked added in v0.47.0

func (m *Project) GetLocked() bool

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetOrganizationId

func (m *Project) GetOrganizationId() string

func (*Project) GetUrl

func (m *Project) GetUrl() string

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (m *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

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

func (*Project) XXX_Merge

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

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

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

type ProjectCallback

type ProjectCallback func(context.Context, *Project) error

ProjectCallback is a callback for individual projects.

type ProjectList

type ProjectList struct {
	// Resulting projects
	Items []*Project `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// Budget for projects
	Budget               *v1.Budget `protobuf:"bytes,2,opt,name=budget,proto3" json:"budget,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

List of Projects.

func (*ProjectList) Descriptor

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

func (*ProjectList) GetBudget

func (m *ProjectList) GetBudget() *v1.Budget

func (*ProjectList) GetItems

func (m *ProjectList) GetItems() []*Project

func (*ProjectList) Marshal

func (m *ProjectList) Marshal() (dAtA []byte, err error)

func (*ProjectList) MarshalTo

func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)

func (*ProjectList) MarshalToSizedBuffer

func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectList) ProtoMessage

func (*ProjectList) ProtoMessage()

func (*ProjectList) Reset

func (m *ProjectList) Reset()

func (*ProjectList) Size

func (m *ProjectList) Size() (n int)

func (*ProjectList) String

func (m *ProjectList) String() string

func (*ProjectList) Unmarshal

func (m *ProjectList) Unmarshal(dAtA []byte) error

func (*ProjectList) XXX_DiscardUnknown

func (m *ProjectList) XXX_DiscardUnknown()

func (*ProjectList) XXX_Marshal

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

func (*ProjectList) XXX_Merge

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

func (*ProjectList) XXX_Size

func (m *ProjectList) XXX_Size() int

func (*ProjectList) XXX_Unmarshal

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

type Quota

type Quota struct {
	// Kind of quota
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Human readable description of the quota
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Current limit of the quota.
	// A value of 0 means unlimited.
	Limit                int64    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Quota limit

func (*Quota) Descriptor

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

func (*Quota) GetDescription

func (m *Quota) GetDescription() string

func (*Quota) GetKind

func (m *Quota) GetKind() string

func (*Quota) GetLimit

func (m *Quota) GetLimit() int64

func (*Quota) Marshal

func (m *Quota) Marshal() (dAtA []byte, err error)

func (*Quota) MarshalTo

func (m *Quota) MarshalTo(dAtA []byte) (int, error)

func (*Quota) MarshalToSizedBuffer

func (m *Quota) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) Reset

func (m *Quota) Reset()

func (*Quota) Size

func (m *Quota) Size() (n int)

func (*Quota) String

func (m *Quota) String() string

func (*Quota) Unmarshal

func (m *Quota) Unmarshal(dAtA []byte) error

func (*Quota) XXX_DiscardUnknown

func (m *Quota) XXX_DiscardUnknown()

func (*Quota) XXX_Marshal

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

func (*Quota) XXX_Merge

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

func (*Quota) XXX_Size

func (m *Quota) XXX_Size() int

func (*Quota) XXX_Unmarshal

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

type QuotaCallback

type QuotaCallback func(context.Context, *Quota) error

QuotaCallback is a callback for individual quotas.

type QuotaDescription

type QuotaDescription struct {
	// Kind of the quota
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Human readable description
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// If set, this kind of quota is valid at organization level
	ForOrganizations bool `protobuf:"varint,3,opt,name=for_organizations,json=forOrganizations,proto3" json:"for_organizations,omitempty"`
	// If set, this kind of quota is valid at project level
	ForProjects          bool     `protobuf:"varint,4,opt,name=for_projects,json=forProjects,proto3" json:"for_projects,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Description of a kind of quota's

func (*QuotaDescription) Descriptor

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

func (*QuotaDescription) GetDescription

func (m *QuotaDescription) GetDescription() string

func (*QuotaDescription) GetForOrganizations

func (m *QuotaDescription) GetForOrganizations() bool

func (*QuotaDescription) GetForProjects

func (m *QuotaDescription) GetForProjects() bool

func (*QuotaDescription) GetKind

func (m *QuotaDescription) GetKind() string

func (*QuotaDescription) Marshal

func (m *QuotaDescription) Marshal() (dAtA []byte, err error)

func (*QuotaDescription) MarshalTo

func (m *QuotaDescription) MarshalTo(dAtA []byte) (int, error)

func (*QuotaDescription) MarshalToSizedBuffer

func (m *QuotaDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuotaDescription) ProtoMessage

func (*QuotaDescription) ProtoMessage()

func (*QuotaDescription) Reset

func (m *QuotaDescription) Reset()

func (*QuotaDescription) Size

func (m *QuotaDescription) Size() (n int)

func (*QuotaDescription) String

func (m *QuotaDescription) String() string

func (*QuotaDescription) Unmarshal

func (m *QuotaDescription) Unmarshal(dAtA []byte) error

func (*QuotaDescription) XXX_DiscardUnknown

func (m *QuotaDescription) XXX_DiscardUnknown()

func (*QuotaDescription) XXX_Marshal

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

func (*QuotaDescription) XXX_Merge

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

func (*QuotaDescription) XXX_Size

func (m *QuotaDescription) XXX_Size() int

func (*QuotaDescription) XXX_Unmarshal

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

type QuotaDescriptionCallback

type QuotaDescriptionCallback func(context.Context, *QuotaDescription) error

QuotaDescriptionCallback is a callback for individual quota descriptions.

type QuotaDescriptionList

type QuotaDescriptionList struct {
	Items                []*QuotaDescription `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

List of QuotaDescription's

func (*QuotaDescriptionList) Descriptor

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

func (*QuotaDescriptionList) GetItems

func (m *QuotaDescriptionList) GetItems() []*QuotaDescription

func (*QuotaDescriptionList) Marshal

func (m *QuotaDescriptionList) Marshal() (dAtA []byte, err error)

func (*QuotaDescriptionList) MarshalTo

func (m *QuotaDescriptionList) MarshalTo(dAtA []byte) (int, error)

func (*QuotaDescriptionList) MarshalToSizedBuffer

func (m *QuotaDescriptionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuotaDescriptionList) ProtoMessage

func (*QuotaDescriptionList) ProtoMessage()

func (*QuotaDescriptionList) Reset

func (m *QuotaDescriptionList) Reset()

func (*QuotaDescriptionList) Size

func (m *QuotaDescriptionList) Size() (n int)

func (*QuotaDescriptionList) String

func (m *QuotaDescriptionList) String() string

func (*QuotaDescriptionList) Unmarshal

func (m *QuotaDescriptionList) Unmarshal(dAtA []byte) error

func (*QuotaDescriptionList) XXX_DiscardUnknown

func (m *QuotaDescriptionList) XXX_DiscardUnknown()

func (*QuotaDescriptionList) XXX_Marshal

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

func (*QuotaDescriptionList) XXX_Merge

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

func (*QuotaDescriptionList) XXX_Size

func (m *QuotaDescriptionList) XXX_Size() int

func (*QuotaDescriptionList) XXX_Unmarshal

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

type QuotaList

type QuotaList struct {
	Items                []*Quota `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List of Quota's

func (*QuotaList) Contains

func (list *QuotaList) Contains(kind string) bool

Contains returns true if the given quota list contains a quota of given kind.

func (*QuotaList) Descriptor

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

func (*QuotaList) Get

func (list *QuotaList) Get(kind string) *Quota

Get returns the first quota with given kind from the given list or nil if no such quota exists.

func (*QuotaList) GetItems

func (m *QuotaList) GetItems() []*Quota

func (*QuotaList) Marshal

func (m *QuotaList) Marshal() (dAtA []byte, err error)

func (*QuotaList) MarshalTo

func (m *QuotaList) MarshalTo(dAtA []byte) (int, error)

func (*QuotaList) MarshalToSizedBuffer

func (m *QuotaList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuotaList) ProtoMessage

func (*QuotaList) ProtoMessage()

func (*QuotaList) Reset

func (m *QuotaList) Reset()

func (*QuotaList) Size

func (m *QuotaList) Size() (n int)

func (*QuotaList) String

func (m *QuotaList) String() string

func (*QuotaList) Unmarshal

func (m *QuotaList) Unmarshal(dAtA []byte) error

func (*QuotaList) XXX_DiscardUnknown

func (m *QuotaList) XXX_DiscardUnknown()

func (*QuotaList) XXX_Marshal

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

func (*QuotaList) XXX_Merge

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

func (*QuotaList) XXX_Size

func (m *QuotaList) XXX_Size() int

func (*QuotaList) XXX_Unmarshal

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

type ResourceID

type ResourceID struct {
	Kind string
	ID   string
}

ResourceID represents a single element of a resource URL hierarchy.

type ResourceManagerServiceClient

type ResourceManagerServiceClient interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error)
	// Fetch all organizations that the authenticated user is a member of.
	// Required permissions:
	// - None
	ListOrganizations(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*OrganizationList, error)
	// Fetch an organization by its id.
	// The authenticated user must be a member of the organization.
	// Required permissions:
	// - None
	GetOrganization(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*Organization, error)
	// Create a new organization
	// Required permissions:
	// - None
	CreateOrganization(ctx context.Context, in *Organization, opts ...grpc.CallOption) (*Organization, error)
	// Update an organization
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	UpdateOrganization(ctx context.Context, in *Organization, opts ...grpc.CallOption) (*Organization, error)
	// Delete an organization
	// Note that organization are never really removed.
	// Instead their is_deleted field is set to true.
	// Required permissions:
	// - resourcemanager.organization.delete on the organization
	DeleteOrganization(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
	// Get a list of members of the organization identified by the given context ID.
	// Required permissions:
	// - resourcemanager.organization.get on the organization
	ListOrganizationMembers(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*MemberList, error)
	// Add one or more members to an organization.
	// If there are members (in the request arguments) that are already member of the
	// organization an AlreadyExists error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	AddOrganizationMembers(ctx context.Context, in *OrganizationMembersRequest, opts ...grpc.CallOption) (*v1.Empty, error)
	// Update the ownership flag of one or more members of an organization.
	// If there are members (in the request arguments) that are not yet member of
	// the organization, an InvalidArgument error is returned.
	// If the request would result in the last owner no longer being an owner,
	// an InvalidArgument error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	UpdateOrganizationMembers(ctx context.Context, in *OrganizationMembersRequest, opts ...grpc.CallOption) (*v1.Empty, error)
	// Remove one or more members from an organization.
	// If the request would result in the last owner being removed as member
	// of the organization, an InvalidArgument error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	DeleteOrganizationMembers(ctx context.Context, in *OrganizationMembersRequest, opts ...grpc.CallOption) (*v1.Empty, error)
	// Is the user identified by the given user ID a member
	// of the organization identified by the given organization ID.
	// Required permissions:
	// - resourcemanager.organization.get on the organization, unless the requested user is identical to the authenticated user.
	// Note that if the identified user or organization does not exist, no is returned.
	IsMemberOfOrganization(ctx context.Context, in *IsMemberOfOrganizationRequest, opts ...grpc.CallOption) (*IsMemberOfOrganizationResponse, error)
	// Get a list of quota values for the organization identified by the given context ID.
	// If a quota is not specified on organization level, a (potentially tier specific) default
	// value is returned.
	// Required permissions:
	// - resourcemanager.organization.get on the organization
	ListOrganizationQuotas(ctx context.Context, in *ListQuotasRequest, opts ...grpc.CallOption) (*QuotaList, error)
	// Fetch all projects in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.project.list on the organization identified by the given context ID
	ListProjects(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*ProjectList, error)
	// Fetch a project by its id.
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.get on the project identified by the given ID
	GetProject(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*Project, error)
	// Create a new project
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.create on the organization that owns the project
	CreateProject(ctx context.Context, in *Project, opts ...grpc.CallOption) (*Project, error)
	// Update a project
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.update on the project
	UpdateProject(ctx context.Context, in *Project, opts ...grpc.CallOption) (*Project, error)
	// Delete a project
	// Note that project are initially only marked for deleted.
	// Once all their resources are removed the project itself is deleted
	// and cannot be restored.
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.delete on the project
	DeleteProject(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
	// Get a list of quota values for the project identified by the given context ID.
	// If a quota is not specified on project level, a value from organization level
	// is returned.
	// Required permissions:
	// - resourcemanager.project.get on the project
	ListProjectQuotas(ctx context.Context, in *ListQuotasRequest, opts ...grpc.CallOption) (*QuotaList, error)
	// Fetch all events in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.event.list on the organization identified by the given context ID
	// Note that this method uses a POST method because the list options contains a repeated field.
	ListEvents(ctx context.Context, in *ListEventOptions, opts ...grpc.CallOption) (*EventList, error)
	// Fetch all organization invites in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.organization-invite.list on the invite.
	ListOrganizationInvites(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*OrganizationInviteList, error)
	// Fetch all organization invites for the email address of the authenticated user.
	// Required permissions:
	// - None
	ListMyOrganizationInvites(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*OrganizationInviteList, error)
	// Fetch an organization invite by its id.
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.get on the invite.
	GetOrganizationInvite(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*OrganizationInvite, error)
	// Create a new organization invite.
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.create on the organization that the invite is for.
	CreateOrganizationInvite(ctx context.Context, in *OrganizationInvite, opts ...grpc.CallOption) (*OrganizationInvite, error)
	// Delete an organization invite
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.delete on the invite
	DeleteOrganizationInvite(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
	// Accept an organization invite
	// The authenticated user's email address must match the email address specified in
	// the invite.
	// Required permissions:
	// - None
	AcceptOrganizationInvite(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
	// Reject an organization invite
	// The authenticated user's email address must match the email address specified in
	// the invite.
	// Required permissions:
	// - None
	RejectOrganizationInvite(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*v1.Empty, error)
	// Fetch descriptions for all quota kinds know by the platform.
	// Required permissions:
	// - None
	ListQuotaDescriptions(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*QuotaDescriptionList, error)
	// Fetch a specific version of the Terms & Conditions.
	// Required permissions:
	// - None
	GetTermsAndConditions(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*TermsAndConditions, error)
	// Fetch the current version of the Terms & Conditions for the organization
	// identified by the given (optional) ID.
	// Required permissions:
	// - None If ID is empty.
	// - resourcemanager.organization.get If ID is not empty.
	GetCurrentTermsAndConditions(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*TermsAndConditions, error)
	// Fetch a specific version of the Data Processing Addendum.
	// Required permissions:
	// - None
	GetDataProcessingAddendum(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*DataProcessingAddendum, error)
	// Fetch the current version of the Data Processing Addendum for the organization
	// identified by the given (optional) ID.
	// Required permissions:
	// - None If ID is empty.
	// - resourcemanager.organization.get If ID is not empty.
	GetCurrentDataProcessingAddendum(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*DataProcessingAddendum, error)
}

ResourceManagerServiceClient is the client API for ResourceManagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewResourceManagerServiceClient

func NewResourceManagerServiceClient(cc *grpc.ClientConn) ResourceManagerServiceClient

type ResourceManagerServiceServer

type ResourceManagerServiceServer interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error)
	// Fetch all organizations that the authenticated user is a member of.
	// Required permissions:
	// - None
	ListOrganizations(context.Context, *v1.ListOptions) (*OrganizationList, error)
	// Fetch an organization by its id.
	// The authenticated user must be a member of the organization.
	// Required permissions:
	// - None
	GetOrganization(context.Context, *v1.IDOptions) (*Organization, error)
	// Create a new organization
	// Required permissions:
	// - None
	CreateOrganization(context.Context, *Organization) (*Organization, error)
	// Update an organization
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	UpdateOrganization(context.Context, *Organization) (*Organization, error)
	// Delete an organization
	// Note that organization are never really removed.
	// Instead their is_deleted field is set to true.
	// Required permissions:
	// - resourcemanager.organization.delete on the organization
	DeleteOrganization(context.Context, *v1.IDOptions) (*v1.Empty, error)
	// Get a list of members of the organization identified by the given context ID.
	// Required permissions:
	// - resourcemanager.organization.get on the organization
	ListOrganizationMembers(context.Context, *v1.ListOptions) (*MemberList, error)
	// Add one or more members to an organization.
	// If there are members (in the request arguments) that are already member of the
	// organization an AlreadyExists error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	AddOrganizationMembers(context.Context, *OrganizationMembersRequest) (*v1.Empty, error)
	// Update the ownership flag of one or more members of an organization.
	// If there are members (in the request arguments) that are not yet member of
	// the organization, an InvalidArgument error is returned.
	// If the request would result in the last owner no longer being an owner,
	// an InvalidArgument error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	UpdateOrganizationMembers(context.Context, *OrganizationMembersRequest) (*v1.Empty, error)
	// Remove one or more members from an organization.
	// If the request would result in the last owner being removed as member
	// of the organization, an InvalidArgument error is returned.
	// Required permissions:
	// - resourcemanager.organization.update on the organization
	DeleteOrganizationMembers(context.Context, *OrganizationMembersRequest) (*v1.Empty, error)
	// Is the user identified by the given user ID a member
	// of the organization identified by the given organization ID.
	// Required permissions:
	// - resourcemanager.organization.get on the organization, unless the requested user is identical to the authenticated user.
	// Note that if the identified user or organization does not exist, no is returned.
	IsMemberOfOrganization(context.Context, *IsMemberOfOrganizationRequest) (*IsMemberOfOrganizationResponse, error)
	// Get a list of quota values for the organization identified by the given context ID.
	// If a quota is not specified on organization level, a (potentially tier specific) default
	// value is returned.
	// Required permissions:
	// - resourcemanager.organization.get on the organization
	ListOrganizationQuotas(context.Context, *ListQuotasRequest) (*QuotaList, error)
	// Fetch all projects in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.project.list on the organization identified by the given context ID
	ListProjects(context.Context, *v1.ListOptions) (*ProjectList, error)
	// Fetch a project by its id.
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.get on the project identified by the given ID
	GetProject(context.Context, *v1.IDOptions) (*Project, error)
	// Create a new project
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.create on the organization that owns the project
	CreateProject(context.Context, *Project) (*Project, error)
	// Update a project
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.update on the project
	UpdateProject(context.Context, *Project) (*Project, error)
	// Delete a project
	// Note that project are initially only marked for deleted.
	// Once all their resources are removed the project itself is deleted
	// and cannot be restored.
	// The authenticated user must be a member of the organization that owns the project.
	// Required permissions:
	// - resourcemanager.project.delete on the project
	DeleteProject(context.Context, *v1.IDOptions) (*v1.Empty, error)
	// Get a list of quota values for the project identified by the given context ID.
	// If a quota is not specified on project level, a value from organization level
	// is returned.
	// Required permissions:
	// - resourcemanager.project.get on the project
	ListProjectQuotas(context.Context, *ListQuotasRequest) (*QuotaList, error)
	// Fetch all events in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.event.list on the organization identified by the given context ID
	// Note that this method uses a POST method because the list options contains a repeated field.
	ListEvents(context.Context, *ListEventOptions) (*EventList, error)
	// Fetch all organization invites in the organization identified by the given context ID.
	// The authenticated user must be a member of the organization identifier by the given context ID.
	// Required permissions:
	// - resourcemanager.organization-invite.list on the invite.
	ListOrganizationInvites(context.Context, *v1.ListOptions) (*OrganizationInviteList, error)
	// Fetch all organization invites for the email address of the authenticated user.
	// Required permissions:
	// - None
	ListMyOrganizationInvites(context.Context, *v1.ListOptions) (*OrganizationInviteList, error)
	// Fetch an organization invite by its id.
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.get on the invite.
	GetOrganizationInvite(context.Context, *v1.IDOptions) (*OrganizationInvite, error)
	// Create a new organization invite.
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.create on the organization that the invite is for.
	CreateOrganizationInvite(context.Context, *OrganizationInvite) (*OrganizationInvite, error)
	// Delete an organization invite
	// The authenticated user must be a member of the organization that the invite is for.
	// Required permissions:
	// - resourcemanager.organization-invite.delete on the invite
	DeleteOrganizationInvite(context.Context, *v1.IDOptions) (*v1.Empty, error)
	// Accept an organization invite
	// The authenticated user's email address must match the email address specified in
	// the invite.
	// Required permissions:
	// - None
	AcceptOrganizationInvite(context.Context, *v1.IDOptions) (*v1.Empty, error)
	// Reject an organization invite
	// The authenticated user's email address must match the email address specified in
	// the invite.
	// Required permissions:
	// - None
	RejectOrganizationInvite(context.Context, *v1.IDOptions) (*v1.Empty, error)
	// Fetch descriptions for all quota kinds know by the platform.
	// Required permissions:
	// - None
	ListQuotaDescriptions(context.Context, *v1.ListOptions) (*QuotaDescriptionList, error)
	// Fetch a specific version of the Terms & Conditions.
	// Required permissions:
	// - None
	GetTermsAndConditions(context.Context, *v1.IDOptions) (*TermsAndConditions, error)
	// Fetch the current version of the Terms & Conditions for the organization
	// identified by the given (optional) ID.
	// Required permissions:
	// - None If ID is empty.
	// - resourcemanager.organization.get If ID is not empty.
	GetCurrentTermsAndConditions(context.Context, *v1.IDOptions) (*TermsAndConditions, error)
	// Fetch a specific version of the Data Processing Addendum.
	// Required permissions:
	// - None
	GetDataProcessingAddendum(context.Context, *v1.IDOptions) (*DataProcessingAddendum, error)
	// Fetch the current version of the Data Processing Addendum for the organization
	// identified by the given (optional) ID.
	// Required permissions:
	// - None If ID is empty.
	// - resourcemanager.organization.get If ID is not empty.
	GetCurrentDataProcessingAddendum(context.Context, *v1.IDOptions) (*DataProcessingAddendum, error)
}

ResourceManagerServiceServer is the server API for ResourceManagerService service.

type ResourceURL

type ResourceURL []ResourceID

ResourceURL holds a parsed resource URL.

func ParseResourceURL

func ParseResourceURL(resourceURL string) (ResourceURL, error)

ParseResourceURL parses the given resource URL into its elements.

func (ResourceURL) OrganizationChildID

func (u ResourceURL) OrganizationChildID(kind ...string) string

OrganizationChildID returns the ID of a child of the organization in the given URL. At least one kind must be given. If more kinds are given, they refer to a grant-child. If not (grant)child with matching kind(s) is found, an empty string is returned.

func (ResourceURL) OrganizationID

func (u ResourceURL) OrganizationID() string

OrganizationID returns the organization ID of the given URL.

func (ResourceURL) ProjectChildID

func (u ResourceURL) ProjectChildID(kind ...string) string

ProjectChildID returns the ID of a child of the project in the given URL. At least one kind must be given. If more kinds are given, they refer to a grant-child. If not (grant)child with matching kind(s) is found, an empty string is returned.

func (ResourceURL) ProjectID

func (u ResourceURL) ProjectID() string

ProjectID returns the project ID of the given URL. If the URL does not contain a project ID, an empty string is returned.

func (ResourceURL) String

func (u ResourceURL) String() string

String representation of the URL

func (ResourceURL) Validate

func (u ResourceURL) Validate() error

Validate this URL. Returns nil is valid, error otherwise.

type TermsAndConditions

type TermsAndConditions struct {
	// Identifier of this version of the terms & conditions
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Content of terms & conditions in markdown format
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// Creation date of this version of the terms & conditions.
	CreatedAt            *types.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TermsAndConditions) Descriptor

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

func (*TermsAndConditions) GetContent

func (m *TermsAndConditions) GetContent() string

func (*TermsAndConditions) GetCreatedAt

func (m *TermsAndConditions) GetCreatedAt() *types.Timestamp

func (*TermsAndConditions) GetId

func (m *TermsAndConditions) GetId() string

func (*TermsAndConditions) Marshal

func (m *TermsAndConditions) Marshal() (dAtA []byte, err error)

func (*TermsAndConditions) MarshalTo

func (m *TermsAndConditions) MarshalTo(dAtA []byte) (int, error)

func (*TermsAndConditions) MarshalToSizedBuffer

func (m *TermsAndConditions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TermsAndConditions) ProtoMessage

func (*TermsAndConditions) ProtoMessage()

func (*TermsAndConditions) Reset

func (m *TermsAndConditions) Reset()

func (*TermsAndConditions) Size

func (m *TermsAndConditions) Size() (n int)

func (*TermsAndConditions) String

func (m *TermsAndConditions) String() string

func (*TermsAndConditions) Unmarshal

func (m *TermsAndConditions) Unmarshal(dAtA []byte) error

func (*TermsAndConditions) XXX_DiscardUnknown

func (m *TermsAndConditions) XXX_DiscardUnknown()

func (*TermsAndConditions) XXX_Marshal

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

func (*TermsAndConditions) XXX_Merge

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

func (*TermsAndConditions) XXX_Size

func (m *TermsAndConditions) XXX_Size() int

func (*TermsAndConditions) XXX_Unmarshal

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

type Tier

type Tier struct {
	// Identifier of the tier.
	// This is a read-only value and cannot be initialized.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human readable name of the tier.
	// This is a read-only value and cannot be initialized.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// If set the tier has support plans.
	// This is a read-only value and cannot be initialized.
	HasSupportPlans bool `protobuf:"varint,3,opt,name=has_support_plans,json=hasSupportPlans,proto3" json:"has_support_plans,omitempty"`
	// If set the tier has backup uploads.
	// This is a read-only value and cannot be initialized.
	HasBackupUploads bool `protobuf:"varint,4,opt,name=has_backup_uploads,json=hasBackupUploads,proto3" json:"has_backup_uploads,omitempty"`
	// If set, the tier requires that new deployments accept the
	// current terms & conditions.
	// This is a read-only value and cannot be initialized.
	RequiresTermsAndConditions bool `` /* 144-byte string literal not displayed */
	// If set, this tier allows the user of support severity high.
	HasSupportSeverityHigh bool `` /* 132-byte string literal not displayed */
	// If set, this tier allows the user of support severity critical.
	HasSupportSeverityCritical bool `` /* 144-byte string literal not displayed */
	// If set, this tier has the auditlog feature.
	// This is a read-only value and cannot be initialized.
	HasAuditlogFeature bool `protobuf:"varint,8,opt,name=has_auditlog_feature,json=hasAuditlogFeature,proto3" json:"has_auditlog_feature,omitempty"`
	// If set, this tier supports the auditlog destination 'cloud'.
	// This fields is only relevant if has_auditlog_feature is set.
	// This is a read-only value and cannot be initialized.
	HasAuditlogDestinationCloud bool `` /* 147-byte string literal not displayed */
	// If set, this tier supports the auditlog destination 'https-post'.
	// This fields is only relevant if has_auditlog_feature is set.
	// This is a read-only value and cannot be initialized.
	HasAuditlogDestinationHttpsPost bool `` /* 162-byte string literal not displayed */
	// If set, this tier supports private endpoints.
	// This is a read-only value and cannot be initialized.
	HasPrivateEndpoints bool `protobuf:"varint,11,opt,name=has_private_endpoints,json=hasPrivateEndpoints,proto3" json:"has_private_endpoints,omitempty"`
	// If set the tier has multi region backup uploads.
	// This is a read-only value and cannot be initialized.
	HasMultiRegionBackupUploads bool     `` /* 150-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

Tier of an organization.

func (*Tier) Descriptor

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

func (*Tier) GetHasAuditlogDestinationCloud added in v0.50.6

func (m *Tier) GetHasAuditlogDestinationCloud() bool

func (*Tier) GetHasAuditlogDestinationHttpsPost added in v0.50.6

func (m *Tier) GetHasAuditlogDestinationHttpsPost() bool

func (*Tier) GetHasAuditlogFeature added in v0.50.6

func (m *Tier) GetHasAuditlogFeature() bool

func (*Tier) GetHasBackupUploads

func (m *Tier) GetHasBackupUploads() bool

func (*Tier) GetHasMultiRegionBackupUploads added in v0.74.14

func (m *Tier) GetHasMultiRegionBackupUploads() bool

func (*Tier) GetHasPrivateEndpoints added in v0.70.8

func (m *Tier) GetHasPrivateEndpoints() bool

func (*Tier) GetHasSupportPlans

func (m *Tier) GetHasSupportPlans() bool

func (*Tier) GetHasSupportSeverityCritical added in v0.40.7

func (m *Tier) GetHasSupportSeverityCritical() bool

func (*Tier) GetHasSupportSeverityHigh added in v0.40.7

func (m *Tier) GetHasSupportSeverityHigh() bool

func (*Tier) GetId

func (m *Tier) GetId() string

func (*Tier) GetName

func (m *Tier) GetName() string

func (*Tier) GetRequiresTermsAndConditions

func (m *Tier) GetRequiresTermsAndConditions() bool

func (*Tier) Marshal

func (m *Tier) Marshal() (dAtA []byte, err error)

func (*Tier) MarshalTo

func (m *Tier) MarshalTo(dAtA []byte) (int, error)

func (*Tier) MarshalToSizedBuffer

func (m *Tier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tier) ProtoMessage

func (*Tier) ProtoMessage()

func (*Tier) Reset

func (m *Tier) Reset()

func (*Tier) Size

func (m *Tier) Size() (n int)

func (*Tier) String

func (m *Tier) String() string

func (*Tier) Unmarshal

func (m *Tier) Unmarshal(dAtA []byte) error

func (*Tier) XXX_DiscardUnknown

func (m *Tier) XXX_DiscardUnknown()

func (*Tier) XXX_Marshal

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

func (*Tier) XXX_Merge

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

func (*Tier) XXX_Size

func (m *Tier) XXX_Size() int

func (*Tier) XXX_Unmarshal

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

type UnimplementedResourceManagerServiceServer

type UnimplementedResourceManagerServiceServer struct {
}

UnimplementedResourceManagerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedResourceManagerServiceServer) AcceptOrganizationInvite

func (*UnimplementedResourceManagerServiceServer) AcceptOrganizationInvite(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedResourceManagerServiceServer) AddOrganizationMembers

func (*UnimplementedResourceManagerServiceServer) CreateOrganization

func (*UnimplementedResourceManagerServiceServer) CreateOrganizationInvite

func (*UnimplementedResourceManagerServiceServer) CreateProject

func (*UnimplementedResourceManagerServiceServer) DeleteOrganization

func (*UnimplementedResourceManagerServiceServer) DeleteOrganizationInvite

func (*UnimplementedResourceManagerServiceServer) DeleteOrganizationInvite(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedResourceManagerServiceServer) DeleteOrganizationMembers

func (*UnimplementedResourceManagerServiceServer) DeleteProject

func (*UnimplementedResourceManagerServiceServer) GetAPIVersion

func (*UnimplementedResourceManagerServiceServer) GetCurrentDataProcessingAddendum

func (*UnimplementedResourceManagerServiceServer) GetCurrentDataProcessingAddendum(ctx context.Context, req *v1.IDOptions) (*DataProcessingAddendum, error)

func (*UnimplementedResourceManagerServiceServer) GetCurrentTermsAndConditions

func (*UnimplementedResourceManagerServiceServer) GetCurrentTermsAndConditions(ctx context.Context, req *v1.IDOptions) (*TermsAndConditions, error)

func (*UnimplementedResourceManagerServiceServer) GetDataProcessingAddendum

func (*UnimplementedResourceManagerServiceServer) GetOrganization

func (*UnimplementedResourceManagerServiceServer) GetOrganizationInvite

func (*UnimplementedResourceManagerServiceServer) GetProject

func (*UnimplementedResourceManagerServiceServer) GetTermsAndConditions

func (*UnimplementedResourceManagerServiceServer) IsMemberOfOrganization

func (*UnimplementedResourceManagerServiceServer) ListEvents

func (*UnimplementedResourceManagerServiceServer) ListMyOrganizationInvites

func (*UnimplementedResourceManagerServiceServer) ListOrganizationInvites

func (*UnimplementedResourceManagerServiceServer) ListOrganizationMembers

func (*UnimplementedResourceManagerServiceServer) ListOrganizationQuotas

func (*UnimplementedResourceManagerServiceServer) ListOrganizations

func (*UnimplementedResourceManagerServiceServer) ListProjectQuotas

func (*UnimplementedResourceManagerServiceServer) ListProjects

func (*UnimplementedResourceManagerServiceServer) ListQuotaDescriptions

func (*UnimplementedResourceManagerServiceServer) RejectOrganizationInvite

func (*UnimplementedResourceManagerServiceServer) RejectOrganizationInvite(ctx context.Context, req *v1.IDOptions) (*v1.Empty, error)

func (*UnimplementedResourceManagerServiceServer) UpdateOrganization

func (*UnimplementedResourceManagerServiceServer) UpdateOrganizationMembers

func (*UnimplementedResourceManagerServiceServer) UpdateProject

Jump to

Keyboard shortcuts

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