Documentation ¶
Index ¶
- Variables
- func RegisterGSuiteAddOnsServer(s *grpc.Server, srv GSuiteAddOnsServer)
- type AddOns
- func (*AddOns) Descriptor() ([]byte, []int)deprecated
- func (x *AddOns) GetCalendar() *calendar.CalendarAddOnManifest
- func (x *AddOns) GetCommon() *_type.CommonAddOnManifest
- func (x *AddOns) GetDocs() *docs.DocsAddOnManifest
- func (x *AddOns) GetDrive() *drive.DriveAddOnManifest
- func (x *AddOns) GetGmail() *gmail.GmailAddOnManifest
- func (x *AddOns) GetHttpOptions() *_type.HttpOptions
- func (x *AddOns) GetSheets() *sheets.SheetsAddOnManifest
- func (x *AddOns) GetSlides() *slides.SlidesAddOnManifest
- func (*AddOns) ProtoMessage()
- func (x *AddOns) ProtoReflect() protoreflect.Message
- func (x *AddOns) Reset()
- func (x *AddOns) String() string
- type Authorization
- func (*Authorization) Descriptor() ([]byte, []int)deprecated
- func (x *Authorization) GetName() string
- func (x *Authorization) GetOauthClientId() string
- func (x *Authorization) GetServiceAccountEmail() string
- func (*Authorization) ProtoMessage()
- func (x *Authorization) ProtoReflect() protoreflect.Message
- func (x *Authorization) Reset()
- func (x *Authorization) String() string
- type CreateDeploymentRequest
- func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentRequest) GetDeployment() *Deployment
- func (x *CreateDeploymentRequest) GetDeploymentId() string
- func (x *CreateDeploymentRequest) GetParent() string
- func (*CreateDeploymentRequest) ProtoMessage()
- func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentRequest) Reset()
- func (x *CreateDeploymentRequest) String() string
- type DeleteDeploymentRequest
- func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeploymentRequest) GetEtag() string
- func (x *DeleteDeploymentRequest) GetName() string
- func (*DeleteDeploymentRequest) ProtoMessage()
- func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeploymentRequest) Reset()
- func (x *DeleteDeploymentRequest) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetAddOns() *AddOns
- func (x *Deployment) GetEtag() string
- func (x *Deployment) GetName() string
- func (x *Deployment) GetOauthScopes() []string
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type GSuiteAddOnsClient
- type GSuiteAddOnsServer
- type GetAuthorizationRequest
- func (*GetAuthorizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizationRequest) GetName() string
- func (*GetAuthorizationRequest) ProtoMessage()
- func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizationRequest) Reset()
- func (x *GetAuthorizationRequest) String() string
- type GetDeploymentRequest
- func (*GetDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentRequest) GetName() string
- func (*GetDeploymentRequest) ProtoMessage()
- func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentRequest) Reset()
- func (x *GetDeploymentRequest) String() string
- type GetInstallStatusRequest
- func (*GetInstallStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstallStatusRequest) GetName() string
- func (*GetInstallStatusRequest) ProtoMessage()
- func (x *GetInstallStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstallStatusRequest) Reset()
- func (x *GetInstallStatusRequest) String() string
- type InstallDeploymentRequest
- func (*InstallDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallDeploymentRequest) GetName() string
- func (*InstallDeploymentRequest) ProtoMessage()
- func (x *InstallDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *InstallDeploymentRequest) Reset()
- func (x *InstallDeploymentRequest) String() string
- type InstallStatus
- func (*InstallStatus) Descriptor() ([]byte, []int)deprecated
- func (x *InstallStatus) GetInstalled() *wrapperspb.BoolValue
- func (x *InstallStatus) GetName() string
- func (*InstallStatus) ProtoMessage()
- func (x *InstallStatus) ProtoReflect() protoreflect.Message
- func (x *InstallStatus) Reset()
- func (x *InstallStatus) String() string
- type ListDeploymentsRequest
- func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsRequest) GetPageSize() int32
- func (x *ListDeploymentsRequest) GetPageToken() string
- func (x *ListDeploymentsRequest) GetParent() string
- func (*ListDeploymentsRequest) ProtoMessage()
- func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsRequest) Reset()
- func (x *ListDeploymentsRequest) String() string
- type ListDeploymentsResponse
- func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
- func (x *ListDeploymentsResponse) GetNextPageToken() string
- func (*ListDeploymentsResponse) ProtoMessage()
- func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsResponse) Reset()
- func (x *ListDeploymentsResponse) String() string
- type ReplaceDeploymentRequest
- func (*ReplaceDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceDeploymentRequest) GetDeployment() *Deployment
- func (*ReplaceDeploymentRequest) ProtoMessage()
- func (x *ReplaceDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceDeploymentRequest) Reset()
- func (x *ReplaceDeploymentRequest) String() string
- type UnimplementedGSuiteAddOnsServer
- func (*UnimplementedGSuiteAddOnsServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*Deployment, error)
- func (*UnimplementedGSuiteAddOnsServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
- func (*UnimplementedGSuiteAddOnsServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*Authorization, error)
- func (*UnimplementedGSuiteAddOnsServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
- func (*UnimplementedGSuiteAddOnsServer) GetInstallStatus(context.Context, *GetInstallStatusRequest) (*InstallStatus, error)
- func (*UnimplementedGSuiteAddOnsServer) InstallDeployment(context.Context, *InstallDeploymentRequest) (*emptypb.Empty, error)
- func (*UnimplementedGSuiteAddOnsServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
- func (*UnimplementedGSuiteAddOnsServer) ReplaceDeployment(context.Context, *ReplaceDeploymentRequest) (*Deployment, error)
- func (*UnimplementedGSuiteAddOnsServer) UninstallDeployment(context.Context, *UninstallDeploymentRequest) (*emptypb.Empty, error)
- type UninstallDeploymentRequest
- func (*UninstallDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UninstallDeploymentRequest) GetName() string
- func (*UninstallDeploymentRequest) ProtoMessage()
- func (x *UninstallDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *UninstallDeploymentRequest) Reset()
- func (x *UninstallDeploymentRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_google_cloud_gsuiteaddons_v1_gsuiteaddons_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGSuiteAddOnsServer ¶
func RegisterGSuiteAddOnsServer(s *grpc.Server, srv GSuiteAddOnsServer)
Types ¶
type AddOns ¶
type AddOns struct { // Configuration that is common across all Google Workspace Add-ons. Common *_type.CommonAddOnManifest `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // Gmail add-on configuration. Gmail *gmail.GmailAddOnManifest `protobuf:"bytes,2,opt,name=gmail,proto3" json:"gmail,omitempty"` // Drive add-on configuration. Drive *drive.DriveAddOnManifest `protobuf:"bytes,5,opt,name=drive,proto3" json:"drive,omitempty"` // Calendar add-on configuration. Calendar *calendar.CalendarAddOnManifest `protobuf:"bytes,6,opt,name=calendar,proto3" json:"calendar,omitempty"` // Docs add-on configuration. Docs *docs.DocsAddOnManifest `protobuf:"bytes,7,opt,name=docs,proto3" json:"docs,omitempty"` // Sheets add-on configuration. Sheets *sheets.SheetsAddOnManifest `protobuf:"bytes,8,opt,name=sheets,proto3" json:"sheets,omitempty"` // Slides add-on configuration. Slides *slides.SlidesAddOnManifest `protobuf:"bytes,10,opt,name=slides,proto3" json:"slides,omitempty"` // Options for sending requests to add-on HTTP endpoints HttpOptions *_type.HttpOptions `protobuf:"bytes,15,opt,name=http_options,json=httpOptions,proto3" json:"http_options,omitempty"` // contains filtered or unexported fields }
A Google Workspace Add-on configuration.
func (*AddOns) Descriptor
deprecated
func (*AddOns) GetCalendar ¶
func (x *AddOns) GetCalendar() *calendar.CalendarAddOnManifest
func (*AddOns) GetCommon ¶
func (x *AddOns) GetCommon() *_type.CommonAddOnManifest
func (*AddOns) GetDocs ¶
func (x *AddOns) GetDocs() *docs.DocsAddOnManifest
func (*AddOns) GetDrive ¶
func (x *AddOns) GetDrive() *drive.DriveAddOnManifest
func (*AddOns) GetGmail ¶
func (x *AddOns) GetGmail() *gmail.GmailAddOnManifest
func (*AddOns) GetHttpOptions ¶
func (x *AddOns) GetHttpOptions() *_type.HttpOptions
func (*AddOns) GetSheets ¶
func (x *AddOns) GetSheets() *sheets.SheetsAddOnManifest
func (*AddOns) GetSlides ¶
func (x *AddOns) GetSlides() *slides.SlidesAddOnManifest
func (*AddOns) ProtoMessage ¶
func (*AddOns) ProtoMessage()
func (*AddOns) ProtoReflect ¶
func (x *AddOns) ProtoReflect() protoreflect.Message
type Authorization ¶
type Authorization struct { // The canonical full name of this resource. // Example: `projects/123/authorization` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The email address of the service account used to authenticate requests to // add-on callback endpoints. ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` // The OAuth client ID used to obtain OAuth access tokens for a user on the // add-on's behalf. OauthClientId string `protobuf:"bytes,3,opt,name=oauth_client_id,json=oauthClientId,proto3" json:"oauth_client_id,omitempty"` // contains filtered or unexported fields }
The authorization information used when invoking deployment endpoints.
func (*Authorization) Descriptor
deprecated
func (*Authorization) Descriptor() ([]byte, []int)
Deprecated: Use Authorization.ProtoReflect.Descriptor instead.
func (*Authorization) GetName ¶
func (x *Authorization) GetName() string
func (*Authorization) GetOauthClientId ¶
func (x *Authorization) GetOauthClientId() string
func (*Authorization) GetServiceAccountEmail ¶
func (x *Authorization) GetServiceAccountEmail() string
func (*Authorization) ProtoMessage ¶
func (*Authorization) ProtoMessage()
func (*Authorization) ProtoReflect ¶
func (x *Authorization) ProtoReflect() protoreflect.Message
func (*Authorization) Reset ¶
func (x *Authorization) Reset()
func (*Authorization) String ¶
func (x *Authorization) String() string
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { // Required. Name of the project in which to create the deployment. // // Example: `projects/my_project`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The id to use for this deployment. The full name of the created // resource will be `projects/<project_number>/deployments/<deployment_id>`. DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Required. The deployment to create (deployment.name cannot be set). Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
Request message to create a deployment.
func (*CreateDeploymentRequest) Descriptor
deprecated
func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreateDeploymentRequest) GetDeployment ¶
func (x *CreateDeploymentRequest) GetDeployment() *Deployment
func (*CreateDeploymentRequest) GetDeploymentId ¶
func (x *CreateDeploymentRequest) GetDeploymentId() string
func (*CreateDeploymentRequest) GetParent ¶
func (x *CreateDeploymentRequest) GetParent() string
func (*CreateDeploymentRequest) ProtoMessage ¶
func (*CreateDeploymentRequest) ProtoMessage()
func (*CreateDeploymentRequest) ProtoReflect ¶
func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
func (*CreateDeploymentRequest) Reset ¶
func (x *CreateDeploymentRequest) Reset()
func (*CreateDeploymentRequest) String ¶
func (x *CreateDeploymentRequest) String() string
type DeleteDeploymentRequest ¶
type DeleteDeploymentRequest struct { // Required. The full resource name of the deployment to delete. // // Example: `projects/my_project/deployments/my_deployment`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The etag of the deployment to delete. // If this is provided, it must match the server's etag. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message to delete a deployment.
func (*DeleteDeploymentRequest) Descriptor
deprecated
func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeploymentRequest) GetEtag ¶
func (x *DeleteDeploymentRequest) GetEtag() string
func (*DeleteDeploymentRequest) GetName ¶
func (x *DeleteDeploymentRequest) GetName() string
func (*DeleteDeploymentRequest) ProtoMessage ¶
func (*DeleteDeploymentRequest) ProtoMessage()
func (*DeleteDeploymentRequest) ProtoReflect ¶
func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeploymentRequest) Reset ¶
func (x *DeleteDeploymentRequest) Reset()
func (*DeleteDeploymentRequest) String ¶
func (x *DeleteDeploymentRequest) String() string
type Deployment ¶
type Deployment struct { // The deployment resource name. // Example: projects/123/deployments/my_deployment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of Google OAuth scopes for which to request consent from the end // user before executing an add-on endpoint. OauthScopes []string `protobuf:"bytes,2,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` // The Google Workspace Add-on configuration. AddOns *AddOns `protobuf:"bytes,3,opt,name=add_ons,json=addOns,proto3" json:"add_ons,omitempty"` // This value is computed by the server based on the version of the // deployment in storage, and may be sent on update and delete requests to // ensure the client has an up-to-date value before proceeding. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
A Google Workspace Add-on deployment
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetAddOns ¶
func (x *Deployment) GetAddOns() *AddOns
func (*Deployment) GetEtag ¶
func (x *Deployment) GetEtag() string
func (*Deployment) GetName ¶
func (x *Deployment) GetName() string
func (*Deployment) GetOauthScopes ¶
func (x *Deployment) GetOauthScopes() []string
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type GSuiteAddOnsClient ¶
type GSuiteAddOnsClient interface { // Gets the authorization information for deployments in a given project. GetAuthorization(ctx context.Context, in *GetAuthorizationRequest, opts ...grpc.CallOption) (*Authorization, error) // Creates a deployment with the specified name and configuration. CreateDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error) // Creates or replaces a deployment with the specified name. ReplaceDeployment(ctx context.Context, in *ReplaceDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error) // Gets the deployment with the specified name. GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error) // Lists all deployments in a particular project. ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error) // Deletes the deployment with the given name. DeleteDeployment(ctx context.Context, in *DeleteDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Installs a deployment in developer mode. // See: // https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons. InstallDeployment(ctx context.Context, in *InstallDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Uninstalls a developer mode deployment. // See: // https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons. UninstallDeployment(ctx context.Context, in *UninstallDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Fetches the install status of a developer mode deployment. GetInstallStatus(ctx context.Context, in *GetInstallStatusRequest, opts ...grpc.CallOption) (*InstallStatus, error) }
GSuiteAddOnsClient is the client API for GSuiteAddOns service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGSuiteAddOnsClient ¶
func NewGSuiteAddOnsClient(cc grpc.ClientConnInterface) GSuiteAddOnsClient
type GSuiteAddOnsServer ¶
type GSuiteAddOnsServer interface { // Gets the authorization information for deployments in a given project. GetAuthorization(context.Context, *GetAuthorizationRequest) (*Authorization, error) // Creates a deployment with the specified name and configuration. CreateDeployment(context.Context, *CreateDeploymentRequest) (*Deployment, error) // Creates or replaces a deployment with the specified name. ReplaceDeployment(context.Context, *ReplaceDeploymentRequest) (*Deployment, error) // Gets the deployment with the specified name. GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error) // Lists all deployments in a particular project. ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error) // Deletes the deployment with the given name. DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error) // Installs a deployment in developer mode. // See: // https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons. InstallDeployment(context.Context, *InstallDeploymentRequest) (*emptypb.Empty, error) // Uninstalls a developer mode deployment. // See: // https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons. UninstallDeployment(context.Context, *UninstallDeploymentRequest) (*emptypb.Empty, error) // Fetches the install status of a developer mode deployment. GetInstallStatus(context.Context, *GetInstallStatusRequest) (*InstallStatus, error) }
GSuiteAddOnsServer is the server API for GSuiteAddOns service.
type GetAuthorizationRequest ¶
type GetAuthorizationRequest struct { // Required. Name of the project for which to get the Google Workspace Add-ons // authorization information. // // Example: `projects/my_project/authorization`. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to get Google Workspace Add-ons authorization information.
func (*GetAuthorizationRequest) Descriptor
deprecated
func (*GetAuthorizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizationRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizationRequest) GetName ¶
func (x *GetAuthorizationRequest) GetName() string
func (*GetAuthorizationRequest) ProtoMessage ¶
func (*GetAuthorizationRequest) ProtoMessage()
func (*GetAuthorizationRequest) ProtoReflect ¶
func (x *GetAuthorizationRequest) ProtoReflect() protoreflect.Message
func (*GetAuthorizationRequest) Reset ¶
func (x *GetAuthorizationRequest) Reset()
func (*GetAuthorizationRequest) String ¶
func (x *GetAuthorizationRequest) String() string
type GetDeploymentRequest ¶
type GetDeploymentRequest struct { // Required. The full resource name of the deployment to get. // // Example: `projects/my_project/deployments/my_deployment`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to get a deployment.
func (*GetDeploymentRequest) Descriptor
deprecated
func (*GetDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentRequest) GetName ¶
func (x *GetDeploymentRequest) GetName() string
func (*GetDeploymentRequest) ProtoMessage ¶
func (*GetDeploymentRequest) ProtoMessage()
func (*GetDeploymentRequest) ProtoReflect ¶
func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentRequest) Reset ¶
func (x *GetDeploymentRequest) Reset()
func (*GetDeploymentRequest) String ¶
func (x *GetDeploymentRequest) String() string
type GetInstallStatusRequest ¶
type GetInstallStatusRequest struct { // Required. The full resource name of the deployment. // // Example: `projects/my_project/deployments/my_deployment/installStatus`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to get the install status of a developer mode deployment.
func (*GetInstallStatusRequest) Descriptor
deprecated
func (*GetInstallStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstallStatusRequest.ProtoReflect.Descriptor instead.
func (*GetInstallStatusRequest) GetName ¶
func (x *GetInstallStatusRequest) GetName() string
func (*GetInstallStatusRequest) ProtoMessage ¶
func (*GetInstallStatusRequest) ProtoMessage()
func (*GetInstallStatusRequest) ProtoReflect ¶
func (x *GetInstallStatusRequest) ProtoReflect() protoreflect.Message
func (*GetInstallStatusRequest) Reset ¶
func (x *GetInstallStatusRequest) Reset()
func (*GetInstallStatusRequest) String ¶
func (x *GetInstallStatusRequest) String() string
type InstallDeploymentRequest ¶
type InstallDeploymentRequest struct { // Required. The full resource name of the deployment to install. // // Example: `projects/my_project/deployments/my_deployment`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to install a developer mode deployment.
func (*InstallDeploymentRequest) Descriptor
deprecated
func (*InstallDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallDeploymentRequest.ProtoReflect.Descriptor instead.
func (*InstallDeploymentRequest) GetName ¶
func (x *InstallDeploymentRequest) GetName() string
func (*InstallDeploymentRequest) ProtoMessage ¶
func (*InstallDeploymentRequest) ProtoMessage()
func (*InstallDeploymentRequest) ProtoReflect ¶
func (x *InstallDeploymentRequest) ProtoReflect() protoreflect.Message
func (*InstallDeploymentRequest) Reset ¶
func (x *InstallDeploymentRequest) Reset()
func (*InstallDeploymentRequest) String ¶
func (x *InstallDeploymentRequest) String() string
type InstallStatus ¶
type InstallStatus struct { // The canonical full resource name of the deployment install status. // // Example: `projects/123/deployments/my_deployment/installStatus`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // True if the deployment is installed for the user Installed *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=installed,proto3" json:"installed,omitempty"` // contains filtered or unexported fields }
Developer mode install status of a deployment
func (*InstallStatus) Descriptor
deprecated
func (*InstallStatus) Descriptor() ([]byte, []int)
Deprecated: Use InstallStatus.ProtoReflect.Descriptor instead.
func (*InstallStatus) GetInstalled ¶
func (x *InstallStatus) GetInstalled() *wrapperspb.BoolValue
func (*InstallStatus) GetName ¶
func (x *InstallStatus) GetName() string
func (*InstallStatus) ProtoMessage ¶
func (*InstallStatus) ProtoMessage()
func (*InstallStatus) ProtoReflect ¶
func (x *InstallStatus) ProtoReflect() protoreflect.Message
func (*InstallStatus) Reset ¶
func (x *InstallStatus) Reset()
func (*InstallStatus) String ¶
func (x *InstallStatus) String() string
type ListDeploymentsRequest ¶
type ListDeploymentsRequest struct { // Required. Name of the project in which to create the deployment. // // Example: `projects/my_project`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of deployments to return. The service may return fewer // than this value. // If unspecified, at most 1000 deployments will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListDeployments` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListDeployments` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message to list deployments for a project.
func (*ListDeploymentsRequest) Descriptor
deprecated
func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListDeploymentsRequest) GetPageSize ¶
func (x *ListDeploymentsRequest) GetPageSize() int32
func (*ListDeploymentsRequest) GetPageToken ¶
func (x *ListDeploymentsRequest) GetPageToken() string
func (*ListDeploymentsRequest) GetParent ¶
func (x *ListDeploymentsRequest) GetParent() string
func (*ListDeploymentsRequest) ProtoMessage ¶
func (*ListDeploymentsRequest) ProtoMessage()
func (*ListDeploymentsRequest) ProtoReflect ¶
func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
func (*ListDeploymentsRequest) Reset ¶
func (x *ListDeploymentsRequest) Reset()
func (*ListDeploymentsRequest) String ¶
func (x *ListDeploymentsRequest) String() string
type ListDeploymentsResponse ¶
type ListDeploymentsResponse struct { // The list of deployments for the given project. Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message to list deployments.
func (*ListDeploymentsResponse) Descriptor
deprecated
func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListDeploymentsResponse) GetDeployments ¶
func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
func (*ListDeploymentsResponse) GetNextPageToken ¶
func (x *ListDeploymentsResponse) GetNextPageToken() string
func (*ListDeploymentsResponse) ProtoMessage ¶
func (*ListDeploymentsResponse) ProtoMessage()
func (*ListDeploymentsResponse) ProtoReflect ¶
func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
func (*ListDeploymentsResponse) Reset ¶
func (x *ListDeploymentsResponse) Reset()
func (*ListDeploymentsResponse) String ¶
func (x *ListDeploymentsResponse) String() string
type ReplaceDeploymentRequest ¶
type ReplaceDeploymentRequest struct { // Required. The deployment to create or replace. Deployment *Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
Request message to create or replace a deployment.
func (*ReplaceDeploymentRequest) Descriptor
deprecated
func (*ReplaceDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceDeploymentRequest.ProtoReflect.Descriptor instead.
func (*ReplaceDeploymentRequest) GetDeployment ¶
func (x *ReplaceDeploymentRequest) GetDeployment() *Deployment
func (*ReplaceDeploymentRequest) ProtoMessage ¶
func (*ReplaceDeploymentRequest) ProtoMessage()
func (*ReplaceDeploymentRequest) ProtoReflect ¶
func (x *ReplaceDeploymentRequest) ProtoReflect() protoreflect.Message
func (*ReplaceDeploymentRequest) Reset ¶
func (x *ReplaceDeploymentRequest) Reset()
func (*ReplaceDeploymentRequest) String ¶
func (x *ReplaceDeploymentRequest) String() string
type UnimplementedGSuiteAddOnsServer ¶
type UnimplementedGSuiteAddOnsServer struct { }
UnimplementedGSuiteAddOnsServer can be embedded to have forward compatible implementations.
func (*UnimplementedGSuiteAddOnsServer) CreateDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*Deployment, error)
func (*UnimplementedGSuiteAddOnsServer) DeleteDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
func (*UnimplementedGSuiteAddOnsServer) GetAuthorization ¶
func (*UnimplementedGSuiteAddOnsServer) GetAuthorization(context.Context, *GetAuthorizationRequest) (*Authorization, error)
func (*UnimplementedGSuiteAddOnsServer) GetDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
func (*UnimplementedGSuiteAddOnsServer) GetInstallStatus ¶
func (*UnimplementedGSuiteAddOnsServer) GetInstallStatus(context.Context, *GetInstallStatusRequest) (*InstallStatus, error)
func (*UnimplementedGSuiteAddOnsServer) InstallDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) InstallDeployment(context.Context, *InstallDeploymentRequest) (*emptypb.Empty, error)
func (*UnimplementedGSuiteAddOnsServer) ListDeployments ¶
func (*UnimplementedGSuiteAddOnsServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
func (*UnimplementedGSuiteAddOnsServer) ReplaceDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) ReplaceDeployment(context.Context, *ReplaceDeploymentRequest) (*Deployment, error)
func (*UnimplementedGSuiteAddOnsServer) UninstallDeployment ¶
func (*UnimplementedGSuiteAddOnsServer) UninstallDeployment(context.Context, *UninstallDeploymentRequest) (*emptypb.Empty, error)
type UninstallDeploymentRequest ¶
type UninstallDeploymentRequest struct { // Required. The full resource name of the deployment to install. // // Example: `projects/my_project/deployments/my_deployment`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message to uninstall a developer mode deployment.
func (*UninstallDeploymentRequest) Descriptor
deprecated
func (*UninstallDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UninstallDeploymentRequest.ProtoReflect.Descriptor instead.
func (*UninstallDeploymentRequest) GetName ¶
func (x *UninstallDeploymentRequest) GetName() string
func (*UninstallDeploymentRequest) ProtoMessage ¶
func (*UninstallDeploymentRequest) ProtoMessage()
func (*UninstallDeploymentRequest) ProtoReflect ¶
func (x *UninstallDeploymentRequest) ProtoReflect() protoreflect.Message
func (*UninstallDeploymentRequest) Reset ¶
func (x *UninstallDeploymentRequest) Reset()
func (*UninstallDeploymentRequest) String ¶
func (x *UninstallDeploymentRequest) String() string