genproto: google.golang.org/genproto/googleapis/cloud/support/v1alpha1 Index | Files

package support

import "google.golang.org/genproto/googleapis/cloud/support/v1alpha1"

Index

Package Files

cloud_support.pb.go

Variables

var File_google_cloud_support_v1alpha1_cloud_support_proto protoreflect.FileDescriptor

func RegisterCloudSupportServer Uses

func RegisterCloudSupportServer(s *grpc.Server, srv CloudSupportServer)

type CloudSupportClient Uses

type CloudSupportClient interface {
    // Retrieves the support account details given an account identifier.
    // The authenticated user calling this method must be the account owner.
    GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*common.SupportAccount, error)
    // Retrieves the list of accounts the current authenticated user has access
    // to.
    ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error)
    // Retrieves the details for a support case. The current authenticated user
    // calling this method must have permissions to view this case.
    GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
    // Retrieves the list of support cases associated with an account. The current
    // authenticated user must have the permission to list and view these cases.
    ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error)
    // Lists all comments from a case.
    ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error)
    // Creates a case and associates it with a
    // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
    // authenticated user attempting this action must have permissions to create a
    // `Case` under that [SupportAccount].
    CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
    // Updates a support case. Only a small set of details (priority, subject and
    // cc_address) can be update after a case is created.
    UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
    // Adds a new comment to a case.
    CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*common.Comment, error)
    // Retrieves the taxonomy of product categories and components to be used
    // while creating a support case.
    GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*common.IssueTaxonomy, error)
}

CloudSupportClient is the client API for CloudSupport service.

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

func NewCloudSupportClient Uses

func NewCloudSupportClient(cc grpc.ClientConnInterface) CloudSupportClient

type CloudSupportServer Uses

type CloudSupportServer interface {
    // Retrieves the support account details given an account identifier.
    // The authenticated user calling this method must be the account owner.
    GetSupportAccount(context.Context, *GetSupportAccountRequest) (*common.SupportAccount, error)
    // Retrieves the list of accounts the current authenticated user has access
    // to.
    ListSupportAccounts(context.Context, *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error)
    // Retrieves the details for a support case. The current authenticated user
    // calling this method must have permissions to view this case.
    GetCase(context.Context, *GetCaseRequest) (*common.Case, error)
    // Retrieves the list of support cases associated with an account. The current
    // authenticated user must have the permission to list and view these cases.
    ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)
    // Lists all comments from a case.
    ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
    // Creates a case and associates it with a
    // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
    // authenticated user attempting this action must have permissions to create a
    // `Case` under that [SupportAccount].
    CreateCase(context.Context, *CreateCaseRequest) (*common.Case, error)
    // Updates a support case. Only a small set of details (priority, subject and
    // cc_address) can be update after a case is created.
    UpdateCase(context.Context, *UpdateCaseRequest) (*common.Case, error)
    // Adds a new comment to a case.
    CreateComment(context.Context, *CreateCommentRequest) (*common.Comment, error)
    // Retrieves the taxonomy of product categories and components to be used
    // while creating a support case.
    GetIssueTaxonomy(context.Context, *GetIssueTaxonomyRequest) (*common.IssueTaxonomy, error)
}

CloudSupportServer is the server API for CloudSupport service.

type CreateCaseRequest Uses

type CreateCaseRequest struct {

    // The resource name for `SupportAccount` under which this case is created.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The case resource to create.
    Case *common.Case `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"`
    // contains filtered or unexported fields
}

The request message for `CreateCase` method.

func (*CreateCaseRequest) Descriptor Uses

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

Deprecated: Use CreateCaseRequest.ProtoReflect.Descriptor instead.

func (*CreateCaseRequest) GetCase Uses

func (x *CreateCaseRequest) GetCase() *common.Case

func (*CreateCaseRequest) GetParent Uses

func (x *CreateCaseRequest) GetParent() string

func (*CreateCaseRequest) ProtoMessage Uses

func (*CreateCaseRequest) ProtoMessage()

func (*CreateCaseRequest) ProtoReflect Uses

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

func (*CreateCaseRequest) Reset Uses

func (x *CreateCaseRequest) Reset()

func (*CreateCaseRequest) String Uses

