admin

package
v0.71.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Overview

Package admin is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Admin_ListAccountGroups_FullMethodName                     = "/blueapi.admin.v1.Admin/ListAccountGroups"
	Admin_GetAccountGroup_FullMethodName                       = "/blueapi.admin.v1.Admin/GetAccountGroup"
	Admin_GetDefaultCostAccessTemplateUrl_FullMethodName       = "/blueapi.admin.v1.Admin/GetDefaultCostAccessTemplateUrl"
	Admin_ListDefaultCostAccess_FullMethodName                 = "/blueapi.admin.v1.Admin/ListDefaultCostAccess"
	Admin_GetDefaultCostAccess_FullMethodName                  = "/blueapi.admin.v1.Admin/GetDefaultCostAccess"
	Admin_CreateDefaultCostAccess_FullMethodName               = "/blueapi.admin.v1.Admin/CreateDefaultCostAccess"
	Admin_UpdateDefaultCostAccess_FullMethodName               = "/blueapi.admin.v1.Admin/UpdateDefaultCostAccess"
	Admin_DeleteDefaultCostAccess_FullMethodName               = "/blueapi.admin.v1.Admin/DeleteDefaultCostAccess"
	Admin_GetCloudWatchMetricsStreamTemplateUrl_FullMethodName = "/blueapi.admin.v1.Admin/GetCloudWatchMetricsStreamTemplateUrl"
	Admin_CreateCloudWatchMetricsStream_FullMethodName         = "/blueapi.admin.v1.Admin/CreateCloudWatchMetricsStream"
	Admin_CreateProformaCur_FullMethodName                     = "/blueapi.admin.v1.Admin/CreateProformaCur"
	Admin_GetNotificationSettings_FullMethodName               = "/blueapi.admin.v1.Admin/GetNotificationSettings"
	Admin_SaveNotificationSettings_FullMethodName              = "/blueapi.admin.v1.Admin/SaveNotificationSettings"
	Admin_ListNotificationChannels_FullMethodName              = "/blueapi.admin.v1.Admin/ListNotificationChannels"
	Admin_GetNotificationChannel_FullMethodName                = "/blueapi.admin.v1.Admin/GetNotificationChannel"
	Admin_CreateNotificationChannel_FullMethodName             = "/blueapi.admin.v1.Admin/CreateNotificationChannel"
	Admin_CreateDefaultNotificationChannel_FullMethodName      = "/blueapi.admin.v1.Admin/CreateDefaultNotificationChannel"
	Admin_UpdateNotificationChannel_FullMethodName             = "/blueapi.admin.v1.Admin/UpdateNotificationChannel"
	Admin_DeleteNotificationChannel_FullMethodName             = "/blueapi.admin.v1.Admin/DeleteNotificationChannel"
	Admin_ListNotifications_FullMethodName                     = "/blueapi.admin.v1.Admin/ListNotifications"
	Admin_GetNotification_FullMethodName                       = "/blueapi.admin.v1.Admin/GetNotification"
	Admin_CreateNotification_FullMethodName                    = "/blueapi.admin.v1.Admin/CreateNotification"
	Admin_UpdateNotification_FullMethodName                    = "/blueapi.admin.v1.Admin/UpdateNotification"
	Admin_DeleteNotification_FullMethodName                    = "/blueapi.admin.v1.Admin/DeleteNotification"
	Admin_ExportAuditLogs_FullMethodName                       = "/blueapi.admin.v1.Admin/ExportAuditLogs"
)

Variables

View Source
var Admin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "blueapi.admin.v1.Admin",
	HandlerType: (*AdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccountGroup",
			Handler:    _Admin_GetAccountGroup_Handler,
		},
		{
			MethodName: "GetDefaultCostAccessTemplateUrl",
			Handler:    _Admin_GetDefaultCostAccessTemplateUrl_Handler,
		},
		{
			MethodName: "GetDefaultCostAccess",
			Handler:    _Admin_GetDefaultCostAccess_Handler,
		},
		{
			MethodName: "CreateDefaultCostAccess",
			Handler:    _Admin_CreateDefaultCostAccess_Handler,
		},
		{
			MethodName: "UpdateDefaultCostAccess",
			Handler:    _Admin_UpdateDefaultCostAccess_Handler,
		},
		{
			MethodName: "DeleteDefaultCostAccess",
			Handler:    _Admin_DeleteDefaultCostAccess_Handler,
		},
		{
			MethodName: "GetCloudWatchMetricsStreamTemplateUrl",
			Handler:    _Admin_GetCloudWatchMetricsStreamTemplateUrl_Handler,
		},
		{
			MethodName: "CreateCloudWatchMetricsStream",
			Handler:    _Admin_CreateCloudWatchMetricsStream_Handler,
		},
		{
			MethodName: "CreateProformaCur",
			Handler:    _Admin_CreateProformaCur_Handler,
		},
		{
			MethodName: "GetNotificationSettings",
			Handler:    _Admin_GetNotificationSettings_Handler,
		},
		{
			MethodName: "SaveNotificationSettings",
			Handler:    _Admin_SaveNotificationSettings_Handler,
		},
		{
			MethodName: "ListNotificationChannels",
			Handler:    _Admin_ListNotificationChannels_Handler,
		},
		{
			MethodName: "GetNotificationChannel",
			Handler:    _Admin_GetNotificationChannel_Handler,
		},
		{
			MethodName: "CreateNotificationChannel",
			Handler:    _Admin_CreateNotificationChannel_Handler,
		},
		{
			MethodName: "CreateDefaultNotificationChannel",
			Handler:    _Admin_CreateDefaultNotificationChannel_Handler,
		},
		{
			MethodName: "UpdateNotificationChannel",
			Handler:    _Admin_UpdateNotificationChannel_Handler,
		},
		{
			MethodName: "DeleteNotificationChannel",
			Handler:    _Admin_DeleteNotificationChannel_Handler,
		},
		{
			MethodName: "ListNotifications",
			Handler:    _Admin_ListNotifications_Handler,
		},
		{
			MethodName: "GetNotification",
			Handler:    _Admin_GetNotification_Handler,
		},
		{
			MethodName: "CreateNotification",
			Handler:    _Admin_CreateNotification_Handler,
		},
		{
			MethodName: "UpdateNotification",
			Handler:    _Admin_UpdateNotification_Handler,
		},
		{
			MethodName: "DeleteNotification",
			Handler:    _Admin_DeleteNotification_Handler,
		},
		{
			MethodName: "ExportAuditLogs",
			Handler:    _Admin_ExportAuditLogs_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListAccountGroups",
			Handler:       _Admin_ListAccountGroups_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListDefaultCostAccess",
			Handler:       _Admin_ListDefaultCostAccess_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "admin/v1/admin.proto",
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_admin_v1_admin_proto protoreflect.FileDescriptor

Functions

func RegisterAdminHandler

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

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

func RegisterAdminHandlerClient

func RegisterAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminClient) error

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

func RegisterAdminHandlerFromEndpoint

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

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

func RegisterAdminHandlerServer

func RegisterAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServer) error

RegisterAdminHandlerServer registers the http handlers for service Admin to "mux". UnaryRPC :call AdminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminHandlerFromEndpoint instead.

func RegisterAdminServer

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

Types

type AdminClient

