Constants
CaseAttachmentService_ListAttachments_FullMethodName, CaseAttachmentService_GetAttachment_FullMethodName
const (
CaseAttachmentService_ListAttachments_FullMethodName = "/google.cloud.support.v2beta.CaseAttachmentService/ListAttachments"
CaseAttachmentService_GetAttachment_FullMethodName = "/google.cloud.support.v2beta.CaseAttachmentService/GetAttachment"
)CaseService_GetCase_FullMethodName, CaseService_ListCases_FullMethodName, CaseService_SearchCases_FullMethodName, CaseService_CreateCase_FullMethodName, CaseService_UpdateCase_FullMethodName, CaseService_EscalateCase_FullMethodName, CaseService_CloseCase_FullMethodName, CaseService_SearchCaseClassifications_FullMethodName
const (
CaseService_GetCase_FullMethodName = "/google.cloud.support.v2beta.CaseService/GetCase"
CaseService_ListCases_FullMethodName = "/google.cloud.support.v2beta.CaseService/ListCases"
CaseService_SearchCases_FullMethodName = "/google.cloud.support.v2beta.CaseService/SearchCases"
CaseService_CreateCase_FullMethodName = "/google.cloud.support.v2beta.CaseService/CreateCase"
CaseService_UpdateCase_FullMethodName = "/google.cloud.support.v2beta.CaseService/UpdateCase"
CaseService_EscalateCase_FullMethodName = "/google.cloud.support.v2beta.CaseService/EscalateCase"
CaseService_CloseCase_FullMethodName = "/google.cloud.support.v2beta.CaseService/CloseCase"
CaseService_SearchCaseClassifications_FullMethodName = "/google.cloud.support.v2beta.CaseService/SearchCaseClassifications"
)CommentService_ListComments_FullMethodName, CommentService_CreateComment_FullMethodName, CommentService_GetComment_FullMethodName
const (
CommentService_ListComments_FullMethodName = "/google.cloud.support.v2beta.CommentService/ListComments"
CommentService_CreateComment_FullMethodName = "/google.cloud.support.v2beta.CommentService/CreateComment"
CommentService_GetComment_FullMethodName = "/google.cloud.support.v2beta.CommentService/GetComment"
)FeedService_ShowFeed_FullMethodName
const (
FeedService_ShowFeed_FullMethodName = "/google.cloud.support.v2beta.FeedService/ShowFeed"
)Variables
ProductLine_name, ProductLine_value
var (
ProductLine_name = map[int32]string{
0: "PRODUCT_LINE_UNSPECIFIED",
1: "GOOGLE_CLOUD",
2: "GOOGLE_MAPS",
}
ProductLine_value = map[string]int32{
"PRODUCT_LINE_UNSPECIFIED": 0,
"GOOGLE_CLOUD": 1,
"GOOGLE_MAPS": 2,
}
)Enum value maps for ProductLine.
Case_State_name, Case_State_value
var (
Case_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "NEW",
2: "IN_PROGRESS_GOOGLE_SUPPORT",
3: "ACTION_REQUIRED",
4: "SOLUTION_PROVIDED",
5: "CLOSED",
}
Case_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"NEW": 1,
"IN_PROGRESS_GOOGLE_SUPPORT": 2,
"ACTION_REQUIRED": 3,
"SOLUTION_PROVIDED": 4,
"CLOSED": 5,
}
)Enum value maps for Case_State.
Case_Priority_name, Case_Priority_value
var (
Case_Priority_name = map[int32]string{
0: "PRIORITY_UNSPECIFIED",
1: "P0",
2: "P1",
3: "P2",
4: "P3",
5: "P4",
}
Case_Priority_value = map[string]int32{
"PRIORITY_UNSPECIFIED": 0,
"P0": 1,
"P1": 2,
"P2": 3,
"P3": 4,
"P4": 5,
}
)Enum value maps for Case_Priority.
Escalation_Reason_name, Escalation_Reason_value
var (
Escalation_Reason_name = map[int32]string{
0: "REASON_UNSPECIFIED",
1: "RESOLUTION_TIME",
2: "TECHNICAL_EXPERTISE",
3: "BUSINESS_IMPACT",
}
Escalation_Reason_value = map[string]int32{
"REASON_UNSPECIFIED": 0,
"RESOLUTION_TIME": 1,
"TECHNICAL_EXPERTISE": 2,
"BUSINESS_IMPACT": 3,
}
)Enum value maps for Escalation_Reason.
CaseAttachmentService_ServiceDesc
var CaseAttachmentService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.support.v2beta.CaseAttachmentService",
HandlerType: (*CaseAttachmentServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAttachments",
Handler: _CaseAttachmentService_ListAttachments_Handler,
},
{
MethodName: "GetAttachment",
Handler: _CaseAttachmentService_GetAttachment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/support/v2beta/attachment_service.proto",
}CaseAttachmentService_ServiceDesc is the grpc.ServiceDesc for CaseAttachmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
CaseService_ServiceDesc
var CaseService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.support.v2beta.CaseService",
HandlerType: (*CaseServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetCase",
Handler: _CaseService_GetCase_Handler,
},
{
MethodName: "ListCases",
Handler: _CaseService_ListCases_Handler,
},
{
MethodName: "SearchCases",
Handler: _CaseService_SearchCases_Handler,
},
{
MethodName: "CreateCase",
Handler: _CaseService_CreateCase_Handler,
},
{
MethodName: "UpdateCase",
Handler: _CaseService_UpdateCase_Handler,
},
{
MethodName: "EscalateCase",
Handler: _CaseService_EscalateCase_Handler,
},
{
MethodName: "CloseCase",
Handler: _CaseService_CloseCase_Handler,
},
{
MethodName: "SearchCaseClassifications",
Handler: _CaseService_SearchCaseClassifications_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/support/v2beta/case_service.proto",
}CaseService_ServiceDesc is the grpc.ServiceDesc for CaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
CommentService_ServiceDesc
var CommentService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.support.v2beta.CommentService",
HandlerType: (*CommentServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListComments",
Handler: _CommentService_ListComments_Handler,
},
{
MethodName: "CreateComment",
Handler: _CommentService_CreateComment_Handler,
},
{
MethodName: "GetComment",
Handler: _CommentService_GetComment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/support/v2beta/comment_service.proto",
}CommentService_ServiceDesc is the grpc.ServiceDesc for CommentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
FeedService_ServiceDesc
var FeedService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.support.v2beta.FeedService",
HandlerType: (*FeedServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ShowFeed",
Handler: _FeedService_ShowFeed_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/support/v2beta/feed_service.proto",
}FeedService_ServiceDesc is the grpc.ServiceDesc for FeedService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_support_v2beta_actor_proto
var File_google_cloud_support_v2beta_actor_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_attachment_proto
var File_google_cloud_support_v2beta_attachment_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_attachment_service_proto
var File_google_cloud_support_v2beta_attachment_service_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_case_proto
var File_google_cloud_support_v2beta_case_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_case_service_proto
var File_google_cloud_support_v2beta_case_service_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_comment_proto
var File_google_cloud_support_v2beta_comment_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_comment_service_proto
var File_google_cloud_support_v2beta_comment_service_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_content_proto
var File_google_cloud_support_v2beta_content_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_email_message_proto
var File_google_cloud_support_v2beta_email_message_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_escalation_proto
var File_google_cloud_support_v2beta_escalation_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_feed_item_proto
var File_google_cloud_support_v2beta_feed_item_proto protoreflect.FileDescriptorFile_google_cloud_support_v2beta_feed_service_proto
var File_google_cloud_support_v2beta_feed_service_proto protoreflect.FileDescriptorFunctions
func RegisterCaseAttachmentServiceServer
func RegisterCaseAttachmentServiceServer(s grpc.ServiceRegistrar, srv CaseAttachmentServiceServer)func RegisterCaseServiceServer
func RegisterCaseServiceServer(s grpc.ServiceRegistrar, srv CaseServiceServer)func RegisterCommentServiceServer
func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)func RegisterFeedServiceServer
func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)Actor
type Actor struct {
// The name to display for the actor. If not provided, it is inferred from
// credentials supplied during case creation. When an email is provided, a
// display name must also be provided. This will be obfuscated if the user
// is a Google Support agent.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The email address of the actor. If not provided, it is inferred from the
// credentials supplied during case creation. When a name is provided, an
// email must also be provided. If the user is a Google Support agent, this is
// obfuscated.
//
// This field is deprecated. Use `username` instead.
//
// Deprecated: Marked as deprecated in google/cloud/support/v2beta/actor.proto.
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
// Output only. Whether the actor is a Google support actor.
GoogleSupport bool `protobuf:"varint,4,opt,name=google_support,json=googleSupport,proto3" json:"google_support,omitempty"`
// Output only. The username of the actor. It may look like an email or other
// format provided by the identity provider. If not provided, it is inferred
// from the credentials supplied. When a name is provided, a username must
// also be provided. If the user is a Google Support agent, this will not be
// set.
Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}An Actor represents an entity that performed an action. For example, an actor could be a user who posted a comment on a support case, a user who uploaded an attachment, or a service account that created a support case.
func (*Actor) Descriptor
Deprecated: Use Actor.ProtoReflect.Descriptor instead.
func (*Actor) GetDisplayName
func (*Actor) GetEmail
Deprecated: Marked as deprecated in google/cloud/support/v2beta/actor.proto.
func (*Actor) GetGoogleSupport
func (*Actor) GetUsername
func (*Actor) ProtoMessage
func (*Actor) ProtoMessage()func (*Actor) ProtoReflect
func (x *Actor) ProtoReflect() protoreflect.Messagefunc (*Actor) Reset
func (x *Actor) Reset()func (*Actor) String
Attachment
type Attachment struct {
// Output only. Identifier. The resource name of the attachment.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time at which the attachment was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The user who uploaded the attachment. Note, the name and email
// will be obfuscated if the attachment was uploaded by Google support.
Creator *Actor `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
// The filename of the attachment (e.g. `"graph.jpg"`).
Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
// Output only. The MIME type of the attachment (e.g. text/plain).
MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Output only. The size of the attachment in bytes.
SizeBytes int64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// contains filtered or unexported fields
}An Attachment contains metadata about a file that was uploaded to a
case - it is NOT a file itself. That being said, the name of an Attachment
object can be used to download its accompanying file through the
media.download endpoint.
While attachments can be uploaded in the console at the same time as a comment, they're associated on a "case" level, not a "comment" level.
func (*Attachment) Descriptor
func (*Attachment) Descriptor() ([]byte, []int)Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetCreateTime
func (x *Attachment) GetCreateTime() *timestamppb.Timestampfunc (*Attachment) GetCreator
func (x *Attachment) GetCreator() *Actorfunc (*Attachment) GetFilename
func (x *Attachment) GetFilename() stringfunc (*Attachment) GetMimeType
func (x *Attachment) GetMimeType() stringfunc (*Attachment) GetName
func (x *Attachment) GetName() stringfunc (*Attachment) GetSizeBytes
func (x *Attachment) GetSizeBytes() int64func (*Attachment) ProtoMessage
func (*Attachment) ProtoMessage()func (*Attachment) ProtoReflect
func (x *Attachment) ProtoReflect() protoreflect.Messagefunc (*Attachment) Reset
func (x *Attachment) Reset()func (*Attachment) String
func (x *Attachment) String() stringCase
type Case struct {
// Identifier. The resource name for the case.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The short summary of the issue reported in this case.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A broad description of the issue.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The issue classification applicable to this case.
Classification *CaseClassification `protobuf:"bytes,4,opt,name=classification,proto3" json:"classification,omitempty"`
// The timezone of the user who created the support case.
// It should be in a format IANA recognizes: https://www.iana.org/time-zones.
// There is no additional validation done by the API.
TimeZone string `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// The email addresses to receive updates on this case.
SubscriberEmailAddresses []string `protobuf:"bytes,9,rep,name=subscriber_email_addresses,json=subscriberEmailAddresses,proto3" json:"subscriber_email_addresses,omitempty"`
// Output only. The current status of the support case.
State Case_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.support.v2beta.Case_State" json:"state,omitempty"`
// Output only. The time this case was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time this case was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The user who created the case.
//
// Note: The name and email will be obfuscated if the case was created by
// Google Support.
Creator *Actor `protobuf:"bytes,15,opt,name=creator,proto3" json:"creator,omitempty"`
// A user-supplied email address to send case update notifications for. This
// should only be used in BYOID flows, where we cannot infer the user's email
// address directly from their EUCs.
ContactEmail string `protobuf:"bytes,35,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
// Whether the case is currently escalated.
Escalated bool `protobuf:"varint,17,opt,name=escalated,proto3" json:"escalated,omitempty"`
// Whether this case was created for internal API testing and should not be
// acted on by the support team.
TestCase bool `protobuf:"varint,19,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
// The language the user has requested to receive support in. This should be a
// BCP 47 language code (e.g., `"en"`, `"zh-CN"`, `"zh-TW"`, `"ja"`, `"ko"`).
// If no language or an unsupported language is specified, this field defaults
// to English (en).
//
// Language selection during case creation may affect your available support
// options. For a list of supported languages and their support working hours,
// see: https://cloud.google.com/support/docs/language-working-hours
LanguageCode string `protobuf:"bytes,23,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The priority of this case.
Priority Case_Priority `protobuf:"varint,32,opt,name=priority,proto3,enum=google.cloud.support.v2beta.Case_Priority" json:"priority,omitempty"`
// contains filtered or unexported fields
}A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time.
A case is parented by a Google Cloud organization or project.
Organizations are identified by a number, so the name of a case parented by an organization would look like this:
organizations/123/cases/456
Projects have two unique identifiers, an ID and a number, and they look like this:
projects/abc/cases/456
projects/123/cases/456
You can use either of them when calling the API. To learn more about project identifiers, see AIP-2510.
func (*Case) Descriptor
Deprecated: Use Case.ProtoReflect.Descriptor instead.
func (*Case) GetClassification
func (x *Case) GetClassification() *CaseClassificationfunc (*Case) GetContactEmail
func (*Case) GetCreateTime
func (x *Case) GetCreateTime() *timestamppb.Timestampfunc (*Case) GetCreator
func (*Case) GetDescription
func (*Case) GetDisplayName
func (*Case) GetEscalated
func (*Case) GetLanguageCode
func (*Case) GetName
func (*Case) GetPriority
func (x *Case) GetPriority() Case_Priorityfunc (*Case) GetState
func (x *Case) GetState() Case_Statefunc (*Case) GetSubscriberEmailAddresses
func (*Case) GetTestCase
func (*Case) GetTimeZone
func (*Case) GetUpdateTime
func (x *Case) GetUpdateTime() *timestamppb.Timestampfunc (*Case) ProtoMessage
func (*Case) ProtoMessage()func (*Case) ProtoReflect
func (x *Case) ProtoReflect() protoreflect.Messagefunc (*Case) Reset
func (x *Case) Reset()func (*Case) String
CaseAttachmentServiceClient
type CaseAttachmentServiceClient interface {
// List all the attachments associated with a support case.
ListAttachments(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*ListAttachmentsResponse, error)
// Retrieve an attachment.
GetAttachment(ctx context.Context, in *GetAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error)
}CaseAttachmentServiceClient is the client API for CaseAttachmentService 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.
func NewCaseAttachmentServiceClient
func NewCaseAttachmentServiceClient(cc grpc.ClientConnInterface) CaseAttachmentServiceClientCaseAttachmentServiceServer
type CaseAttachmentServiceServer interface {
// List all the attachments associated with a support case.
ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
// Retrieve an attachment.
GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
}CaseAttachmentServiceServer is the server API for CaseAttachmentService service. All implementations should embed UnimplementedCaseAttachmentServiceServer for forward compatibility
CaseClassification
type CaseClassification struct {
// The unique ID for a classification. Must be specified for case creation.
//
// To retrieve valid classification IDs for case creation, use
// `caseClassifications.search`.
//
// Classification IDs returned by `caseClassifications.search` are guaranteed
// to be valid for at least 6 months. If a given classification is
// deactiveated, it will immediately stop being returned. After 6 months,
// `case.create` requests using the classification ID will fail.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// A display name for the classification.
//
// The display name is not static and can change. To uniquely and consistently
// identify classifications, use the `CaseClassification.id` field.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The full product the classification corresponds to.
Product *Product `protobuf:"bytes,10,opt,name=product,proto3" json:"product,omitempty"`
// contains filtered or unexported fields
}A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they're used to route your cases to specialists who can help you.
A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.
func (*CaseClassification) Descriptor
func (*CaseClassification) Descriptor() ([]byte, []int)Deprecated: Use CaseClassification.ProtoReflect.Descriptor instead.
func (*CaseClassification) GetDisplayName
func (x *CaseClassification) GetDisplayName() stringfunc (*CaseClassification) GetId
func (x *CaseClassification) GetId() stringfunc (*CaseClassification) GetProduct
func (x *CaseClassification) GetProduct() *Productfunc (*CaseClassification) ProtoMessage
func (*CaseClassification) ProtoMessage()func (*CaseClassification) ProtoReflect
func (x *CaseClassification) ProtoReflect() protoreflect.Messagefunc (*CaseClassification) Reset
func (x *CaseClassification) Reset()func (*CaseClassification) String
func (x *CaseClassification) String() stringCaseServiceClient
type CaseServiceClient interface {
// Retrieve a case.
GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*Case, error)
// Retrieve all cases under a parent, but not its children.
//
// For example, listing cases under an organization only returns the cases
// that are directly parented by that organization. To retrieve cases
// under an organization and its projects, use `cases.search`.
ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error)
// Search for cases using a query.
SearchCases(ctx context.Context, in *SearchCasesRequest, opts ...grpc.CallOption) (*SearchCasesResponse, error)
// Create a new case and associate it with a parent.
//
// It must have the following fields set: `display_name`, `description`,
// `classification`, and `priority`. If you're just testing the API and don't
// want to route your case to an agent, set `testCase=true`.
CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*Case, error)
// Update a case. Only some fields can be updated.
UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*Case, error)
// Escalate a case, starting the Google Cloud Support escalation management
// process.
//
// This operation is only available for some support services. Go to
// https://cloud.google.com/support and look for 'Technical support
// escalations' in the feature list to find out which ones let you
// do that.
EscalateCase(ctx context.Context, in *EscalateCaseRequest, opts ...grpc.CallOption) (*Case, error)
// Close a case.
CloseCase(ctx context.Context, in *CloseCaseRequest, opts ...grpc.CallOption) (*Case, error)
// Retrieve valid classifications to use when creating a support case.
//
// Classifications are hierarchical. Each classification is a string
// containing all levels of the hierarchy separated by `" > "`. For example,
// `"Technical Issue > Compute > Compute Engine"`.
//
// Classification IDs returned by this endpoint are valid for at least six
// months. When a classification is deactivated, this endpoint immediately
// stops returning it. After six months, `case.create` requests using the
// classification will fail.
SearchCaseClassifications(ctx context.Context, in *SearchCaseClassificationsRequest, opts ...grpc.CallOption) (*SearchCaseClassificationsResponse, error)
}CaseServiceClient is the client API for CaseService 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.
func NewCaseServiceClient
func NewCaseServiceClient(cc grpc.ClientConnInterface) CaseServiceClientCaseServiceServer
type CaseServiceServer interface {
// Retrieve a case.
GetCase(context.Context, *GetCaseRequest) (*Case, error)
// Retrieve all cases under a parent, but not its children.
//
// For example, listing cases under an organization only returns the cases
// that are directly parented by that organization. To retrieve cases
// under an organization and its projects, use `cases.search`.
ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)
// Search for cases using a query.
SearchCases(context.Context, *SearchCasesRequest) (*SearchCasesResponse, error)
// Create a new case and associate it with a parent.
//
// It must have the following fields set: `display_name`, `description`,
// `classification`, and `priority`. If you're just testing the API and don't
// want to route your case to an agent, set `testCase=true`.
CreateCase(context.Context, *CreateCaseRequest) (*Case, error)
// Update a case. Only some fields can be updated.
UpdateCase(context.Context, *UpdateCaseRequest) (*Case, error)
// Escalate a case, starting the Google Cloud Support escalation management
// process.
//
// This operation is only available for some support services. Go to
// https://cloud.google.com/support and look for 'Technical support
// escalations' in the feature list to find out which ones let you
// do that.
EscalateCase(context.Context, *EscalateCaseRequest) (*Case, error)
// Close a case.
CloseCase(context.Context, *CloseCaseRequest) (*Case, error)
// Retrieve valid classifications to use when creating a support case.
//
// Classifications are hierarchical. Each classification is a string
// containing all levels of the hierarchy separated by `" > "`. For example,
// `"Technical Issue > Compute > Compute Engine"`.
//
// Classification IDs returned by this endpoint are valid for at least six
// months. When a classification is deactivated, this endpoint immediately
// stops returning it. After six months, `case.create` requests using the
// classification will fail.
SearchCaseClassifications(context.Context, *SearchCaseClassificationsRequest) (*SearchCaseClassificationsResponse, error)
}CaseServiceServer is the server API for CaseService service. All implementations should embed UnimplementedCaseServiceServer for forward compatibility
Case_Priority
type Case_Priority int32The case Priority. P0 is most urgent and P4 the least.
Case_PRIORITY_UNSPECIFIED, Case_P0, Case_P1, Case_P2, Case_P3, Case_P4
const (
// Priority is undefined or has not been set yet.
Case_PRIORITY_UNSPECIFIED Case_Priority = 0
// Extreme impact on a production service. Service is hard down.
Case_P0 Case_Priority = 1
// Critical impact on a production service. Service is currently unusable.
Case_P1 Case_Priority = 2
// Severe impact on a production service. Service is usable but greatly
// impaired.
Case_P2 Case_Priority = 3
// Medium impact on a production service. Service is available, but
// moderately impaired.
Case_P3 Case_Priority = 4
// General questions or minor issues. Production service is fully
// available.
Case_P4 Case_Priority = 5
)func (Case_Priority) Descriptor
func (Case_Priority) Descriptor() protoreflect.EnumDescriptorfunc (Case_Priority) Enum
func (x Case_Priority) Enum() *Case_Priorityfunc (Case_Priority) EnumDescriptor
func (Case_Priority) EnumDescriptor() ([]byte, []int)Deprecated: Use Case_Priority.Descriptor instead.
func (Case_Priority) Number
func (x Case_Priority) Number() protoreflect.EnumNumberfunc (Case_Priority) String
func (x Case_Priority) String() stringfunc (Case_Priority) Type
func (Case_Priority) Type() protoreflect.EnumTypeCase_State
type Case_State int32The status of a support case.
Case_STATE_UNSPECIFIED, Case_NEW, Case_IN_PROGRESS_GOOGLE_SUPPORT, Case_ACTION_REQUIRED, Case_SOLUTION_PROVIDED, Case_CLOSED
const (
// Case is in an unknown state.
Case_STATE_UNSPECIFIED Case_State = 0
// The case has been created but no one is assigned to work on it yet.
Case_NEW Case_State = 1
// The case is currently being handled by Google support.
Case_IN_PROGRESS_GOOGLE_SUPPORT Case_State = 2
// Google is waiting for a response.
Case_ACTION_REQUIRED Case_State = 3
// A solution has been offered for the case, but it isn't yet closed.
Case_SOLUTION_PROVIDED Case_State = 4
// The case has been resolved.
Case_CLOSED Case_State = 5
)func (Case_State) Descriptor
func (Case_State) Descriptor() protoreflect.EnumDescriptorfunc (Case_State) Enum
func (x Case_State) Enum() *Case_Statefunc (Case_State) EnumDescriptor
func (Case_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Case_State.Descriptor instead.
func (Case_State) Number
func (x Case_State) Number() protoreflect.EnumNumberfunc (Case_State) String
func (x Case_State) String() stringfunc (Case_State) Type
func (Case_State) Type() protoreflect.EnumTypeCloseCaseRequest
type CloseCaseRequest struct {
// Required. The name of the case to close.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for the CloseCase endpoint.
func (*CloseCaseRequest) Descriptor
func (*CloseCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CloseCaseRequest.ProtoReflect.Descriptor instead.
func (*CloseCaseRequest) GetName
func (x *CloseCaseRequest) GetName() stringfunc (*CloseCaseRequest) ProtoMessage
func (*CloseCaseRequest) ProtoMessage()func (*CloseCaseRequest) ProtoReflect
func (x *CloseCaseRequest) ProtoReflect() protoreflect.Messagefunc (*CloseCaseRequest) Reset
func (x *CloseCaseRequest) Reset()func (*CloseCaseRequest) String
func (x *CloseCaseRequest) String() stringComment
type Comment struct {
// Output only. Identifier. The resource name of the comment.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the comment was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The user or Google Support agent who created the comment.
Creator *Actor `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
// The full comment body.
//
// Maximum of 12800 characters.
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// Output only. DEPRECATED. DO NOT USE.
//
// A duplicate of the `body` field.
//
// This field is only present for legacy reasons.
//
// Deprecated: Marked as deprecated in google/cloud/support/v2beta/comment.proto.
PlainTextBody string `protobuf:"bytes,5,opt,name=plain_text_body,json=plainTextBody,proto3" json:"plain_text_body,omitempty"`
// contains filtered or unexported fields
}A comment associated with a support case.
Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.
func (*Comment) Descriptor
Deprecated: Use Comment.ProtoReflect.Descriptor instead.
func (*Comment) GetBody
func (*Comment) GetCreateTime
func (x *Comment) GetCreateTime() *timestamppb.Timestampfunc (*Comment) GetCreator
func (*Comment) GetName
func (*Comment) GetPlainTextBody
Deprecated: Marked as deprecated in google/cloud/support/v2beta/comment.proto.
func (*Comment) ProtoMessage
func (*Comment) ProtoMessage()func (*Comment) ProtoReflect
func (x *Comment) ProtoReflect() protoreflect.Messagefunc (*Comment) Reset
func (x *Comment) Reset()func (*Comment) String
CommentServiceClient
type CommentServiceClient interface {
// List all the comments associated with a case.
ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error)
// Add a new comment to a case.
//
// The comment must have the following fields set: `body`.
CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*Comment, error)
// Retrieve a comment.
GetComment(ctx context.Context, in *GetCommentRequest, opts ...grpc.CallOption) (*Comment, error)
}CommentServiceClient is the client API for CommentService 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.
func NewCommentServiceClient
func NewCommentServiceClient(cc grpc.ClientConnInterface) CommentServiceClientCommentServiceServer
type CommentServiceServer interface {
// List all the comments associated with a case.
ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
// Add a new comment to a case.
//
// The comment must have the following fields set: `body`.
CreateComment(context.Context, *CreateCommentRequest) (*Comment, error)
// Retrieve a comment.
GetComment(context.Context, *GetCommentRequest) (*Comment, error)
}CommentServiceServer is the server API for CommentService service. All implementations should embed UnimplementedCommentServiceServer for forward compatibility
CreateCaseRequest
type CreateCaseRequest struct {
// Required. The name of the parent under which the case should be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The case to be created.
Case *Case `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"`
// contains filtered or unexported fields
}The request message for the CreateCase endpoint.
func (*CreateCaseRequest) Descriptor
func (*CreateCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCaseRequest.ProtoReflect.Descriptor instead.
func (*CreateCaseRequest) GetCase
func (x *CreateCaseRequest) GetCase() *Casefunc (*CreateCaseRequest) GetParent
func (x *CreateCaseRequest) GetParent() stringfunc (*CreateCaseRequest) ProtoMessage
func (*CreateCaseRequest) ProtoMessage()func (*CreateCaseRequest) ProtoReflect
func (x *CreateCaseRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCaseRequest) Reset
func (x *CreateCaseRequest) Reset()func (*CreateCaseRequest) String
func (x *CreateCaseRequest) String() stringCreateCommentRequest
type CreateCommentRequest struct {
// Required. The name of the case to which the comment should be added.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The comment to be added.
Comment *Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}The request message for the CreateComment endpoint.
func (*CreateCommentRequest) Descriptor
func (*CreateCommentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) GetComment
func (x *CreateCommentRequest) GetComment() *Commentfunc (*CreateCommentRequest) GetParent
func (x *CreateCommentRequest) GetParent() stringfunc (*CreateCommentRequest) ProtoMessage
func (*CreateCommentRequest) ProtoMessage()func (*CreateCommentRequest) ProtoReflect
func (x *CreateCommentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCommentRequest) Reset
func (x *CreateCommentRequest) Reset()func (*CreateCommentRequest) String
func (x *CreateCommentRequest) String() stringEmailMessage
type EmailMessage struct {
// Identifier. Resource name for the email message.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when this email message object was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The user or Google Support agent that created this email
// message. This is inferred from the headers on the email message.
Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
// Output only. Subject of the email.
Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
// Output only. Email addresses the email was sent to.
RecipientEmailAddresses []string `protobuf:"bytes,5,rep,name=recipient_email_addresses,json=recipientEmailAddresses,proto3" json:"recipient_email_addresses,omitempty"`
// Output only. Email addresses CCed on the email.
CcEmailAddresses []string `protobuf:"bytes,6,rep,name=cc_email_addresses,json=ccEmailAddresses,proto3" json:"cc_email_addresses,omitempty"`
// Output only. The full email message body. A best-effort attempt is made to
// remove extraneous reply threads.
BodyContent *TextContent `protobuf:"bytes,8,opt,name=body_content,json=bodyContent,proto3" json:"body_content,omitempty"`
// contains filtered or unexported fields
}An email associated with a support case.
func (*EmailMessage) Descriptor
func (*EmailMessage) Descriptor() ([]byte, []int)Deprecated: Use EmailMessage.ProtoReflect.Descriptor instead.
func (*EmailMessage) GetActor
func (x *EmailMessage) GetActor() *Actorfunc (*EmailMessage) GetBodyContent
func (x *EmailMessage) GetBodyContent() *TextContentfunc (*EmailMessage) GetCcEmailAddresses
func (x *EmailMessage) GetCcEmailAddresses() []stringfunc (*EmailMessage) GetCreateTime
func (x *EmailMessage) GetCreateTime() *timestamppb.Timestampfunc (*EmailMessage) GetName
func (x *EmailMessage) GetName() stringfunc (*EmailMessage) GetRecipientEmailAddresses
func (x *EmailMessage) GetRecipientEmailAddresses() []stringfunc (*EmailMessage) GetSubject
func (x *EmailMessage) GetSubject() stringfunc (*EmailMessage) ProtoMessage
func (*EmailMessage) ProtoMessage()func (*EmailMessage) ProtoReflect
func (x *EmailMessage) ProtoReflect() protoreflect.Messagefunc (*EmailMessage) Reset
func (x *EmailMessage) Reset()func (*EmailMessage) String
func (x *EmailMessage) String() stringEscalateCaseRequest
type EscalateCaseRequest struct {
// Required. The name of the case to be escalated.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The escalation information to be sent with the escalation request.
Escalation *Escalation `protobuf:"bytes,2,opt,name=escalation,proto3" json:"escalation,omitempty"`
// contains filtered or unexported fields
}The request message for the EscalateCase endpoint.
func (*EscalateCaseRequest) Descriptor
func (*EscalateCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use EscalateCaseRequest.ProtoReflect.Descriptor instead.
func (*EscalateCaseRequest) GetEscalation
func (x *EscalateCaseRequest) GetEscalation() *Escalationfunc (*EscalateCaseRequest) GetName
func (x *EscalateCaseRequest) GetName() stringfunc (*EscalateCaseRequest) ProtoMessage
func (*EscalateCaseRequest) ProtoMessage()func (*EscalateCaseRequest) ProtoReflect
func (x *EscalateCaseRequest) ProtoReflect() protoreflect.Messagefunc (*EscalateCaseRequest) Reset
func (x *EscalateCaseRequest) Reset()func (*EscalateCaseRequest) String
func (x *EscalateCaseRequest) String() stringEscalation
type Escalation struct {
// Required. The reason why the Case is being escalated.
Reason Escalation_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=google.cloud.support.v2beta.Escalation_Reason" json:"reason,omitempty"`
// Required. A free text description to accompany the `reason` field above.
// Provides additional context on why the case is being escalated.
Justification string `protobuf:"bytes,5,opt,name=justification,proto3" json:"justification,omitempty"`
// contains filtered or unexported fields
}An escalation of a support case.
func (*Escalation) Descriptor
func (*Escalation) Descriptor() ([]byte, []int)Deprecated: Use Escalation.ProtoReflect.Descriptor instead.
func (*Escalation) GetJustification
func (x *Escalation) GetJustification() stringfunc (*Escalation) GetReason
func (x *Escalation) GetReason() Escalation_Reasonfunc (*Escalation) ProtoMessage
func (*Escalation) ProtoMessage()func (*Escalation) ProtoReflect
func (x *Escalation) ProtoReflect() protoreflect.Messagefunc (*Escalation) Reset
func (x *Escalation) Reset()func (*Escalation) String
func (x *Escalation) String() stringEscalation_Reason
type Escalation_Reason int32An enum detailing the possible reasons a case may be escalated.
Escalation_REASON_UNSPECIFIED, Escalation_RESOLUTION_TIME, Escalation_TECHNICAL_EXPERTISE, Escalation_BUSINESS_IMPACT
const (
// The escalation reason is in an unknown state or has not been specified.
Escalation_REASON_UNSPECIFIED Escalation_Reason = 0
// The case is taking too long to resolve.
Escalation_RESOLUTION_TIME Escalation_Reason = 1
// The support agent does not have the expertise required to successfully
// resolve the issue.
Escalation_TECHNICAL_EXPERTISE Escalation_Reason = 2
// The issue is having a significant business impact.
Escalation_BUSINESS_IMPACT Escalation_Reason = 3
)func (Escalation_Reason) Descriptor
func (Escalation_Reason) Descriptor() protoreflect.EnumDescriptorfunc (Escalation_Reason) Enum
func (x Escalation_Reason) Enum() *Escalation_Reasonfunc (Escalation_Reason) EnumDescriptor
func (Escalation_Reason) EnumDescriptor() ([]byte, []int)Deprecated: Use Escalation_Reason.Descriptor instead.
func (Escalation_Reason) Number
func (x Escalation_Reason) Number() protoreflect.EnumNumberfunc (Escalation_Reason) String
func (x Escalation_Reason) String() stringfunc (Escalation_Reason) Type
func (Escalation_Reason) Type() protoreflect.EnumTypeFeedItem
type FeedItem struct {
// The object corresponding to the event.
//
// Types that are valid to be assigned to EventObject:
//
// *FeedItem_Comment
// *FeedItem_Attachment
// *FeedItem_EmailMessage
// *FeedItem_DeletedAttachment
EventObject isFeedItem_EventObject `protobuf_oneof:"event_object"`
// Output only. Time corresponding to the event of this item.
EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
// contains filtered or unexported fields
}A feed item associated with a support case.
func (*FeedItem) Descriptor
Deprecated: Use FeedItem.ProtoReflect.Descriptor instead.
func (*FeedItem) GetAttachment
func (x *FeedItem) GetAttachment() *Attachmentfunc (*FeedItem) GetComment
func (*FeedItem) GetDeletedAttachment
func (x *FeedItem) GetDeletedAttachment() *Attachmentfunc (*FeedItem) GetEmailMessage
func (x *FeedItem) GetEmailMessage() *EmailMessagefunc (*FeedItem) GetEventObject
func (x *FeedItem) GetEventObject() isFeedItem_EventObjectfunc (*FeedItem) GetEventTime
func (x *FeedItem) GetEventTime() *timestamppb.Timestampfunc (*FeedItem) ProtoMessage
func (*FeedItem) ProtoMessage()func (*FeedItem) ProtoReflect
func (x *FeedItem) ProtoReflect() protoreflect.Messagefunc (*FeedItem) Reset
func (x *FeedItem) Reset()func (*FeedItem) String
FeedItem_Attachment
type FeedItem_Attachment struct {
// Output only. An attachment attached to the case.
Attachment *Attachment `protobuf:"bytes,101,opt,name=attachment,proto3,oneof"`
}FeedItem_Comment
type FeedItem_Comment struct {
// Output only. A comment added to the case.
Comment *Comment `protobuf:"bytes,100,opt,name=comment,proto3,oneof"`
}FeedItem_DeletedAttachment
type FeedItem_DeletedAttachment struct {
// Output only. A deleted attachment that used to be associated with the
// support case.
DeletedAttachment *Attachment `protobuf:"bytes,103,opt,name=deleted_attachment,json=deletedAttachment,proto3,oneof"`
}FeedItem_EmailMessage
type FeedItem_EmailMessage struct {
// Output only. An email message received in reply to the case.
EmailMessage *EmailMessage `protobuf:"bytes,102,opt,name=email_message,json=emailMessage,proto3,oneof"`
}FeedServiceClient
type FeedServiceClient interface {
// Show items in the feed of this case, including case emails,
// attachments, and comments.
ShowFeed(ctx context.Context, in *ShowFeedRequest, opts ...grpc.CallOption) (*ShowFeedResponse, error)
}FeedServiceClient is the client API for FeedService 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.
func NewFeedServiceClient
func NewFeedServiceClient(cc grpc.ClientConnInterface) FeedServiceClientFeedServiceServer
type FeedServiceServer interface {
// Show items in the feed of this case, including case emails,
// attachments, and comments.
ShowFeed(context.Context, *ShowFeedRequest) (*ShowFeedResponse, error)
}FeedServiceServer is the server API for FeedService service. All implementations should embed UnimplementedFeedServiceServer for forward compatibility
GetAttachmentRequest
type GetAttachmentRequest struct {
// Required. The name of the attachment to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for getting an attachment.
func (*GetAttachmentRequest) Descriptor
func (*GetAttachmentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentRequest) GetName
func (x *GetAttachmentRequest) GetName() stringfunc (*GetAttachmentRequest) ProtoMessage
func (*GetAttachmentRequest) ProtoMessage()func (*GetAttachmentRequest) ProtoReflect
func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Messagefunc (*GetAttachmentRequest) Reset
func (x *GetAttachmentRequest) Reset()func (*GetAttachmentRequest) String
func (x *GetAttachmentRequest) String() stringGetCaseRequest
type GetCaseRequest struct {
// Required. The full name of a case to be retrieved.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for the GetCase endpoint.
func (*GetCaseRequest) Descriptor
func (*GetCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCaseRequest.ProtoReflect.Descriptor instead.
func (*GetCaseRequest) GetName
func (x *GetCaseRequest) GetName() stringfunc (*GetCaseRequest) ProtoMessage
func (*GetCaseRequest) ProtoMessage()func (*GetCaseRequest) ProtoReflect
func (x *GetCaseRequest) ProtoReflect() protoreflect.Messagefunc (*GetCaseRequest) Reset
func (x *GetCaseRequest) Reset()func (*GetCaseRequest) String
func (x *GetCaseRequest) String() stringGetCommentRequest
type GetCommentRequest struct {
// Required. The name of the comment to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for the GetComment endpoint.
func (*GetCommentRequest) Descriptor
func (*GetCommentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCommentRequest.ProtoReflect.Descriptor instead.
func (*GetCommentRequest) GetName
func (x *GetCommentRequest) GetName() stringfunc (*GetCommentRequest) ProtoMessage
func (*GetCommentRequest) ProtoMessage()func (*GetCommentRequest) ProtoReflect
func (x *GetCommentRequest) ProtoReflect() protoreflect.Messagefunc (*GetCommentRequest) Reset
func (x *GetCommentRequest) Reset()func (*GetCommentRequest) String
func (x *GetCommentRequest) String() stringListAttachmentsRequest
type ListAttachmentsRequest struct {
// Required. The name of the case for which attachments should be listed.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of attachments fetched with each request.
//
// If not provided, the default is 10. The maximum page size that will be
// returned is 100.
//
// The size of each page can be smaller than the requested page size and can
// include zero. For example, you could request 100 attachments on one page,
// receive 0, and then on the next page, receive 90.
PageSize int32 `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 the ListAttachments endpoint.
func (*ListAttachmentsRequest) Descriptor
func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentsRequest) GetPageSize
func (x *ListAttachmentsRequest) GetPageSize() int32func (*ListAttachmentsRequest) GetPageToken
func (x *ListAttachmentsRequest) GetPageToken() stringfunc (*ListAttachmentsRequest) GetParent
func (x *ListAttachmentsRequest) GetParent() stringfunc (*ListAttachmentsRequest) ProtoMessage
func (*ListAttachmentsRequest) ProtoMessage()func (*ListAttachmentsRequest) ProtoReflect
func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAttachmentsRequest) Reset
func (x *ListAttachmentsRequest) Reset()func (*ListAttachmentsRequest) String
func (x *ListAttachmentsRequest) String() stringListAttachmentsResponse
type ListAttachmentsResponse struct {
// The list of attachments associated with a case.
Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
// A token to retrieve the next page of results. Set this in the `page_token`
// field of subsequent `cases.attachments.list` requests. 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 the ListAttachments endpoint.
func (*ListAttachmentsResponse) Descriptor
func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentsResponse) GetAttachments
func (x *ListAttachmentsResponse) GetAttachments() []*Attachmentfunc (*ListAttachmentsResponse) GetNextPageToken
func (x *ListAttachmentsResponse) GetNextPageToken() stringfunc (*ListAttachmentsResponse) ProtoMessage
func (*ListAttachmentsResponse) ProtoMessage()func (*ListAttachmentsResponse) ProtoReflect
func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAttachmentsResponse) Reset
func (x *ListAttachmentsResponse) Reset()func (*ListAttachmentsResponse) String
func (x *ListAttachmentsResponse) String() stringListCasesRequest
type ListCasesRequest struct {
// Required. The name of a parent to list cases under.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// An expression used to filter cases.
//
// If it's an empty string, then no filtering happens. Otherwise, the endpoint
// returns the cases that match the filter.
//
// Expressions use the following fields separated by `AND` and specified with
// `=`:
//
// - `state`: Can be `OPEN` or `CLOSED`.
// - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
// can specify multiple values for priority using the `OR` operator. For
// example, `priority=P1 OR priority=P2`.
// - `creator.email`: The email address of the case creator.
//
// EXAMPLES:
//
// - `state=CLOSED`
// - `state=OPEN AND creator.email="tester@example.com"`
// - `state=OPEN AND (priority=P0 OR priority=P1)`
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// The maximum number of cases fetched with each request. Defaults to 10.
PageSize int32 `protobuf:"varint,4,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,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The product line to request cases for. If unspecified, only
// Google Cloud cases will be returned.
ProductLine *ProductLine `protobuf:"varint,8,opt,name=product_line,json=productLine,proto3,enum=google.cloud.support.v2beta.ProductLine,oneof" json:"product_line,omitempty"`
// contains filtered or unexported fields
}The request message for the ListCases endpoint.
func (*ListCasesRequest) Descriptor
func (*ListCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCasesRequest.ProtoReflect.Descriptor instead.
func (*ListCasesRequest) GetFilter
func (x *ListCasesRequest) GetFilter() stringfunc (*ListCasesRequest) GetPageSize
func (x *ListCasesRequest) GetPageSize() int32func (*ListCasesRequest) GetPageToken
func (x *ListCasesRequest) GetPageToken() stringfunc (*ListCasesRequest) GetParent
func (x *ListCasesRequest) GetParent() stringfunc (*ListCasesRequest) GetProductLine
func (x *ListCasesRequest) GetProductLine() ProductLinefunc (*ListCasesRequest) ProtoMessage
func (*ListCasesRequest) ProtoMessage()func (*ListCasesRequest) ProtoReflect
func (x *ListCasesRequest) ProtoReflect() protoreflect.Messagefunc (*ListCasesRequest) Reset
func (x *ListCasesRequest) Reset()func (*ListCasesRequest) String
func (x *ListCasesRequest) String() stringListCasesResponse
type ListCasesResponse struct {
// The list of cases associated with the parent after any
// filters have been applied.
Cases []*Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
// A token to retrieve the next page of results. Set this in the `page_token`
// field of subsequent `cases.list` requests. 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 the ListCases endpoint.
func (*ListCasesResponse) Descriptor
func (*ListCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCasesResponse.ProtoReflect.Descriptor instead.
func (*ListCasesResponse) GetCases
func (x *ListCasesResponse) GetCases() []*Casefunc (*ListCasesResponse) GetNextPageToken
func (x *ListCasesResponse) GetNextPageToken() stringfunc (*ListCasesResponse) ProtoMessage
func (*ListCasesResponse) ProtoMessage()func (*ListCasesResponse) ProtoReflect
func (x *ListCasesResponse) ProtoReflect() protoreflect.Messagefunc (*ListCasesResponse) Reset
func (x *ListCasesResponse) Reset()func (*ListCasesResponse) String
func (x *ListCasesResponse) String() stringListCommentsRequest
type ListCommentsRequest struct {
// Required. The name of the case for which to list comments.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of comments to fetch. Defaults to 10.
PageSize int32 `protobuf:"varint,4,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 returned.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}The request message for the ListComments endpoint.
func (*ListCommentsRequest) Descriptor
func (*ListCommentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListCommentsRequest) GetPageSize
func (x *ListCommentsRequest) GetPageSize() int32func (*ListCommentsRequest) GetPageToken
func (x *ListCommentsRequest) GetPageToken() stringfunc (*ListCommentsRequest) GetParent
func (x *ListCommentsRequest) GetParent() stringfunc (*ListCommentsRequest) ProtoMessage
func (*ListCommentsRequest) ProtoMessage()func (*ListCommentsRequest) ProtoReflect
func (x *ListCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCommentsRequest) Reset
func (x *ListCommentsRequest) Reset()func (*ListCommentsRequest) String
func (x *ListCommentsRequest) String() stringListCommentsResponse
type ListCommentsResponse struct {
// List of the comments associated with the case.
Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
// A token to retrieve the next page of results. Set this in the `page_token`
// field of subsequent `cases.comments.list` requests. 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 the ListComments endpoint.
func (*ListCommentsResponse) Descriptor
func (*ListCommentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListCommentsResponse) GetComments
func (x *ListCommentsResponse) GetComments() []*Commentfunc (*ListCommentsResponse) GetNextPageToken
func (x *ListCommentsResponse) GetNextPageToken() stringfunc (*ListCommentsResponse) ProtoMessage
func (*ListCommentsResponse) ProtoMessage()func (*ListCommentsResponse) ProtoReflect
func (x *ListCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCommentsResponse) Reset
func (x *ListCommentsResponse) Reset()func (*ListCommentsResponse) String
func (x *ListCommentsResponse) String() stringProduct
type Product struct {
// The product line of the Product.
ProductLine ProductLine `protobuf:"varint,1,opt,name=product_line,json=productLine,proto3,enum=google.cloud.support.v2beta.ProductLine" json:"product_line,omitempty"`
// contains filtered or unexported fields
}The product a case may be associated with.
func (*Product) Descriptor
Deprecated: Use Product.ProtoReflect.Descriptor instead.
func (*Product) GetProductLine
func (x *Product) GetProductLine() ProductLinefunc (*Product) ProtoMessage
func (*Product) ProtoMessage()func (*Product) ProtoReflect
func (x *Product) ProtoReflect() protoreflect.Messagefunc (*Product) Reset
func (x *Product) Reset()func (*Product) String
ProductLine
type ProductLine int32The product line a support case may be associated with.
ProductLine_PRODUCT_LINE_UNSPECIFIED, ProductLine_GOOGLE_CLOUD, ProductLine_GOOGLE_MAPS
const (
// Unknown product type.
ProductLine_PRODUCT_LINE_UNSPECIFIED ProductLine = 0
// Google Cloud
ProductLine_GOOGLE_CLOUD ProductLine = 1
// Google Maps
ProductLine_GOOGLE_MAPS ProductLine = 2
)func (ProductLine) Descriptor
func (ProductLine) Descriptor() protoreflect.EnumDescriptorfunc (ProductLine) Enum
func (x ProductLine) Enum() *ProductLinefunc (ProductLine) EnumDescriptor
func (ProductLine) EnumDescriptor() ([]byte, []int)Deprecated: Use ProductLine.Descriptor instead.
func (ProductLine) Number
func (x ProductLine) Number() protoreflect.EnumNumberfunc (ProductLine) String
func (x ProductLine) String() stringfunc (ProductLine) Type
func (ProductLine) Type() protoreflect.EnumTypeSearchCaseClassificationsRequest
type SearchCaseClassificationsRequest struct {
// An expression used to filter case classifications.
//
// If it's an empty string, then no filtering happens. Otherwise, case
// classifications will be returned that match the filter.
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// The maximum number of classifications fetched with each request.
PageSize int32 `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"`
// Optional. The product to return case classifications for.
Product *Product `protobuf:"bytes,7,opt,name=product,proto3" json:"product,omitempty"`
// contains filtered or unexported fields
}The request message for the SearchCaseClassifications endpoint.
func (*SearchCaseClassificationsRequest) Descriptor
func (*SearchCaseClassificationsRequest) Descriptor() ([]byte, []int)Deprecated: Use SearchCaseClassificationsRequest.ProtoReflect.Descriptor instead.
func (*SearchCaseClassificationsRequest) GetPageSize
func (x *SearchCaseClassificationsRequest) GetPageSize() int32func (*SearchCaseClassificationsRequest) GetPageToken
func (x *SearchCaseClassificationsRequest) GetPageToken() stringfunc (*SearchCaseClassificationsRequest) GetProduct
func (x *SearchCaseClassificationsRequest) GetProduct() *Productfunc (*SearchCaseClassificationsRequest) GetQuery
func (x *SearchCaseClassificationsRequest) GetQuery() stringfunc (*SearchCaseClassificationsRequest) ProtoMessage
func (*SearchCaseClassificationsRequest) ProtoMessage()func (*SearchCaseClassificationsRequest) ProtoReflect
func (x *SearchCaseClassificationsRequest) ProtoReflect() protoreflect.Messagefunc (*SearchCaseClassificationsRequest) Reset
func (x *SearchCaseClassificationsRequest) Reset()func (*SearchCaseClassificationsRequest) String
func (x *SearchCaseClassificationsRequest) String() stringSearchCaseClassificationsResponse
type SearchCaseClassificationsResponse struct {
// The classifications retrieved.
CaseClassifications []*CaseClassification `protobuf:"bytes,1,rep,name=case_classifications,json=caseClassifications,proto3" json:"case_classifications,omitempty"`
// A token to retrieve the next page of results. Set this in the `page_token`
// field of subsequent `caseClassifications.list` requests. 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 SearchCaseClassifications endpoint.
func (*SearchCaseClassificationsResponse) Descriptor
func (*SearchCaseClassificationsResponse) Descriptor() ([]byte, []int)Deprecated: Use SearchCaseClassificationsResponse.ProtoReflect.Descriptor instead.
func (*SearchCaseClassificationsResponse) GetCaseClassifications
func (x *SearchCaseClassificationsResponse) GetCaseClassifications() []*CaseClassificationfunc (*SearchCaseClassificationsResponse) GetNextPageToken
func (x *SearchCaseClassificationsResponse) GetNextPageToken() stringfunc (*SearchCaseClassificationsResponse) ProtoMessage
func (*SearchCaseClassificationsResponse) ProtoMessage()func (*SearchCaseClassificationsResponse) ProtoReflect
func (x *SearchCaseClassificationsResponse) ProtoReflect() protoreflect.Messagefunc (*SearchCaseClassificationsResponse) Reset
func (x *SearchCaseClassificationsResponse) Reset()func (*SearchCaseClassificationsResponse) String
func (x *SearchCaseClassificationsResponse) String() stringSearchCasesRequest
type SearchCasesRequest struct {
// The name of the parent resource to search for cases under.
Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
// An expression used to filter cases.
//
// Expressions use the following fields separated by `AND` and specified with
// `=`:
//
// - `organization`: An organization name in the form
// `organizations/The request message for the SearchCases endpoint.
func (*SearchCasesRequest) Descriptor
func (*SearchCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use SearchCasesRequest.ProtoReflect.Descriptor instead.
func (*SearchCasesRequest) GetPageSize
func (x *SearchCasesRequest) GetPageSize() int32func (*SearchCasesRequest) GetPageToken
func (x *SearchCasesRequest) GetPageToken() stringfunc (*SearchCasesRequest) GetParent
func (x *SearchCasesRequest) GetParent() stringfunc (*SearchCasesRequest) GetQuery
func (x *SearchCasesRequest) GetQuery() stringfunc (*SearchCasesRequest) ProtoMessage
func (*SearchCasesRequest) ProtoMessage()func (*SearchCasesRequest) ProtoReflect
func (x *SearchCasesRequest) ProtoReflect() protoreflect.Messagefunc (*SearchCasesRequest) Reset
func (x *SearchCasesRequest) Reset()func (*SearchCasesRequest) String
func (x *SearchCasesRequest) String() stringSearchCasesResponse
type SearchCasesResponse struct {
// The list of cases associated with the parent after any
// filters have been applied.
Cases []*Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
// A token to retrieve the next page of results. Set this in the
// `page_token` field of subsequent `cases.search` requests. 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 the SearchCases endpoint.
func (*SearchCasesResponse) Descriptor
func (*SearchCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use SearchCasesResponse.ProtoReflect.Descriptor instead.
func (*SearchCasesResponse) GetCases
func (x *SearchCasesResponse) GetCases() []*Casefunc (*SearchCasesResponse) GetNextPageToken
func (x *SearchCasesResponse) GetNextPageToken() stringfunc (*SearchCasesResponse) ProtoMessage
func (*SearchCasesResponse) ProtoMessage()func (*SearchCasesResponse) ProtoReflect
func (x *SearchCasesResponse) ProtoReflect() protoreflect.Messagefunc (*SearchCasesResponse) Reset
func (x *SearchCasesResponse) Reset()func (*SearchCasesResponse) String
func (x *SearchCasesResponse) String() stringShowFeedRequest
type ShowFeedRequest struct {
// Required. The resource name of the case for which feed items should be
// listed.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Field to order feed items by, followed by `asc` or `desc`
// postfix. The only valid field is
// `creation_time`. This list is case-insensitive, default sorting order is
// ascending, and the redundant space characters are insignificant.
//
// Example: `creation_time desc`
OrderBy string `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. The maximum number of feed items fetched with each request.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying the page of results to return. If
// unspecified, it retrieves the first page.
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 the ShowFeed endpoint.
func (*ShowFeedRequest) Descriptor
func (*ShowFeedRequest) Descriptor() ([]byte, []int)Deprecated: Use ShowFeedRequest.ProtoReflect.Descriptor instead.
func (*ShowFeedRequest) GetOrderBy
func (x *ShowFeedRequest) GetOrderBy() stringfunc (*ShowFeedRequest) GetPageSize
func (x *ShowFeedRequest) GetPageSize() int32func (*ShowFeedRequest) GetPageToken
func (x *ShowFeedRequest) GetPageToken() stringfunc (*ShowFeedRequest) GetParent
func (x *ShowFeedRequest) GetParent() stringfunc (*ShowFeedRequest) ProtoMessage
func (*ShowFeedRequest) ProtoMessage()func (*ShowFeedRequest) ProtoReflect
func (x *ShowFeedRequest) ProtoReflect() protoreflect.Messagefunc (*ShowFeedRequest) Reset
func (x *ShowFeedRequest) Reset()func (*ShowFeedRequest) String
func (x *ShowFeedRequest) String() stringShowFeedResponse
type ShowFeedResponse struct {
// The list of feed items associated with the given Case.
FeedItems []*FeedItem `protobuf:"bytes,1,rep,name=feed_items,json=feedItems,proto3" json:"feed_items,omitempty"`
// A token to retrieve the next page of results. This should be set in the
// `page_token` field of subsequent `ShowFeedRequests`.
// 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 the ShowFeed endpoint.
func (*ShowFeedResponse) Descriptor
func (*ShowFeedResponse) Descriptor() ([]byte, []int)Deprecated: Use ShowFeedResponse.ProtoReflect.Descriptor instead.
func (*ShowFeedResponse) GetFeedItems
func (x *ShowFeedResponse) GetFeedItems() []*FeedItemfunc (*ShowFeedResponse) GetNextPageToken
func (x *ShowFeedResponse) GetNextPageToken() stringfunc (*ShowFeedResponse) ProtoMessage
func (*ShowFeedResponse) ProtoMessage()func (*ShowFeedResponse) ProtoReflect
func (x *ShowFeedResponse) ProtoReflect() protoreflect.Messagefunc (*ShowFeedResponse) Reset
func (x *ShowFeedResponse) Reset()func (*ShowFeedResponse) String
func (x *ShowFeedResponse) String() stringTextContent
type TextContent struct {
// Content in this field should be rendered and interpreted as-is.
PlainText string `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"`
// contains filtered or unexported fields
}Stores text attached to a support object.
func (*TextContent) Descriptor
func (*TextContent) Descriptor() ([]byte, []int)Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetPlainText
func (x *TextContent) GetPlainText() stringfunc (*TextContent) ProtoMessage
func (*TextContent) ProtoMessage()func (*TextContent) ProtoReflect
func (x *TextContent) ProtoReflect() protoreflect.Messagefunc (*TextContent) Reset
func (x *TextContent) Reset()func (*TextContent) String
func (x *TextContent) String() stringUnimplementedCaseAttachmentServiceServer
type UnimplementedCaseAttachmentServiceServer struct {
}UnimplementedCaseAttachmentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCaseAttachmentServiceServer) GetAttachment
func (UnimplementedCaseAttachmentServiceServer) GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)func (UnimplementedCaseAttachmentServiceServer) ListAttachments
func (UnimplementedCaseAttachmentServiceServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)UnimplementedCaseServiceServer
type UnimplementedCaseServiceServer struct {
}UnimplementedCaseServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCaseServiceServer) CloseCase
func (UnimplementedCaseServiceServer) CloseCase(context.Context, *CloseCaseRequest) (*Case, error)func (UnimplementedCaseServiceServer) CreateCase
func (UnimplementedCaseServiceServer) CreateCase(context.Context, *CreateCaseRequest) (*Case, error)func (UnimplementedCaseServiceServer) EscalateCase
func (UnimplementedCaseServiceServer) EscalateCase(context.Context, *EscalateCaseRequest) (*Case, error)func (UnimplementedCaseServiceServer) GetCase
func (UnimplementedCaseServiceServer) GetCase(context.Context, *GetCaseRequest) (*Case, error)func (UnimplementedCaseServiceServer) ListCases
func (UnimplementedCaseServiceServer) ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)func (UnimplementedCaseServiceServer) SearchCaseClassifications
func (UnimplementedCaseServiceServer) SearchCaseClassifications(context.Context, *SearchCaseClassificationsRequest) (*SearchCaseClassificationsResponse, error)func (UnimplementedCaseServiceServer) SearchCases
func (UnimplementedCaseServiceServer) SearchCases(context.Context, *SearchCasesRequest) (*SearchCasesResponse, error)func (UnimplementedCaseServiceServer) UpdateCase
func (UnimplementedCaseServiceServer) UpdateCase(context.Context, *UpdateCaseRequest) (*Case, error)UnimplementedCommentServiceServer
type UnimplementedCommentServiceServer struct {
}UnimplementedCommentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCommentServiceServer) CreateComment
func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*Comment, error)func (UnimplementedCommentServiceServer) GetComment
func (UnimplementedCommentServiceServer) GetComment(context.Context, *GetCommentRequest) (*Comment, error)func (UnimplementedCommentServiceServer) ListComments
func (UnimplementedCommentServiceServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)UnimplementedFeedServiceServer
type UnimplementedFeedServiceServer struct {
}UnimplementedFeedServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFeedServiceServer) ShowFeed
func (UnimplementedFeedServiceServer) ShowFeed(context.Context, *ShowFeedRequest) (*ShowFeedResponse, error)UnsafeCaseAttachmentServiceServer
type UnsafeCaseAttachmentServiceServer interface {
// contains filtered or unexported methods
}UnsafeCaseAttachmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CaseAttachmentServiceServer will result in compilation errors.
UnsafeCaseServiceServer
type UnsafeCaseServiceServer interface {
// contains filtered or unexported methods
}UnsafeCaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CaseServiceServer will result in compilation errors.
UnsafeCommentServiceServer
type UnsafeCommentServiceServer interface {
// contains filtered or unexported methods
}UnsafeCommentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommentServiceServer will result in compilation errors.
UnsafeFeedServiceServer
type UnsafeFeedServiceServer interface {
// contains filtered or unexported methods
}UnsafeFeedServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeedServiceServer will result in compilation errors.
UpdateCaseRequest
type UpdateCaseRequest struct {
// Required. The case to update.
Case *Case `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
// A list of attributes of the case that should be updated. Supported values
// are `priority`, `display_name`, and `subscriber_email_addresses`. If no
// fields are specified, all supported fields are updated.
//
// Be careful - if you do not provide a field mask, then you might
// accidentally clear some fields. For example, if you leave the field mask
// empty and do not provide a value for `subscriber_email_addresses`, then
// `subscriber_email_addresses` is updated to empty.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for the UpdateCase endpoint
func (*UpdateCaseRequest) Descriptor
func (*UpdateCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateCaseRequest) GetCase
func (x *UpdateCaseRequest) GetCase() *Casefunc (*UpdateCaseRequest) GetUpdateMask
func (x *UpdateCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateCaseRequest) ProtoMessage
func (*UpdateCaseRequest) ProtoMessage()func (*UpdateCaseRequest) ProtoReflect
func (x *UpdateCaseRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCaseRequest) Reset
func (x *UpdateCaseRequest) Reset()func (*UpdateCaseRequest) String
func (x *UpdateCaseRequest) String() string