func (x *CreateCaseRequest) String() string

type CreateCommentRequest Uses

type CreateCommentRequest struct {

    // The resource name of case to which this comment should be added.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The `Comment` to be added to this case.
    Comment *common.Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
    // contains filtered or unexported fields
}

The request message for `CreateComment` method.

func (*CreateCommentRequest) Descriptor Uses

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

Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateCommentRequest) GetComment Uses

func (x *CreateCommentRequest) GetComment() *common.Comment

func (*CreateCommentRequest) GetName Uses

func (x *CreateCommentRequest) GetName() string

func (*CreateCommentRequest) ProtoMessage Uses

func (*CreateCommentRequest) ProtoMessage()

func (*CreateCommentRequest) ProtoReflect Uses

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

func (*CreateCommentRequest) Reset Uses

func (x *CreateCommentRequest) Reset()

func (*CreateCommentRequest) String Uses

func (x *CreateCommentRequest) String() string

type GetCaseRequest Uses

type GetCaseRequest struct {

    // Name of case resource requested.
    // For example: "supportAccounts/accountA/cases/123"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for `GetCase` method.

func (*GetCaseRequest) Descriptor Uses

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

Deprecated: Use GetCaseRequest.ProtoReflect.Descriptor instead.

func (*GetCaseRequest) GetName Uses

func (x *GetCaseRequest) GetName() string

func (*GetCaseRequest) ProtoMessage Uses

func (*GetCaseRequest) ProtoMessage()

func (*GetCaseRequest) ProtoReflect Uses

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

func (*GetCaseRequest) Reset Uses

func (x *GetCaseRequest) Reset()

func (*GetCaseRequest) String Uses

func (x *GetCaseRequest) String() string

type GetIssueTaxonomyRequest Uses

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

The request message for `GetIssueTaxonomy` method.

func (*GetIssueTaxonomyRequest) Descriptor Uses

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

Deprecated: Use GetIssueTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*GetIssueTaxonomyRequest) ProtoMessage Uses

func (*GetIssueTaxonomyRequest) ProtoMessage()

func (*GetIssueTaxonomyRequest) ProtoReflect Uses

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

func (*GetIssueTaxonomyRequest) Reset Uses

func (x *GetIssueTaxonomyRequest) Reset()

func (*GetIssueTaxonomyRequest) String Uses

func (x *GetIssueTaxonomyRequest) String() string

type GetSupportAccountRequest Uses