type AdminClient interface {
	// Lists all account groups.
	ListAccountGroups(ctx context.Context, in *ListAccountGroupsRequest, opts ...grpc.CallOption) (Admin_ListAccountGroupsClient, error)
	// Gets an account group.
	GetAccountGroup(ctx context.Context, in *GetAccountGroupRequest, opts ...grpc.CallOption) (*GetAccountGroupResponse, error)
	// Gets a CloudFormation launch URL for enabling the default cross-account access to your account's cost information based on type. See comments on the type for more information on what each template does.
	GetDefaultCostAccessTemplateUrl(ctx context.Context, in *GetDefaultCostAccessTemplateUrlRequest, opts ...grpc.CallOption) (*GetDefaultCostAccessTemplateUrlResponse, error)
	// Lists the default cross-account access role(s) attached to accounts under caller.
	ListDefaultCostAccess(ctx context.Context, in *ListDefaultCostAccessRequest, opts ...grpc.CallOption) (Admin_ListDefaultCostAccessClient, error)
	// Gets the current default cross-account role attached to the input target.
	GetDefaultCostAccess(ctx context.Context, in *GetDefaultCostAccessRequest, opts ...grpc.CallOption) (*DefaultCostAccess, error)
	// Starts validation of a default cross-account access stack deployment. If successful, the IAM role created from the CloudFormation stack will be registered to the target.
	CreateDefaultCostAccess(ctx context.Context, in *CreateDefaultCostAccessRequest, opts ...grpc.CallOption) (*DefaultCostAccess, error)
	// Starts an update to an existing default cross-account access CloudFormation stack for template changes, if any. Only call this API if the status of your default cross-account access is 'outdated'.
	UpdateDefaultCostAccess(ctx context.Context, in *UpdateDefaultCostAccessRequest, opts ...grpc.CallOption) (*protos.Operation, error)
	// Deletes the current default cross-account access role attached to this target account. This does not delete the CloudFormation deployment in your account.
	DeleteDefaultCostAccess(ctx context.Context, in *DeleteDefaultCostAccessRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Gets a CloudFormation launch URL for enabling CloudWatch metrics streaming on a target account.
	GetCloudWatchMetricsStreamTemplateUrl(ctx context.Context, in *GetCloudWatchMetricsStreamTemplateUrlRequest, opts ...grpc.CallOption) (*GetCloudWatchMetricsStreamTemplateUrlResponse, error)
	// WORK-IN-PROGRESS: Starts validation of a CloudWatch Metrics streaming stack deployment.
	CreateCloudWatchMetricsStream(ctx context.Context, in *CreateCloudWatchMetricsStreamRequest, opts ...grpc.CallOption) (*CloudWatchMetricsStream, error)
	// WORK-IN-PROGRESS: Configure AWS Proforma Cost and Usage Report.
	CreateProformaCur(ctx context.Context, in *CreateProformaCurRequest, opts ...grpc.CallOption) (*ProformaCur, error)
	// Get notification settings for login user's organization or group.
	GetNotificationSettings(ctx context.Context, in *GetNotificationSettingsRequest, opts ...grpc.CallOption) (*api.NotificationSettings, error)
	// Creates or updates notification settings for login user's organization or group.
	SaveNotificationSettings(ctx context.Context, in *SaveNotificationSettingsRequest, opts ...grpc.CallOption) (*api.NotificationSettings, error)
	// Lists all notification channels for login user's organization or group.
	ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error)
	// Gets notification channel for login user's organization or group.
	GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*api.NotificationChannel, error)
	// WORK-IN-PROGRESS: Creates notification settings for login user's organization or group.
	CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*api.NotificationChannel, error)
	// Creates a default notification channel of type email based on the caller's primary email address.
	CreateDefaultNotificationChannel(ctx context.Context, in *CreateDefaultNotificationChannelRequest, opts ...grpc.CallOption) (*api.NotificationChannel, error)
	// WORK-IN-PROGRESS: Updates notification settings for login user's organization or group.
	UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*api.NotificationChannel, error)
	// Deletes notification settings for login user's organization or group.
	DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: List all notification for login user's organization.
	ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*ListNotificationsResponse, error)
	// WORK-IN-PROGRESS: Get notifications for login user's organization.
	GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*api.Notification, error)
	// WORK-IN-PROGRESS: Creates notification for login user's organization.
	CreateNotification(ctx context.Context, in *CreateNotificationRequest, opts ...grpc.CallOption) (*api.Notification, error)
	// WORK-IN-PROGRESS: Updates notification for login user's organization.
	UpdateNotification(ctx context.Context, in *UpdateNotificationRequest, opts ...grpc.CallOption) (*api.Notification, error)
	// WORK-IN-PROGRESS: Deletes notification for login user's organization.
	DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Exports audit logs for login user's organization.
	ExportAuditLogs(ctx context.Context, in *ExportAuditLogsRequest, opts ...grpc.CallOption) (*api.AuditExport, error)
}

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Admin service definition.

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer

type AdminServer interface {
	// Lists all account groups.
	ListAccountGroups(*ListAccountGroupsRequest, Admin_ListAccountGroupsServer) error
	// Gets an account group.
	GetAccountGroup(context.Context, *GetAccountGroupRequest) (*GetAccountGroupResponse, error)
	// Gets a CloudFormation launch URL for enabling the default cross-account access to your account's cost information based on type. See comments on the type for more information on what each template does.
	GetDefaultCostAccessTemplateUrl(context.Context, *GetDefaultCostAccessTemplateUrlRequest) (*GetDefaultCostAccessTemplateUrlResponse, error)
	// Lists the default cross-account access role(s) attached to accounts under caller.
	ListDefaultCostAccess(*ListDefaultCostAccessRequest, Admin_ListDefaultCostAccessServer) error
	// Gets the current default cross-account role attached to the input target.
	GetDefaultCostAccess(context.Context, *GetDefaultCostAccessRequest) (*DefaultCostAccess, error)
	// Starts validation of a default cross-account access stack deployment. If successful, the IAM role created from the CloudFormation stack will be registered to the target.
	CreateDefaultCostAccess(context.Context, *CreateDefaultCostAccessRequest) (*DefaultCostAccess, error)
	// Starts an update to an existing default cross-account access CloudFormation stack for template changes, if any. Only call this API if the status of your default cross-account access is 'outdated'.
	UpdateDefaultCostAccess(context.Context, *UpdateDefaultCostAccessRequest) (*protos.Operation, error)
	// Deletes the current default cross-account access role attached to this target account. This does not delete the CloudFormation deployment in your account.
	DeleteDefaultCostAccess(context.Context, *DeleteDefaultCostAccessRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Gets a CloudFormation launch URL for enabling CloudWatch metrics streaming on a target account.
	GetCloudWatchMetricsStreamTemplateUrl(context.Context, *GetCloudWatchMetricsStreamTemplateUrlRequest) (*GetCloudWatchMetricsStreamTemplateUrlResponse, error)
	// WORK-IN-PROGRESS: Starts validation of a CloudWatch Metrics streaming stack deployment.
	CreateCloudWatchMetricsStream(context.Context, *CreateCloudWatchMetricsStreamRequest) (*CloudWatchMetricsStream, error)
	// WORK-IN-PROGRESS: Configure AWS Proforma Cost and Usage Report.
	CreateProformaCur(context.Context, *CreateProformaCurRequest) (*ProformaCur, error)
	// Get notification settings for login user's organization or group.
	GetNotificationSettings(context.Context, *GetNotificationSettingsRequest) (*api.NotificationSettings, error)
	// Creates or updates notification settings for login user's organization or group.
	SaveNotificationSettings(context.Context, *SaveNotificationSettingsRequest) (*api.NotificationSettings, error)
	// Lists all notification channels for login user's organization or group.
	ListNotificationChannels(context.Context, *ListNotificationChannelsRequest) (*ListNotificationChannelsResponse, error)
	// Gets notification channel for login user's organization or group.
	GetNotificationChannel(context.Context, *GetNotificationChannelRequest) (*api.NotificationChannel, error)
	// WORK-IN-PROGRESS: Creates notification settings for login user's organization or group.
	CreateNotificationChannel(context.Context, *CreateNotificationChannelRequest) (*api.NotificationChannel, error)
	// Creates a default notification channel of type email based on the caller's primary email address.
	CreateDefaultNotificationChannel(context.Context, *CreateDefaultNotificationChannelRequest) (*api.NotificationChannel, error)
	// WORK-IN-PROGRESS: Updates notification settings for login user's organization or group.
	UpdateNotificationChannel(context.Context, *UpdateNotificationChannelRequest) (*api.NotificationChannel, error)
	// Deletes notification settings for login user's organization or group.
	DeleteNotificationChannel(context.Context, *DeleteNotificationChannelRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: List all notification for login user's organization.
	ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error)
	// WORK-IN-PROGRESS: Get notifications for login user's organization.
	GetNotification(context.Context, *GetNotificationRequest) (*api.Notification, error)
	// WORK-IN-PROGRESS: Creates notification for login user's organization.
	CreateNotification(context.Context, *CreateNotificationRequest) (*api.Notification, error)
	// WORK-IN-PROGRESS: Updates notification for login user's organization.
	UpdateNotification(context.Context, *UpdateNotificationRequest) (*api.Notification, error)
	// WORK-IN-PROGRESS: Deletes notification for login user's organization.
	DeleteNotification(context.Context, *DeleteNotificationRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Exports audit logs for login user's organization.
	ExportAuditLogs(context.Context, *ExportAuditLogsRequest) (*api.AuditExport, error)
	// contains filtered or unexported methods
}

AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility

Admin service definition.

type Admin_ListAccountGroupsClient

type Admin_ListAccountGroupsClient interface {
	Recv() (*ListAccountGroupsResponse, error)
	grpc.ClientStream
}

type Admin_ListAccountGroupsServer

type Admin_ListAccountGroupsServer interface {
	Send(*ListAccountGroupsResponse) error
	grpc.ServerStream
}

type Admin_ListDefaultCostAccessClient added in v0.57.5

type Admin_ListDefaultCostAccessClient interface {
	Recv() (*DefaultCostAccess, error)
	grpc.ClientStream
}

type Admin_ListDefaultCostAccessServer added in v0.57.5

type Admin_ListDefaultCostAccessServer interface {
	Send(*DefaultCostAccess) error
	grpc.ServerStream
}

type ClientOptions

type ClientOptions struct {
	Conn *conn.GrpcClientConn
}

ClientOptions represents the optional options to NewClient.

type CloudWatchMetricsStream added in v0.62.9

type CloudWatchMetricsStream struct {

	// The queried target account.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The external id for this role.
	ExternalId string `protobuf:"bytes,2,opt,name=externalId,proto3" json:"externalId,omitempty"`
	// The id of the CloudFormation stack deployed in the target account.
	StackId string `protobuf:"bytes,3,opt,name=stackId,proto3" json:"stackId,omitempty"`
	// The region where the stack is deployed.
	StackRegion string `protobuf:"bytes,4,opt,name=stackRegion,proto3" json:"stackRegion,omitempty"`
	// The latest template used to deploy the stack.
	TemplateUrl string `protobuf:"bytes,5,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"`
	// This can be `latest`, `outdated`, or some error information.
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// The last updated timestamp, RFC3339 UTC.
	LastUpdated string `protobuf:"bytes,7,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.CreateCloudWatchMetricsStream rpc.

func (*CloudWatchMetricsStream) Descriptor deprecated added in v0.62.9

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

Deprecated: Use CloudWatchMetricsStream.ProtoReflect.Descriptor instead.

func (*CloudWatchMetricsStream) GetExternalId added in v0.62.9

func (x *CloudWatchMetricsStream) GetExternalId() string

func (*CloudWatchMetricsStream) GetLastUpdated added in v0.62.9

func (x *CloudWatchMetricsStream) GetLastUpdated() string

func (*CloudWatchMetricsStream) GetStackId added in v0.62.9

func (x *CloudWatchMetricsStream) GetStackId() string

func (*CloudWatchMetricsStream) GetStackRegion added in v0.62.9

func (x *CloudWatchMetricsStream) GetStackRegion() string

func (*CloudWatchMetricsStream) GetStatus added in v0.62.9

func (x *CloudWatchMetricsStream) GetStatus() string

func (*CloudWatchMetricsStream) GetTarget added in v0.62.9

func (x *CloudWatchMetricsStream) GetTarget() string

func (*CloudWatchMetricsStream) GetTemplateUrl added in v0.62.9

func (x *CloudWatchMetricsStream) GetTemplateUrl() string

func (*CloudWatchMetricsStream) ProtoMessage added in v0.62.9

func (*CloudWatchMetricsStream) ProtoMessage()

func (*CloudWatchMetricsStream) ProtoReflect added in v0.62.9

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

func (*CloudWatchMetricsStream) Reset added in v0.62.9

func (x *CloudWatchMetricsStream) Reset()

func (*CloudWatchMetricsStream) String added in v0.62.9

func (x *CloudWatchMetricsStream) String() string

type CreateCloudWatchMetricsStreamRequest added in v0.62.9

type CreateCloudWatchMetricsStreamRequest struct {

	// Required. The target AWS account to validate.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.CreateCloudWatchMetricsStream rpc.

func (*CreateCloudWatchMetricsStreamRequest) Descriptor deprecated added in v0.62.9

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

Deprecated: Use CreateCloudWatchMetricsStreamRequest.ProtoReflect.Descriptor instead.

func (*CreateCloudWatchMetricsStreamRequest) GetTarget added in v0.62.9

func (*CreateCloudWatchMetricsStreamRequest) ProtoMessage added in v0.62.9

func (*CreateCloudWatchMetricsStreamRequest) ProtoMessage()

func (*CreateCloudWatchMetricsStreamRequest) ProtoReflect added in v0.62.9

func (*CreateCloudWatchMetricsStreamRequest) Reset added in v0.62.9

func (*CreateCloudWatchMetricsStreamRequest) String added in v0.62.9

type CreateDefaultCostAccessRequest added in v0.57.5

type CreateDefaultCostAccessRequest struct {

	// Required. The target AWS account to validate.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.CreateDefaultCostAccess rpc.

func (*CreateDefaultCostAccessRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use CreateDefaultCostAccessRequest.ProtoReflect.Descriptor instead.

func (*CreateDefaultCostAccessRequest) GetTarget added in v0.57.5

func (x *CreateDefaultCostAccessRequest) GetTarget() string

func (*CreateDefaultCostAccessRequest) ProtoMessage added in v0.57.5

func (*CreateDefaultCostAccessRequest) ProtoMessage()

func (*CreateDefaultCostAccessRequest) ProtoReflect added in v0.57.5

func (*CreateDefaultCostAccessRequest) Reset added in v0.57.5

func (x *CreateDefaultCostAccessRequest) Reset()

func (*CreateDefaultCostAccessRequest) String added in v0.57.5

type CreateDefaultNotificationChannelRequest added in v0.61.0

type CreateDefaultNotificationChannelRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.CreateDefaultNotificationChannel rpc.

func (*CreateDefaultNotificationChannelRequest) Descriptor deprecated added in v0.61.0

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

Deprecated: Use CreateDefaultNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateDefaultNotificationChannelRequest) ProtoMessage added in v0.61.0

func (*CreateDefaultNotificationChannelRequest) ProtoReflect added in v0.61.0

func (*CreateDefaultNotificationChannelRequest) Reset added in v0.61.0

func (*CreateDefaultNotificationChannelRequest) String added in v0.61.0

type CreateNotificationChannelRequest added in v0.56.1

type CreateNotificationChannelRequest struct {

	// Required. Name of the notification channel.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Valid values: `email`, `slack`, `msteams`.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Required if type = `email`.
	Email *api.EmailChannel `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// Required if type = `slack`.
	Slack *api.SlackChannel `protobuf:"bytes,4,opt,name=slack,proto3" json:"slack,omitempty"`
	// Required if type = `msteams`.
	Msteams *api.MSTeamsChannel `protobuf:"bytes,5,opt,name=msteams,proto3" json:"msteams,omitempty"`
	// Optional. For Octo use only: `octo`.
	Product string `protobuf:"bytes,6,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.CreateNotificationChannel rpc.

func (*CreateNotificationChannelRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use CreateNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationChannelRequest) GetEmail added in v0.56.1

func (*CreateNotificationChannelRequest) GetMsteams added in v0.56.1

func (*CreateNotificationChannelRequest) GetName added in v0.56.1

func (*CreateNotificationChannelRequest) GetProduct added in v0.68.71

func (x *CreateNotificationChannelRequest) GetProduct() string

func (*CreateNotificationChannelRequest) GetSlack added in v0.56.1

func (*CreateNotificationChannelRequest) GetType added in v0.56.1

func (*CreateNotificationChannelRequest) ProtoMessage added in v0.56.1

func (*CreateNotificationChannelRequest) ProtoMessage()

func (*CreateNotificationChannelRequest) ProtoReflect added in v0.56.1

func (*CreateNotificationChannelRequest) Reset added in v0.56.1

func (*CreateNotificationChannelRequest) String added in v0.56.1

type CreateNotificationRequest added in v0.64.9

type CreateNotificationRequest struct {

	// Required
	// Valid values:
	// `InvoiceCalculationStarted`,
	// `InvoiceCalculationFinished`,
	// `CurUpdatedAfterInvoice`.
	// `AccountBudgetAlert`.
	NotificationType string `protobuf:"bytes,1,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
	// Required
	Channels []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	// Required
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Optional. only available Wave(Pro).
	Account *NotificationAccount `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.CreateNotificationTypeChannels rpc.

func (*CreateNotificationRequest) Descriptor deprecated added in v0.64.9

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

Deprecated: Use CreateNotificationRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationRequest) GetAccount added in v0.68.47

func (*CreateNotificationRequest) GetChannels added in v0.64.9

func (x *CreateNotificationRequest) GetChannels() []string

func (*CreateNotificationRequest) GetEnabled added in v0.64.9

func (x *CreateNotificationRequest) GetEnabled() bool

func (*CreateNotificationRequest) GetNotificationType added in v0.64.9

func (x *CreateNotificationRequest) GetNotificationType() string

func (*CreateNotificationRequest) ProtoMessage added in v0.64.9

func (*CreateNotificationRequest) ProtoMessage()

func (*CreateNotificationRequest) ProtoReflect added in v0.64.9

func (*CreateNotificationRequest) Reset added in v0.64.9

func (x *CreateNotificationRequest) Reset()

func (*CreateNotificationRequest) String added in v0.64.9

func (x *CreateNotificationRequest) String() string

type CreateProformaCurRequest added in v0.68.31

type CreateProformaCurRequest struct {

	// Required.
	PayerId string `protobuf:"bytes,1,opt,name=payerId,proto3" json:"payerId,omitempty"`
	// Required.
	BillingInternalId string `protobuf:"bytes,2,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	// Required.
	ReportName string `protobuf:"bytes,3,opt,name=reportName,proto3" json:"reportName,omitempty"`
	// Optional. Default value: `alphaus-proforma-cur-export`
	S3BucketName string `protobuf:"bytes,4,opt,name=s3BucketName,proto3" json:"s3BucketName,omitempty"`
	// Optional. Default value: `pre`
	S3Prefix string `protobuf:"bytes,5,opt,name=s3Prefix,proto3" json:"s3Prefix,omitempty"`
	// Optional. Default value: `us-east-1`
	S3Region string `protobuf:"bytes,6,opt,name=s3Region,proto3" json:"s3Region,omitempty"`
	// contains filtered or unexported fields
}

Request message for Admin.CreateProformaCur rpc

func (*CreateProformaCurRequest) Descriptor deprecated added in v0.68.31

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

Deprecated: Use CreateProformaCurRequest.ProtoReflect.Descriptor instead.

func (*CreateProformaCurRequest) GetBillingInternalId added in v0.68.31

func (x *CreateProformaCurRequest) GetBillingInternalId() string

func (*CreateProformaCurRequest) GetPayerId added in v0.68.31

func (x *CreateProformaCurRequest) GetPayerId() string

func (*CreateProformaCurRequest) GetReportName added in v0.68.31

func (x *CreateProformaCurRequest) GetReportName() string

func (*CreateProformaCurRequest) GetS3BucketName added in v0.68.31

func (x *CreateProformaCurRequest) GetS3BucketName() string

func (*CreateProformaCurRequest) GetS3Prefix added in v0.68.31

func (x *CreateProformaCurRequest) GetS3Prefix() string

func (*CreateProformaCurRequest) GetS3Region added in v0.68.31

func (x *CreateProformaCurRequest) GetS3Region() string

func (*CreateProformaCurRequest) ProtoMessage added in v0.68.31

func (*CreateProformaCurRequest) ProtoMessage()

func (*CreateProformaCurRequest) ProtoReflect added in v0.68.31

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

func (*CreateProformaCurRequest) Reset added in v0.68.31

func (x *CreateProformaCurRequest) Reset()

func (*CreateProformaCurRequest) String added in v0.68.31

func (x *CreateProformaCurRequest) String() string

type DefaultCostAccess added in v0.57.5

type DefaultCostAccess struct {

	// The queried target account.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The role ARN that provides the cross-account access permissions.
	RoleArn string `protobuf:"bytes,2,opt,name=roleArn,proto3" json:"roleArn,omitempty"`
	// The external id for this role.
	ExternalId string `protobuf:"bytes,3,opt,name=externalId,proto3" json:"externalId,omitempty"`
	// The id of the CloudFormation stack deployed in the target account.
	StackId string `protobuf:"bytes,4,opt,name=stackId,proto3" json:"stackId,omitempty"`
	// The region where the stack is deployed.
	StackRegion string `protobuf:"bytes,5,opt,name=stackRegion,proto3" json:"stackRegion,omitempty"`
	// The latest template used to deploy the stack.
	TemplateUrl string `protobuf:"bytes,6,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"`
	// This can be `latest`, `outdated`, or some error information.
	Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// The last updated timestamp, RFC3339 UTC.
	LastUpdated string `protobuf:"bytes,8,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.GetDefaultCostAccess, Admin.CreateDefaultCostAccess rpc.

func (*DefaultCostAccess) Descriptor deprecated added in v0.57.5

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

Deprecated: Use DefaultCostAccess.ProtoReflect.Descriptor instead.

func (*DefaultCostAccess) GetExternalId added in v0.58.10

func (x *DefaultCostAccess) GetExternalId() string

func (*DefaultCostAccess) GetLastUpdated added in v0.57.5

func (x *DefaultCostAccess) GetLastUpdated() string

func (*DefaultCostAccess) GetRoleArn added in v0.57.5

func (x *DefaultCostAccess) GetRoleArn() string

func (*DefaultCostAccess) GetStackId added in v0.57.5

func (x *DefaultCostAccess) GetStackId() string

func (*DefaultCostAccess) GetStackRegion added in v0.57.5

func (x *DefaultCostAccess) GetStackRegion() string

func (*DefaultCostAccess) GetStatus added in v0.57.5

func (x *DefaultCostAccess) GetStatus() string

func (*DefaultCostAccess) GetTarget added in v0.57.5

func (x *DefaultCostAccess) GetTarget() string

func (*DefaultCostAccess) GetTemplateUrl added in v0.57.5

func (x *DefaultCostAccess) GetTemplateUrl() string

func (*DefaultCostAccess) ProtoMessage added in v0.57.5

func (*DefaultCostAccess) ProtoMessage()

func (*DefaultCostAccess) ProtoReflect added in v0.57.5

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

func (*DefaultCostAccess) Reset added in v0.57.5

func (x *DefaultCostAccess) Reset()

func (*DefaultCostAccess) String added in v0.57.5

func (x *DefaultCostAccess) String() string

type DeleteDefaultCostAccessRequest added in v0.57.5

type DeleteDefaultCostAccessRequest struct {

	// Required. The target AWS account to delete.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.DeleteDefaultCostAccess rpc.

func (*DeleteDefaultCostAccessRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use DeleteDefaultCostAccessRequest.ProtoReflect.Descriptor instead.

func (*DeleteDefaultCostAccessRequest) GetTarget added in v0.57.5

func (x *DeleteDefaultCostAccessRequest) GetTarget() string

func (*DeleteDefaultCostAccessRequest) ProtoMessage added in v0.57.5

func (*DeleteDefaultCostAccessRequest) ProtoMessage()

func (*DeleteDefaultCostAccessRequest) ProtoReflect added in v0.57.5

func (*DeleteDefaultCostAccessRequest) Reset added in v0.57.5

func (x *DeleteDefaultCostAccessRequest) Reset()

func (*DeleteDefaultCostAccessRequest) String added in v0.57.5

type DeleteNotificationChannelRequest added in v0.56.1

type DeleteNotificationChannelRequest struct {

	// Required. ID of the notification channel to delete.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.DeleteNotificationChannel rpc.

func (*DeleteNotificationChannelRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use DeleteNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationChannelRequest) GetId added in v0.56.1

func (*DeleteNotificationChannelRequest) ProtoMessage added in v0.56.1

func (*DeleteNotificationChannelRequest) ProtoMessage()

func (*DeleteNotificationChannelRequest) ProtoReflect added in v0.56.1

func (*DeleteNotificationChannelRequest) Reset added in v0.56.1

func (*DeleteNotificationChannelRequest) String added in v0.56.1

type DeleteNotificationRequest added in v0.64.9

type DeleteNotificationRequest struct {

	// Required
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required
	// Valid values:
	// `InvoiceCalculationStarted`,
	// `InvoiceCalculationFinished`,
	// `CurUpdatedAfterInvoice`.
	// `AccountBudgetAlert`.
	NotificationType string `protobuf:"bytes,2,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.DeleteNotification rpc.

func (*DeleteNotificationRequest) Descriptor deprecated added in v0.64.9

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

Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationRequest) GetId added in v0.64.9

func (x *DeleteNotificationRequest) GetId() string

func (*DeleteNotificationRequest) GetNotificationType added in v0.64.15

func (x *DeleteNotificationRequest) GetNotificationType() string

func (*DeleteNotificationRequest) ProtoMessage added in v0.64.9

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) ProtoReflect added in v0.64.9

func (*DeleteNotificationRequest) Reset added in v0.64.9

func (x *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) String added in v0.64.9

func (x *DeleteNotificationRequest) String() string

type ExportAuditLogsRequest added in v0.69.3

type ExportAuditLogsRequest struct {

	// Required. At the moment, `CSV`,`JSON` is supported.
	Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	// Required. The UTC date to start data from. If not set, the first day of the current year will be used. Format: `yyyymmdd`.
	StartTime string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// Required. The UTC date to end data from. If not set, the first day of the current year will be used. Format: `yyyymmdd`.
	EndTime string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ExportAuditLogs rpc.

func (*ExportAuditLogsRequest) Descriptor deprecated added in v0.69.3

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

Deprecated: Use ExportAuditLogsRequest.ProtoReflect.Descriptor instead.

func (*ExportAuditLogsRequest) GetEndTime added in v0.69.3

func (x *ExportAuditLogsRequest) GetEndTime() string

func (*ExportAuditLogsRequest) GetFormat added in v0.69.3

func (x *ExportAuditLogsRequest) GetFormat() string

func (*ExportAuditLogsRequest) GetStartTime added in v0.69.3

func (x *ExportAuditLogsRequest) GetStartTime() string

func (*ExportAuditLogsRequest) ProtoMessage added in v0.69.3

func (*ExportAuditLogsRequest) ProtoMessage()

func (*ExportAuditLogsRequest) ProtoReflect added in v0.69.3

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

func (*ExportAuditLogsRequest) Reset added in v0.69.3

func (x *ExportAuditLogsRequest) Reset()

func (*ExportAuditLogsRequest) String added in v0.69.3

func (x *ExportAuditLogsRequest) String() string

type GetAccountGroupRequest added in v0.36.3

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

Request message for the Admin.GetAccountGroup rpc.

func (*GetAccountGroupRequest) Descriptor deprecated added in v0.36.3

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

Deprecated: Use GetAccountGroupRequest.ProtoReflect.Descriptor instead.

func (*GetAccountGroupRequest) GetId added in v0.36.3

func (x *GetAccountGroupRequest) GetId() string

func (*GetAccountGroupRequest) ProtoMessage added in v0.36.3

func (*GetAccountGroupRequest) ProtoMessage()

func (*GetAccountGroupRequest) ProtoReflect added in v0.36.3

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

func (*GetAccountGroupRequest) Reset added in v0.36.3

func (x *GetAccountGroupRequest) Reset()

func (*GetAccountGroupRequest) String added in v0.36.3

func (x *GetAccountGroupRequest) String() string

type GetAccountGroupResponse added in v0.36.3

type GetAccountGroupResponse struct {
	AcctGroup *api.AccountGroup `protobuf:"bytes,1,opt,name=acctGroup,proto3" json:"acctGroup,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.GetAccountGroup rpc.

func (*GetAccountGroupResponse) Descriptor deprecated added in v0.36.3

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

Deprecated: Use GetAccountGroupResponse.ProtoReflect.Descriptor instead.

func (*GetAccountGroupResponse) GetAcctGroup added in v0.36.3

func (x *GetAccountGroupResponse) GetAcctGroup() *api.AccountGroup

func (*GetAccountGroupResponse) ProtoMessage added in v0.36.3

func (*GetAccountGroupResponse) ProtoMessage()

func (*GetAccountGroupResponse) ProtoReflect added in v0.36.3

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

func (*GetAccountGroupResponse) Reset added in v0.36.3

func (x *GetAccountGroupResponse) Reset()

func (*GetAccountGroupResponse) String added in v0.36.3

func (x *GetAccountGroupResponse) String() string

type GetCloudWatchMetricsStreamTemplateUrlRequest added in v0.62.9

type GetCloudWatchMetricsStreamTemplateUrlRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.GetCloudWatchMetricsStreamTemplateUrl rpc.

func (*GetCloudWatchMetricsStreamTemplateUrlRequest) Descriptor deprecated added in v0.62.9

Deprecated: Use GetCloudWatchMetricsStreamTemplateUrlRequest.ProtoReflect.Descriptor instead.

func (*GetCloudWatchMetricsStreamTemplateUrlRequest) ProtoMessage added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlRequest) ProtoReflect added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlRequest) Reset added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlRequest) String added in v0.62.9

type GetCloudWatchMetricsStreamTemplateUrlResponse added in v0.62.9

type GetCloudWatchMetricsStreamTemplateUrlResponse struct {

	// The CloudFormation launch url. Open it in your browser.
	LaunchUrl string `protobuf:"bytes,1,opt,name=launchUrl,proto3" json:"launchUrl,omitempty"`
	// The latest CloudFormation template. The version is included in the filename.
	TemplateUrl string `protobuf:"bytes,2,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"`
	// The default stack name used. Can be modified.
	StackName string `protobuf:"bytes,3,opt,name=stackName,proto3" json:"stackName,omitempty"`
	// The external id for this role. Do not change.
	ExternalId string `protobuf:"bytes,4,opt,name=externalId,proto3" json:"externalId,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.GetCloudWatchMetricsStreamTemplateUrl rpc.

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) Descriptor deprecated added in v0.62.9

Deprecated: Use GetCloudWatchMetricsStreamTemplateUrlResponse.ProtoReflect.Descriptor instead.

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) GetExternalId added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) GetLaunchUrl added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) GetStackName added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) GetTemplateUrl added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) ProtoMessage added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) ProtoReflect added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) Reset added in v0.62.9