type GetSupportAccountRequest struct {

    // The resource name of the support accounts. For example:
    // `supportAccounts/accountA`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for `GetSupportAccount`.

func (*GetSupportAccountRequest) Descriptor Uses

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

Deprecated: Use GetSupportAccountRequest.ProtoReflect.Descriptor instead.

func (*GetSupportAccountRequest) GetName Uses

func (x *GetSupportAccountRequest) GetName() string

func (*GetSupportAccountRequest) ProtoMessage Uses

func (*GetSupportAccountRequest) ProtoMessage()

func (*GetSupportAccountRequest) ProtoReflect Uses

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

func (*GetSupportAccountRequest) Reset Uses

func (x *GetSupportAccountRequest) Reset()

func (*GetSupportAccountRequest) String Uses

func (x *GetSupportAccountRequest) String() string

type ListCasesRequest Uses

type ListCasesRequest struct {

    // Name of the account resource for which cases are requested. For example:
    // "supportAccounts/accountA"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The filter applied to the search results. Currently it only accepts "OPEN"
    // or "CLOSED" strings, filtering out cases that are open or resolved.
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // Maximum number of cases fetched with each request.
    PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A token identifying the page of results to return. If unspecified, the
    // first page is retrieved.
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

The request message for `ListCase` method.

func (*ListCasesRequest) Descriptor Uses

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

Deprecated: Use ListCasesRequest.ProtoReflect.Descriptor instead.

func (*ListCasesRequest) GetFilter Uses

func (x *ListCasesRequest) GetFilter() string

func (*ListCasesRequest) GetName Uses

func (x *ListCasesRequest) GetName() string

func (*ListCasesRequest) GetPageSize Uses

func (x *ListCasesRequest) GetPageSize() int64

func (*ListCasesRequest) GetPageToken Uses

func (x *ListCasesRequest) GetPageToken() string

func (*ListCasesRequest) ProtoMessage Uses

func (*ListCasesRequest) ProtoMessage()

func (*ListCasesRequest) ProtoReflect Uses

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

func (*ListCasesRequest) Reset Uses

func (x *ListCasesRequest) Reset()

func (*ListCasesRequest) String Uses

func (x *ListCasesRequest) String() string

type ListCasesResponse Uses

type ListCasesResponse struct {

    // A list of cases.
    Cases []*common.Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
    // A token to retrieve the next page of results. This should be passed on in
    // `page_token` field of `ListCaseRequest` for next request. If unspecified,
    // there are no more results to retrieve.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The response message for `ListCase` method.

func (*ListCasesResponse) Descriptor Uses

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

Deprecated: Use ListCasesResponse.ProtoReflect.Descriptor instead.

func (*ListCasesResponse) GetCases Uses

func (x *ListCasesResponse) GetCases() []*common.Case

func (*ListCasesResponse) GetNextPageToken Uses

func (x *ListCasesResponse) GetNextPageToken() string

func (*ListCasesResponse) ProtoMessage Uses

func (*ListCasesResponse) ProtoMessage()

func (*ListCasesResponse) ProtoReflect Uses

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

func (*ListCasesResponse) Reset Uses

func (x *ListCasesResponse) Reset()

func (*ListCasesResponse) String Uses

func (x *ListCasesResponse) String() string

type ListCommentsRequest Uses

type ListCommentsRequest struct {

    // The resource name of case for which comments should be listed.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for `ListComments` method.

func (*ListCommentsRequest) Descriptor Uses

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

Deprecated: Use ListCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListCommentsRequest) GetName Uses

func (x *ListCommentsRequest) GetName() string

func (*ListCommentsRequest) ProtoMessage Uses

func (*ListCommentsRequest) ProtoMessage()

func (*ListCommentsRequest) ProtoReflect Uses

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

func (*ListCommentsRequest) Reset Uses

func (x *ListCommentsRequest) Reset()

func (*ListCommentsRequest) String Uses

func (x *ListCommentsRequest) String() string

type ListCommentsResponse Uses

type ListCommentsResponse struct {

    // A list of comments.
    Comments []*common.Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
    // contains filtered or unexported fields
}

The response message for `ListComments` method.

func (*ListCommentsResponse) Descriptor Uses

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

Deprecated: Use ListCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListCommentsResponse) GetComments Uses

func (x *ListCommentsResponse) GetComments() []*common.Comment

func (*ListCommentsResponse) ProtoMessage Uses

func (*ListCommentsResponse) ProtoMessage()

func (*ListCommentsResponse) ProtoReflect Uses

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

func (*ListCommentsResponse) Reset Uses

func (x *ListCommentsResponse) Reset()

func (*ListCommentsResponse) String Uses

func (x *ListCommentsResponse) String() string

type ListSupportAccountsRequest Uses

type ListSupportAccountsRequest struct {

    // The filter applied to search results. It only supports filtering a support
    // account list by a cloud_resource. For example, to filter results by support
    // accounts associated with an Organization, its value should be:
    // "cloud_resource:organizations/<organization_id>"
    Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
    // Maximum number of accounts fetched with each request.
    PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A token identifying the page of results to return. If unspecified, the
    // first page is retrieved.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

The request message for `ListSupportAccount`.

func (*ListSupportAccountsRequest) Descriptor Uses

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

Deprecated: Use ListSupportAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListSupportAccountsRequest) GetFilter Uses

func (x *ListSupportAccountsRequest) GetFilter() string

func (*ListSupportAccountsRequest) GetPageSize Uses

func (x *ListSupportAccountsRequest) GetPageSize() int64

func (*ListSupportAccountsRequest) GetPageToken Uses

func (x *ListSupportAccountsRequest) GetPageToken() string

func (*ListSupportAccountsRequest) ProtoMessage Uses

func (*ListSupportAccountsRequest) ProtoMessage()

func (*ListSupportAccountsRequest) ProtoReflect Uses

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

func (*ListSupportAccountsRequest) Reset Uses

func (x *ListSupportAccountsRequest) Reset()

func (*ListSupportAccountsRequest) String Uses

func (x *ListSupportAccountsRequest) String() string

type ListSupportAccountsResponse Uses

type ListSupportAccountsResponse struct {

    // A list of support accounts.
    Accounts []*common.SupportAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
    // A token to retrieve the next page of results. This should be passed on in
    // `page_token` field of `ListSupportAccountRequest` for next request. If
    // unspecified, there are no more results to retrieve.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The response message for `ListSupportAccount`.

func (*ListSupportAccountsResponse) Descriptor Uses

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

Deprecated: Use ListSupportAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListSupportAccountsResponse) GetAccounts Uses

func (x *ListSupportAccountsResponse) GetAccounts() []*common.SupportAccount

func (*ListSupportAccountsResponse) GetNextPageToken Uses

func (x *ListSupportAccountsResponse) GetNextPageToken() string

func (*ListSupportAccountsResponse) ProtoMessage Uses

func (*ListSupportAccountsResponse) ProtoMessage()

func (*ListSupportAccountsResponse) ProtoReflect Uses

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

func (*ListSupportAccountsResponse) Reset Uses

func (x *ListSupportAccountsResponse) Reset()

func (*ListSupportAccountsResponse) String Uses

func (x *ListSupportAccountsResponse) String() string

type UnimplementedCloudSupportServer Uses

type UnimplementedCloudSupportServer struct {
}

UnimplementedCloudSupportServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudSupportServer) CreateCase Uses

func (*UnimplementedCloudSupportServer) CreateCase(context.Context, *CreateCaseRequest) (*common.Case, error)

func (*UnimplementedCloudSupportServer) CreateComment Uses

func (*UnimplementedCloudSupportServer) CreateComment(context.Context, *CreateCommentRequest) (*common.Comment, error)

func (*UnimplementedCloudSupportServer) GetCase Uses

func (*UnimplementedCloudSupportServer) GetCase(context.Context, *GetCaseRequest) (*common.Case, error)

func (*UnimplementedCloudSupportServer) GetIssueTaxonomy Uses

func (*UnimplementedCloudSupportServer) GetIssueTaxonomy(context.Context, *GetIssueTaxonomyRequest) (*common.IssueTaxonomy, error)

func (*UnimplementedCloudSupportServer) GetSupportAccount Uses

func (*UnimplementedCloudSupportServer) GetSupportAccount(context.Context, *GetSupportAccountRequest) (*common.SupportAccount, error)

func (*UnimplementedCloudSupportServer) ListCases Uses

func (*UnimplementedCloudSupportServer) ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)