func (*GetCloudWatchMetricsStreamTemplateUrlResponse) String added in v0.62.9

type GetDefaultCostAccessRequest added in v0.57.5

type GetDefaultCostAccessRequest struct {

	// Required. The target AWS account to query.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.GetDefaultCostAccess rpc.

func (*GetDefaultCostAccessRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use GetDefaultCostAccessRequest.ProtoReflect.Descriptor instead.

func (*GetDefaultCostAccessRequest) GetTarget added in v0.57.5

func (x *GetDefaultCostAccessRequest) GetTarget() string

func (*GetDefaultCostAccessRequest) ProtoMessage added in v0.57.5

func (*GetDefaultCostAccessRequest) ProtoMessage()

func (*GetDefaultCostAccessRequest) ProtoReflect added in v0.57.5

func (*GetDefaultCostAccessRequest) Reset added in v0.57.5

func (x *GetDefaultCostAccessRequest) Reset()

func (*GetDefaultCostAccessRequest) String added in v0.57.5

func (x *GetDefaultCostAccessRequest) String() string

type GetDefaultCostAccessTemplateUrlRequest added in v0.57.5

type GetDefaultCostAccessTemplateUrlRequest struct {

	// Optional. Valid values are `default`, `s3only`, and `apionly`. Defaults to `default` if empty.
	//
	// `default` - Template for setting up both CUR export and read-only access to cost information. If selected, you need to deploy this template to `us-east-1` region as CloudFormation only supports the `AWS::CUR::ReportDefinition` in that region at the moment. The target S3 bucket will also be created in that region. If you prefer your S3 bucket to be located in a different region, you can use the template from this API by setting the type to `s3only`. After your S3 bucket is ready, call this API again (type is `default`) and set the `CurS3BucketOption` parameter to `USE_EXISTING`, then set your bucket name and region accordingly. This is the default for Ripple, unless specified otherwise.
	//
	// `apionly` - Template for setting up ready-only access to cost information. Handy if you already have exported your CUR to Alphaus through other means (i.e. manual setup). This template is the same as the `default` type but without the CUR export definitions. Although not required, we recommend you to deploy this template to allow us to query your cost-related information such as Reserved Instances, Saving Plans, etc. through the AWS API. At the moment, we only rely on CUR data which is a best-effort basis and sometimes not accurate. This is the default for Wave(Pro), unless specified otherwise.
	//
	// `s3only` - A helper template for creating an S3 bucket to be used for CUR export.
	//
	// All templates are publicly available from the reponse link (`templateUrl`) if you want to audit the included permissions.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.GetDefaultCostAccessTemplateUrl rpc.

func (*GetDefaultCostAccessTemplateUrlRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use GetDefaultCostAccessTemplateUrlRequest.ProtoReflect.Descriptor instead.

func (*GetDefaultCostAccessTemplateUrlRequest) GetType added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlRequest) ProtoMessage added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlRequest) ProtoReflect added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlRequest) Reset added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlRequest) String added in v0.57.5

type GetDefaultCostAccessTemplateUrlResponse added in v0.57.5

type GetDefaultCostAccessTemplateUrlResponse struct {

	// The CloudFormation launch url. Open it in your browser.
	LaunchUrl string `protobuf:"bytes,1,opt,name=launchUrl,proto3" json:"launchUrl,omitempty"`
	// The latest CloudFormation template. The version is included in the filename.
	TemplateUrl string `protobuf:"bytes,2,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"`
	// The default stack name used. Can be modified.
	StackName string `protobuf:"bytes,3,opt,name=stackName,proto3" json:"stackName,omitempty"`
	// The AWS account that will receive the access. Do not change.
	Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"`
	// The external id for this role. Do not change.
	ExternalId string `protobuf:"bytes,5,opt,name=externalId,proto3" json:"externalId,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.GetDefaultCostAccessTemplateUrl rpc.

func (*GetDefaultCostAccessTemplateUrlResponse) Descriptor deprecated added in v0.57.5

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

Deprecated: Use GetDefaultCostAccessTemplateUrlResponse.ProtoReflect.Descriptor instead.

func (*GetDefaultCostAccessTemplateUrlResponse) GetExternalId added in v0.58.10

func (*GetDefaultCostAccessTemplateUrlResponse) GetLaunchUrl added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) GetPrincipal added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) GetStackName added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) GetTemplateUrl added in v0.57.5

func (x *GetDefaultCostAccessTemplateUrlResponse) GetTemplateUrl() string

func (*GetDefaultCostAccessTemplateUrlResponse) ProtoMessage added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) ProtoReflect added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) Reset added in v0.57.5

func (*GetDefaultCostAccessTemplateUrlResponse) String added in v0.57.5

type GetNotificationChannelRequest added in v0.56.1

type GetNotificationChannelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional.
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.GetNotificationChannel rpc.

func (*GetNotificationChannelRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use GetNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationChannelRequest) GetFieldMask added in v0.69.8

func (*GetNotificationChannelRequest) GetId added in v0.56.1

func (*GetNotificationChannelRequest) ProtoMessage added in v0.56.1

func (*GetNotificationChannelRequest) ProtoMessage()

func (*GetNotificationChannelRequest) ProtoReflect added in v0.56.1

func (*GetNotificationChannelRequest) Reset added in v0.56.1

func (x *GetNotificationChannelRequest) Reset()

func (*GetNotificationChannelRequest) String added in v0.56.1

type GetNotificationRequest added in v0.64.9

type GetNotificationRequest struct {

	// Required
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required
	// Valid values:
	// `InvoiceCalculationStarted`,
	// `InvoiceCalculationFinished`,
	// `CurUpdatedAfterInvoice`.
	// `AccountBudgetAlert`.
	NotificationType string `protobuf:"bytes,2,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.GetNotificationTypeChannels rpc.

func (*GetNotificationRequest) Descriptor deprecated added in v0.64.9

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

Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationRequest) GetId added in v0.64.9