func (*UnimplementedCloudSupportServer) ListComments Uses

func (*UnimplementedCloudSupportServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)

func (*UnimplementedCloudSupportServer) ListSupportAccounts Uses

func (*UnimplementedCloudSupportServer) ListSupportAccounts(context.Context, *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error)

func (*UnimplementedCloudSupportServer) UpdateCase Uses

func (*UnimplementedCloudSupportServer) UpdateCase(context.Context, *UpdateCaseRequest) (*common.Case, error)

type UpdateCaseRequest Uses

type UpdateCaseRequest struct {

    // The case resource to update.
    Case *common.Case `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
    // A field that represents attributes of a Case object that should be updated
    // as part of this request.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

The request message for `UpdateCase` method.

func (*UpdateCaseRequest) Descriptor Uses

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

Deprecated: Use UpdateCaseRequest.ProtoReflect.Descriptor instead.

func (*UpdateCaseRequest) GetCase Uses

func (x *UpdateCaseRequest) GetCase() *common.Case

func (*UpdateCaseRequest) GetUpdateMask Uses

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

func (*UpdateCaseRequest) ProtoMessage Uses

func (*UpdateCaseRequest) ProtoMessage()

func (*UpdateCaseRequest) ProtoReflect Uses

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

func (*UpdateCaseRequest) Reset Uses

func (x *UpdateCaseRequest) Reset()

func (*UpdateCaseRequest) String Uses

func (x *UpdateCaseRequest) String() string

Package support imports 13 packages (graph). Updated 2020-07-26. Refresh now. Tools for package owners.