func (x *GetNotificationRequest) GetId() string

func (*GetNotificationRequest) GetNotificationType added in v0.64.15

func (x *GetNotificationRequest) GetNotificationType() string

func (*GetNotificationRequest) ProtoMessage added in v0.64.9

func (*GetNotificationRequest) ProtoMessage()

func (*GetNotificationRequest) ProtoReflect added in v0.64.9

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

func (*GetNotificationRequest) Reset added in v0.64.9

func (x *GetNotificationRequest) Reset()

func (*GetNotificationRequest) String added in v0.64.9

func (x *GetNotificationRequest) String() string

type GetNotificationSettingsRequest added in v0.56.1

type GetNotificationSettingsRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.GetNotificationSettings rpc.

func (*GetNotificationSettingsRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use GetNotificationSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationSettingsRequest) ProtoMessage added in v0.56.1

func (*GetNotificationSettingsRequest) ProtoMessage()

func (*GetNotificationSettingsRequest) ProtoReflect added in v0.56.1

func (*GetNotificationSettingsRequest) Reset added in v0.56.1

func (x *GetNotificationSettingsRequest) Reset()

func (*GetNotificationSettingsRequest) String added in v0.56.1

type GrpcClient

type GrpcClient struct {
	AdminClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, opts ...*ClientOptions) (*GrpcClient, error)

NewClient returns a client connection to the 'admin' service.

func (*GrpcClient) Close

func (c *GrpcClient) Close()

type ListAccountGroupsRequest

type ListAccountGroupsRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.ListAccountGroups rpc.

func (*ListAccountGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListAccountGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountGroupsRequest) ProtoMessage

func (*ListAccountGroupsRequest) ProtoMessage()

func (*ListAccountGroupsRequest) ProtoReflect

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

func (*ListAccountGroupsRequest) Reset

func (x *ListAccountGroupsRequest) Reset()

func (*ListAccountGroupsRequest) String

func (x *ListAccountGroupsRequest) String() string

type ListAccountGroupsResponse

type ListAccountGroupsResponse struct {
	AccountGroups []*api.AccountGroup `protobuf:"bytes,1,rep,name=accountGroups,proto3" json:"accountGroups,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.ListAccountGroups rpc.

func (*ListAccountGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListAccountGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListAccountGroupsResponse) GetAccountGroups added in v0.36.1

func (x *ListAccountGroupsResponse) GetAccountGroups() []*api.AccountGroup

func (*ListAccountGroupsResponse) ProtoMessage

func (*ListAccountGroupsResponse) ProtoMessage()

func (*ListAccountGroupsResponse) ProtoReflect

func (*ListAccountGroupsResponse) Reset

func (x *ListAccountGroupsResponse) Reset()

func (*ListAccountGroupsResponse) String

func (x *ListAccountGroupsResponse) String() string

type ListDefaultCostAccessRequest added in v0.57.5

type ListDefaultCostAccessRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.ListDefaultCostAccess rpc.

func (*ListDefaultCostAccessRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use ListDefaultCostAccessRequest.ProtoReflect.Descriptor instead.

func (*ListDefaultCostAccessRequest) ProtoMessage added in v0.57.5

func (*ListDefaultCostAccessRequest) ProtoMessage()

func (*ListDefaultCostAccessRequest) ProtoReflect added in v0.57.5

func (*ListDefaultCostAccessRequest) Reset added in v0.57.5

func (x *ListDefaultCostAccessRequest) Reset()

func (*ListDefaultCostAccessRequest) String added in v0.57.5

type ListNotificationChannelsRequest added in v0.56.1

type ListNotificationChannelsRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.ListNotificationChannels rpc.

func (*ListNotificationChannelsRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use ListNotificationChannelsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelsRequest) ProtoMessage added in v0.56.1

func (*ListNotificationChannelsRequest) ProtoMessage()

func (*ListNotificationChannelsRequest) ProtoReflect added in v0.56.1

func (*ListNotificationChannelsRequest) Reset added in v0.56.1

func (*ListNotificationChannelsRequest) String added in v0.56.1

type ListNotificationChannelsResponse added in v0.56.1

type ListNotificationChannelsResponse struct {
	Channels []*api.NotificationChannel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.ListNotificationChannels rpc.

func (*ListNotificationChannelsResponse) Descriptor deprecated added in v0.56.1

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

Deprecated: Use ListNotificationChannelsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationChannelsResponse) GetChannels added in v0.56.1

func (*ListNotificationChannelsResponse) ProtoMessage added in v0.56.1

func (*ListNotificationChannelsResponse) ProtoMessage()

func (*ListNotificationChannelsResponse) ProtoReflect added in v0.56.1

func (*ListNotificationChannelsResponse) Reset added in v0.56.1

func (*ListNotificationChannelsResponse) String added in v0.56.1

type ListNotificationsRequest added in v0.64.9

type ListNotificationsRequest struct {
	// contains filtered or unexported fields
}

Request message for the Admin.ListNotifications rpc.

func (*ListNotificationsRequest) Descriptor deprecated added in v0.64.9

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

Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) ProtoMessage added in v0.64.9

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect added in v0.64.9

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

func (*ListNotificationsRequest) Reset added in v0.64.9

func (x *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String added in v0.64.9

func (x *ListNotificationsRequest) String() string

type ListNotificationsResponse added in v0.64.9

type ListNotificationsResponse struct {
	Notifications []*api.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Admin.ListNotifications rpc.

func (*ListNotificationsResponse) Descriptor deprecated added in v0.64.9

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

Deprecated: Use ListNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationsResponse) GetNotifications added in v0.64.9

func (x *ListNotificationsResponse) GetNotifications() []*api.Notification

func (*ListNotificationsResponse) ProtoMessage added in v0.64.9

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) ProtoReflect added in v0.64.9

func (*ListNotificationsResponse) Reset added in v0.64.9

func (x *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) String added in v0.64.9

func (x *ListNotificationsResponse) String() string

type NotificationAccount added in v0.68.47

type NotificationAccount struct {

	// Required.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Required.
	AccountId string `protobuf:"bytes,2,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationAccount) Descriptor deprecated added in v0.68.47

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

Deprecated: Use NotificationAccount.ProtoReflect.Descriptor instead.

func (*NotificationAccount) GetAccountId added in v0.68.47

func (x *NotificationAccount) GetAccountId() string

func (*NotificationAccount) GetVendor added in v0.68.47

func (x *NotificationAccount) GetVendor() string

func (*NotificationAccount) ProtoMessage added in v0.68.47

func (*NotificationAccount) ProtoMessage()

func (*NotificationAccount) ProtoReflect added in v0.68.47

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

func (*NotificationAccount) Reset added in v0.68.47

func (x *NotificationAccount) Reset()

func (*NotificationAccount) String added in v0.68.47

func (x *NotificationAccount) String() string

type ProformaCur added in v0.68.31

type ProformaCur struct {
	OrgId             string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`
	PayerId           string `protobuf:"bytes,2,opt,name=payerId,proto3" json:"payerId,omitempty"`
	BillingInternalId string `protobuf:"bytes,3,opt,name=billingInternalId,proto3" json:"billingInternalId,omitempty"`
	ReportName        string `protobuf:"bytes,4,opt,name=reportName,proto3" json:"reportName,omitempty"`
	BucketName        string `protobuf:"bytes,5,opt,name=bucketName,proto3" json:"bucketName,omitempty"`
	Prefix            string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"`
	TimeCreated       string `protobuf:"bytes,7,opt,name=timeCreated,proto3" json:"timeCreated,omitempty"`
	// contains filtered or unexported fields
}

func (*ProformaCur) Descriptor deprecated added in v0.68.31

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

Deprecated: Use ProformaCur.ProtoReflect.Descriptor instead.

func (*ProformaCur) GetBillingInternalId added in v0.68.31

func (x *ProformaCur) GetBillingInternalId() string

func (*ProformaCur) GetBucketName added in v0.68.31

func (x *ProformaCur) GetBucketName() string

func (*ProformaCur) GetOrgId added in v0.68.31

func (x *ProformaCur) GetOrgId() string

func (*ProformaCur) GetPayerId added in v0.68.31

func (x *ProformaCur) GetPayerId() string

func (*ProformaCur) GetPrefix added in v0.68.31

func (x *ProformaCur) GetPrefix() string

func (*ProformaCur) GetReportName added in v0.68.31

func (x *ProformaCur) GetReportName() string

func (*ProformaCur) GetTimeCreated added in v0.68.31

func (x *ProformaCur) GetTimeCreated() string

func (*ProformaCur) ProtoMessage added in v0.68.31

func (*ProformaCur) ProtoMessage()

func (*ProformaCur) ProtoReflect added in v0.68.31

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

func (*ProformaCur) Reset added in v0.68.31

func (x *ProformaCur) Reset()

func (*ProformaCur) String added in v0.68.31

func (x *ProformaCur) String() string

type SaveNotificationSettingsRequest added in v0.56.1

type SaveNotificationSettingsRequest struct {

	// Required. Enable or disable notifications globally.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Optional. If non-empty, set this notification channel id as the default channel.
	DefaultChannel string `protobuf:"bytes,2,opt,name=defaultChannel,proto3" json:"defaultChannel,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.SaveNotificationSettings rpc.

func (*SaveNotificationSettingsRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use SaveNotificationSettingsRequest.ProtoReflect.Descriptor instead.

func (*SaveNotificationSettingsRequest) GetDefaultChannel added in v0.61.1

func (x *SaveNotificationSettingsRequest) GetDefaultChannel() string

func (*SaveNotificationSettingsRequest) GetEnabled added in v0.61.1

func (x *SaveNotificationSettingsRequest) GetEnabled() bool

func (*SaveNotificationSettingsRequest) ProtoMessage added in v0.56.1

func (*SaveNotificationSettingsRequest) ProtoMessage()

func (*SaveNotificationSettingsRequest) ProtoReflect added in v0.56.1

func (*SaveNotificationSettingsRequest) Reset added in v0.56.1

func (*SaveNotificationSettingsRequest) String added in v0.56.1

type UnimplementedAdminServer

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminServer) CreateCloudWatchMetricsStream added in v0.62.9

func (UnimplementedAdminServer) CreateDefaultCostAccess added in v0.57.5

func (UnimplementedAdminServer) CreateDefaultNotificationChannel added in v0.61.0

func (UnimplementedAdminServer) CreateNotification added in v0.64.9

func (UnimplementedAdminServer) CreateNotificationChannel added in v0.56.1

func (UnimplementedAdminServer) CreateProformaCur added in v0.68.31

func (UnimplementedAdminServer) DeleteDefaultCostAccess added in v0.57.5

func (UnimplementedAdminServer) DeleteNotification added in v0.64.9

func (UnimplementedAdminServer) DeleteNotificationChannel added in v0.56.1

func (UnimplementedAdminServer) ExportAuditLogs added in v0.69.3

func (UnimplementedAdminServer) GetAccountGroup added in v0.36.3

func (UnimplementedAdminServer) GetDefaultCostAccess added in v0.57.5

func (UnimplementedAdminServer) GetDefaultCostAccessTemplateUrl added in v0.57.5

func (UnimplementedAdminServer) GetNotification added in v0.64.9

func (UnimplementedAdminServer) GetNotificationChannel added in v0.56.1

func (UnimplementedAdminServer) GetNotificationSettings added in v0.56.1

func (UnimplementedAdminServer) ListDefaultCostAccess added in v0.57.5

func (UnimplementedAdminServer) ListNotificationChannels added in v0.56.1

func (UnimplementedAdminServer) ListNotifications added in v0.64.9

func (UnimplementedAdminServer) SaveNotificationSettings added in v0.56.1

func (UnimplementedAdminServer) UpdateDefaultCostAccess added in v0.57.5

func (UnimplementedAdminServer) UpdateNotification added in v0.64.9

func (UnimplementedAdminServer) UpdateNotificationChannel added in v0.56.1

type UnsafeAdminServer

type UnsafeAdminServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.

type UpdateDefaultCostAccessRequest added in v0.57.5

type UpdateDefaultCostAccessRequest struct {

	// Required. The target AWS account to update.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.UpdateDefaultCostAccess rpc.

func (*UpdateDefaultCostAccessRequest) Descriptor deprecated added in v0.57.5

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

Deprecated: Use UpdateDefaultCostAccessRequest.ProtoReflect.Descriptor instead.

func (*UpdateDefaultCostAccessRequest) GetTarget added in v0.57.5

func (x *UpdateDefaultCostAccessRequest) GetTarget() string

func (*UpdateDefaultCostAccessRequest) ProtoMessage added in v0.57.5

func (*UpdateDefaultCostAccessRequest) ProtoMessage()

func (*UpdateDefaultCostAccessRequest) ProtoReflect added in v0.57.5

func (*UpdateDefaultCostAccessRequest) Reset added in v0.57.5

func (x *UpdateDefaultCostAccessRequest) Reset()

func (*UpdateDefaultCostAccessRequest) String added in v0.57.5

type UpdateNotificationChannelRequest added in v0.56.1

type UpdateNotificationChannelRequest struct {

	// Required. ID of the notification channel to update.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. Name of the notification channel.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Valid values: `email`, `slack`, `msteams`.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Required if type = `email`.
	Email *api.EmailChannel `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// Required if type = `slack`.
	Slack *api.SlackChannel `protobuf:"bytes,5,opt,name=slack,proto3" json:"slack,omitempty"`
	// Required if type = `msteams`.
	Msteams *api.MSTeamsChannel `protobuf:"bytes,6,opt,name=msteams,proto3" json:"msteams,omitempty"`
	// Optional. For Octo use only: `octo`.
	Product string `protobuf:"bytes,7,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.UpdateNotificationChannel rpc.

func (*UpdateNotificationChannelRequest) Descriptor deprecated added in v0.56.1

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

Deprecated: Use UpdateNotificationChannelRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotificationChannelRequest) GetEmail added in v0.56.1

func (*UpdateNotificationChannelRequest) GetId added in v0.56.1

func (*UpdateNotificationChannelRequest) GetMsteams added in v0.56.1

func (*UpdateNotificationChannelRequest) GetName added in v0.56.1

func (*UpdateNotificationChannelRequest) GetProduct added in v0.68.71

func (x *UpdateNotificationChannelRequest) GetProduct() string

func (*UpdateNotificationChannelRequest) GetSlack added in v0.56.1

func (*UpdateNotificationChannelRequest) GetType added in v0.56.1

func (*UpdateNotificationChannelRequest) ProtoMessage added in v0.56.1

func (*UpdateNotificationChannelRequest) ProtoMessage()

func (*UpdateNotificationChannelRequest) ProtoReflect added in v0.56.1

func (*UpdateNotificationChannelRequest) Reset added in v0.56.1

func (*UpdateNotificationChannelRequest) String added in v0.56.1

type UpdateNotificationRequest added in v0.64.9

type UpdateNotificationRequest struct {

	// Required
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required
	Channels []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	// Required
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Required
	// Valid values:
	// `InvoiceCalculationStarted`,
	// `InvoiceCalculationFinished`,
	// `CurUpdatedAfterInvoice`.
	// `AccountBudgetAlert`.
	NotificationType string `protobuf:"bytes,4,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
	// Optional. only available Wave(Pro).
	Account *NotificationAccount `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Admin.UpdateNotificationTypeChannels rpc.

func (*UpdateNotificationRequest) Descriptor deprecated added in v0.64.9

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

Deprecated: Use UpdateNotificationRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotificationRequest) GetAccount added in v0.68.47

func (*UpdateNotificationRequest) GetChannels added in v0.64.9

func (x *UpdateNotificationRequest) GetChannels() []string

func (*UpdateNotificationRequest) GetEnabled added in v0.64.9

func (x *UpdateNotificationRequest) GetEnabled() bool

func (*UpdateNotificationRequest) GetId added in v0.64.9

func (x *UpdateNotificationRequest) GetId() string

func (*UpdateNotificationRequest) GetNotificationType added in v0.64.15

func (x *UpdateNotificationRequest) GetNotificationType() string

func (*UpdateNotificationRequest) ProtoMessage added in v0.64.9

func (*UpdateNotificationRequest) ProtoMessage()

func (*UpdateNotificationRequest) ProtoReflect added in v0.64.9

func (*UpdateNotificationRequest) Reset added in v0.64.9

func (x *UpdateNotificationRequest) Reset()

func (*UpdateNotificationRequest) String added in v0.64.9

func (x *UpdateNotificationRequest) String() string

Jump to

Keyboard shortcuts

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